{"info":{"_postman_id":"d492ddea-0131-402c-a8c2-c60ebc8a9de0","name":"GiddyUp Developer Documentation","description":"<html><head></head><body><p>The GiddyUp Developer Documentation provides details on how to utilize Custom Application API endpoints to manage your data within the GiddyUp platform.</p>\n<h3 id=\"authorization\">Authorization</h3>\n<p>To utilize the API endpoints, you will need to set your <code>Authorization</code> header in the requests. The header is set to a value similar to <code>Token 0your1token2here3</code>. You can retrieve your API token from your custom app settings within the GiddyUp platform. The Token will be available on your Custom Application Integration settings page, in the API section under <strong>API Authentication Key</strong>.</p>\n<h3 id=\"using-the-postman-collection\">Using the Postman Collection</h3>\n<p>To utilize this postman collection, you will first need to set some variables on the collection. To do this, click <strong>Variables</strong> above to open the variables page. Set the following variables.</p>\n<ul>\n<li><p><code>token</code> : The Authorization token described above.</p>\n</li>\n<li><p><code>order_id</code> : An order ID from your Order dashboard to test with. This will look something like <code>SAMPLE-1234</code></p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"34320197","collectionId":"d492ddea-0131-402c-a8c2-c60ebc8a9de0","publishedId":"2sA3BkcYLa","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-16T18:38:54.000Z"},"item":[{"name":"Orders","item":[{"name":"Get Order","id":"c7e9dab9-c72b-44cf-b689-f77a5690bf40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345","description":"<h3 id=\"get-order\">Get Order</h3>\n<p>This endpoint is used to get details about a specific order.</p>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>id</code> (string): The ID of the order.</p>\n</li>\n<li><p><code>aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>customer_first_name</code> (string): The first name of the customer.</p>\n</li>\n<li><p><code>customer_last_name</code> (string): The last name of the customer.</p>\n</li>\n<li><p><code>shipping_address_line1</code> (string): The first line of the shipping address.</p>\n</li>\n<li><p><code>shipping_address_line2</code> (string): The second line of the shipping address.</p>\n</li>\n<li><p><code>shipping_city</code> (string): The city for shipping.</p>\n</li>\n<li><p><code>shipping_region</code> (string): The region for shipping.</p>\n</li>\n<li><p><code>shipping_country</code> (string): The country for shipping.</p>\n</li>\n<li><p><code>shipping_postal_code</code> (string): The postal code for shipping.</p>\n</li>\n<li><p><code>customer_phone</code> (string): The phone number of the customer.</p>\n</li>\n<li><p><code>customer_email</code> (string): The email address of the customer.</p>\n</li>\n<li><p><code>status</code> (string): Possible values: placed, cancelled</p>\n</li>\n<li><p><code>ordered_at</code> (string): The date and time when the order was placed.</p>\n</li>\n<li><p><code>total</code> (string): The total amount of the order.</p>\n</li>\n<li><p><code>discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>subtotal</code> (string): The subtotal amount of the order.</p>\n</li>\n<li><p><code>tax</code> (string): The tax amount of the order.</p>\n</li>\n<li><p><code>shipping_cost</code> (string): The shipping cost of the order.</p>\n</li>\n<li><p><code>shipping_cost_tax</code> (string): The shipping cost tax of the order.</p>\n</li>\n<li><p><code>items</code> (array): An array of objects containing details of items in the order, including ID, name, quantity, price, subtotal, tax amount, tax details, sub-items and discounts.</p>\n</li>\n<li><p><code>discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>returns</code> (array): An array of objects containing details of items being returned, including item_id, child_item_id, quantity, and reason.</p>\n</li>\n<li><p><code>refunds</code> (array): An array of objects containing details of refunds, including ID,, amount, shipping_amount, status, reason, and created_at.</p>\n</li>\n<li><p><code>shipments</code> (array): An array of objects containing details of shipments, including reference ID (reference ID for this order in fulfillment provider), shipment status (not_shipped, shipped, cancelled), tracking number, tracking URL and carrier name.</p>\n</li>\n<li><p><code>currency</code> (string): The currency used for the order.</p>\n</li>\n<li><p><code>vat_inclusive</code> (boolean): Indicates if VAT is inclusive.</p>\n</li>\n<li><p><code>currency_format</code> (object): Details of the currency formatting to use with the customer's currency. The currency format contains:</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>currency_conversions</code> (array): An array of objects containing details of currency conversions, including currency and rate.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","public","orders","SAMPLE-12345"],"host":["partner.giddyup.io"],"query":[],"variable":[]}},"response":[{"id":"5617e6c5-d7e6-4b49-ac69-ccdaa496cc44","name":"Get Order Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token sample0token1value2"}],"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"TEST-20807\",\n  \"aff_id\": 112211,\n  \"customer_first_name\": \"John\",\n  \"customer_last_name\": \"Doe\",\n  \"shipping_address_line1\": \"200 North Spring Street\",\n  \"shipping_address_line2\": null,\n  \"shipping_city\": \"Los Angeles\",\n  \"shipping_region\": \"CA\",\n  \"shipping_country\": \"US\",\n  \"shipping_postal_code\": \"90012\",\n  \"customer_phone\": \"12345678901\",\n  \"customer_email\": \"john.doe@example.com\",\n  \"status\": \"placed\",\n  \"ordered_at\": \"2024-04-29T17:05:06.202224Z\",\n  \"total\": \"104.13\",\n  \"discount_total\": \"9.99\",\n  \"subtotal\": \"85.97\",\n  \"tax\": \"8.16\",\n  \"shipping_cost\": \"10.00\",\n  \"shipping_cost_tax\": \"0.00\",\n  \"items\": [\n    {\n      \"id\": 36175,\n      \"name\": \"Buy 2, Get 1 FREE\",\n      \"sku\": null,\n      \"quantity\": 1,\n      \"price\": \"85.97\",\n      \"subtotal\": \"85.97\",\n      \"tax\": \"8.16\",\n      \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n      ],\n      \"items\": [\n        {\n          \"id\": 34437,\n          \"name\": \"Sample Widget\",\n          \"sku\": null,\n          \"quantity\": 1,\n          \"price\": \"0.00\",\n          \"subtotal\": \"0.00\",\n          \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ],\n        },\n        {\n          \"id\": 34438,\n          \"name\": \"Sample Widget\",\n          \"sku\": null,\n          \"quantity\": 1,\n          \"price\": \"0.00\",\n          \"subtotal\": \"0.00\",\n          \"tax\": \"0.00\",\n          \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"2.65\"\n            }\n          ],\n        },\n        {\n          \"id\": 34439,\n          \"name\": \"Sample Widget\",\n          \"sku\": null,\n          \"quantity\": 1,\n          \"price\": \"0.00\",\n          \"subtotal\": \"0.00\",\n          \"tax\": \"0.00\",\n          \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"2.65\"\n            }\n          ],\n        }\n      ],\n      \"tax_details\": [\n        {\n          \"jurisdiction\": \"CALIFORNIA\",\n          \"tax_rate\": \"0.0600\",\n          \"tax\": \"5.16\"\n        },\n        {\n          \"jurisdiction\": \"VENTURA\",\n          \"tax_rate\": \"0.0025\",\n          \"tax\": \"0.21\"\n        },\n        {\n          \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n          \"tax_rate\": \"0.0225\",\n          \"tax\": \"1.93\"\n        },\n        {\n          \"jurisdiction\": \"VENTURA CO LOCAL TAX SL\",\n          \"tax_rate\": \"0.0100\",\n          \"tax\": \"0.86\"\n        }\n      ]\n    }\n  ],\n  \"discounts\": [\n    {\n        \"code\": \"SUMMER25\",\n        \"amount\": \"9.99\"\n    }\n  ],\n  \"returns\": [],\n  \"refunds\": [],\n  \"shipments\": [\n    {\n      \"reference_id\": \"109200411\",\n      \"status\": \"shipped\",\n      \"tracking_number\": \"01HWNDX113K2CX3YFC31076JXF\",\n      \"tracking_url\": null,\n      \"carrier_name\": \"SANDBOX\"\n    }\n  ],\n  \"currency\": \"USD\",\n  \"vat_inclusive\": false,\n  \"currency_format\": {\n    \"decimal_mark\": \".\",\n    \"thousands_separator\": \",\",\n    \"prefix\": \"$\",\n    \"suffix\": \"\",\n    \"currency_code_suffix\": \"\",\n    \"format\": \"$[amount]\"\n  },\n  \"currency_conversions\": [\n    {\n      \"currency\": \"USD\",\n      \"rate\": \"1.000000000000000\"\n    }\n  ]\n}"},{"id":"968263fd-f7ed-40b8-bf08-7c4811e82369","name":"Get Order Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\",\n    \"status_code\": 404\n}"}],"_postman_id":"c7e9dab9-c72b-44cf-b689-f77a5690bf40"},{"name":"Return Items","id":"9dfc5378-38fc-49b4-ac1b-02c0797dfbb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"return_items\": [\n        {   \n            \"reason\": \"product_defective\",\n            \"quantity\": 1,\n            \"id\": 0,\n            \"child_item_id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/return/","description":"<h3 id=\"create-order-return\">Create Order Return</h3>\n<p>This endpoint is used to initiate a return for a specific order.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>return_items</code> (array, required): An array of objects containing the following fields:</p>\n<ul>\n<li><p><code>reason</code> (string, required): The reason for the refund. Return reasons are specified in your Brand settings in the GiddyUp platform and can be individually enabled or disabled. Your specific list of reasons can be found on your <strong>Settings</strong> page and clicking on <strong>Support and Returns</strong>. It's also possible to use the Get Return Reasons request in this collection to get your specific allowed reasons. Commonly used reasons are:</p>\n<ul>\n<li><p><code>didnt_see_results</code></p>\n</li>\n<li><p><code>discomfort_using</code></p>\n</li>\n<li><p><code>item_didnt_fit</code></p>\n</li>\n<li><p><code>product_defective</code></p>\n</li>\n<li><p><code>product_not_as_described</code></p>\n</li>\n<li><p><code>product_wrong_item_received</code></p>\n</li>\n<li><p><code>shipping_order_issue</code></p>\n</li>\n<li><p><code>other</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>quantity</code> (number, required): The quantity of the item being returned.</p>\n</li>\n<li><p><code>id</code> (number, required): The id of the item being returned</p>\n</li>\n<li><p><code>child_item_id</code> (number, optional): the id of the child item being returned. This field should be removed completely if it's unused.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>id</code> (string): The ID of the order.</p>\n</li>\n<li><p><code>aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>customer_first_name</code> (string): The first name of the customer.</p>\n</li>\n<li><p><code>customer_last_name</code> (string): The last name of the customer.</p>\n</li>\n<li><p><code>shipping_address_line1</code> (string): The first line of the shipping address.</p>\n</li>\n<li><p><code>shipping_address_line2</code> (string): The second line of the shipping address.</p>\n</li>\n<li><p><code>shipping_city</code> (string): The city for shipping.</p>\n</li>\n<li><p><code>shipping_region</code> (string): The region for shipping.</p>\n</li>\n<li><p><code>shipping_country</code> (string): The country for shipping.</p>\n</li>\n<li><p><code>shipping_postal_code</code> (string): The postal code for shipping.</p>\n</li>\n<li><p><code>customer_phone</code> (string): The phone number of the customer.</p>\n</li>\n<li><p><code>customer_email</code> (string): The email address of the customer.</p>\n</li>\n<li><p><code>status</code> (string): The status of the order.</p>\n</li>\n<li><p><code>ordered_at</code> (string): The date and time when the order was placed.</p>\n</li>\n<li><p><code>total</code> (string): The total amount of the order.</p>\n</li>\n<li><p><code>discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>subtotal</code> (string): The subtotal amount of the order.</p>\n</li>\n<li><p><code>tax</code> (string): The tax amount of the order.</p>\n</li>\n<li><p><code>shipping_cost</code> (string): The shipping cost of the order.</p>\n</li>\n<li><p><code>items</code> (array): An array of objects containing details of items in the order, including ID, name, quantity, price, subtotal and discounts.</p>\n</li>\n<li><p><code>discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>returns</code> (array): An array of objects containing details of items being returned, including item_id, child_item_id, quantity, and reason.</p>\n</li>\n<li><p><code>refunds</code> (array): An array of objects containing details of refunds, including ID, transaction_id, amount, shipping_amount, status, reason, and created_at.</p>\n</li>\n<li><p><code>currency</code> (string): The currency used for the order.</p>\n</li>\n<li><p><code>vat_inclusive</code> (boolean): Indicates if VAT is inclusive.</p>\n</li>\n<li><p><code>currency_format</code> (object): Details of the currency formatting to use with the customer's currency. The currency format contains:</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>currency_conversions</code> (array): An array of objects containing details of currency conversions, including currency and rate.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","public","orders","SAMPLE-12345","return",""],"host":["partner.giddyup.io"],"query":[],"variable":[]}},"response":[{"id":"518b3e2a-af46-4596-8f15-84e9a32f3a38","name":"Return Items Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2"}],"body":{"mode":"raw","raw":"{\n    \"return_items\": [\n        {   \n            \"reason\": \"product_defective\",\n            \"quantity\": 1,\n            \"id\": 0,\n            \"child_item_id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/return/"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"SAMPLE-12345\",\n    \"aff_id\": null,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"1600 Pennsylvania Avenue NW\",\n    \"shipping_address_line2\": \"Oval Office\",\n    \"shipping_city\": \"Washington\",\n    \"shipping_region\": \"DC\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"20500\",\n    \"customer_phone\": \"15558675309\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"placed\",\n    \"ordered_at\": \"2024-03-27T15:27:37.954554Z\",\n    \"total\": \"115.56\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"95.97\",\n    \"tax\": \"8.67\",\n    \"shipping_cost\": \"10.00\",\n    \"items\": [\n        {\n            \"id\": 30431,\n            \"name\": \"Buy 2, Get 1 FREE\",\n            \"quantity\": 1,\n            \"price\": \"85.97\",\n            \"subtotal\": \"85.97\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"9.99\"\n                }\n            ],\n            \"items\": [\n                {\n                    \"id\": 30283,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                },\n                {\n                    \"id\": 30284,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                },\n                {\n                    \"id\": 30285,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                }\n            ]\n        }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"returns\": [\n        {\n            \"item_id\": 30431,\n            \"child_item_id\": 30283,\n            \"quantity\": 1,\n            \"reason\": \"product_defective\"\n        }\n    ],\n    \"refunds\": [],\n    \"shipments\": [\n        {\n            \"reference_id\": \"15974349\",\n            \"status\": \"shipped\",\n            \"tracking_number\": \"12345\",\n            \"tracking_url\": \"https://www.ups.com/track?code=12345\",\n            \"carrier_name\": \"UPS\"\n        }\n    ],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n        \"decimal_mark\": \".\",\n        \"thousands_separator\": \",\",\n        \"prefix\": \"$\",\n        \"suffix\": \"\",\n        \"currency_code_suffix\": \"\",\n        \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n        {\n            \"currency\": \"USD\",\n            \"rate\": \"1.000000000000000\"\n        }\n    ]\n}"},{"id":"ef58239b-7456-4a87-ae73-c1d70d8648ec","name":"Return Items Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"return_items\": [\n        {   \n            \"reason\": \"product_defective\",\n            \"quantity\": 1,\n            \"id\": 0,\n            \"child_item_id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/return/"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\",\n    \"status_code\": 404\n}"},{"id":"af311ccb-8134-457a-ac4b-9bcd29897e90","name":"Return Items Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"return_items\": [\n        {   \n            \"reason\": \"\",\n            \"quantity\": 0,\n            \"id\": 0,\n            \"child_item_id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/return/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"return_items\": [\n        {\n            \"id\": [\n                \"Ensure this value is greater than or equal to 1.\"\n            ],\n            \"child_item_id\": [\n                \"Ensure this value is greater than or equal to 1.\"\n            ],\n            \"quantity\": [\n                \"Ensure this value is greater than or equal to 1.\"\n            ],\n            \"reason\": [\n                \"\\\"\\\" is not a valid choice.\"\n            ]\n        }\n    ],\n    \"status_code\": 400\n}"}],"_postman_id":"9dfc5378-38fc-49b4-ac1b-02c0797dfbb2"},{"name":"Refund Order","event":[{"listen":"test","script":{"id":"4d892584-9c19-47dc-8ff0-c5c2df9fddc4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"7eda714d-a208-4aa6-b97d-655de39f2ece","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"product_defective\",\n    \"amount\": 1,\n    \"shipping_amount\": 5,\n    \"refund_items\": [\n        {\n            \"amount\": 10,\n            \"quantity\": 1,\n            \"id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/refund/","description":"<h3 id=\"create-order-refund\">Create Order Refund</h3>\n<p>This endpoint is used to initiate a refund for a specific order.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>reason</code> (string, required): The reason for the refund. Reason can be one of the following:</p>\n<ul>\n<li><p><code>cancel_backorder</code></p>\n</li>\n<li><p><code>cancel_placed_in_error</code></p>\n</li>\n<li><p><code>payment_unrecognized_charge</code></p>\n</li>\n<li><p><code>product_defective</code></p>\n</li>\n<li><p><code>product_not_as_described</code></p>\n</li>\n<li><p><code>shipping_customs_issue</code></p>\n</li>\n<li><p><code>shipping_delivery_exception</code></p>\n</li>\n<li><p><code>shipping_lost_in_transit</code></p>\n</li>\n<li><p><code>shipping_product_not_received</code></p>\n</li>\n<li><p><code>provider_initiated</code></p>\n</li>\n<li><p><code>transaction_disputed</code></p>\n</li>\n<li><p><code>other</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>custom_reason</code> (str, 64 characters max): Reason for the refund. Field is required if specified <code>reason</code> is <code>other</code>.</p>\n</li>\n<li><p><code>amount</code> (float): The amount to refund on order</p>\n</li>\n<li><p><code>shipping_amount</code> (number): The amount to be refunded for shipping.</p>\n</li>\n<li><p><code>refund_items</code> (array): An array of objects containing details of items to be refunded, including amount, quantity, and item_id.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>id</code> (string): The ID of the order.</p>\n</li>\n<li><p><code>aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>customer_first_name</code> (string): The first name of the customer.</p>\n</li>\n<li><p><code>customer_last_name</code> (string): The last name of the customer.</p>\n</li>\n<li><p><code>shipping_address_line1</code> (string): The first line of the shipping address.</p>\n</li>\n<li><p><code>shipping_address_line2</code> (string): The second line of the shipping address.</p>\n</li>\n<li><p><code>shipping_city</code> (string): The city for shipping.</p>\n</li>\n<li><p><code>shipping_region</code> (string): The region for shipping.</p>\n</li>\n<li><p><code>shipping_country</code> (string): The country for shipping.</p>\n</li>\n<li><p><code>shipping_postal_code</code> (string): The postal code for shipping.</p>\n</li>\n<li><p><code>customer_phone</code> (string): The phone number of the customer.</p>\n</li>\n<li><p><code>customer_email</code> (string): The email address of the customer.</p>\n</li>\n<li><p><code>status</code> (string): The status of the order.</p>\n</li>\n<li><p><code>ordered_at</code> (string): The date and time when the order was placed.</p>\n</li>\n<li><p><code>total</code> (string): The total amount of the order.</p>\n</li>\n<li><p><code>discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>subtotal</code> (string): The subtotal amount of the order.</p>\n</li>\n<li><p><code>tax</code> (string): The tax amount of the order.</p>\n</li>\n<li><p><code>shipping_cost</code> (string): The shipping cost of the order.</p>\n</li>\n<li><p><code>items</code> (array): An array of objects containing details of items in the order, including ID, name, quantity, price, subtotal and discounts.</p>\n</li>\n<li><p><code>discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>returns</code> (array): An array of objects containing details of items being returned, including item_id, child_item_id, quantity, and reason.</p>\n</li>\n<li><p><code>refunds</code> (array): An array of objects containing details of refunds, including ID, transaction_id, amount, shipping_amount, status, reason, and created_at.</p>\n</li>\n<li><p><code>shipments</code> (array): An array of objects containing details of shipments, including reference ID (reference ID for this order in fulfillment provider), shipment status (not_shipped, shipped, cancelled), tracking number, tracking URL and carrier name.</p>\n</li>\n<li><p><code>currency</code> (string): The currency used for the order.</p>\n</li>\n<li><p><code>vat_inclusive</code> (boolean): Indicates if VAT is inclusive.</p>\n</li>\n<li><p><code>currency_format</code> (object): Details of the currency formatting to use with the customer's currency. The currency format contains:</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>currency_conversions</code> (array): An array of objects containing details of currency conversions, including currency and rate.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","public","orders","SAMPLE-12345","refund",""],"host":["partner.giddyup.io"],"query":[],"variable":[]}},"response":[{"id":"2bebc5f6-352c-40af-871e-1763db802020","name":"Refund Items Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"product_defective\",\n    \"shipping_amount\": 5,\n    \"refund_items\": [\n        {\n            \"amount\": 10,\n            \"quantity\": 1,\n            \"id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/refund/"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"SAMPLE-12345\",\n    \"aff_id\": 112211,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"1600 Pennsylvania Avenue NW\",\n    \"shipping_address_line2\": \"Oval Office\",\n    \"shipping_city\": \"Washington\",\n    \"shipping_region\": \"DC\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"20500\",\n    \"customer_phone\": \"15558675309\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"placed\",\n    \"ordered_at\": \"2024-03-26T15:20:57.643724Z\",\n    \"total\": \"115.56\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"95.97\",\n    \"tax\": \"8.67\",\n    \"shipping_cost\": \"10.00\",\n    \"items\": [\n        {\n            \"id\": 30195,\n            \"name\": \"Buy 2, Get 1 FREE\",\n            \"quantity\": 1,\n            \"price\": \"85.97\",\n            \"subtotal\": \"85.97\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"9.99\"\n                }\n            ],\n            \"items\": [\n                {\n                    \"id\": 30018,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                },\n                {\n                    \"id\": 30019,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                },\n                {\n                    \"id\": 30020,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                }\n            ]\n        },\n        {\n            \"id\": 30196,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"10.00\",\n            \"subtotal\": \"10.00\",\n            \"items\": [],\n            \"discounts\": [],\n        }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"returns\": [],\n    \"refunds\": [\n        {\n            \"id\": 2749,\n            \"amount\": \"16.38\",\n            \"shipping_amount\": \"5.00\",\n            \"status\": \"new\",\n            \"reason\": \"product_defective\",\n            \"created_at\": \"2024-03-27T18:23:51.960457Z\"\n        }\n    ],\n    \"shipments\": [],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n        \"decimal_mark\": \".\",\n        \"thousands_separator\": \",\",\n        \"prefix\": \"$\",\n        \"suffix\": \"\",\n        \"currency_code_suffix\": \"\",\n        \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n        {\n            \"currency\": \"USD\",\n            \"rate\": \"1.000000000000000\"\n        }\n    ]\n}"},{"id":"6070311b-2500-4265-a66b-11bab82b99c7","name":"Refund Items Bad Request Item Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"product_defective\",\n    \"shipping_amount\": 5,\n    \"refund_items\": [\n        {\n            \"amount\": 10,\n            \"quantity\": 1,\n            \"id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/refund/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    \"Item 0 not found in order\"\n]"},{"id":"b35951ba-5173-4e06-b8af-6a11bc27367e","name":"Refund Items Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"product_defective\",\n    \"shipping_amount\": 5,\n    \"refund_items\": [\n        {\n            \"amount\": 10,\n            \"quantity\": 1,\n            \"id\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/refund/"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\",\n    \"status_code\": 404\n}"}],"_postman_id":"7eda714d-a208-4aa6-b97d-655de39f2ece"},{"name":"Cancel Order","id":"ce64fdf9-ef00-4659-b62f-b5aead9695a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"cancel_placed_in_error\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/cancel/","description":"<h3 id=\"cancel-order\">Cancel Order</h3>\n<p>This endpoint is used to cancel a specific order.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>reason</code> (string, required): The reason for the refund. Reason can be one of the following:</p>\n<ul>\n<li><p><code>cancel_backorder</code></p>\n</li>\n<li><p><code>cancel_placed_in_error</code></p>\n</li>\n<li><p><code>payments_unrecognized_charge</code></p>\n</li>\n<li><p><code>product_defective</code></p>\n</li>\n<li><p><code>product_not_as_described</code></p>\n</li>\n<li><p><code>shipping_customs_issue</code></p>\n</li>\n<li><p><code>shipping_delivery_exception</code></p>\n</li>\n<li><p><code>shipping_lost_in_transit</code></p>\n</li>\n<li><p><code>shipping_product_not_received</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>id</code> (string): The ID of the order.</p>\n</li>\n<li><p><code>aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>customer_first_name</code> (string): The first name of the customer.</p>\n</li>\n<li><p><code>customer_last_name</code> (string): The last name of the customer.</p>\n</li>\n<li><p><code>shipping_address_line1</code> (string): The first line of the shipping address.</p>\n</li>\n<li><p><code>shipping_address_line2</code> (string): The second line of the shipping address.</p>\n</li>\n<li><p><code>shipping_city</code> (string): The city for shipping.</p>\n</li>\n<li><p><code>shipping_region</code> (string): The region for shipping.</p>\n</li>\n<li><p><code>shipping_country</code> (string): The country for shipping.</p>\n</li>\n<li><p><code>shipping_postal_code</code> (string): The postal code for shipping.</p>\n</li>\n<li><p><code>customer_phone</code> (string): The phone number of the customer.</p>\n</li>\n<li><p><code>customer_email</code> (string): The email address of the customer.</p>\n</li>\n<li><p><code>status</code> (string): The status of the order.</p>\n</li>\n<li><p><code>ordered_at</code> (string): The date and time when the order was placed.</p>\n</li>\n<li><p><code>total</code> (string): The total amount of the order.</p>\n</li>\n<li><p><code>discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>subtotal</code> (string): The subtotal amount of the order.</p>\n</li>\n<li><p><code>tax</code> (string): The tax amount of the order.</p>\n</li>\n<li><p><code>shipping_cost</code> (string): The shipping cost of the order.</p>\n</li>\n<li><p><code>items</code> (array): An array of objects containing details of items in the order, including ID, name, quantity, price, subtotal and discounts.</p>\n</li>\n<li><p><code>discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>returns</code> (array): An array of objects containing details of items being returned, including item_id, child_item_id, quantity, and reason.</p>\n</li>\n<li><p><code>refunds</code> (array): An array of objects containing details of refunds, including ID, transaction_id, amount, shipping_amount, status, reason, and created_at.</p>\n</li>\n<li><p><code>currency</code> (string): The currency used for the order.</p>\n</li>\n<li><p><code>vat_inclusive</code> (boolean): Indicates if VAT is inclusive.</p>\n</li>\n<li><p><code>currency_format</code> (object): Details of the currency formatting to use with the customer's currency. The currency format contains:</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>currency_conversions</code> (array): An array of objects containing details of currency conversions, including currency and rate.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","public","orders","SAMPLE-12345","cancel",""],"host":["partner.giddyup.io"],"query":[],"variable":[]}},"response":[{"id":"992494ad-2d46-41af-84d6-fae02ec4fdf8","name":"Cancel Order Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"cancel_placed_in_error\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/cancel/"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"SAMPLE-12345\",\n    \"aff_id\": 112211,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"1600 Pennsylvania Avenue NW\",\n    \"shipping_address_line2\": \"Oval Office\",\n    \"shipping_city\": \"Washington\",\n    \"shipping_region\": \"DC\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"20500\",\n    \"customer_phone\": \"15558675309\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"cancelled\",\n    \"ordered_at\": \"2024-03-26T15:20:57.643724Z\",\n    \"total\": \"115.56\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"95.97\",\n    \"tax\": \"8.67\",\n    \"shipping_cost\": \"10.00\",\n    \"items\": [\n        {\n            \"id\": 30195,\n            \"name\": \"Buy 2, Get 1 FREE\",\n            \"quantity\": 1,\n            \"price\": \"85.97\",\n            \"subtotal\": \"85.97\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"9.99\"\n                }\n            ],\n            \"items\": [\n                {\n                    \"id\": 30018,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                },\n                {\n                    \"id\": 30019,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                },\n                {\n                    \"id\": 30020,\n                    \"name\": \"Sample Widget\",\n                    \"quantity\": 1,\n                    \"price\": \"0.00\",\n                    \"subtotal\": \"0.00\",\n                    \"discounts\": [\n                        {\n                            \"code\": \"SUMMER25\",\n                            \"amount\": \"2.65\"\n                        }\n                    ],\n                }\n            ]\n        },\n        {\n            \"id\": 30196,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"10.00\",\n            \"subtotal\": \"10.00\",\n            \"items\": [],\n            \"discounts\": [],\n        }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"returns\": [],\n    \"refunds\": [\n        {\n            \"id\": 2749,\n            \"transaction_id\": 20891,\n            \"amount\": \"16.38\",\n            \"shipping_amount\": \"5.00\",\n            \"status\": \"new\",\n            \"reason\": \"product_defective\",\n            \"created_at\": \"2024-03-27T18:23:51.960457Z\"\n        },\n        {\n            \"id\": 2750,\n            \"transaction_id\": 20891,\n            \"amount\": \"88.26\",\n            \"shipping_amount\": \"0.00\",\n            \"status\": \"new\",\n            \"reason\": \"cancel_placed_in_error\",\n            \"created_at\": \"2024-03-27T18:27:15.000144Z\"\n        },\n        {\n            \"id\": 2751,\n            \"transaction_id\": 20892,\n            \"amount\": \"10.92\",\n            \"shipping_amount\": \"0.00\",\n            \"status\": \"new\",\n            \"reason\": \"cancel_placed_in_error\",\n            \"created_at\": \"2024-03-27T18:27:17.218823Z\"\n        }\n    ],\n    \"shipments\": [],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n        \"decimal_mark\": \".\",\n        \"thousands_separator\": \",\",\n        \"prefix\": \"$\",\n        \"suffix\": \"\",\n        \"currency_code_suffix\": \"\",\n        \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n        {\n            \"currency\": \"USD\",\n            \"rate\": \"1.000000000000000\"\n        }\n    ]\n}"},{"id":"16c7e930-6bd0-4b66-a65b-8be246496fc6","name":"Cancel Order - Bad Request - Bad Reason","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"bad_reason\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/cancel/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    \"Specified refund reason is not valid. Options are ['cancel_backorder', 'cancel_placed_in_error', 'payment_unrecognized_charge', 'product_defective', 'product_not_as_described', 'shipping_customs_issue', 'shipping_delivery_exception', 'shipping_lost_in_transit', 'shipping_product_not_received', 'provider_initiated', 'transaction_disputed']\"\n]"},{"id":"767e4e0c-761c-4849-a986-7c57904a7a1a","name":"Cancel Order - Bad Request - No Reason","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token sample0token1value2","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/orders/SAMPLE-12345/cancel/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    \"Missing required field: refund_reason.\"\n]"}],"_postman_id":"ce64fdf9-ef00-4659-b62f-b5aead9695a3"},{"name":"Get Return Reasons","id":"12427c85-1d03-46b9-86d3-b6c5c5421e3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Brand-ID","value":"0","type":"text"}],"url":"https://partner.giddyup.io/api/orders/brand-item-return-reasons","description":"<h3 id=\"get-return-reasons\">Get Return Reasons</h3>\n<p>This endpoint is used to get allowed return reasons for a specific brand.</p>\n<p>To call this endpoint, you will need to configure your Brand ID variable in the postman collection. Click on the Collection <strong>GiddyUp Custom Apps Integration</strong> and click the <strong>Variables</strong> tab. The Brand ID value can be found in the Custom Application Intergration settings page in the GiddyUp platform. This will be a numeric value. Set the <code>brand_id</code> variable in the Postman collection to this value.</p>\n<h4 id=\"request-headers\">Request Headers</h4>\n<p><code>X-Brand-ID</code> : The brand ID of the brand you're looking up return reasons for. This value can be found in the Custom Application Integration settings page. It will be a number value.</p>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><code>count</code> (number): The total number of return reasons specified for the brand</li>\n<li><code>next</code> (string): The link to call to get the next page of results</li>\n<li><code>previous</code> (string): The link to call to get the previous page of results</li>\n<li><code>results</code> (array): An array of return reasons with fields:<ul>\n<li><code>id</code> (number): The ID of the return reason</li>\n<li><code>reason</code> (string): The return reason which is allowed for the brand. This value can be used for the Create Return API call.</li>\n<li><code>brand</code> (number): The brand ID</li>\n<li><code>visible_to_shopper</code> (boolean): Whether the return reason is visible to the shopper when they initiate a return.</li>\n<li><code>display_order</code> (number): The index this return reason is displayed at within a list.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","orders","brand-item-return-reasons"],"host":["partner.giddyup.io"],"query":[],"variable":[]}},"response":[{"id":"f66cfaaf-4237-4e49-bd6b-cef2bcef0fe7","name":"Get Return Reasons Success","originalRequest":{"method":"GET","header":[{"key":"X-Brand-ID","value":"0","type":"text"}],"url":"https://partner.giddyup.io/api/orders/brand-item-return-reasons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 6,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"reason\": \"product_defective\",\n            \"brand\": 0,\n            \"id\": 446,\n            \"visible_to_shopper\": true,\n            \"display_order\": 1\n        },\n        {\n            \"reason\": \"product_not_as_described\",\n            \"brand\": 0,\n            \"id\": 447,\n            \"visible_to_shopper\": true,\n            \"display_order\": 2\n        },\n        {\n            \"reason\": \"product_wrong_item_received\",\n            \"brand\": 0,\n            \"id\": 448,\n            \"visible_to_shopper\": true,\n            \"display_order\": 3\n        },\n        {\n            \"reason\": \"shipping_order_issue\",\n            \"brand\": 0,\n            \"id\": 449,\n            \"visible_to_shopper\": true,\n            \"display_order\": 4\n        },\n        {\n            \"reason\": \"other\",\n            \"brand\": 0,\n            \"id\": 450,\n            \"visible_to_shopper\": true,\n            \"display_order\": 5\n        },\n        {\n            \"reason\": \"item_didnt_fit\",\n            \"brand\": 0,\n            \"id\": 622,\n            \"visible_to_shopper\": true,\n            \"display_order\": 6\n        }\n    ]\n}"}],"_postman_id":"12427c85-1d03-46b9-86d3-b6c5c5421e3e"}],"id":"b08b4499-b498-4f9d-be09-f014d0e1e2f5","description":"<p>The Orders endpoints can be used to manage your orders within the GiddyUp platform.</p>\n","_postman_id":"b08b4499-b498-4f9d-be09-f014d0e1e2f5"},{"name":"Webhooks","item":[{"name":"Order Placed","id":"447413a3-98a3-46ce-b7c0-cb01608b0a17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"order.placed\",\n  \"user\": null,\n  \"order\": {\n    \"id\": \"TEST-20825\",\n    \"aff_id\": 112211,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"200 North Spring Street\",\n    \"shipping_address_line2\": null,\n    \"shipping_city\": \"Los Angeles\",\n    \"shipping_region\": \"CA\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"90012\",\n    \"customer_phone\": \"16501234567\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"placed\",\n    \"ordered_at\": \"2024-04-29T21:06:38.497723Z\",\n    \"total\": \"104.13\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"85.97\",\n    \"tax\": \"8.16\",\n    \"shipping_cost\": \"10.00\",\n    \"shipping_cost_tax\": \"0.00\",\n    \"items\": [\n      {\n        \"id\": 36206,\n        \"name\": \"Buy 2, Get 1 FREE\",\n        \"quantity\": 1,\n        \"price\": \"85.97\",\n        \"subtotal\": \"85.97\",\n        \"tax\": \"8.16\",\n        \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"9.99\"\n            }\n        ],\n        \"items\": [\n          {\n            \"id\": 34485,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34486,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34487,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          }\n        ],\n        \"tax_details\": [\n          {\n            \"jurisdiction\": \"CALIFORNIA\",\n            \"tax_rate\": \"0.0600\",\n            \"tax\": \"5.16\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES\",\n            \"tax_rate\": \"0.0025\",\n            \"tax\": \"0.21\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n            \"tax_rate\": \"0.0225\",\n            \"tax\": \"1.93\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES CO LOCAL TAX SL\",\n            \"tax_rate\": \"0.0100\",\n            \"tax\": \"0.86\"\n          }\n        ]\n      }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"returns\": [],\n    \"refunds\": [],\n    \"shipments\": [],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n      \"decimal_mark\": \".\",\n      \"thousands_separator\": \",\",\n      \"prefix\": \"$\",\n      \"suffix\": \"\",\n      \"currency_code_suffix\": \"\",\n      \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n      {\n        \"currency\": \"USD\",\n        \"rate\": \"1.000000000000000\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"order-placed-webhook-event\">Order Placed Webhook Event</h3>\n<p>This HTTP POST request is used to send an order placed event payload to the specified webhook URL. The request body will be in json format and include an event type along with order details such as ID, customer information, shipping details, order status, pricing, items, returns, refunds, currency, VAT information, and currency conversions.</p>\n<h3 id=\"webhook-body\">Webhook Body</h3>\n<ul>\n<li><p><code>event_type</code> (string): Type of event associated with the order. This will be <code>order.placed</code> for an order placed event.</p>\n</li>\n<li><p><code>user</code> (string): Email address of the brand user who performed this action. This will be <code>null</code> for an order placed event, as order is placed by customer and not initiated by brand user.</p>\n</li>\n<li><p><code>order.id</code> (string): Unique identifier for the order.</p>\n</li>\n<li><p><code>order.aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>order.customer_first_name</code> (string): First name of the customer.</p>\n</li>\n<li><p><code>order.customer_last_name</code> (string): Last name of the customer.</p>\n</li>\n<li><p><code>order.shipping_address_line1</code> (string): First line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_address_line2</code> (string): Second line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_city</code> (string): City for shipping address.</p>\n</li>\n<li><p><code>order.shipping_region</code> (string): Region for shipping address.</p>\n</li>\n<li><p><code>order.shipping_country</code> (string): Country for shipping address.</p>\n</li>\n<li><p><code>order.shipping_postal_code</code> (string): Postal code for shipping address.</p>\n</li>\n<li><p><code>order.customer_phone</code> (string): Phone number of the customer.</p>\n</li>\n<li><p><code>order.customer_email</code> (string): Email address of the customer.</p>\n</li>\n<li><p><code>order.status</code> (string): Status of the order.</p>\n</li>\n<li><p><code>order.ordered_at</code> (string): Date and time when the order was placed.</p>\n</li>\n<li><p><code>order.total</code> (string): Total amount for the order.</p>\n</li>\n<li><p><code>order.discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>order.subtotal</code> (string): Subtotal amount for the order.</p>\n</li>\n<li><p><code>order.tax</code> (string): Tax amount for the order.</p>\n</li>\n<li><p><code>order.shipping_cost</code> (string): Shipping cost for the order.</p>\n</li>\n<li><p><code>order.shipping_cost_tax</code> (string): Shipping cost tax for the order.</p>\n</li>\n<li><p><code>order.items</code> (array): Array of items included in the order, each containing ID, name, quantity, price, subtotal, tax amount, tax details, sub-items and discounts.</p>\n</li>\n<li><p><code>order.discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>order.returns</code> (array): Array of returned items.</p>\n</li>\n<li><p><code>order.refunds</code> (array): Array of refunded items.</p>\n</li>\n<li><p><code>order.shipments</code> (array): Array of order shipments.</p>\n</li>\n<li><p><code>order.currency</code> (string): Currency used for the order.</p>\n</li>\n<li><p><code>order.vat_inclusive</code> (boolean): Indicates if VAT is inclusive in the pricing.</p>\n</li>\n<li><p><code>order.currency_format</code> (object): Format details for the currency including decimal mark, thousands separator, prefix, suffix, currency code suffix, and format.</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>order.currency_conversions</code> (array): Array of currency conversions with currency and rate.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"447413a3-98a3-46ce-b7c0-cb01608b0a17"},{"name":"Order Cancelled","id":"6bb13dbf-c2d0-4535-a348-4fadb9603318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"order.cancelled\",\n  \"user\": \"john.doe@example.com\",\n  \"order\": {\n    \"id\": \"TEST-20825\",\n    \"aff_id\": null,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"200 North Spring Street\",\n    \"shipping_address_line2\": \"\",\n    \"shipping_city\": \"Los Angeles\",\n    \"shipping_region\": \"CA\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"90012\",\n    \"customer_phone\": \"+1 (000) 123-4567\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"cancelled\",\n    \"ordered_at\": \"2024-04-29T21:06:38.497723Z\",\n    \"total\": \"104.13\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"85.97\",\n    \"tax\": \"8.16\",\n    \"shipping_cost\": \"10.00\",\n    \"shipping_cost_tax\": \"0.00\",\n    \"items\": [\n      {\n        \"id\": 36206,\n        \"name\": \"Buy 2, Get 1 FREE\",\n        \"quantity\": 1,\n        \"price\": \"85.97\",\n        \"subtotal\": \"85.97\",\n        \"tax\": \"8.16\",\n        \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"9.99\"\n            }\n        ],\n        \"items\": [\n          {\n            \"id\": 34485,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34486,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34487,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          }\n        ],\n        \"tax_details\": [\n          {\n            \"jurisdiction\": \"CALIFORNIA\",\n            \"tax_rate\": \"0.0600\",\n            \"tax\": \"5.16\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES\",\n            \"tax_rate\": \"0.0025\",\n            \"tax\": \"0.21\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n            \"tax_rate\": \"0.0225\",\n            \"tax\": \"1.93\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES CO LOCAL TAX SL\",\n            \"tax_rate\": \"0.0100\",\n            \"tax\": \"0.86\"\n          },\n          {\n            \"jurisdiction\": \"CALIFORNIA\",\n            \"tax_rate\": \"0.0600\",\n            \"tax\": \"-5.16\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES\",\n            \"tax_rate\": \"0.0025\",\n            \"tax\": \"-0.21\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n            \"tax_rate\": \"0.0225\",\n            \"tax\": \"-1.93\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES CO LOCAL TAX SL\",\n            \"tax_rate\": \"0.0100\",\n            \"tax\": \"-0.86\"\n          }\n        ]\n      }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"returns\": [],\n    \"refunds\": [\n      {\n        \"id\": 2890,\n        \"transaction_id\": 26037,\n        \"amount\": \"104.13\",\n        \"shipping_amount\": \"10.00\",\n        \"status\": \"new\",\n        \"reason\": \"cancel_placed_in_error\",\n        \"created_at\": \"2024-04-29T21:20:41.556214Z\"\n      }\n    ],\n    \"shipments\": [\n      {\n        \"reference_id\": \"TEST-20825\",\n        \"status\": \"canceled\",\n        \"tracking_number\": null,\n        \"tracking_url\": null,\n        \"carrier_name\": null\n      }\n    ],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n      \"decimal_mark\": \".\",\n      \"thousands_separator\": \",\",\n      \"prefix\": \"$\",\n      \"suffix\": \"\",\n      \"currency_code_suffix\": \"\",\n      \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n      {\n        \"currency\": \"USD\",\n        \"rate\": \"1.000000000000000\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"order-cancelled-webhook-event\">Order Cancelled Webhook Event</h3>\n<p>This HTTP POST request is used to send an order cancelled event payload to the specified webhook URL. The request body will be in json format and include an event type along with order details such as ID, customer information, shipping details, order status, pricing, items, returns, refunds, currency, VAT information, and currency conversions.</p>\n<h3 id=\"webhook-body\">Webhook Body</h3>\n<ul>\n<li><p><code>event_type</code> (string): Type of event associated with the order. This will be <code>order.cancelled</code> for an order cancelled event.</p>\n</li>\n<li><p><code>user</code> (string): Email address of the brand user who performed this action (cancelled the order).</p>\n</li>\n<li><p><code>order.id</code> (string): Unique identifier for the order.</p>\n</li>\n<li><p><code>order.aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>order.customer_first_name</code> (string): First name of the customer.</p>\n</li>\n<li><p><code>order.customer_last_name</code> (string): Last name of the customer.</p>\n</li>\n<li><p><code>order.shipping_address_line1</code> (string): First line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_address_line2</code> (string): Second line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_city</code> (string): City for shipping address.</p>\n</li>\n<li><p><code>order.shipping_region</code> (string): Region for shipping address.</p>\n</li>\n<li><p><code>order.shipping_country</code> (string): Country for shipping address.</p>\n</li>\n<li><p><code>order.shipping_postal_code</code> (string): Postal code for shipping address.</p>\n</li>\n<li><p><code>order.customer_phone</code> (string): Phone number of the customer.</p>\n</li>\n<li><p><code>order.customer_email</code> (string): Email address of the customer.</p>\n</li>\n<li><p><code>order.status</code> (string): Status of the order.</p>\n</li>\n<li><p><code>order.ordered_at</code> (string): Date and time when the order was placed.</p>\n</li>\n<li><p><code>order.total</code> (string): Total amount for the order.</p>\n</li>\n<li><p><code>order.discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>order.subtotal</code> (string): Subtotal amount for the order.</p>\n</li>\n<li><p><code>order.tax</code> (string): Tax amount for the order.</p>\n</li>\n<li><p><code>order.shipping_cost</code> (string): Shipping cost for the order.</p>\n</li>\n<li><p><code>order.shipping_cost_tax</code> (string): Shipping cost tax for the order.</p>\n</li>\n<li><p><code>order.items</code> (array): Array of items included in the order, each containing ID, name, quantity, price, subtotal, tax amount, tax details, sub-items and discounts.</p>\n</li>\n<li><p><code>order.discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>order.returns</code> (array): Array of returned items.</p>\n</li>\n<li><p><code>order.refunds</code> (array): Array of refunded items.</p>\n</li>\n<li><p><code>order.shipments</code> (array): Array of order shipments.</p>\n</li>\n<li><p><code>order.currency</code> (string): Currency used for the order.</p>\n</li>\n<li><p><code>order.vat_inclusive</code> (boolean): Indicates if VAT is inclusive in the pricing.</p>\n</li>\n<li><ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>```\n```\n```\n```\n```\n```\n```\n```\n```\n- `thousands_separator` (string): The character used to separate thousands for the currency.\n- `prefix` (string): The symbol (if applicable) that comes before the amount.\n- `suffix` (string): The symbol (if applicable) that comes after the amount.\n- `currency_code_suffix` (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.\n- `format` (string): The final format for the currency including prefixes and suffixes.\n ```\n ```\n ```\n ```\n ```\n ```\n ```\n ```\n\n ```\n</code></pre></li>\n</ul>\n</li>\n<li><p><code>order.currency_conversions</code> (array): Array of currency conversions with currency and rate.</p>\n</li>\n<li><p><code>refunds</code> (array): Array of refund objects. When an order is cancelled there will be at least one refund. The refund reason can be one of:</p>\n<ul>\n<li><p><code>cancel_backorder</code></p>\n</li>\n<li><p><code>cancel_placed_in_error</code></p>\n</li>\n<li><p><code>payment_unrecognized_charge</code></p>\n</li>\n<li><p><code>product_defective</code></p>\n</li>\n<li><p><code>product_not_as_described</code></p>\n</li>\n<li><p><code>shipping_customs_issue</code></p>\n</li>\n<li><p><code>shipping_delivery_exception</code></p>\n</li>\n<li><p><code>shipping_lost_in_transit</code></p>\n</li>\n<li><p><code>shipping_product_not_received</code></p>\n</li>\n<li><p><code>provider_initiated</code></p>\n</li>\n<li><p><code>transaction_disputed</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"6bb13dbf-c2d0-4535-a348-4fadb9603318"},{"name":"Order Modified","id":"9804175e-1ede-4e05-9dca-d8bb6a7fb4f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"order.modified\",\n  \"user\": \"john.doe@example.com\",\n  \"order\": {\n    \"id\": \"TEST-20825\",\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"200 North Spring Street\",\n    \"shipping_address_line2\": \"\",\n    \"shipping_city\": \"Los Angeles\",\n    \"shipping_region\": \"CA\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"90012\",\n    \"customer_phone\": \"+1 (000) 123-4567\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"placed\",\n    \"ordered_at\": \"2024-04-29T21:06:38.497723Z\",\n    \"total\": \"104.13\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"85.97\",\n    \"tax\": \"8.16\",\n    \"shipping_cost\": \"10.00\",\n    \"shipping_cost_tax\": \"0.00\",\n    \"items\": [\n      {\n        \"id\": 36206,\n        \"name\": \"Buy 2, Get 1 FREE\",\n        \"quantity\": 1,\n        \"price\": \"85.97\",\n        \"subtotal\": \"85.97\",\n        \"tax\": \"8.16\",\n        \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"9.99\"\n            }\n        ],\n        \"items\": [\n          {\n            \"id\": 34485,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34486,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34487,\n            \"name\": \"Sample Widget\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"subtotal\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          }\n        ],\n        \"tax_details\": [\n          {\n            \"jurisdiction\": \"CALIFORNIA\",\n            \"tax_rate\": \"0.0600\",\n            \"tax\": \"5.16\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES\",\n            \"tax_rate\": \"0.0025\",\n            \"tax\": \"0.21\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n            \"tax_rate\": \"0.0225\",\n            \"tax\": \"1.93\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES CO LOCAL TAX SL\",\n            \"tax_rate\": \"0.0100\",\n            \"tax\": \"0.86\"\n          }\n        ]\n      }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"returns\": [],\n    \"refunds\": [],\n    \"shipments\": [\n      {\n        \"reference_id\": \"TEST-20825\",\n        \"status\": \"not_shipped\",\n        \"tracking_number\": null,\n        \"tracking_url\": null,\n        \"carrier_name\": null\n      }\n    ],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n      \"decimal_mark\": \".\",\n      \"thousands_separator\": \",\",\n      \"prefix\": \"$\",\n      \"suffix\": \"\",\n      \"currency_code_suffix\": \"\",\n      \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n      {\n        \"currency\": \"USD\",\n        \"rate\": \"1.000000000000000\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"order-modified-webhook-event\">Order Modified Webhook Event</h3>\n<p>This HTTP POST request is used to send an order modified event payload to the specified webhook URL. The request body will be in json format and include an event type along with order details such as ID, customer information, shipping details, order status, pricing, items, returns, refunds, currency, VAT information, and currency conversions.</p>\n<h3 id=\"webhook-body\">Webhook Body</h3>\n<ul>\n<li><p><code>event_type</code> (string): Type of event associated with the order. This will be <code>order.modified</code> for an order modified event.</p>\n</li>\n<li><p><code>user</code> (string): Email address of the brand user who performed this action (issued refund, cancelled order item, created order return, marked order return items as received etc).</p>\n</li>\n<li><p><code>order.id</code> (string): Unique identifier for the order.</p>\n</li>\n<li><p><code>order.aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>order.customer_first_name</code> (string): First name of the customer.</p>\n</li>\n<li><p><code>order.customer_last_name</code> (string): Last name of the customer.</p>\n</li>\n<li><p><code>order.shipping_address_line1</code> (string): First line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_address_line2</code> (string): Second line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_city</code> (string): City for shipping address.</p>\n</li>\n<li><p><code>order.shipping_region</code> (string): Region for shipping address.</p>\n</li>\n<li><p><code>order.shipping_country</code> (string): Country for shipping address.</p>\n</li>\n<li><p><code>order.shipping_postal_code</code> (string): Postal code for shipping address.</p>\n</li>\n<li><p><code>order.customer_phone</code> (string): Phone number of the customer.</p>\n</li>\n<li><p><code>order.customer_email</code> (string): Email address of the customer.</p>\n</li>\n<li><p><code>order.status</code> (string): Status of the order.</p>\n</li>\n<li><p><code>order.ordered_at</code> (string): Date and time when the order was placed.</p>\n</li>\n<li><p><code>order.total</code> (string): Total amount for the order.</p>\n</li>\n<li><p><code>order.discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>order.subtotal</code> (string): Subtotal amount for the order.</p>\n</li>\n<li><p><code>order.tax</code> (string): Tax amount for the order.</p>\n</li>\n<li><p><code>order.shipping_cost</code> (string): Shipping cost for the order.</p>\n</li>\n<li><p><code>order.shipping_cost_tax</code> (string): Shipping cost tax for the order.</p>\n</li>\n<li><p><code>order.items</code> (array): Array of items included in the order, each containing ID, name, quantity, price, subtotal, tax amount, tax details, sub-items and discounts.</p>\n</li>\n<li><p><code>order.discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>order.returns</code> (array): Array of returned items.</p>\n</li>\n<li><p><code>order.refunds</code> (array): Array of refunded items.</p>\n</li>\n<li><p><code>order.shipments</code> (array): Array of order shipments.</p>\n</li>\n<li><p><code>order.currency</code> (string): Currency used for the order.</p>\n</li>\n<li><p><code>order.vat_inclusive</code> (boolean): Indicates if VAT is inclusive in the pricing.</p>\n</li>\n<li><ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>```\n```\n```\n```\n```\n```\n```\n```\n```\n```\n```\n- `thousands_separator` (string): The character used to separate thousands for the currency.\n- `prefix` (string): The symbol (if applicable) that comes before the amount.\n- `suffix` (string): The symbol (if applicable) that comes after the amount.\n- `currency_code_suffix` (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.\n- `format` (string): The final format for the currency including prefixes and suffixes.\n ```\n ```\n ```\n ```\n ```\n ```\n ```\n ```\n ```\n ```\n\n ```\n</code></pre></li>\n</ul>\n</li>\n<li><p><code>order.currency_conversions</code> (array): Array of currency conversions with currency and rate.</p>\n</li>\n<li><p><code>refunds</code> (array): Array of refund objects. When an order is cancelled there will be at least one refund. The refund reason can be one of:</p>\n<ul>\n<li><p><code>cancel_backorder</code></p>\n</li>\n<li><p><code>cancel_placed_in_error</code></p>\n</li>\n<li><p><code>payment_unrecognized_charge</code></p>\n</li>\n<li><p><code>product_defective</code></p>\n</li>\n<li><p><code>product_not_as_described</code></p>\n</li>\n<li><p><code>shipping_customs_issue</code></p>\n</li>\n<li><p><code>shipping_delivery_exception</code></p>\n</li>\n<li><p><code>shipping_lost_in_transit</code></p>\n</li>\n<li><p><code>shipping_product_not_received</code></p>\n</li>\n<li><p><code>provider_initiated</code></p>\n</li>\n<li><p><code>transaction_disputed</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"9804175e-1ede-4e05-9dca-d8bb6a7fb4f0"}],"id":"fd6c08bd-ee1d-462b-81ce-795e3dddeb45","description":"<p>Webhooks can be configured to retrieve events about your orders in the Giddyup platform.</p>\n<h1 id=\"verification-of-webhooks\">Verification of Webhooks</h1>\n<p>To ensure the security and integrity of data received through webhooks, it's crucial to validate the webhook response. This can be achieved by utilizing the <code>x-giddyup-hmac-sha256</code> header present in the webhook. This header contains a hash value generated using HMAC SHA-256, based on the webhook content. To validate the webhook, follow these steps:</p>\n<ol>\n<li><p><strong>Retrieve the</strong> <strong><code>x-giddyup-hmac-sha256</code></strong> <strong>Header</strong>: Extract the <code>x-giddyup-hmac-sha256</code> header value from the incoming webhook request. This header represents the HMAC SHA-256 encoded signature of the webhook payload.</p>\n</li>\n<li><p><strong>Generate Your Signature</strong>: Compute your own HMAC SHA-256 signature using the webhook payload and your client secret key (Available in the \"API\" section in the Custom Integration section in the GiddyUp platform). Ensure that you're processing the raw body of the webhook payload accurately to match the hashing method used when the signature was created.</p>\n</li>\n<li><p><strong>Compare Signatures</strong>: Compare the signature you generated with the <code>x-giddyup-hmac-sha256</code> value from the webhook's header. If the signatures match, the webhook is validated as authentic and has not been tampered with during transmission. If they don't match, the webhook should be rejected as it may indicate tampering or an issue in the signature generation process.</p>\n</li>\n</ol>\n<p>Validating webhook responses in this manner ensures that the data received is from the expected source and has not been altered, maintaining the integrity and trustworthiness of the data exchange process.</p>\n<h1 id=\"webhook-retries\">Webhook Retries</h1>\n<p>In the event a webhook request gets an error response from your service, GiddyUp will attempt retries. The retry will attempt to send the same payload from when the error was received.</p>\n<h3 id=\"retry-status-codes\">Retry status codes</h3>\n<p>GiddyUp will retry webhook requests when the response from your service is any <code>4xx</code> or <code>5xx</code> HTTP response code.</p>\n<h3 id=\"retry-schedule\">Retry schedule</h3>\n<p>When an error response is retrieved from your service, the retry will be attempted hourly for two days from the original request. The retry requests will come around the 55th minute of each hour.</p>\n<h3 id=\"retry-resolution\">Retry resolution</h3>\n<p>Webhooks will attempt to retry until:</p>\n<ol>\n<li><p>A successful response (any http <code>2xx</code> status code) is received on a retry attempt.</p>\n</li>\n<li><p>The retry period for the request expires. Currently this is 2 days.</p>\n</li>\n</ol>\n","_postman_id":"fd6c08bd-ee1d-462b-81ce-795e3dddeb45"},{"name":"Shipment Update","item":[{"name":"Shipment Update","id":"bed839ae-2b02-4fcc-ba88-d407e7a7c879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n        \"reference_id\": \"SAMPLE-12345\",\n        \"status\": \"shipped\",\n        \"tracking_number\": \"SAMP-3445-3254-2310\",\n        \"tracking_url\": \"https://example.com/SAMP-3445-3254-2310\",\n        \"carrier_name\": \"FEDEX\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/0/webhooks/shipment-update/","description":"<p>Each integration has a unique endpoint path parameter. The correct endpoint for your integration will be displayed in the platform once the integration is complete.</p>\n<h3 id=\"update-shipment\">Update Shipment</h3>\n<p>This endpoint is used to update shipment information for a specific order.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>reference_id</code> (string, required): The order ID shipment information is being added to.</p>\n</li>\n<li><p><code>status</code> (string, required): The status of the order's shipment. Can be one of:</p>\n<ul>\n<li><p><code>shipped</code></p>\n</li>\n<li><p><code>not_shipped</code> (note, the event will be ignored if the status is not_shipped)</p>\n</li>\n<li><p><code>canceled</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>tracking_number</code> (string): The tracking number for the order's shipment</p>\n</li>\n<li><p><code>tracking_url</code> (string, optional): The url for the carrier's system containing the tracking number. If provided, this link will be provided to the customer to track their order.</p>\n</li>\n<li><p><code>carrier_name</code> (string): The key for the carrier the shipment was shipped with. Can be one of:</p>\n<ul>\n<li><p><code>DHL eCommerce</code></p>\n</li>\n<li><p><code>DHL_ECOMMERCE</code></p>\n</li>\n<li><p><code>UPS</code></p>\n</li>\n<li><p><code>USPS</code></p>\n</li>\n<li><p><code>usps_first_class_mail</code></p>\n</li>\n<li><p><code>FEDEX</code></p>\n</li>\n<li><p><code>FEDEX2</code></p>\n</li>\n<li><p><code>ups_ground_saver</code></p>\n</li>\n<li><p><code>fastway_au_standard</code></p>\n</li>\n<li><p><code>usps_ground_advantage</code></p>\n</li>\n<li><p><code>firstmile_xparcel_expedited</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>If the webhook request is successful, the response will have a status of 200 with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"Message\": \"Success\"\n}\n\n</code></pre>\n<p>If the webhook request is not successful, the response will have a status of 400 with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"Message\": \"Fail\",\n    \"Error\": {\"type\": \"Error Type\", \"details\": \"...\"}\n}\n\n</code></pre>\n<h4 id=\"error-types\">Error Types</h4>\n<p>INVALID_ENDPOINT - The endpoint is not matching the one provided in the platform integrations settings.</p>\n<p>INVALID_PAYLOAD - The payload fields are not meeting requirements or a shipment was not found with the specified reference_id.</p>\n<p>RESOURCE_ACCESS_DENIED - The user does not have access to the order.</p>\n<p>UNEXPECTED_ERROR - The request could not be processed. We suggest you reach out to the support team to initiate an investigation.</p>\n","urlObject":{"protocol":"https","host":["partner.giddyup.io/api/public/0/webhooks/shipment-update/"],"query":[],"variable":[]}},"response":[{"id":"5d3dab97-0994-4575-a2be-d59c107d0131","name":"Shipment Update","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n        \"reference_id\": \"SAMPLE-12345\",\n        \"status\": \"shipped\",\n        \"tracking_number\": \"SAMP-3445-3254-2310\",\n        \"tracking_url\": \"https://example.com/SAMP-3445-3254-2310\",\n        \"carrier_name\": \"FEDEX\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner.giddyup.io/api/public/0/webhooks/shipment-update/"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\"Message\": \"Success\"}"}],"_postman_id":"bed839ae-2b02-4fcc-ba88-d407e7a7c879"}],"id":"fe067f70-076a-4c29-83a6-ecf62a98c32b","description":"<p>This endpoint is used by your application to notify GiddyUp that you have shipped the order.</p>\n<p>The request to update the shipment info for an order is sent to a url provided to you in your custom application integration settings page. The webhook URL is provided in the <strong>API</strong> section of the Settings.</p>\n","_postman_id":"fe067f70-076a-4c29-83a6-ecf62a98c32b"},{"name":"3PL Fulfillment","item":[{"name":"Order Created","id":"dbf6262e-7651-4640-9fd3-900f2f98264c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"order_created\",\n  \"order\": {\n    \"id\": \"TEST-20818\",\n    \"aff_id\": 112211,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"200 North Spring Street\",\n    \"shipping_address_line2\": null,\n    \"shipping_city\": \"Los Angeles\",\n    \"shipping_region\": \"CA\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"90012\",\n    \"customer_phone\": \"16501234567\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"placed\",\n    \"ordered_at\": \"2024-04-29T19:28:42.531018Z\",\n    \"total\": \"115.09\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"95.97\",\n    \"tax\": \"9.12\",\n    \"shipping_cost\": \"10.00\",\n    \"shipping_cost_tax\": \"0.00\",\n    \"items\": [\n      {\n        \"id\": 36192,\n        \"name\": \"Buy 2, Get 1 FREE\",\n        \"sku\": null,\n        \"quantity\": 1,\n        \"price\": \"85.97\",\n        \"tax\": \"8.16\",\n        \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"9.99\"\n            }\n        ],\n        \"items\": [\n          {\n            \"id\": 34473,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34474,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34475,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          }\n        ],\n        \"tax_details\": [\n          {\n            \"jurisdiction\": \"CALIFORNIA\",\n            \"tax_rate\": \"0.0600\",\n            \"tax\": \"5.16\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES\",\n            \"tax_rate\": \"0.0025\",\n            \"tax\": \"0.21\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n            \"tax_rate\": \"0.0225\",\n            \"tax\": \"1.93\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES CO LOCAL TAX SL\",\n            \"tax_rate\": \"0.0100\",\n            \"tax\": \"0.86\"\n          }\n        ]\n      }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n      \"decimal_mark\": \".\",\n      \"thousands_separator\": \",\",\n      \"prefix\": \"$\",\n      \"suffix\": \"\",\n      \"currency_code_suffix\": \"\",\n      \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n      {\n        \"currency\": \"USD\",\n        \"rate\": \"1.000000000000000\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"order-created-event\">Order Created Event</h3>\n<p>This HTTP POST request is used to send an order created event payload to the specified webhook URL for order fulfillment. The request body will be in json format and include an event type along with order details such as ID, customer information, shipping details, order status, pricing, items, returns, refunds, currency, VAT information, and currency conversions.</p>\n<h3 id=\"event-body\">Event Body</h3>\n<ul>\n<li><p><code>event_type</code> (string): Type of event associated with the order. This will be <code>order_created</code> for an order created event.</p>\n</li>\n<li><p><code>order.id</code> (string): Unique identifier for the order.</p>\n</li>\n<li><p><code>order.aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>order.customer_first_name</code> (string): First name of the customer.</p>\n</li>\n<li><p><code>order.customer_last_name</code> (string): Last name of the customer.</p>\n</li>\n<li><p><code>order.shipping_address_line1</code> (string): First line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_address_line2</code> (string): Second line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_city</code> (string): City for shipping address.</p>\n</li>\n<li><p><code>order.shipping_region</code> (string): Region for shipping address.</p>\n</li>\n<li><p><code>order.shipping_country</code> (string): Country for shipping address.</p>\n</li>\n<li><p><code>order.shipping_postal_code</code> (string): Postal code for shipping address.</p>\n</li>\n<li><p><code>order.customer_phone</code> (string): Phone number of the customer.</p>\n</li>\n<li><p><code>order.customer_email</code> (string): Email address of the customer.</p>\n</li>\n<li><p><code>order.status</code> (string): Status of the order.</p>\n</li>\n<li><p><code>order.ordered_at</code> (string): Date and time when the order was placed.</p>\n</li>\n<li><p><code>order.total</code> (string): Total amount for the order.</p>\n</li>\n<li><p><code>order.discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>order.subtotal</code> (string): Subtotal amount for the order.</p>\n</li>\n<li><p><code>order.tax</code> (string): Tax amount for the order.</p>\n</li>\n<li><p><code>order.shipping_cost</code> (string): Shipping cost for the order.</p>\n</li>\n<li><p><code>order.shipping_cost_tax</code> (string): Shipping cost tax for the order.</p>\n</li>\n<li><p><code>order.items</code> (array): Array of items included in the order, each containing ID, name, sku, quantity, price, tax amount, tax details, sub-items and discounts.</p>\n</li>\n<li><p><code>order.discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>order.currency</code> (string): Currency used for the order.</p>\n</li>\n<li><p><code>order.vat_inclusive</code> (boolean): Indicates if VAT is inclusive in the pricing.</p>\n</li>\n<li><p><code>order.currency_format</code> (object): Format details for the currency including decimal mark, thousands separator, prefix, suffix, currency code suffix, and format.</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>order.currency_conversions</code> (array): Array of currency conversions with currency and rate.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbf6262e-7651-4640-9fd3-900f2f98264c"},{"name":"Adjusted line item","id":"4f35dec9-43a0-44a2-b59c-d4cce86ead87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"order_adjusted_line_item\",\n  \"order\": {\n    \"id\": \"TEST-20818\",\n    \"aff_id\": null,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"200 North Spring Street\",\n    \"shipping_address_line2\": null,\n    \"shipping_city\": \"Los Angeles\",\n    \"shipping_region\": \"CA\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"90012\",\n    \"customer_phone\": \"16501234567\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"placed\",\n    \"ordered_at\": \"2024-04-29T19:28:42.531018Z\",\n    \"total\": \"115.09\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"95.97\",\n    \"tax\": \"9.12\",\n    \"shipping_cost\": \"10.00\",\n    \"shipping_cost_tax\": \"0.00\",\n    \"items\": [\n      {\n        \"id\": 36192,\n        \"name\": \"Buy 2, Get 1 FREE\",\n        \"sku\": null,\n        \"quantity\": 1,\n        \"price\": \"85.97\",\n        \"tax\": \"8.16\",\n        \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"9.99\"\n            }\n        ],\n        \"items\": [\n          {\n            \"id\": 34473,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34474,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34475,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          }\n        ],\n        \"tax_details\": [\n          {\n            \"jurisdiction\": \"CALIFORNIA\",\n            \"tax_rate\": \"0.0600\",\n            \"tax\": \"5.16\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES\",\n            \"tax_rate\": \"0.0025\",\n            \"tax\": \"0.21\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n            \"tax_rate\": \"0.0225\",\n            \"tax\": \"1.93\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES CO LOCAL TAX SL\",\n            \"tax_rate\": \"0.0100\",\n            \"tax\": \"0.86\"\n          }\n        ]\n      }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n      \"decimal_mark\": \".\",\n      \"thousands_separator\": \",\",\n      \"prefix\": \"$\",\n      \"suffix\": \"\",\n      \"currency_code_suffix\": \"\",\n      \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n      {\n        \"currency\": \"USD\",\n        \"rate\": \"1.000000000000000\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"adjusted-line-item\">Adjusted line item</h3>\n<p>This HTTP POST request is used to send an adjusted lined item order payload, which will be the same as other order payloads only some of the item data may have changed. The request body will be in json format and include an event type along with order details such as ID, customer information, shipping details, order status, pricing, items, returns, refunds, currency, VAT information, and currency conversions.</p>\n<h3 id=\"event-body\">Event Body</h3>\n<ul>\n<li><p><code>event_type</code> (string): Type of event associated with the order. This will be <code>order_adjusted_line_item</code> for an order created event.</p>\n</li>\n<li><p><code>order.id</code> (string): Unique identifier for the order.</p>\n</li>\n<li><p><code>order.aff_id</code> (int, nullable): Affiliate ID for the order.</p>\n</li>\n<li><p><code>order.customer_first_name</code> (string): First name of the customer.</p>\n</li>\n<li><p><code>order.customer_last_name</code> (string): Last name of the customer.</p>\n</li>\n<li><p><code>order.shipping_address_line1</code> (string): First line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_address_line2</code> (string): Second line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_city</code> (string): City for shipping address.</p>\n</li>\n<li><p><code>order.shipping_region</code> (string): Region for shipping address.</p>\n</li>\n<li><p><code>order.shipping_country</code> (string): Country for shipping address.</p>\n</li>\n<li><p><code>order.shipping_postal_code</code> (string): Postal code for shipping address.</p>\n</li>\n<li><p><code>order.customer_phone</code> (string): Phone number of the customer.</p>\n</li>\n<li><p><code>order.customer_email</code> (string): Email address of the customer.</p>\n</li>\n<li><p><code>order.status</code> (string): Status of the order.</p>\n</li>\n<li><p><code>order.ordered_at</code> (string): Date and time when the order was placed.</p>\n</li>\n<li><p><code>order.total</code> (string): Total amount for the order.</p>\n</li>\n<li><p><code>order.discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>order.subtotal</code> (string): Subtotal amount for the order.</p>\n</li>\n<li><p><code>order.tax</code> (string): Tax amount for the order.</p>\n</li>\n<li><p><code>order.shipping_cost</code> (string): Shipping cost for the order.</p>\n</li>\n<li><p><code>order.shipping_cost_tax</code> (string): Shipping cost tax for the order.</p>\n</li>\n<li><p><code>order.items</code> (array): Array of items included in the order, each containing ID, name, sku, quantity, price, tax amount, tax details, sub-items and discounts.</p>\n</li>\n<li><p><code>order.discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>order.currency</code> (string): Currency used for the order.</p>\n</li>\n<li><p><code>order.vat_inclusive</code> (boolean): Indicates if VAT is inclusive in the pricing.</p>\n</li>\n<li><p><code>order.currency_format</code> (object): Format details for the currency including decimal mark, thousands separator, prefix, suffix, currency code suffix, and format.</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>order.currency_conversions</code> (array): Array of currency conversions with currency and rate.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f35dec9-43a0-44a2-b59c-d4cce86ead87"},{"name":"Test integration","id":"45531634-17fc-4bcb-93c0-26f18675085f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"test_integration\"\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"test-integration\">Test integration</h3>\n<p>This HTTP POST request is used to send a test webhook payload in some circumstances when first connecting the provider. The request body should be empty other than event_type</p>\n<h3 id=\"event-body\">Event Body</h3>\n<ul>\n<li><code>event_type</code> (string): Type of event associated with webhook. This will be <code>test_integration</code></li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"45531634-17fc-4bcb-93c0-26f18675085f"},{"name":"Order Updated","id":"951c8ab9-5f64-4af7-bfa6-71f755f3daad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"order_updated\",\n  \"order\": {\n    \"id\": \"TEST-20818\",\n    \"aff_id\": 112211,\n    \"customer_first_name\": \"John\",\n    \"customer_last_name\": \"Doe\",\n    \"shipping_address_line1\": \"200 North Spring Street\",\n    \"shipping_address_line2\": null,\n    \"shipping_city\": \"Los Angeles\",\n    \"shipping_region\": \"CA\",\n    \"shipping_country\": \"US\",\n    \"shipping_postal_code\": \"90012\",\n    \"customer_phone\": \"16501234567\",\n    \"customer_email\": \"john.doe@example.com\",\n    \"status\": \"placed\",\n    \"ordered_at\": \"2024-04-29T19:28:42.531018Z\",\n    \"total\": \"115.09\",\n    \"discount_total\": \"9.99\",\n    \"subtotal\": \"95.97\",\n    \"tax\": \"9.12\",\n    \"shipping_cost\": \"10.00\",\n    \"shipping_cost_tax\": \"0.00\",\n    \"items\": [\n      {\n        \"id\": 36192,\n        \"name\": \"Buy 2, Get 1 FREE\",\n        \"sku\": null,\n        \"quantity\": 1,\n        \"price\": \"85.97\",\n        \"tax\": \"8.16\",\n        \"discounts\": [\n            {\n                \"code\": \"SUMMER25\",\n                \"amount\": \"9.99\"\n            }\n        ],\n        \"items\": [\n          {\n            \"id\": 34473,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34474,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          },\n          {\n            \"id\": 34475,\n            \"name\": \"Sample Widget\",\n            \"sku\": \"SKU-001\",\n            \"quantity\": 1,\n            \"price\": \"0.00\",\n            \"tax\": \"0.00\",\n            \"discounts\": [\n                {\n                    \"code\": \"SUMMER25\",\n                    \"amount\": \"2.65\"\n                }\n            ]\n          }\n        ],\n        \"tax_details\": [\n          {\n            \"jurisdiction\": \"CALIFORNIA\",\n            \"tax_rate\": \"0.0600\",\n            \"tax\": \"5.16\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES\",\n            \"tax_rate\": \"0.0025\",\n            \"tax\": \"0.21\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES COUNTY DISTRICT TAX SP\",\n            \"tax_rate\": \"0.0225\",\n            \"tax\": \"1.93\"\n          },\n          {\n            \"jurisdiction\": \"LOS ANGELES CO LOCAL TAX SL\",\n            \"tax_rate\": \"0.0100\",\n            \"tax\": \"0.86\"\n          }\n        ]\n      }\n    ],\n    \"discounts\": [\n        {\n            \"code\": \"SUMMER25\",\n            \"amount\": \"9.99\"\n        }\n    ],\n    \"currency\": \"USD\",\n    \"vat_inclusive\": false,\n    \"currency_format\": {\n      \"decimal_mark\": \".\",\n      \"thousands_separator\": \",\",\n      \"prefix\": \"$\",\n      \"suffix\": \"\",\n      \"currency_code_suffix\": \"\",\n      \"format\": \"$[amount]\"\n    },\n    \"currency_conversions\": [\n      {\n        \"currency\": \"USD\",\n        \"rate\": \"1.000000000000000\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"order-updated-event\">Order Updated Event</h3>\n<p>This HTTP POST request is used to send an order updated event payload to the specified webhook URL for order fulfillment updates. The request body will be in json format and include an event type along with order details such as ID, customer information, shipping details, order status, pricing, items, returns, refunds, currency, VAT information, and currency conversions.</p>\n<h3 id=\"event-body\">Event Body</h3>\n<ul>\n<li><p><code>event_type</code> (string): Type of event associated with the order. This will be <code>order_created</code> for an order created event.</p>\n</li>\n<li><p><code>order.id</code> (string): Unique identifier for the order.</p>\n</li>\n<li><p><code>order.customer_first_name</code> (string): First name of the customer.</p>\n</li>\n<li><p><code>order.customer_last_name</code> (string): Last name of the customer.</p>\n</li>\n<li><p><code>order.shipping_address_line1</code> (string): First line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_address_line2</code> (string): Second line of the shipping address.</p>\n</li>\n<li><p><code>order.shipping_city</code> (string): City for shipping address.</p>\n</li>\n<li><p><code>order.shipping_region</code> (string): Region for shipping address.</p>\n</li>\n<li><p><code>order.shipping_country</code> (string): Country for shipping address.</p>\n</li>\n<li><p><code>order.shipping_postal_code</code> (string): Postal code for shipping address.</p>\n</li>\n<li><p><code>order.customer_phone</code> (string): Phone number of the customer.</p>\n</li>\n<li><p><code>order.customer_email</code> (string): Email address of the customer.</p>\n</li>\n<li><p><code>order.status</code> (string): Status of the order.</p>\n</li>\n<li><p><code>order.ordered_at</code> (string): Date and time when the order was placed.</p>\n</li>\n<li><p><code>order.total</code> (string): Total amount for the order.</p>\n</li>\n<li><p><code>order.discount_total</code> (string): The total amount discounted in the order.</p>\n</li>\n<li><p><code>order.subtotal</code> (string): Subtotal amount for the order.</p>\n</li>\n<li><p><code>order.tax</code> (string): Tax amount for the order.</p>\n</li>\n<li><p><code>order.shipping_cost</code> (string): Shipping cost for the order.</p>\n</li>\n<li><p><code>order.shipping_cost_tax</code> (string): Shipping cost tax for the order.</p>\n</li>\n<li><p><code>order.items</code> (array): Array of items included in the order, each containing ID, name, sku, quantity, price, tax amount, tax details, sub-items and discounts.</p>\n</li>\n<li><p><code>order.discounts</code> (array): An array of objects containing details of discounts applied on the order including amount and code.</p>\n</li>\n<li><p><code>order.currency</code> (string): Currency used for the order.</p>\n</li>\n<li><p><code>order.vat_inclusive</code> (boolean): Indicates if VAT is inclusive in the pricing.</p>\n</li>\n<li><p><code>order.currency_format</code> (object): Format details for the currency including decimal mark, thousands separator, prefix, suffix, currency code suffix, and format.</p>\n<ul>\n<li><p><code>decimal_mark</code> (string): The character used as the decimal mark for the currency.</p>\n</li>\n<li><p><code>thousands_separator</code> (string): The character used to separate thousands for the currency.</p>\n</li>\n<li><p><code>prefix</code> (string): The symbol (if applicable) that comes before the amount.</p>\n</li>\n<li><p><code>suffix</code> (string): The symbol (if applicable) that comes after the amount.</p>\n</li>\n<li><p><code>currency_code_suffix</code> (string): The currency code to add to the end of the formatted string if applicable. This is used in cases where the currency symbol may not make it clear which currency is being used, like $10 CAD.</p>\n</li>\n<li><p><code>format</code> (string): The final format for the currency including prefixes and suffixes.</p>\n</li>\n</ul>\n</li>\n<li><p><code>order.currency_conversions</code> (array): Array of currency conversions with currency and rate.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"951c8ab9-5f64-4af7-bfa6-71f755f3daad"},{"name":"Cancel Shipment","id":"cd0fd7b1-3004-4845-9e11-36530879a235","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-giddyup-hmac-sha256","value":"sha256abc123","description":"<p>HMAC sha256 encoded signature of the request body for verification</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"event_type\": \"cancel_shipment\",\n  \"order_id\": \"TEST-20825\"\n}","options":{"raw":{"language":"json"}}},"url":"https://example.com/webhook","description":"<h3 id=\"order-cancelled-event\">Order Cancelled Event</h3>\n<p>This HTTP POST request is used to send an cancel shipment event payload to the specified webhook URL when order is cancelled. The request body will be in json format and include an event type along with order ID.</p>\n<h3 id=\"event-body\">Event Body</h3>\n<ul>\n<li><code>event_type</code> (string): Type of event associated with the order. This will be cancel_shipment for an order cancelled event.</li>\n<li><code>order_id</code> (string): Unique identifier for the order that was cancelled.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request can be any value with a success response code (i.e. <code>2xx</code>)</p>\n","urlObject":{"protocol":"https","host":["example.com/webhook"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd0fd7b1-3004-4845-9e11-36530879a235"}],"id":"e544e52f-8aa7-41dd-8c2b-f137e8cda94e","description":"<p>Custom integration can be used as external 3PL for fulfillment (instead of using a standard fulfillment integration). GiddyUp platform will send order fulfillment details to the webhook URL in custom integration if 3PL fulfillment is enabled.</p>\n","_postman_id":"e544e52f-8aa7-41dd-8c2b-f137e8cda94e"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7266c50c-ac80-43dd-a797-b1693c7cb038"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3f5b1ed0-0de1-4c24-98d1-4aaf4e23f8f5"}}],"variable":[{"key":"token","value":"sample0token1value2","type":"string"},{"key":"order_id","value":"SAMPLE-12345","type":"string"},{"key":"your_webhook_url","value":"example.com/webhook","type":"string"},{"key":"gu_host","value":"partner.giddyup.io","type":"string"},{"key":"gu_webook_url","value":"partner.giddyup.io/api/public/0/webhooks/shipment-update/","type":"string"},{"key":"brand_id","value":"0","type":"string"}]}