{"info":{"_postman_id":"6b9d676f-588f-4437-b5b5-5911147f5afc","name":"Reward API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"7270651","collectionId":"6b9d676f-588f-4437-b5b5-5911147f5afc","publishedId":"2sBXqJL1HC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2d5859"},"publishDate":"2026-04-29T08:01:40.000Z"},"item":[{"name":"Reward API Integration Orders","item":[{"name":"Login","id":"8e639e43-4499-4432-9add-719ffbde82d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"DEMO","type":"text"},{"key":"secret","value":"secret_key","type":"text"}]},"url":"https://api.rewardcore.it/api/auth/login","description":"<h2 id=\"login\">Login</h2>\n<p>Authenticates a client using a key and secret pair. On success, the API returns an access token that must be used in subsequent authenticated requests.</p>\n<hr />\n<h3 id=\"request-details\">Request Details</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Method</strong></td>\n<td><code>POST</code></td>\n</tr>\n<tr>\n<td><strong>URL</strong></td>\n<td><code>https://api.rewardcore.it/api/auth/login</code></td>\n</tr>\n<tr>\n<td><strong>Body Type</strong></td>\n<td><code>application/x-www-form-urlencoded</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"request-body-parameters\">Request Body Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>key</code></td>\n<td><code>string</code></td>\n<td>✅ Yes</td>\n<td>The client identifier key used to identify the application or integration (e.g., <code>DEMO</code>).</td>\n</tr>\n<tr>\n<td><code>secret</code></td>\n<td><code>string</code></td>\n<td>✅ Yes</td>\n<td>The client secret associated with the key, used to verify the client's identity.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>Upon a successful authentication, the response typically contains a <strong>bearer token</strong> (or similar access token) that should be stored and passed in the <code>Authorization</code> header of subsequent API requests.</li>\n<li>Ensure that the <code>secret</code> value is kept confidential and never exposed in public repositories or logs.</li>\n<li>Use environment variables (e.g., <code>{{X-API-KEY}}</code>) to manage sensitive credentials securely within Postman.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["api","rewardcore","it"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e639e43-4499-4432-9add-719ffbde82d5"},{"name":"SendOrder","id":"6f5e550a-2388-412c-b2d9-fdc0bda0b7f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"secret\": \"secret_key\",\r\n    \"id\": \"12345\",\r\n    \"order_date\": \"2023-06-19\",\r\n    \"billing_business_name\": \"Nome Azienda\",\r\n    \"billing_name\": \"\",\r\n    \"billing_surname\": \"\",\r\n    \"billing_address\": \"Via placeholder, 1\",\r\n    \"billing_email\": \"user@azienda.it\",\r\n    \"billing_province\": \"XX\",\r\n    \"billing_city\": \"NOME CITTA\",\r\n    \"billing_cap\": \"12345\",\r\n    \"billing_telephone\": \"123456789\",\r\n    \"billing_vat\": \"IT12345678945\",\r\n    \"billing_fiscalcode\": \"1234567832145\",\r\n    \"billing_cod_dest\": \"\",\r\n    \"billing_pec\": \"\",\r\n    \"shipping_business_name\": \"\",\r\n    \"shipping_name\": \"\",\r\n    \"shipping_surname\": \"\",\r\n    \"shipping_address\": \"\",\r\n    \"shipping_email\": \"\",\r\n    \"shipping_province\": \"\",\r\n    \"shipping_city\": \"\",\r\n    \"shipping_cap\": \"\",\r\n    \"shipping_telephone\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"external_ref\": \"PRODUCT_CODE\",\r\n            \"qta\": \"X\",\r\n            \"price\": \"XXXX\"\r\n        }\r\n    ],\r\n    \"shipment_price\": \"0.0\",\r\n    \"grand_total_amount\": \"XXXX\",\r\n    \"note\": \"Esempio di note\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.rewardcore.it/api/v0/order/create","description":"<h2 id=\"sendorder\">SendOrder</h2>\n<p>Creates a new order in the Reward Core platform.</p>\n<p><strong>Endpoint:</strong> <code>POST https://api.rewardcore.it/api/v0/order/create</code></p>\n<hr />\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body must be sent as raw JSON with the following fields:</p>\n<h4 id=\"authentication\">Authentication</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>secret</code></td>\n<td>string</td>\n<td>Secret key used to authenticate the request</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"order-info\">Order Info</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Unique external identifier for the order</td>\n</tr>\n<tr>\n<td><code>order_date</code></td>\n<td>string (YYYY-MM-DD)</td>\n<td>Date the order was placed</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>string</td>\n<td>Optional notes for the order</td>\n</tr>\n<tr>\n<td><code>shipment_price</code></td>\n<td>string</td>\n<td>Shipping cost (e.g. <code>\"0.0\"</code>)</td>\n</tr>\n<tr>\n<td><code>grand_total_amount</code></td>\n<td>string</td>\n<td>Total order amount including all items and shipping</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"billing-information\">Billing Information</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>billing_business_name</code></td>\n<td>string</td>\n<td>Company/business name for billing</td>\n</tr>\n<tr>\n<td><code>billing_name</code></td>\n<td>string</td>\n<td>First name of the billing contact</td>\n</tr>\n<tr>\n<td><code>billing_surname</code></td>\n<td>string</td>\n<td>Last name of the billing contact</td>\n</tr>\n<tr>\n<td><code>billing_address</code></td>\n<td>string</td>\n<td>Street address for billing</td>\n</tr>\n<tr>\n<td><code>billing_email</code></td>\n<td>string</td>\n<td>Email address for billing</td>\n</tr>\n<tr>\n<td><code>billing_province</code></td>\n<td>string</td>\n<td>Province/state code (2 chars)</td>\n</tr>\n<tr>\n<td><code>billing_city</code></td>\n<td>string</td>\n<td>City name</td>\n</tr>\n<tr>\n<td><code>billing_cap</code></td>\n<td>string</td>\n<td>Postal/ZIP code</td>\n</tr>\n<tr>\n<td><code>billing_telephone</code></td>\n<td>string</td>\n<td>Phone number</td>\n</tr>\n<tr>\n<td><code>billing_vat</code></td>\n<td>string</td>\n<td>VAT number (e.g. <code>IT12345678945</code>)</td>\n</tr>\n<tr>\n<td><code>billing_fiscalcode</code></td>\n<td>string</td>\n<td>Fiscal code</td>\n</tr>\n<tr>\n<td><code>billing_cod_dest</code></td>\n<td>string</td>\n<td>SDI destination code (for Italian e-invoicing)</td>\n</tr>\n<tr>\n<td><code>billing_pec</code></td>\n<td>string</td>\n<td>Certified email address (PEC)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"shipping-information\">Shipping Information</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipping_business_name</code></td>\n<td>string</td>\n<td>Company/business name for shipping</td>\n</tr>\n<tr>\n<td><code>shipping_name</code></td>\n<td>string</td>\n<td>First name of the shipping recipient</td>\n</tr>\n<tr>\n<td><code>shipping_surname</code></td>\n<td>string</td>\n<td>Last name of the shipping recipient</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>string</td>\n<td>Street address for shipping</td>\n</tr>\n<tr>\n<td><code>shipping_email</code></td>\n<td>string</td>\n<td>Email address for shipping notifications</td>\n</tr>\n<tr>\n<td><code>shipping_province</code></td>\n<td>string</td>\n<td>Province/state code</td>\n</tr>\n<tr>\n<td><code>shipping_city</code></td>\n<td>string</td>\n<td>City name</td>\n</tr>\n<tr>\n<td><code>shipping_cap</code></td>\n<td>string</td>\n<td>Postal/ZIP code</td>\n</tr>\n<tr>\n<td><code>shipping_telephone</code></td>\n<td>string</td>\n<td>Phone number</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"order-items\">Order Items</h4>\n<p>The <code>items</code> array contains one or more product entries:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>external_ref</code></td>\n<td>string</td>\n<td>Product code / external reference</td>\n</tr>\n<tr>\n<td><code>qta</code></td>\n<td>string</td>\n<td>Quantity ordered</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>string</td>\n<td>Unit price of the product</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"secret\": \"secret_key\",\n    \"id\": \"12345\",\n    \"order_date\": \"2023-06-19\",\n    \"billing_business_name\": \"Nome Azienda\",\n    \"billing_name\": \"\",\n    \"billing_surname\": \"\",\n    \"billing_address\": \"Via placeholder, 1\",\n    \"billing_email\": \"user@azienda.it\",\n    \"billing_province\": \"XX\",\n    \"billing_city\": \"NOME CITTA\",\n    \"billing_cap\": \"12345\",\n    \"billing_telephone\": \"123456789\",\n    \"billing_vat\": \"IT12345678945\",\n    \"billing_fiscalcode\": \"1234567832145\",\n    \"billing_cod_dest\": \"\",\n    \"billing_pec\": \"\",\n    \"shipping_business_name\": \"\",\n    \"shipping_name\": \"\",\n    \"shipping_surname\": \"\",\n    \"shipping_address\": \"\",\n    \"shipping_email\": \"\",\n    \"shipping_province\": \"\",\n    \"shipping_city\": \"\",\n    \"shipping_cap\": \"\",\n    \"shipping_telephone\": \"\",\n    \"items\": [\n        {\n            \"external_ref\": \"PRODUCT_CODE\",\n            \"qta\": \"X\",\n            \"price\": \"XXXX\"\n        }\n    ],\n    \"shipment_price\": \"0.0\",\n    \"grand_total_amount\": \"XXXX\",\n    \"note\": \"Esempio di note\"\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v0","order","create"],"host":["api","rewardcore","it"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f5e550a-2388-412c-b2d9-fdc0bda0b7f4"},{"name":"GetShipment","event":[{"listen":"test","script":{"id":"97d1ad61-87cc-47cf-9035-921e533a784d","exec":["{\"status\":\"success\",\r","    \"message\":\"https:\\/\\/www.dhl.com\\/it-it\\/home\\/tracking\\/tracking-express.html?submit=1&tracking-id=XXXXXXX\",\r","    \"order_status\":\"EVASO\"\r","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bcfa5033-cbcc-42f4-8bc9-17f5aa45820f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"secret\":\"secret_key\",\r\n    \"order_id\" : \"12345\",\r\n    \"external_ref\" : \"PRODUCT_CODE\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.rewardcore.it/api/v0/shipping/get","description":"<h2 id=\"getshipment\">GetShipment</h2>\n<p>Retrieves shipment information associated with a specific order. This endpoint allows you to look up the shipping status and details for a given order by providing the order identifier and an optional external reference.</p>\n<hr />\n<h3 id=\"http-method--url\">HTTP Method &amp; URL</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST https://api.rewardcore.it/api/v0/shipping/get\n\n</code></pre><hr />\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body must be sent as <strong>raw JSON</strong> (<code>Content-Type: application/json</code>).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>secret</code></td>\n<td><code>string</code></td>\n<td>✅ Yes</td>\n<td>The secret API key used to authenticate the request.</td>\n</tr>\n<tr>\n<td><code>order_id</code></td>\n<td><code>string</code></td>\n<td>✅ Yes</td>\n<td>The unique identifier of the order whose shipment details you want to retrieve.</td>\n</tr>\n<tr>\n<td><code>external_ref</code></td>\n<td><code>string</code></td>\n<td>⬜ Optional</td>\n<td>An external reference code (e.g. product code or external system ID) associated with the order.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"secret\": \"secret_key\",\n    \"order_id\": \"12345\",\n    \"external_ref\": \"PRODUCT_CODE\"\n}\n\n</code></pre>\n<p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\":\"success\",\n    \"message\":\"https:\\/\\/www.dhl.com\\/it-it\\/home\\/tracking\\/tracking-express.html?submit=1&amp;tracking-id=XXXXX\",\n    \"order_status\":\"EVASO\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The <code>secret</code> field acts as an API authentication token — ensure it is kept confidential and not exposed in client-side code.</p>\n</li>\n<li><p>Use <code>order_id</code> to uniquely identify the order within the Reward Core platform.</p>\n</li>\n<li><p>The <code>external_ref</code> field can be used to correlate the order with an identifier from an external system (e.g. a product code or third-party reference).</p>\n</li>\n<li><p>This endpoint is typically used after an order has been placed (e.g. via <code>SendOrder</code>) to track its shipment progress.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v0","shipping","get"],"host":["api","rewardcore","it"],"query":[],"variable":[]}},"response":[],"_postman_id":"bcfa5033-cbcc-42f4-8bc9-17f5aa45820f"}],"id":"6942bad0-ca50-4ab8-8c14-f5978baf336b","description":"<p>This folder covers the end-to-end order integration flow with the Reward platform (<code>api.rewardcore.it</code>). It contains three requests that must be executed in sequence:</p>\n<ol>\n<li><p><strong>Login</strong> – Authenticates against the Reward API using a client key and secret, obtaining the bearer token required for subsequent calls.</p>\n</li>\n<li><p><strong>SendOrder</strong> – Submits a new order to the platform, including full billing details, shipping information, line items, and totals.</p>\n</li>\n<li><p><strong>GetShipment</strong> – Retrieves the shipment status for a previously created order, identified by its order ID and product reference.</p>\n</li>\n</ol>\n","_postman_id":"6942bad0-ca50-4ab8-8c14-f5978baf336b"}]}