{"info":{"_postman_id":"7b6a687f-4023-4182-86de-3fa145a44f38","name":"Loyalty Engine APIs","description":"<html><head></head><body><p><strong>API Principles</strong></p>\n<p>Antavo's APIs follow RESTful principles, utilizing standard HTTP methods to interact with resources. All responses are formatted in JSON, ensuring easy integration into user interfaces.</p>\n<p><strong>Security and Compliance</strong></p>\n<p>All server-to-server calls must comply with the <a href=\"https://developers.antavo.com/docs/api-security\">API authentication requirements</a> and adhere to the defined <a href=\"https://developers.antavo.com/docs/antavo-apis#rate-limiting\">API rate limits.</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31303107","collectionId":"7b6a687f-4023-4182-86de-3fa145a44f38","publishedId":"2sAYdmkTFm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4e3892"},"publishDate":"2025-05-27T16:36:18.000Z"},"item":[{"name":"Events API","item":[{"name":"Submit an Antavo event","event":[{"listen":"prerequest","script":{"id":"79454c19-f5e2-40be-85bd-51bfcdd2e4a7","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"cd9d72a9-d974-4b5d-b202-cbf199c31b14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer\": \"<string>\",\n  \"action\": \"<string>\",\n  \"data\": {\n    \"\": \"\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/events","description":"<p>Use this endpoint to submit a single event for a specified customer. The attributes provided in the data object are examples of <code>point_add</code> and <code>checkout</code> events. Refer to the <a href=\"https://developers.antavo.com/docs/api-events\">complete list of events</a> for all available actions and their attributes.</p>\n<p>Examples of event submission:</p>\n<ul>\n<li><p><strong>Standard event submission</strong>: Submit an event for the customer without any additional identifiers.</p>\n</li>\n<li><p><strong>Event submission with an external ID</strong>: Include the <code>external_id</code> attribute to link the event with an external identifier of the customer from another system or database.</p>\n</li>\n<li><p><strong>Event submission with multiple accounts</strong>: Specify multiple accounts by including their IDs in the 'account' attribute. This requires the Points economy module to be enabled.</p>\n<p>  <em>Note</em>: if no account is specified, the event will be assigned to the default account.</p>\n</li>\n</ul>\n<p><strong>Body param descriptions</strong></p>\n<ul>\n<li><p>customer*: The unique ID of the customer.</p>\n</li>\n<li><p>action*: The corresponding event action. For a complete list of available actions, please visit full list of events.</p>\n</li>\n<li><p>data*: Data attributes submitted with the event. The list of built-in attributes for each even is available under the <a href=\"https://developers.antavo.com/docs/api-events#/\">API events document</a>.</p>\n</li>\n<li><p>external_id: The external ID of the customer. This is only required for external ID lookup.</p>\n</li>\n<li><p>account: The unique ID of the account. This is only required for multi-accounts.</p>\n</li>\n</ul>\n<p>*required</p>\n","urlObject":{"protocol":"https","path":["events"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"f3cdb734-646e-467f-9714-81974727fa9a","name":"Successful submission of a point_add event","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n  \"action\": \"point_add\",\n  \"data\": {\n    \"points\": \"10\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/events"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 07 Dec 2024 20:14:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1058f302-de1c-7645-8d37-b73deeebb7c1"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Wwv8%2B0lG1eiruZrF8nUbqr0Y%2BjRpILO1x%2BIplf9KD3sthcsZMo%2FihfDQnHcQ%2FI5xnGFf%2Bp%2BxrLhZONN%2BqFOGhxnLwgEvR93JXu4EQcjzDf8T4YZkJ8NLzKL29%2BWLcFeZ8JPXF6vTfGU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ee72e7cfbb7c2f0-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=13007&min_rtt=13007&rtt_var=6503&sent=5&recv=5&lost=0&retrans=1&sent_bytes=3198&recv_bytes=1030&delivery_rate=99636&cwnd=252&unsent_bytes=0&cid=edd0178ca69efb24&ts=753&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"created_at\": 1657106644,\n    \"email\": \"john.doe@example.com\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"handler\": \"\",\n    \"status\": \"active\",\n    \"score\": 32655,\n    \"spent\": 12147,\n    \"expired\": 0,\n    \"pending\": 34091,\n    \"language\": \"\",\n    \"currency\": \"JPY\",\n    \"mobile_phone\": \"\",\n    \"image_url\": null,\n    \"spendable\": 20458,\n    \"events\": [\n        {\n            \"id\": \"6754ac9ea50029eb920d8002\",\n            \"action\": \"point_add\",\n            \"points\": 10,\n            \"expdate\": \"2024-12-01\",\n            \"account\": {\n                \"id\": \"family_account\",\n                \"name\": \"Family account\"\n            }\n        }\n    ],\n    \"stores\": [\n        {\n            \"id\": \"4\"\n        }\n    ]\n}"},{"id":"ee5f9b27-36e1-447c-9e71-703fc493120c","name":"400 - Missing customer parameter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer\": \"\",\n  \"action\": \"point_add\",\n  \"data\": {\n    \"points\": \"10\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/events"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 07 Dec 2024 20:17:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"131"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"d160a36f-907e-4d38-3825-55013f85621a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=fF1tLqyoOLGxd3Hk8XyX9DkLFO6UWk9D2bM%2BM3m1HvMyy11noU5%2BV6wuL2ofjFGRgBshWU8Ng3BFtTH6LKjkOpHcTfs47xWR3M%2FoNHHBV4Aj%2FE3cpmR1pChMo2%2F%2B6wzu0DOVdOiqPkc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ee732bb1fc23263-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=42682&min_rtt=15640&rtt_var=19944&sent=39&recv=39&lost=0&retrans=1&sent_bytes=6011&recv_bytes=1897&delivery_rate=185677&cwnd=254&unsent_bytes=0&cid=7702459e73a21b67&ts=33244&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 160102,\n        \"message\": \"Missing required parameter 'customer'\"\n    }\n}"}],"_postman_id":"cd9d72a9-d974-4b5d-b202-cbf199c31b14"},{"name":"Submit multiple Antavo events in a single request","event":[{"listen":"prerequest","script":{"id":"e9257e4e-b1db-4865-90bf-e527c67ede4f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"11ae57fe-1a90-4e3c-80f8-423cc7e5c65e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"events\": [\r\n        {\r\n            \"data\": {\r\n                \"points\": \"<integer>\"\r\n            },\r\n            \"customer\": \"<string>\",\r\n            \"action\": \"<string>\"\r\n        },\r\n        {\r\n            \"data\": {\r\n                \"points\": \"<integer>\"\r\n            },\r\n            \"customer\": \"<string>\",\r\n            \"action\": \"<string>\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/events/bulk","description":"<p>Use this endpoint to submit multiple events within a single API request. Events are processed individually and synchronously.</p>\n<p>Examples of event submissions:</p>\n<ul>\n<li><p><strong>Standard event submission</strong>: Submit events for the customers without any additional identifiers.</p>\n</li>\n<li><p><strong>Event submission with an external ID</strong>: Include the <code>external_id</code> attribute to link the events with external identifiers of customers from another system or database.</p>\n</li>\n<li><p><strong>Event submission with multiple accounts</strong>: Specify multiple accounts by including their IDs in the <code>account</code> attribute. This requires the Points economy module to be enabled.</p>\n<p>  <em>Note</em>: if no account is specified, the events will be assigned to the default account.</p>\n</li>\n</ul>\n<p>The response will include a success message or an error for each event in the order they were submitted. An error code is only returned if the entire request is invalid, not for errors related to individual event submissions.</p>\n<p><strong>Body param descriptions</strong></p>\n<ul>\n<li><p>events*: Array of event objects.</p>\n<ul>\n<li><p>customer*: ID of the the target customer.</p>\n</li>\n<li><p>action*: The corresponding event action. For a complete list of available actions, please visit full list of events.</p>\n</li>\n<li><p>account: The unique ID of the account.</p>\n</li>\n<li><p>data*: Additional attribute data related to the event.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>*required</p>\n","urlObject":{"protocol":"https","path":["events","bulk"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"10d394a8-263a-4995-864e-0af42ed20687","name":"Account not found errors","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"events\": [\n        {\n            \"data\": {\n                \"points\": 100\n            },\n            \"customer\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n            \"action\": \"point_add\"\n        },\n        {\n            \"data\": {\n                \"points\": 100\n            },\n            \"customer\": \"ca862cc9-de93-46bb-a903-118f585d1b84\",\n            \"action\": \"point_add\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/events/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 07 Dec 2024 20:22:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"0dd564b0-e8a2-d84c-2ba0-36262ce913d0"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Bpn8ATA32ehL3p3HtEc4IabcP1ITdlyN%2BGl0m%2BNgb6URwgOneauY9zQD092gtS78qWPdTJxTCRU2QjoFLUIuitq8CV64HXCT%2Bx%2FbCGfna6VLIb8Qef%2By0DOsaIPJrtq2NQDxFIOs00c%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ee739e60b11c301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12136&min_rtt=11952&rtt_var=4850&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2324&recv_bytes=1369&delivery_rate=216312&cwnd=251&unsent_bytes=0&cid=561bd2861bfa1af6&ts=303&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"error\": {\n                \"type\": \"RuntimeException\",\n                \"code\": 0,\n                \"message\": \"Account not found\"\n            }\n        },\n        {\n            \"error\": {\n                \"type\": \"RuntimeException\",\n                \"code\": 0,\n                \"message\": \"Account not found\"\n            }\n        }\n    ],\n    \"total\": 2,\n    \"errors\": 2\n}"},{"id":"657ffa86-cfc7-481b-95ac-d129b86b633b","name":"Successful bulk event submission","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"events\": [\n        {\n            \"data\": {\n                \"points\": 100\n            },\n            \"customer\": \"ca862cc9-de93-46bb-a903-118f585d1b84\",\n            \"action\": \"point_add\"\n        },\n        {\n            \"data\": {\n                \"points\": 100\n            },\n            \"customer\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n            \"action\": \"point_add\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/events/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 07 Dec 2024 20:26:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"219"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"7fbc0aba-0ee8-ccfd-f98d-aa8cd7bac2f0"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=qIA%2BopabPp0y0UDml%2FKxYHQcQK93rP%2Fs5WHju9lO32tlX%2BnDzHdsjIlo%2FNQD8MxMM6GgVU8p4BtFqFiyDxmA%2FUZTXHcrVocEbaA1BJo78kqUB0rvaWoJ92Whx7PlGUWD%2BsBidT9AHJk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ee7401f1f9a6850-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=9585&min_rtt=8982&rtt_var=4574&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2324&recv_bytes=1291&delivery_rate=210328&cwnd=249&unsent_bytes=0&cid=46a94c1a9e5d19d6&ts=524&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"events\": [\n                {\n                    \"id\": \"6754af704513bf77e805db6f\",\n                    \"action\": \"point_add\",\n                    \"points\": 100,\n                    \"expdate\": \"2025-02-01\",\n                    \"account\": {\n                        \"id\": \"family_account\",\n                        \"name\": \"Family account\"\n                    }\n                }\n            ]\n        },\n        {\n            \"events\": [\n                {\n                    \"id\": \"6754af704513bf77e805db70\",\n                    \"action\": \"point_add\",\n                    \"points\": 100,\n                    \"expdate\": \"2025-02-01\",\n                    \"account\": {\n                        \"id\": \"family_account\",\n                        \"name\": \"Family account\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"total\": 2,\n    \"errors\": 0\n}"}],"_postman_id":"11ae57fe-1a90-4e3c-80f8-423cc7e5c65e"}],"id":"3f7aab2c-18b7-4261-b325-db28e0436de7","description":"<p>The Events API is used to record events in Antavo. An event in Antavo is a specific action or occurrence associated with a customer. Events are immutable - once submitted, they cannot be deleted or altered in any way.</p>\n<p>There are two ways of submitting events to Antavo via the Events API:</p>\n<ul>\n<li><p><strong>Single event submission</strong>: An individual action is written to a single customer’s event stream.</p>\n</li>\n<li><p><strong>Bulk event submission</strong>: Multiple events are submitted in a single API call. This is commonly used for recording a single action across multiple customers and is frequently used in integrations.</p>\n</li>\n</ul>\n<blockquote>\n<p>The bulk event submission endpoint can process up to 50 events per request. Additional events included in a request will not be rejected, but performance may be affected. </p>\n</blockquote>\n<p>The Events API follows a RESTful approach and events are submitted via POST requests. Each event can include several attributes, and events can be submitted using external IDs. Antavo can also accept and process events with <code>null</code>attributes.</p>\n<p>The list of currently available events and their corresponding attributes can be found on the <a href=\"https://developers.antavo.com/docs/api-events\">Events page</a>.</p>\n<p>Personally identifiable information returned from Events API endpoints can be suppressed using the <a href=\"https://docs.antavo.com/docs/events-api-configuration\">Events API configuration</a> module. When enabled, no customer information will be present in any response.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"bcb99979-00a4-48eb-8770-682cb4c415c2"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"bdc855da-28d8-43e6-a4bb-ae200ab103ce"}}],"_postman_id":"3f7aab2c-18b7-4261-b325-db28e0436de7"},{"name":"Async Events API","item":[{"name":"Submit an async event","id":"a2eb532b-6343-47e4-ab4c-d0bc61906dab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"point_add\",\r\n  \"data\": {\r\n    \"point\": 15\r\n  },\r\n  \"customer\": \"testcustomer\",\r\n  \"account\": \"family_account\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/async/events","description":"<p>Use this endpoint to submit a single event for a specified customer asyncronously. The event is accepted immediately and processed in the background.This endpoint is compatible with the following event actions:</p>\n<ul>\n<li><p><code>point_add</code></p>\n</li>\n<li><p><code>checkout</code></p>\n</li>\n<li><p><code>checkout_item</code></p>\n</li>\n<li><p><code>checkout_update</code></p>\n</li>\n<li><p><code>checkout_update_item</code></p>\n</li>\n<li><p><code>checkout_accept</code></p>\n</li>\n<li><p><code>checkout_accept_item</code></p>\n</li>\n<li><p><code>checkout_reject</code></p>\n</li>\n<li><p><code>partial_refund</code></p>\n</li>\n<li><p><code>refund_item</code></p>\n</li>\n<li><p><code>refund</code></p>\n</li>\n</ul>\n<p>The attributes provided in the <code>data</code> object are examples of <code>point_add</code> and <code>checkout</code> events.</p>\n<p>Refer to the <a href=\"https:///docs/api-events\">complete list of events</a> for all the attributes of the mentioned actions.Examples of event submission:</p>\n<p>- <strong>Standard event submission</strong>: Submit an event for the customer without any additional identifiers.</p>\n<p>- <strong>Event submission with an external ID</strong>: Include the <code>external_id</code> attribute to link the event with an external identifier of the customer from another system or database.</p>\n<p>- <strong>Event submission with multiple accounts</strong>: Specify multiple accounts by including their IDs in the 'account' attribute. This requires the Points economy module to be enabled.<br /><em>Note</em>: if no account is specified, the event will be assigned to the default account.</p>\n","urlObject":{"protocol":"https","path":["v1","async","events"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"32be4981-5de1-4027-ab3c-f8c71c13c6aa","name":"Successful event submission","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"point_add\",\r\n  \"data\": {\r\n    \"points\": 15\r\n  },\r\n  \"customer\": \"testcustomer\",\r\n  \"account\": \"family_account\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/async/events"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Jan 2026 12:38:38 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"549a7bf8-65e7-c184-54a8-3bf67ac2c080"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=X0sROuN1eOLF2p9pub6tqFx3V5EOg0z6fnR6PkwK8FmDK4ITFIxgD685ohq1hNQMO9UWQrZzJ1snNoK4Q0FGyRfaIwPJXpv7hrFdsSQWqZSsF2w%3D\"}]}"},{"key":"CF-RAY","value":"9c2759635a46d92b-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"status\": \"queued\",\n        \"correlation_id\": \"549a7bf8-65e7-c184-54a8-3bf67ac2c080\"\n    }\n}"},{"id":"21de5803-5186-41e7-8d5b-60e8b6e8b0f8","name":"Invalid action","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"point_ad\",\r\n  \"data\": {\r\n    \"points\": 15\r\n  },\r\n  \"customer\": \"testcustomer\",\r\n  \"account\": \"family_account\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/async/events"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Jan 2026 12:47:23 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"131"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"14eea0bc-c420-1ebd-209c-d526a8484f26"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=xyA3vYXSiaQFY9flrhL0cnNfoZKFl59e4huOntMcQyxbIqKrdgYnw%2BcfYJcPkSXffmBRB%2BuvLd%2BVbFuvzVQXiQe7vhUW8%2FbSx%2BEicSWSkHxg%2Foc%3D\"}]}"},{"key":"CF-RAY","value":"9c2766395d15c1ad-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 203404,\n        \"message\": \"Invalid action: point_ad\"\n    }\n}"},{"id":"d3153a93-42a3-4c65-a3fe-dca7dd33bbaf","name":"Required request property is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"point_add\",\r\n  \"customer\": \"testcustomer\",\r\n  \"account\": \"family_account\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/async/events"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 24 Jan 2026 11:10:41 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"02221187-94bb-116a-ea77-21648a443942"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=3rApolQZT%2B03XmgtztiIkNTdQAHZQw7Qs8b03QiPQDKUiM2%2FaJdsNc8QNxAQ7C0MTNyTZAIHMHlj20GCOu5K%2FhWGJr4djSFm0H12dW33%2BZKkn9k%3D\"}]}"},{"key":"CF-RAY","value":"9c2f15efcbb71b40-BUD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 203401,\n        \"message\": \"Property 'data' cannot be empty\"\n    }\n}"},{"id":"3c3003a4-4bf8-4bf7-aac4-5f6f4bb18448","name":"Authorization failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"point_add\",\r\n  \"data\": {\r\n    \"point\": 15\r\n  },\r\n  \"customer\": \"testcustomer\",\r\n  \"account\": \"family_account\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/async/events"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Jan 2026 12:53:42 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"8722ad61-7a75-9cdc-4bfa-cf03705f385b"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=GwI5Zl%2Fe5vAwE9cX%2F685%2F78XQZkT66c1AngRmEPlxn3OwU2B7NSlFd2ZeDl%2BQaMJtgWlZdL6c4raakXX0165bzxIsPvPiOHHMN5TIceqKZbbNgM%3D\"}]}"},{"key":"CF-RAY","value":"9c276f7a0a2b684d-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"type\": \"UnauthorizedException\",\n        \"code\": 220052,\n        \"message\": \"Bearer token authentication failed\"\n    }\n}"}],"_postman_id":"a2eb532b-6343-47e4-ab4c-d0bc61906dab"},{"name":"Retrieve processing status","id":"bed92e82-e930-4138-bcf1-d965e03b3445","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.{{environment}}.antavo.com/v1/async/events?correlation_id=549a7bf8-65e7-c184-54a8-3bf67ac2c080","description":"<p>Use this endpoint to query the processing status of an event sent through the <code>v1/async/events</code> endpoint.</p>\n<p>Once the event has been processed, the response includes the customer information and the detailed event data.</p>\n","urlObject":{"protocol":"https","path":["v1","async","events"],"host":["api","{{environment}}","antavo","com"],"query":[{"key":"correlation_id","value":"549a7bf8-65e7-c184-54a8-3bf67ac2c080"}],"variable":[]}},"response":[{"id":"060ce93d-7be8-47e2-8d11-c80a0606284b","name":"Successful status query","originalRequest":{"method":"GET","header":[],"url":"https://api.{{environment}}.antavo.com/v1/async/events/549a7bf8-65e7-c184-54a8-3bf67ac2c080"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Jan 2026 12:41:03 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"403"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"11b46f52-38d4-3063-64d2-5d4a5ca901e8"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=WK4JX5cdpBpj%2BAZqRvnMAb%2FlzKPD5Fz2BEfCc%2Frapb7BTMuYm%2FRAgxWgiFmM%2B53c2P%2FNdk6A7k9lE3fUl2uE7eNGZ79EB2JRpFmPw7LljsYmmMU%3D\"}]}"},{"key":"CF-RAY","value":"9c275cf3dea9d93d-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"status\": \"processed\",\n        \"response\": {\n            \"success\": {\n                \"id\": \"testcustomer\",\n                \"created_at\": 1657106644,\n                \"email\": \"m\",\n                \"first_name\": \"Klari\",\n                \"last_name\": \"Nemeth\",\n                \"handler\": \"\",\n                \"status\": \"active\",\n                \"score\": 34170,\n                \"spent\": 12167,\n                \"expired\": 0,\n                \"level\": \"64b647cd257f93741550d3e4\",\n                \"pending\": 34511,\n                \"language\": \"\",\n                \"currency\": \"JPY\",\n                \"mobile_phone\": \"\",\n                \"image_url\": null,\n                \"spendable\": 21953,\n                \"events\": [\n                    {\n                        \"id\": \"69736bd56967744fd607d512\",\n                        \"action\": \"point_add\",\n                        \"points\": 15,\n                        \"expdate\": \"2025-06-01\",\n                        \"account\": {\n                            \"id\": \"family_account\",\n                            \"name\": \"Family account\"\n                        }\n                    }\n                ],\n                \"cf_vmi\": \"\",\n                \"stores\": [\n                    {\n                        \"id\": \"4\"\n                    }\n                ]\n            },\n            \"error\": []\n        }\n    }\n}"},{"id":"f6e0ddb2-5e2f-4e7c-a73b-5b7b711d1dd1","name":"Account not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/async/events/:correlation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","async","events",":correlation_id"],"variable":[{"key":"correlation_id","value":"44d6a314-5abc-b6e4-d0bd-f18e606ef7d1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Jan 2026 12:50:36 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"aab108e9-357f-7475-8b57-d590becd47bd"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=uqraZgcSCPo%2By0rn4MK304hRW8QicIPzCLtquwh96BOrfd2ksoY2gNu9cx39ZLIOrgphDCgV5EgGu%2B7SP2zNecJ9ngTNmPFfkB89%2BFt9tsS%2BcYc%3D\"}]}"},{"key":"CF-RAY","value":"9c276af0fa4dd93d-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"status\": \"error\",\n        \"response\": {\n            \"success\": [],\n            \"error\": {\n                \"type\": \"RuntimeException\",\n                \"code\": 221010,\n                \"message\": \"Account not found\"\n            }\n        }\n    }\n}"},{"id":"dd66691c-574d-4459-9268-d4505c5b09e7","name":"Required event parameter is missing","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/async/events/:correlation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","async","events",":correlation_id"],"variable":[{"key":"correlation_id","value":"2b137c65-7556-5833-39ef-513428e1f43e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 23 Jan 2026 12:52:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"154"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"71706e1d-fbb2-c354-0467-dcd89a6e66aa"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=Jt1RgknXGefb9TMvhb6eBLqO5%2FiJ%2ByjtYkAdGOuQ8Ek3hrb6DTs3c6ufC6Fl4%2BV8trmSn8jJck%2B2tsxNp3pfWkEpLvnHUqSWXqVWfRD8nZmrOfE%3D\"}]}"},{"key":"CF-RAY","value":"9c276d873851d93d-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"status\": \"error\",\n        \"response\": {\n            \"success\": [],\n            \"error\": {\n                \"type\": \"RuntimeException\",\n                \"code\": 160360,\n                \"message\": \"Property 'points' cannot be empty\"\n            }\n        }\n    }\n}"},{"id":"e0db4541-e0ba-4f5f-9223-dcb28bcd75dd","name":"Correlation ID not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/async/events/:correlation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","async","events",":correlation_id"],"variable":[{"key":"correlation_id","value":"2b137c65-7556-5833-39ef-513428e1f43"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 23 Jan 2026 12:54:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"d100c8a4-9ad7-c3f2-a27a-a983e28c67f3"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=fDn4vuOOqUce9ws%2FxNLuDhTK4nCejh3A28S8lVTSmHsPEvOFyQnZ%2BY8P3E4AzdqSPKubH7027RAVHe0KIlLBoPml7nYRltF0I1LEtntdCr5ZtQs%3D\"}]}"},{"key":"CF-RAY","value":"9c27710c5f98684d-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 203405,\n        \"message\": \"Correlation ID not found\"\n    }\n}"},{"id":"ce09f5da-ea4c-4afb-a13e-ff9b05074344","name":"Successful status query with erroneous event processing","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/async/events?correlation_id=549a7bf8-65e7-c184-54a8-3bf67ac2c080","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","async","events"],"query":[{"key":"correlation_id","value":"549a7bf8-65e7-c184-54a8-3bf67ac2c080"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"status\": \"success\",\r\n\t\"metadata\": [],\r\n\t\"payload\": {\r\n\t\t\"status\": \"error\",\r\n\t\t\"response\": {\r\n\t\t\t\"success\": [],\r\n\t\t\t\"error\": {\r\n\t\t\t\t\"type\": \"RuntimeException\",\r\n\t\t\t\t\"code\": 112101,\r\n\t\t\t\t\"message\": \"Customer has already been opted-in.\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n"},{"id":"336d25c4-c74b-4f15-a57f-1fa4a8a37e5e","name":"Successful status query with failed status","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/async/events/:correlation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","async","events",":correlation_id"],"variable":[{"key":"correlation_id","value":"2c00938f-74c1-b215-d520-cda495e0f831"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 24 Jan 2026 23:04:03 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"169"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"6edcd7c6-a796-b800-96b6-94d6f32407c9"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=PN3Pdk5YXm2STaRFiD5vB0j%2FqJ0A1bIR82IGV4VJ%2BtJNdAKoPATcrDzqAEZ%2FKK7uhTUmD8rj%2FownnZ1qn4CmF8733FuIDBPGWa6S4IHhZ8gSo5I%3D\"}]}"},{"key":"CF-RAY","value":"9c332ae51bcdc1a8-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"status\": \"failed\",\n        \"response\": {\n            \"success\": [],\n            \"error\": {\n                \"type\": \"RuntimeException\",\n                \"code\": 210110,\n                \"message\": \"This transaction is not yet accepted so it cannot be refunded\"\n            }\n        }\n    }\n}"}],"_postman_id":"bed92e82-e930-4138-bcf1-d965e03b3445"}],"id":"fd1fe99d-50d3-4d0c-874e-30658666df89","description":"<p>The <strong>Async Events API</strong> is used to record events in Antavo asynchronously, allowing events to be accepted quickly and processed in the background.</p>\n<p>Unlike the synchronous Events API, this API is designed for <strong>high-throughput and peak-load scenarios</strong>, where immediate processing is not required, but reliable delivery and tracking are critical.</p>\n<p>The Async Events API is useful when:</p>\n<ul>\n<li><p>A large number of events need to be sent in a short period of time (for example, during campaigns, promotions, or data imports)</p>\n</li>\n<li><p>The client application must not wait for event processing to complete</p>\n</li>\n<li><p>Temporary traffic spikes should not impact system stability</p>\n</li>\n<li><p>Event submission reliability is more important than immediate feedback</p>\n</li>\n</ul>\n<p>When an event is submitted, the API immediately acknowledges the submission and returns a correlation ID, which can later be used to track the processing result.</p>\n<h2 id=\"event-compatibility\">Event compatibility</h2>\n<p>The Async Events API supports the following events:</p>\n<ul>\n<li><p><code>point_add</code></p>\n</li>\n<li><p><code>checkout</code></p>\n</li>\n<li><p><code>checkout_item</code></p>\n</li>\n<li><p><code>checkout_update</code></p>\n</li>\n<li><p><code>checkout_update_item</code></p>\n</li>\n<li><p><code>checkout_accept</code></p>\n</li>\n<li><p><code>checkout_accept_item</code></p>\n</li>\n<li><p><code>checkout_reject</code></p>\n</li>\n<li><p><code>partial_refund</code></p>\n</li>\n<li><p><code>refund_item</code></p>\n</li>\n<li><p><code>refund</code></p>\n</li>\n</ul>\n<p>The corresponding attributes of the events can be found on the Events page.</p>\n<h2 id=\"endpoints\">Endpoints</h2>\n<ul>\n<li><strong>Submitting events asynchronously</strong></li>\n</ul>\n<p>The Async Events API supports single event submission.</p>\n<p><strong>POST</strong> <code>/v1/async/events</code>: Submits a single event for asynchronous processing. Only one event can be submitted per request. Each request is processed independently and tracked using a correlation ID.</p>\n<p><strong>Important</strong></p>\n<p>The <strong>order</strong> in which events are submitted is important. The <strong>API expects events to be sent in the correct sequence</strong>, and the system guarantees that events are processed in the order they were received.</p>\n<p>You must <strong>wait for a successful acknowledgment</strong> from the API (HTTP 200 OK) before sending the next event in the sequence. For example:</p>\n<ul>\n<li><p>After an <strong>opt_in</strong> event is accepted, only then should a <strong>checkout</strong> event be sent.</p>\n</li>\n<li><p>After a <strong>checkout</strong> event is processed, the corresponding <strong>checkout_accept</strong> can be submitted.</p>\n<p>  Ensuring proper ordering allows the Loyalty Engine to correctly apply loyalty program rules and maintain accurate customer state.</p>\n</li>\n<li><p><strong>Tracking event processing</strong></p>\n</li>\n</ul>\n<p>Since events are processed asynchronously, the final processing result is not returned immediately.</p>\n<p><strong>GET</strong> <code>/v1/async/events/{correlation_id}</code>: Retrieves the processing status and result of a previously submitted event.</p>\n<p>Using the correlation ID, you can:</p>\n<ul>\n<li><p>Check whether the event has been processed</p>\n</li>\n<li><p>Retrieve the full customer information and detailed event data once processing is complete</p>\n</li>\n<li><p>Inspect error details if processing failed</p>\n</li>\n</ul>\n<p>This makes it possible to build reliable retry, monitoring, or audit mechanisms on the client side.</p>\n<h2 id=\"callback-mechanism\">Callback mechanism</h2>\n<p>The Async Events API supports an optional callback mechanism that allows your system to receive the processing result of an asynchronous event without polling the correlation endpoint.</p>\n<p>If a <code>callback_url</code> is provided when submitting an event via the Async Events API, Antavo will send the processing result to the specified URL once the event has been handled. The callback request references the original submission using the <code>correlation_id</code>.</p>\n<p>The <code>callback_url</code> must be configured as a Trusted Site in the Management UI. The callback request has a timeout of 1 second. If you need a longer timeout, please contact the Antavo Service Desk.</p>\n<p><strong>Success payload</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"payload\": {\n    \"correlation_id\": \"62cc313988befe60e3413e75\",\n    \"status\": \"success\",\n    \"processed_at\": \"2025-10-16T15:29:41+02:00\"\n  }\n}\n\n</code></pre>\n<p><strong>Error payload</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"payload\": {\n    \"correlation_id\": \"62cc313988befe60e3413e75\",\n    \"status\": \"error\",\n    \"processed_at\": \"2025-10-16T15:29:41+02:00\",\n    \"error\": {\n      \"code\": 123456,\n      \"message\": \"Transaction not found.\"\n    }\n  }\n}\n\n</code></pre>\n<h2 id=\"dead-letter-queues-dlqs\">Dead-Letter Queues (DLQs)</h2>\n<p>The Async Events API provides two separate Dead-Letter Queues: one for <strong>events</strong> and one for <strong>callbacks</strong>. These queues store <strong>messages that could not be processed or delivered</strong> successfully, allowing manual inspection, retry, or export via the Management UI.</p>\n<ul>\n<li><p>The <strong>Events DLQ</strong> stores events that were successfully enqueued but failed processing after 5 retry attempts.</p>\n</li>\n<li><p>The <strong>Callback DLQ</strong> stores callback requests that could not be delivered to the <code>callback_url</code> within the configured timeout.</p>\n</li>\n</ul>\n<p>For detailed instructions on managing both DLQs, see the Management UI user manual.</p>\n<h2 id=\"submission-based-timestamping\">Submission-based timestamping</h2>\n<p>Each asynchronous event sent through the <code>/v1/async/events</code> endpoint is <strong>recorded using the time it is submitted to the system</strong>, regardless of when it is queued or processed. This ensures that the event is evaluated according to the loyalty program configuration active at the time of submission, not any subsequent changes. The <code>date</code>, <code>timestamp</code>, and <code>effective_timestamp</code> attributes on the event are all set to the submission time by default.</p>\n<p>The endpoint also supports <strong>backdating</strong>. Optionally, the event payload can include an <code>effective_timestamp</code> to register the event as occurring at a past time. If provided, the event is stored as if it happened at the specified timestamp. If no <code>effective_timestamp</code> is provided in the request, the submission time is automatically used.</p>\n","_postman_id":"fd1fe99d-50d3-4d0c-874e-30658666df89"},{"name":"Customer API","item":[{"name":"Search Antavo database using customer filters","event":[{"listen":"prerequest","script":{"id":"0b3fcd89-ff08-4032-a17b-a560e119029a","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e8c57a95-038e-4e91-b1c6-50ec54e6fe22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers?search=<string>&match=<string>&fields=<string>&limit=<integer>&offset=<integer>&Filtering=<object>","description":"<p>This endpoint allows you to search the Antavo database for customers based on specific criteria and returns the Antavo Customer ID. Note that the filtering is case-sensitive and does not support partial matches.<br />The filtering query requires that the filter parameter has been tagged as <a href=\"https://docs.antavo.com/customers#add-a-new-field\">searchable</a> in the Antavo Management UI.</p>\n","urlObject":{"protocol":"https","path":["customers"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Perform searches using key fields such as first_name, last_name, email, mobile_phone, or membership_id.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Enables querying specific customer data. Currently only works with the following attributes: _id, email, and membership_id. Example usage: &amp;match=exact&amp;membership_id=33492206-ba75-4487-8047-a9d78a135ce9</p>\n","type":"text/plain"},"key":"match","value":"<string>"},{"description":{"content":"<p>Returns additional optional attributes from the customer object.</p>\n<p>Note: Separating commas must be percentage encoded for API signing.</p>\n","type":"text/plain"},"key":"fields","value":"<string>"},{"description":{"content":"<p>Limits the number of events to be returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Defaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"description":{"content":"<p>Offsets the starting number of items for pagination.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>Customers can be filtered upon any configured customer field (marked as searchable). Results are case-sensitive and return exact matches.</p>\n<p>It's possible to query multiple customers based on the last update date. Customer IDs are returned if the updated_at customer attribute is greater than a specified datetime using the format updated_at.gt=.</p>\n","type":"text/plain"},"key":"Filtering","value":"<object>"}],"variable":[]}},"response":[{"id":"530e989e-27c4-4626-9075-c84efa6b1c0e","name":"Successful customer search","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers?search=first_name=John","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers"],"query":[{"key":"search","value":"first_name=John","description":"Perform searches using key fields such as first_name, last_name, email, mobile_phone, or membership_id."},{"key":"match","value":"<string>","description":"Enables querying specific customer data. Currently only works with the following attributes: _id, email, and membership_id. Example usage: &match=exact&membership_id=33492206-ba75-4487-8047-a9d78a135ce9","disabled":true},{"key":"fields","value":"<string>","description":"Returns additional optional attributes from the customer object.\n\nNote: Separating commas must be percentage encoded for API signing.\n","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of events to be returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefault value : 100\n","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of items for pagination.\n\nDefault value : 0\n","disabled":true},{"key":"Filtering","value":"<object>","description":"Customers can be filtered upon any configured customer field (marked as searchable). Results are case-sensitive and return exact matches.\n","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"55e5d4dc2cf1901e688b45d3\"\n}"},{"id":"18aa2db1-1733-43df-937d-13e144d94548","name":"Returned error object","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers"],"query":[{"key":"search","value":"<string>","description":"Perform searches using key fields such as first_name, last_name, email, mobile_phone, or membership_id.","disabled":true},{"key":"match","value":"<string>","description":"Enables querying specific customer data. Currently only works with the following attributes: _id, email, and membership_id. Example usage: &match=exact&membership_id=33492206-ba75-4487-8047-a9d78a135ce9","disabled":true},{"key":"fields","value":"<string>","description":"Returns additional optional attributes from the customer object.\n\nNote: Separating commas must be percentage encoded for API signing.\n","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of events to be returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefault value : 100\n","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of items for pagination.\n\nDefault value : 0\n","disabled":true},{"key":"Filtering","value":"<object>","description":"Customers can be filtered upon any configured customer field (marked as searchable). Results are case-sensitive and return exact matches.\n","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 160211,\n        \"message\": \"Empty search criteria\",\n        \"type\": \"BadRequestException\"\n    }\n}"}],"_postman_id":"e8c57a95-038e-4e91-b1c6-50ec54e6fe22"},{"name":"Retrieve detailed customer data using the Antavo unique ID","event":[{"listen":"prerequest","script":{"id":"d1683dca-3197-464b-9590-84637b721a07","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b34cafa0-9c5f-4b62-88f2-36bb94727090","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id?fields=<string>","description":"<p>This endpoint returns detailed information for a specific customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Returns additional optional fields:</p>\n<ul>\n<li><p>groups: Returns associated groups (requires User groups module for selected customer in the form of an object with the following properties:</p>\n<ul>\n<li><p>ID - integer</p>\n</li>\n<li><p>Name - string, optional (not returned for non-existing groups)</p>\n</li>\n<li><p>external_id - string, optional (not returned if empty)</p>\n</li>\n</ul>\n</li>\n<li><p>purchases.ytd: A summary of purchase statistics.</p>\n</li>\n<li><p>expiring_points: A summary of expiration statistics.</p>\n</li>\n<li><p>expiring_points_history: An array of dates and number of points that have expired or will expire.</p>\n</li>\n</ul>\n","type":"text/plain"},"key":"fields","value":"<string>"}],"variable":[{"description":{"content":"<p>Unique customer ID. This can be</p>\n<p>The Antavo unique ID e.g., 280e674c-c4ea-4a30-987a-d9267d1a5018\nAn external ID (requires configuration): {external_field:external_id_value}</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"c476c60a-0fad-44d6-bd26-7ca36657878c","name":"Successful customer search","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id"],"query":[{"key":"fields","value":"","disabled":true}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"55e5d4dc2cf1901e688b45d3\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Smith\",\n  \"nickname\": \"Johnny\",\n  \"email\": \"jsmith@example.com\",\n  \"birth_date\": \"1969-12-25\",\n  \"gender\": \"Male\",\n  \"language\": \"en\",\n  \"currency\": \"GBP\",\n  \"status\": \"Active\",\n  \"score\": 100,\n  \"spent\": 20,\n  \"reserved\": 0,\n  \"expired\": 100,\n  \"spendable\": 50,\n  \"pending\": 20,\n  \"image_url\": \"https://example.com/image.png\",\n  \"optin_at\": 1577836800,\n  \"last_login_at\": 1593561600,\n  \"updated_at\": 1593561623,\n  \"properties\": {\n    \"city\": \"London\"\n  },\n  \"purchase_total\": 100,\n  \"purchase_count\": 2,\n  \"purchase_last_date\": \"2020-10-01\",\n  \"mobile_phone\": \"123 456 789\",\n  \"accounts\": {\n    \"id\": \"main_account\",\n    \"name\": \"Main account\",\n    \"earned\": 1000,\n    \"spent\": 500,\n    \"pending\": 50,\n    \"reserved\": 200,\n    \"expired\": 50,\n    \"spendable\": 800,\n    \"burn_rates\": {\n      \"amount\": 100,\n      \"points\": 50,\n      \"currency\": \"USD\",\n      \"converted_amount\": 8,\n      \"unconverted_points\": 40\n    }\n  },\n  \"campaigns\": {\n    \"id\": \"63772885e9af5b34933d4aa6\",\n    \"occurrences\": {\n      \"id\": \"662bac7c0e76787c9b75c80b\",\n      \"pending_points\": 100,\n      \"awarded_points\": 50,\n      \"status\": \"active\",\n      \"start_date\": \"2022-11-01T06:36:00.000Z\",\n      \"end_date\": \"2022-12-01T06:36:00.000Z\",\n      \"evaluation_date\": \"2022-12-01T06:36:00.000Z\"\n    }\n  },\n  \"tiers\": {\n    \"id\": \"tier1\",\n    \"name\": \"Gold\",\n    \"since\": \"2022-05-02T12:57:41+02:00\",\n    \"threshold\": 1000,\n    \"expdate\": \"2023-01-11T00:00:00+01:00\",\n    \"points\": 1100,\n    \"points_after_expiration\": 1000,\n    \"structure\": {\n      \"id\": \"standard_tiers\",\n      \"name\": \"Standard tiers\"\n    },\n    \"next\": {\n      \"id\": \"tier2\",\n      \"name\": \"Platinum\",\n      \"points\": 900\n    }\n  },\n  \"groups\": [\n    {\n      \"id\": 330,\n      \"name\": \"USA-Department\",\n      \"external_id\": \"AG331\"\n    }\n  ]\n}"}],"_postman_id":"b34cafa0-9c5f-4b62-88f2-36bb94727090"},{"name":"Merge the current customer into the target customer","event":[{"listen":"prerequest","script":{"id":"39c23995-2b6b-4b3b-be3d-7a1f1cfd8571","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d9af67c0-6521-440b-90a8-44394933595e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"target\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/merge","description":"<p>This endpoint permanently merges the current customer into the target account.</p>\n<p><strong>Body param descriptions</strong></p>\n<ul>\n<li><p>target*: The target account to merge into. This can be:</p>\n<ul>\n<li><p>The Antavo unique ID e.g., <code>280e674c-c4ea-4a30-987a-d9267d1a5018</code></p>\n</li>\n<li><p>An external ID (requires <a href=\"https://developers.antavo.com/customers#external-identifiers\">configuration</a>): <code>{external_field:external_id_value}</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p>*required</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","merge"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>Unique customer ID. This can be</p>\n<p>The Antavo unique ID e.g., 280e674c-c4ea-4a30-987a-d9267d1a5018</p>\n<p>An external ID (requires configuration): {external_field:external_id_value}</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"458d173e-065a-420c-a9a8-2cb4685a8404","name":"Merges the current customer into the target customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"target\": \"a280e674c-de2a-4a30-987a-d9267d1a119bc123\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/merge","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","merge"],"variable":[{"key":"customer_id","value":"ca862cc9-de93-46bb-a903-118f585d1b84","description":"Unique customer ID. This can be\n\nThe Antavo unique ID e.g., 280e674c-c4ea-4a30-987a-d9267d1a5018\n\nAn external ID (requires configuration): {external_field:external_id_value}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"OK"},{"id":"831d9f06-5119-4c40-b729-a386702a99db","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"target\": \"a280e674c-de2a-4a30-987a-d9267d1a119bc123\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/merge","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","merge"],"variable":[{"key":"customer_id","value":"ca862cc9-de93-46bb-a903-118f585d1b84"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"code\": 160216,\n    \"message\": \"Customer is not active\",\n    \"type\": \"BadRequestException\"\n  }\n}"}],"_postman_id":"d9af67c0-6521-440b-90a8-44394933595e"},{"name":"Retrieve the number of active customers","event":[{"listen":"prerequest","script":{"id":"24aa6f5c-6d10-48e8-bb08-03c8d62816cd","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c479b33a-02b0-460f-980b-8bc07caf8c6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/-/count","description":"<p>This endpoint returns the number of customers with active status within Antavo.</p>\n","urlObject":{"protocol":"https","path":["customers","-","count"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"aee11b20-0afe-4c71-a8fd-1324c3edbbe1","name":"Successful customer search","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/-/count"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"active\": 1134\n}"}],"_postman_id":"c479b33a-02b0-460f-980b-8bc07caf8c6d"}],"id":"1cc55b94-717d-4a3e-9bba-e1a6b4224eed","description":"<p>The Customer API allows for comprehensive management and querying of customer data within Antavo. With these APIs, you can search for customers using their information, retrieve detailed customer data by customer ID, merge customers, and count the number of active customers in the loyalty program.</p>\n<p>By default, these API endpoints focus on active customers, but inactive customers can be included by enabling the option in the Antavo Management UI. Navigate to the <a href=\"https://docs.antavo.com/docs/customers\">Customer settings</a> under the Settings menu.</p>\n<p>Endpoints using a <code>customer_id</code> can also be accessed using external IDs by replacing <code>customer_id</code> with the appropriate <code>external_field:external_customer_id</code>, provided the external field is <a href=\"https://docs.antavo.com/docs/customers#add-a-new-field\">tagged</a> as <code>external_id</code> in the Antavo Management UI.</p>\n<p>All Customer API requests must be signed. To comply with GDPR standards, searches for opted-out customers will return empty search results as Antavo does not retain any customer identifiers upon unenrollment.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"5a214070-5abe-4f2f-b2ba-ad0da5087f3e"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"0d036cbd-19c2-4074-b27f-b22027880993"}}],"_postman_id":"1cc55b94-717d-4a3e-9bba-e1a6b4224eed"},{"name":"Coupons API","item":[{"name":"Query coupons independent of customer","event":[{"listen":"prerequest","script":{"id":"21f208ba-a270-4ac0-9eba-db39dd111c00","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"fe6668aa-4496-484a-b1e8-08041806ec00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/coupons?code=<string>&status=<string>&limit=<integer>&page=<number>","description":"<p>Use this endpoint to query coupons within Antavo independently of customer data.<br />This allows searching for coupons based on criteria such as coupon code and status, providing flexibility in managing coupon data.</p>\n","urlObject":{"protocol":"https","path":["coupons"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>The code used to search for a specific coupon.</p>\n","type":"text/plain"},"key":"code","value":"<string>"},{"description":{"content":"<p>The status of the coupons to search for.\nOptions: claimed, redeemed, invalid, expired, unassigned, partially_redeemed.</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>Limits the number of results to be returned in one response.</p>\n<p>Defaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"description":{"content":"<p>This parameter gets a specific page of the coupon list if a limit has been set. This is used in pagination in conjunction with the limit query.</p>\n","type":"text/plain"},"key":"page","value":"<number>"}],"variable":[]}},"response":[{"id":"248835fd-b262-43e9-a862-2eaf5382075b","name":"Successful coupon search","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/coupons?code=TC22341","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["coupons"],"query":[{"key":"code","value":"TC22341"},{"key":"status","value":"<string>","disabled":true},{"key":"limit","value":"<integer>","disabled":true},{"key":"page","value":"<number>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"code\": \"TC22341\",\n            \"name\": \"10% Discount Coupon\",\n            \"status\": \"claimed\",\n            \"created_at\": \"2024-01-01T00:00:00.000Z\",\n            \"customer\": {\n                \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\"\n            },\n            \"claimed_at\": \"2024-01-02T00:00:00.000Z\",\n            \"expires_at\": \"2024-12-31T23:59:59.000Z\",\n            \"currency\": \"USD\",\n            \"type\": \"percentage\",\n            \"value\": 100,\n            \"balance\": 50,\n            \"pool\": \"60b8bec0ce61d7c91b000014\",\n            \"min_amount\": 5,\n            \"min_redemption_value\": 20,\n            \"purchase_threshold\": 100\n        },\n        {\n            \"code\": \"TS34523\",\n            \"name\": \"Free Shipping Coupon\",\n            \"status\": \"claimed\",\n            \"created_at\": \"2021-10-29T11:15:53.000Z\",\n            \"customer\": {\n                \"id\": \"280e674c-de2a-4a30-987a-d9267d1a119\"\n            },\n            \"claimed_at\": \"2021-10-29T11:15:53.000Z\",\n            \"type\": \"free_shipping\"\n        }\n    ],\n    \"next\": \"/coupons?page=2&limit=0\"\n}"},{"id":"f4528788-0559-4e1d-8c4d-ffac890d8e79","name":"Customer-independent coupon querying endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/coupons","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["coupons"],"query":[{"key":"code","value":"<string>","disabled":true},{"key":"status","value":"<string>","disabled":true},{"key":"limit","value":"<integer>","disabled":true},{"key":"page","value":"<number>","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"BadRequestException\",\n    \"code\": 160311,\n    \"message\": \"Empty search criteria\"\n}"}],"_postman_id":"fe6668aa-4496-484a-b1e8-08041806ec00"}],"id":"8dca261c-dd15-4bba-acd3-fc225f4511a6","description":"<p>The Coupons API facilitates the querying of coupons within Antavo, independent of customer context. This enables searching for coupons based on various criteria such as coupon code and status.</p>\n<p><a href=\"https://developers.antavo.com/docs/pagination-filtering-and-ordering\">Pagination</a> is supported through limit and offset parameters.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"5c495fef-7c91-40e9-b286-65b870ea5d8a"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"3ff437e4-cc32-4372-9686-9d98e616db2d"}}],"_postman_id":"8dca261c-dd15-4bba-acd3-fc225f4511a6"},{"name":"Coupon Pools API","item":[{"name":"Create a new coupon pool","event":[{"listen":"prerequest","script":{"id":"03b4dbf7-0376-410c-81e6-d47a44ecb10b","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b36ef7c3-8a27-4b63-bc48-5e54bd082db2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"<string>\",\r\n  \"source\": \"<string>\",\r\n  \"type\": \"<string>\",\r\n  \"external_id\": \"<string>\",\r\n  \"remote_url\": \"<string>\",\r\n  \"value\": \"<float>\",\r\n  \"minimum_value\": \"<number>\",\r\n  \"minimum_redemption_value\": \"<number>\",\r\n  \"currency\": \"<string>\",\r\n  \"purchase_minimum\": \"<number>\",\r\n  \"expiration_time\": \"<string>\",\r\n  \"aggregated\": \"<boolean>\",\r\n  \"products\": [\r\n    \"<string>\",\r\n    \"<string>\"\r\n  ],\r\n  \"stores\": [\r\n    \"<string>\",\r\n    \"<string>\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools","description":"<p>This endpoint can be used to create a new coupon pool with the attributes provided in the request body.</p>\n<p>The `name`, `source` and `type` attributes in the request body are required. The request body can also include custom attributes (if used).</p>\n","urlObject":{"protocol":"https","path":["v1","coupon-pools"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"193f1302-ce35-4c7b-bea7-16d8151bf3c7","name":"Coupon pool created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {},\r\n    \"payload\": {\r\n        \"id\": \"146cb226c3d47e4d6a28176b\",\r\n        \"external_id\": \"uniqueExternalId\",\r\n        \"name\": \"New coupon pool\",\r\n        \"source\": \"uploaded\",\r\n        \"type\": \"amount\",\r\n        \"value\": 12.1,\r\n        \"purchase_minimum\": 2,\r\n        \"expiration_time\": \"2 months\",\r\n        \"aggregated\": false,\r\n        \"products\": [\"product1\", \"product2\"],\r\n        \"stores\": [\"store1\"]\r\n    }\r\n}"},{"id":"eb7d89b1-e4f5-4181-b8c1-df17e74d8221","name":"400 - Invalid ID attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"invalidID\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202004,\r\n\t\t\"message\": \"Given id parameter is invalid\"\r\n\t}\r\n}"},{"id":"1c953a77-6f4d-489f-ba48-57ff51fa97c8","name":"400 - Missing source attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202005,\r\n\t\t\"message\": \"The source is required\"\r\n\t}\r\n}"},{"id":"3e749b82-ccf5-464f-bf76-7adbce7ab971","name":"400 - Invalid source attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"test\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202006,\r\n\t\t\"message\": \"Given source parameter is invalid\"\r\n\t}\r\n}"},{"id":"7a2fb6e1-669e-4508-9283-1513a4e61363","name":"400 - Missing name attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202007,\r\n\t\t\"message\": \"The name is required\"\r\n\t}\r\n}"},{"id":"f2bda87b-8eb2-4568-84d2-083df1b45f63","name":"400 - The name attribute must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": 12345,\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202008,\r\n\t\t\"message\": \"The name must be a string\"\r\n\t}\r\n}"},{"id":"a54d3537-3e7c-4ec7-8c23-10ee4bc0f0d5","name":"400 - Missing type attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202009,\r\n\t\t\"message\": \"The type is required\"\r\n\t}\r\n}"},{"id":"6aaf2df3-3fe7-4d67-a30d-9a52a34732f6","name":"400 - The type attribute must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": 12345,\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202010,\r\n\t\t\"message\": \"The type must be a string\"\r\n\t}\r\n}"},{"id":"1b76e037-333c-40dd-91d6-17eb04e6bda4","name":"400 - Invalid type attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"test\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202011,\r\n\t\t\"message\": \"Given type parameter is invalid\"\r\n\t}\r\n}"},{"id":"8b6254ca-2e6b-441c-bd96-79a133631447","name":"400 - The value attribute must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": \"test\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202012,\r\n\t\t\"message\": \"The value must be a number\"\r\n\t}\r\n}"},{"id":"9fd00cd8-1079-4f1d-b6ee-427bccf287cc","name":"400 - The value attribute must be a value with up to 2 decimal places","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.15687,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202013,\r\n\t\t\"message\": \"The value must be a value with up to 2 decimal places\"\r\n\t}\r\n}"},{"id":"5b6babc9-8e41-4612-8265-c38f45a12217","name":"400 - The value attribute must be at least 0.01","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 0,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202014,\r\n\t\t\"message\": \"The value must be at least 0.01\"\r\n\t}\r\n}"},{"id":"ed839229-2f15-4ef5-aa3e-1423a08c2d66","name":"400 - The purchase_minimum must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": \"test\",\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202015,\r\n\t\t\"message\": \"The purchase_minimum must be a number\"\r\n\t}\r\n}"},{"id":"dbb5d69d-fbce-44da-ac3c-d216498fa4a8","name":"400 - The purchase_minimum value must be at least 1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 0.5,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202016,\r\n\t\t\"message\": \"The value must be at least 1\"\r\n\t}\r\n}"},{"id":"79ec2f7d-6472-47b2-aa7b-0cd77ca2a2f3","name":"400 - The minimum_value must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": \"test\",\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202017,\r\n\t\t\"message\": \"The minimum_value must be a number\"\r\n\t}\r\n}"},{"id":"a845bb7e-13e8-40e4-b929-628a09f7a9ed","name":"400 - The minimum_value must be at least 1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 0.5,\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202018,\r\n\t\t\"message\": \"The minimum_value must be at least 1\"\r\n\t}\r\n}"},{"id":"5eafd508-0056-4565-884d-e73bebcc9417","name":"400 - The minimum_redemption_value must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": \"test\",\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202019,\r\n\t\t\"message\": \"The minimum_redemption_value must be a number\"\r\n\t}\r\n}"},{"id":"fe64251a-10d5-4da0-a97e-b6716f030235","name":"400 - The minimum_redemption_value must be at least 1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": 0.5,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202020,\r\n\t\t\"message\": \"The minimum_redemption_value must be at least 1\"\r\n\t}\r\n}"},{"id":"aee81164-628b-4998-a8f8-68b75210ce1e","name":"400 - The currency attribute must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": 12345,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202021,\r\n\t\t\"message\": \"The currency must be a string\"\r\n\t}\r\n}"},{"id":"1efa46e5-2b71-4548-a12b-3c1917dd34b5","name":"400 - The currency attribute must contain letters only","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": \"EUR12345\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202022,\r\n\t\t\"message\": \"The currency must be contain only letters\"\r\n\t}\r\n}"},{"id":"b68d34a8-ecdb-4137-9ace-21483f0d8222","name":"400 - The expiration_time must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": 12345,\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202023,\r\n\t\t\"message\": \"The expiration_time must be a string\"\r\n\t}\r\n}"},{"id":"1b85243a-f346-47d4-8876-ffe6de63396f","name":"400 - Invalid expiration_time attribute (1)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"test\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202024,\r\n\t\t\"message\": \"Given expiration_time parameter is invalid\"\r\n\t}\r\n}"},{"id":"fc44f339-5aff-4a13-943e-ce614649f511","name":"400 - Invalid expiration_time attribute (2)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": 12345,\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202025,\r\n\t\t\"message\": \"Given expiration_time parameter is invalid\"\r\n\t}\r\n}"},{"id":"104b79a0-a1f1-41d4-96eb-0767b72210b4","name":"400 - The aggregated attribute must be a boolean","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": 12345,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202026,\r\n\t\t\"message\": \"The aggregated must be a boolean\"\r\n\t}\r\n}"},{"id":"b10e524d-ec3e-4fb7-98ef-a0bec7000caa","name":"400 - The stores attribute must be an array","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": 12345\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202027,\r\n\t\t\"message\": \"The stores must be an array\"\r\n\t}\r\n}"},{"id":"d231683e-5bc5-4ac7-9909-6c37c9656ec4","name":"400 - The stores attribute must include a valid store ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202028,\r\n\t\t\"message\": \"The stores must be a valid store id\"\r\n\t}\r\n}"},{"id":"ff9cb582-467d-4e72-83d3-fe29302ae4ed","name":"400 - The products attribute must be an array","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": 12345,\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202029,\r\n\t\t\"message\": \"The products must be an array\"\r\n\t}\r\n}"},{"id":"9b6065f2-9381-4c0f-b47d-845317addf77","name":"400 - The external_id must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": 12345,\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202030,\r\n\t\t\"message\": \"The external_id must be a string\"\r\n\t}\r\n}"},{"id":"e11a6829-ff5f-4dc9-8fc8-97398ca0fac2","name":"400 - The external_id must be unique","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"duplicateExternalID\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202031,\r\n\t\t\"message\": \"The external_id must be unique\"\r\n\t}\r\n}"},{"id":"ccb71e7d-c6a6-4c94-aba2-2e9c4d6e0d2f","name":"400 - The external_id must be between 6 and 24 characters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"abcd\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202032,\r\n\t\t\"message\": \"The external_id must be between 6 and 24 characters\"\r\n\t}\r\n}"},{"id":"a76297a0-1855-46da-ade5-c5082af34c3a","name":"400 - The minimum_value is not allowed for this type of pool","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 2,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202039,\r\n        \"message\": \"The minimum_value is not allowed for this type of pool\"\r\n    }\r\n}"},{"id":"67a0a3cf-b10c-49eb-8b47-7ef1e96de6ca","name":"400 - The minimum_redemption_value is not allowed for this type of pool","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"minimum_redemption_value\": 2,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202040,\r\n        \"message\": \"The minimum_redemption_value is not allowed for this type of pool\"\r\n    }\r\n}"},{"id":"506c51e7-44d3-48c1-a77e-bad44b94fb98","name":"400 - The currency is not allowed for this type of pool","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202041,\r\n        \"message\": \"The currency is not allowed for this type of pool\"\r\n    }\r\n}"}],"_postman_id":"b36ef7c3-8a27-4b63-bc48-5e54bd082db2"},{"name":"Update a coupon pool","event":[{"listen":"prerequest","script":{"id":"13ebed53-c714-4af1-98d4-cc06e3a97702","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"33722933-f6d9-4b08-853a-3481b6444be3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"update_method\": \"<string>\",\r\n  \"external_id\": \"<string>\",\r\n  \"name\": \"<string>\",\r\n  \"source\": \"<string>\",\r\n  \"type\": \"<string>\",\r\n  \"value\": \"<float>\",\r\n  \"minimum_value\": \"<number>\",\r\n  \"minimum_redemption_value\": \"<number>\",\r\n  \"currency\": \"<string>\",\r\n  \"purchase_minimum\": \"<number>\",\r\n  \"expiration_time\": \"<string>\",\r\n  \"aggregated\": \"boolean\",\r\n  \"products\": [\r\n    \"<string>\",\r\n    \"<string>\"\r\n  ],\r\n  \"stores\": [\r\n    \"<string>\",\r\n    \"<string>\"\r\n  ],\r\n  \"update_matching\": \"boolean\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","description":"<p>This endpoint can be used to update a coupon pool with the attributes provided in the request body.</p>\n<p>The `update_method` parameter in the request body is required. The request body can also include custom attributes (if used).</p>\n","urlObject":{"protocol":"https","path":["v1","coupon-pools",":coupon_pool_id","update"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the coupon pool to update which can be:</p>\n<ul>\n<li>the ID of the coupon pool (<code>pool_id</code>)</li>\n<li>a unique external attribute used to identify the coupon pool (<code>external_id</code>)</li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"coupon_pool_id"}]}},"response":[{"id":"7aa5e0f0-6fa9-443b-9cf1-a01bf93b4d79","name":"Coupon pool updated successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n        \"update_method\": \"update_none\",\r\n        \"update_matching\": false\r\n    },\r\n    \"payload\": {\r\n        \"id\": \"146cb226c3d47e4d6a28176b\",\r\n        \"external_id\": \"uniqueExternalId\",\r\n        \"name\": \"New coupon pool\",\r\n        \"source\": \"uploaded\",\r\n        \"type\": \"amount\",\r\n        \"value\": 12.1,\r\n        \"purchase_minimum\": 2,\r\n        \"expiration_time\": \"2 months\",\r\n        \"aggregated\": false,\r\n        \"products\": [\"product1\", \"product2\"],\r\n        \"stores\": [\"store1\"]\r\n    }\r\n}"},{"id":"0b31b730-1772-42fc-a5ec-706f4d406648","name":"404 - Coupon pool not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"invalidCouponPoolId","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"NotFoundException\",\r\n        \"code\": 202001,\r\n        \"message\": \"Coupon Pool not found\"\r\n    }\r\n}"},{"id":"24f7e63f-782a-4c48-8a3d-81b00f867253","name":"400 - Invalid source attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"test\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202006,\r\n\t\t\"message\": \"Given source parameter is invalid\"\r\n\t}\r\n}"},{"id":"02d64d21-dd5c-4ef4-9652-ec4e85869a47","name":"400 - The name attribute must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": 12345,\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202008,\r\n\t\t\"message\": \"The name must be a string\"\r\n\t}\r\n}"},{"id":"b01b2328-ca3b-4a0f-bd0f-6aca27cff97f","name":"400 - The type attribute must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": 12345,\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202010,\r\n\t\t\"message\": \"The type must be a string\"\r\n\t}\r\n}"},{"id":"6bfb35d7-40e9-478a-aae0-999c110dd018","name":"400 - Invalid type attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"test\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202011,\r\n\t\t\"message\": \"Given type parameter is invalid\"\r\n\t}\r\n}"},{"id":"5ccf807b-1bc4-49b6-84cd-aa25438b30b7","name":"400 - The value attribute must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": \"test\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202012,\r\n\t\t\"message\": \"The value must be a number\"\r\n\t}\r\n}"},{"id":"06adce44-cce3-4cb1-b350-bffff2fb4510","name":"400 - The value attribute must be a value with up to 2 decimal places","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.15687,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202013,\r\n\t\t\"message\": \"The value must be a value with up to 2 decimal places\"\r\n\t}\r\n}"},{"id":"aee63d11-c285-4a4a-b279-8d865c303520","name":"400 - The value attribute must be at least 0.01","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 0,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202014,\r\n\t\t\"message\": \"The value must be at least 0.01\"\r\n\t}\r\n}"},{"id":"cadd0427-8713-4f7c-aefd-8c3844cb4416","name":"400 - The purchase_minimum must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": \"test\",\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202015,\r\n\t\t\"message\": \"The purchase_minimum must be a number\"\r\n\t}\r\n}"},{"id":"50f6cc3d-cde2-43ad-b999-572e5ecc6893","name":"400 - The purchase_minimum value must be at least 1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 0.5,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202016,\r\n\t\t\"message\": \"The value must be at least 1\"\r\n\t}\r\n}"},{"id":"d3ec65b9-c248-4fa1-8cf3-1bafb6f4212f","name":"400 - The minimum_value must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": \"test\",\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176c","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202017,\r\n\t\t\"message\": \"The minimum_value must be a number\"\r\n\t}\r\n}"},{"id":"1e383502-e4bc-4454-a933-4cd2682df0cf","name":"400 - The minimum_value must be at least 1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 0.5,\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176c","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202018,\r\n\t\t\"message\": \"The minimum_value must be at least 1\"\r\n\t}\r\n}"},{"id":"4a48b771-6425-405c-a7f3-0da39a34e6d6","name":"400 - The minimum_redemption_value must be a number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": \"test\",\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176c","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202019,\r\n\t\t\"message\": \"The minimum_redemption_value must be a number\"\r\n\t}\r\n}"},{"id":"77a220ce-e141-42f5-9709-1260303c5b16","name":"400 - The minimum_redemption_value must be at least 1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": 0.5,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176c","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202020,\r\n\t\t\"message\": \"The minimum_redemption_value must be at least 1\"\r\n\t}\r\n}"},{"id":"8f4d6a51-e307-4bfb-baf4-79656997d1cf","name":"400 - The currency attribute must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": 12345,\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176c","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202021,\r\n\t\t\"message\": \"The currency must be a string\"\r\n\t}\r\n}"},{"id":"1b31e53d-ab3c-4c9d-a07f-598aa819e1d4","name":"400 - The currency attribute must contain letters only","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New gift_card coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"gift_card\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 1,\r\n    \"minimum_redemption_value\": 1,\r\n    \"currency\": \"EUR12345\",\r\n    \"purchase_minimum\": 2,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176c","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202022,\r\n\t\t\"message\": \"The currency must be contain only letters\"\r\n\t}\r\n}"},{"id":"d90ece34-cd49-4e03-98f7-e7f3c73c938d","name":"400 - The expiration_time must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": 12345,\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202023,\r\n\t\t\"message\": \"The expiration_time must be a string\"\r\n\t}\r\n}"},{"id":"6ecf33c8-d69c-454c-9667-67ef4739b45d","name":"400 - Invalid expiration_time attribute (1)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"test\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202024,\r\n\t\t\"message\": \"Given expiration_time parameter is invalid\"\r\n\t}\r\n}"},{"id":"8dda56ce-2056-43e5-b8d6-92ced38513d0","name":"400 - Invalid expiration_time attribute (2)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": 12345,\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202025,\r\n\t\t\"message\": \"Given expiration_time parameter is invalid\"\r\n\t}\r\n}"},{"id":"245d90d1-f7eb-43f4-824e-b1a3064d0306","name":"400 - The aggregated attribute must be a boolean","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": 12345,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202026,\r\n\t\t\"message\": \"The aggregated must be a boolean\"\r\n\t}\r\n}"},{"id":"536280a0-0b41-4a1a-947e-f0ffa0e27ac3","name":"400 - The stores attribute must be an array","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": 12345,\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202027,\r\n\t\t\"message\": \"The stores must be an array\"\r\n\t}\r\n}"},{"id":"da32f00b-3ffb-4922-8fb6-cecab3b0e922","name":"400 - The stores attribute must include a valid store ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"test\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202028,\r\n\t\t\"message\": \"The stores must be a valid store id\"\r\n\t}\r\n}"},{"id":"e99158d8-a47d-4506-aa16-c49e7e246c84","name":"400 - The products attribute must be an array","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": 12345,\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202029,\r\n\t\t\"message\": \"The products must be an array\"\r\n\t}\r\n}"},{"id":"b5039cbb-63ae-480f-930a-ab20b568053c","name":"400 - The external_id must be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": 12345,\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202030,\r\n\t\t\"message\": \"The external_id must be a string\"\r\n\t}\r\n}"},{"id":"e3ce759e-6e11-4c6b-9a3e-e0e4cba34e0a","name":"400 - The external_id must be unique","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"duplicateExternalID\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202031,\r\n\t\t\"message\": \"The external_id must be unique\"\r\n\t}\r\n}"},{"id":"816ca41a-c483-401e-9688-833d202c800c","name":"400 - The external_id must be between 6 and 24 characters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"abcd\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 202032,\r\n\t\t\"message\": \"The external_id must be between 6 and 24 characters\"\r\n\t}\r\n}"},{"id":"3d29364b-f6ac-4544-8cbb-b0efc55047a0","name":"400 - Missing update_method","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202033,\r\n        \"message\": \"The update_method is required\"\r\n    }\r\n}"},{"id":"c68449ca-b6c3-46af-8013-eeb6a600cc75","name":"400 - The update_method bust be a string","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": 12345\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202034,\r\n        \"message\": \"The update_method must be a string\"\r\n    }\r\n}"},{"id":"324db9e0-488c-4b61-8cf6-2052d962c3ec","name":"400 - Invalid update_method attribute","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202035,\r\n        \"message\": \"Given update_method parameter is invalid\"\r\n    }\r\n}"},{"id":"fe10165a-520b-499f-9098-7a9cff9dad12","name":"400 - The update_matching must be a boolean","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\",\r\n    \"update_matching\": 12345\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202038,\r\n        \"message\": \"The update_matching must be a boolean\"\r\n    }\r\n}"},{"id":"78b82de3-ceb1-421f-a404-683a8f00c699","name":"400 - The minimum_value is not allowed for this type of pool","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"minimum_value\": 2,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202039,\r\n        \"message\": \"The minimum_value is not allowed for this type of pool\"\r\n    }\r\n}"},{"id":"1ea7c619-a8ca-4ba0-a835-334a46c820db","name":"400 - The minimum_redemption_value is not allowed for this type of pool","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"minimum_redemption_value\": 2,\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202040,\r\n        \"message\": \"The minimum_redemption_value is not allowed for this type of pool\"\r\n    }\r\n}"},{"id":"81bcd4d3-9e42-4ff5-ac99-ccdc7e171608","name":"400 - The currency is not allowed for this type of pool","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"external_id\": \"uniqueExternalId\",\r\n    \"name\": \"New coupon pool\",\r\n    \"source\": \"uploaded\",\r\n    \"type\": \"amount\",\r\n    \"value\": 12.1,\r\n    \"currency\": \"EUR\",\r\n    \"purchase_minimum\": 1,\r\n    \"expiration_time\": \"2 months\",\r\n    \"aggregated\": false,\r\n    \"products\": [\"product1\", \"product2\"],\r\n    \"stores\": [\"store1\"],\r\n    \"update_method\": \"update_none\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/coupon-pools/:coupon_pool_id/update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","coupon-pools",":coupon_pool_id","update"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of the coupon pool to update which can be:\n\n- the ID of the coupon pool (`pool_id`)\n- a unique external attribute used to identify the coupon pool (`external_id`)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"BadRequestException\",\r\n        \"code\": 202041,\r\n        \"message\": \"The currency is not allowed for this type of pool\"\r\n    }\r\n}"}],"_postman_id":"33722933-f6d9-4b08-853a-3481b6444be3"}],"id":"83532170-a246-4bfc-be5b-42990916d0ef","description":"<p>The Coupon Pool API allows users to create and manage coupon pools effectively. Coupon pools serve as containers that define the characteristics of individual coupons, including their value, code patterns, expiration dates, and other relevant attributes. This API is designed for developers who want to integrate coupon pool functionalities into their applications, facilitating the management of various promotional offers within a cohesive structure.</p>\n<h3 id=\"key-features\">Key Features</h3>\n<ul>\n<li><p><strong>Create a new Coupon Pool</strong><br />  Creating a new coupon pool with specific attributes allows for the establishment of a new set of coupons that define their characteristics and rules for usage.<br />  Use the <code>POST</code> <code>/v1/coupon-pools</code> endpoint to implement this feature. A request body should be sent containing required attributes such as <code>name</code>, <code>source</code>, <code>type</code>, and optional attributes like <code>products</code> and <code>stores</code>.</p>\n</li>\n<li><p><strong>Update an existing Coupon Pool</strong><br />  Updating attributes for an existing coupon pool is beneficial when modifying details such as adjusting values or changing the expiration parameters of coupons.<br />  To perform this action, use the <code>POST</code> <code>/v1/coupon-pools/{coupon_pool_id}/update</code> endpoint. The <code>coupon_pool_id</code> should be provided in the URL, along with a request body containing the updated attributes, including the required <code>update_method</code>.</p>\n</li>\n</ul>\n","_postman_id":"83532170-a246-4bfc-be5b-42990916d0ef"},{"name":"Leaderboard API (deprecated)","item":[{"name":"List best-performing customers","event":[{"listen":"prerequest","script":{"id":"3ef256cd-d708-4ed3-a924-98d35a49a7cc","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6df7ae8a-c6bf-4631-9dac-55d0b414f946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/leaderboard?limit=<integer>","description":"<p>The Leaderboard API allows you to retrieve rankings and scores of customers based on various metrics within the Antavo Loyalty Cloud.<br />This API provides a way to showcase top performers, track progress, and foster competition among participants in your loyalty program.</p>\n","urlObject":{"protocol":"https","path":["customers","leaderboard"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>The number of results to return. Values outside the acceptable range will be adjusted to the nearest boundary value.</p>\n<p>1 to 100\nDefaults to 20</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"1c11c174-2ef4-46be-9297-365412937b3b","name":"Customer leaderboard data","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/leaderboard?limit=2","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers","leaderboard"],"query":[{"key":"limit","value":"2","description":"The number of results to return. Values outside the acceptable range will be adjusted to the nearest boundary value.\n\n1 to 100\nDefaults to 20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n            \"handler\": \"john_doe\",\n            \"image_url\": \"https://example.com/avatar.jpg\",\n            \"score\": 1500\n        },\n        {\n            \"id\": \"ca862cc9-de93-46bb-a903-118f585d1b84\",\n            \"handler\": \"sarah_doe\",\n            \"image_url\": \"https://example.com/avatar.jpg\",\n            \"score\": 1300\n        }\n    ]\n    ]\n}"}],"_postman_id":"6df7ae8a-c6bf-4631-9dac-55d0b414f946"}],"id":"c9fbc5e5-0956-48ce-89a1-8108fe6dc454","description":"<p>The Leaderboard API allows you to retrieve rankings and scores based on various metrics within the Antavo Loyalty Engine. This API provides a way to showcase top performers, track progress, and foster competition among participants in your loyalty program.</p>\n<p>A valid request returns an array of customer representations without including any personally identifiable information (PII) of the customers.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"16436e0c-eacb-40f4-ace3-f97a8b221ac7"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"2ad84aad-fb2b-4ebf-97e9-db34fb62def1"}}],"_postman_id":"c9fbc5e5-0956-48ce-89a1-8108fe6dc454"},{"name":"FAQ API","item":[{"name":"List FAQ entries","event":[{"listen":"prerequest","script":{"id":"c71b977f-8a73-4310-8042-1cabd692dfe2","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"id":"30117149-6740-412f-9b82-26220daa05cd","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d4e37b5d-94c0-4c9f-a5ba-b48e9a26678b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/faq","description":"<p>The FAQ API provides access to the questions and answers configured and managed in the Antavo FAQ module. A valid request returns an array of FAQ entries, ensuring no personally identifiable data of customers is included.</p>\n","urlObject":{"protocol":"https","path":["faq"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"b2715a64-8992-403a-aee2-2ed3f74fce48","name":"FAQ data","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/faq"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"title\": \"How to use points?\",\n      \"description\": \"Points can be used to redeem rewards.\"\n    },\n    {\n      \"title\": \"How to earn points?\",\n      \"description\": \"Complete the challenges. Visit the Challenges tab to find out more.\"\n    }\n  ]\n}"},{"id":"5d6fffee-e83e-4f08-9605-e43a2397fc18","name":"FAQ module not activated","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/faq"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 0,\n  \"message\": \"Not Found\"\n}"}],"_postman_id":"d4e37b5d-94c0-4c9f-a5ba-b48e9a26678b"}],"id":"d24f25bb-040a-4740-92a3-813a128c6c71","description":"<p>The FAQ API provides access to the questions and answers configured and managed in the Antavo <a href=\"https://docs.antavo.com/docs/frequently-asked-questions\">FAQ module</a>. A valid request returns an array of FAQ entries, ensuring no personally identifiable data of customers is included.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"94460248-2c08-4833-a1a6-f1a3dc6b7634"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"0c7369cd-2891-4f24-bc2b-d4adced3636b"}}],"_postman_id":"d24f25bb-040a-4740-92a3-813a128c6c71"},{"name":"Points Preview API","item":[{"name":"Preview loyalty points based on submitted transaction data","event":[{"listen":"prerequest","script":{"id":"2bc895d1-4ec8-4d91-b1b1-10168788adfa","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4634a693-6c19-4a30-a2c7-b1d3e8dd585a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer\": \"<string>\",\n  \"action\": \"<string>\",\n  \"data\": {\n    \"transaction_id\": \"<string>\",\n    \"total\": \"<number>\",\n    \"items\": [\n      {\n        \"product_id\": \"<string>\",\n        \"product_name\": \"<string>\",\n        \"product_url\": \"<string>\",\n        \"price\": \"<number>\",\n        \"discount\": \"<number>\",\n        \"quantity\": \"<integer>\",\n        \"subtotal\": \"<number>\"\n      },\n      {\n        \"product_id\": \"<string>\",\n        \"product_name\": \"<string>\",\n        \"product_url\": \"<string>\",\n        \"price\": \"<number>\",\n        \"discount\": \"<number>\",\n        \"quantity\": \"<integer>\",\n        \"subtotal\": \"<number>\"\n      }\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/extensions/automation/campaign-bonus","description":"<p>The Points Preview API enables querying before purchase to retrieve points awarded for purchases. The returned response includes the number of bonus points to be awarded by</p>\n<p><a href=\"https://docs.antavo.com/actions#campaign-bonus\">Campaign bonus</a></p>\n<p>campaign workflow nodes.</p>\n<p>This endpoint works with standard and multi-account configurations.</p>\n<p><strong>Body param descriptions</strong></p>\n<ul>\n<li><p>customer*: Unique customer identifier.</p>\n</li>\n<li><p>action*: Event to be rewarded - must be <code>checkout</code>.</p>\n</li>\n<li><p>data*</p>\n<ul>\n<li><p>transaction_id*: Must be unique for every transaction.</p>\n</li>\n<li><p>total*: The total amount paid.</p>\n</li>\n<li><p>items*: Array of item objects.</p>\n<ul>\n<li><p>product_id: The unique ID of the purchased item.</p>\n</li>\n<li><p>product_name: The name of the purchased item.</p>\n</li>\n<li><p>product_url: The URL of the purchased item.</p>\n</li>\n<li><p>price: The price of one item.</p>\n</li>\n<li><p>descount: The discount applied on the item.</p>\n</li>\n<li><p>quantity: The number of items purchased.</p>\n</li>\n<li><p>subtotal: The amount paid by the customer.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>*required</p>\n","urlObject":{"protocol":"https","path":["extensions","automation","campaign-bonus"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"75e47fc1-c297-44ca-935c-7c1b2af5cff9","name":"A successful points probe submission","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"items\": [\n      {\n        \"product_id\": \"prd_987654\",\n        \"product_name\": \"Vintage Leather Jacket\",\n        \"product_url\": \"https://example.com/products/vintage-leather-jacket\",\n        \"price\": 12.23,\n        \"discount\": 1.23,\n        \"quantity\": 3,\n        \"subtotal\": 33\n      }\n    ],\n    \"total\": 23,\n    \"transaction_id\": \"TR37882412\"\n  },\n  \"customer\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n  \"action\": \"checkout\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/extensions/automation/campaign-bonus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"campaigns\": [\n      {\n        \"automation\": \"5b9bd24f90a963a4088b456c\",\n        \"points\": 400,\n        \"campaign\": {\n          \"id\": \"63ac25de017f8306f5782e8c\",\n          \"name\": \"Double points campaign\",\n          \"issued_points\": 462320,\n          \"customer_points\": 0\n        }\n      }\n    ],\n    \"purchase\": {\n      \"base\": 724,\n      \"bonus\": 400,\n      \"points\": 1124\n    }\n  }\n}"},{"id":"49acf29c-92e6-4d97-a340-d34962e35ba0","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"items\": [\n      {\n        \"product_id\": \"prd_987654\",\n        \"product_name\": \"Vintage Leather Jacket\",\n        \"product_url\": \"https://example.com/products/vintage-leather-jacket\",\n        \"price\": 12.23,\n        \"discount\": 1.23,\n        \"quantity\": 3,\n        \"subtotal\": 33\n      }\n    ],\n    \"total\": 23,\n    \"transaction_id\": \"TR37882412\"\n  },\n  \"action\": \"checkout\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/extensions/automation/campaign-bonus"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 0,\n  \"error\": \"Property customer cannot be empty\",\n  \"type\": \"BadRequestException\"\n}"}],"_postman_id":"4634a693-6c19-4a30-a2c7-b1d3e8dd585a"}],"id":"f3ecd6a4-88cf-49af-afa2-9682fb165643","description":"<p>The Points preview API enables pre-purchase queries to retrieve the points awarded for a purchase. This feature is ideal for providing customers with real-time information on potential point earnings. It calculates the total points for the entire cart, including points assigned by <a href=\"https://docs.antavo.com/docs/actions#campaign-bonus%C5%B1\">Campaign bonus</a> workflow nodes.</p>\n<p>The API predicts loyalty points based on submitted transaction data. Unlike the Events API, which awards points to customers, the Points Preview API returns information about potential points earned for the purchase, including workflow bonus points.</p>\n<p>Note that this API is only available if the <a href=\"https://docs.antavo.com/docs/workflow-module-tabs\">Workflows module</a> is enabled in your workspace.</p>\n","_postman_id":"f3ecd6a4-88cf-49af-afa2-9682fb165643"},{"name":"Offers API","item":[{"name":"List customer-specific  offers","event":[{"listen":"prerequest","script":{"id":"969bac7d-4dbe-4dd4-b562-6399e015a27d","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"7391802d-d6b6-48da-9303-073f5480dfef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cart\": {\n    \"total\": \"<number>\",\n    \"items\": [\n      {\n        \"product_id\": \"<string>\",\n        \"quantity\": \"<number>\",\n        \"price\": \"<number>\",\n        \"discount\": \"<number>\",\n        \"subtotal\": \"<number>\"\n      },\n      {\n        \"product_id\": \"<string>\",\n        \"quantity\": \"<number>\",\n        \"price\": \"<number>\",\n        \"discount\": \"<number>\",\n        \"subtotal\": \"<number>\"\n      }\n    ],\n    \"discount\": \"<number>\",\n    \"shipping\": \"<number>\"\n  },\n  \"customer\": \"<string>\",\n  \"store\": \"<string>\",\n  \"eligible_only\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/offers/","description":"<p>This API endpoint is used to submit the contents of a cart and receive any available offers on the products within.<br />The Offers API request body consists of 4 components.</p>\n<p><strong>Body param descriptions</strong></p>\n<ul>\n<li><p>cart*: The intended purchase items, recorded in the same format as an Antavo <code>checkout</code> event.</p>\n<ul>\n<li><p>total*: The total value of the customer's cart including all items.</p>\n</li>\n<li><p>items*: Array of product objects.</p>\n<ul>\n<li><p>product_id*: Product ID or SKU.</p>\n</li>\n<li><p>quantity*: Number of items purchased.</p>\n</li>\n<li><p>price: Unit price of the item.</p>\n</li>\n<li><p>discount: Product discount value for given quantity.</p>\n</li>\n<li><p>subtotal: Product subtotal: price x quantity - discount</p>\n</li>\n</ul>\n</li>\n<li><p>discount: Cart discount, aready subtracted from total.</p>\n</li>\n<li><p>shipping: Shipping fee, already subtracted from total.</p>\n</li>\n</ul>\n</li>\n<li><p>customer*: The Antavo ID of the customer. This is used to determine customer eligibility. Providing a valid attribute will result in the return of possible loyalty and non-loyalty offers.</p>\n</li>\n<li><p>store: The Antavo ID of the store. This may result in store-specific offers if configured.</p>\n</li>\n<li><p>eligible_only: Restricts the returned offers to those available to the customer based on the current context (cart, customer, date, etc.). Default to <code>true</code>.</p>\n</li>\n</ul>\n<p>*required</p>\n","urlObject":{"protocol":"https","path":["offers",""],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"b6ee3a8c-a842-4a82-9f1a-57b5287709b3","name":"Successful cart submission","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cart\": {\n    \"items\": [\n      {\n        \"product_id\": \"prd_987654\",\n        \"quantity\": 2,\n        \"price\": 10,\n        \"discount\": 1,\n        \"subtotal\": 18\n      }\n    ],\n    \"total\": 22.22,\n    \"discount\": 2.22,\n    \"shipping\": 4.44\n  },\n  \"eligible_only\": true,\n  \"customer\": \"9f3c82d6-288e-4361-aec0-039eb066a334\",\n  \"store\": \"3044\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/offers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"offer_12345\",\n            \"name\": \"10% off\",\n            \"type\": \"cart\",\n            \"weight\": 1,\n            \"min_total\": 20,\n            \"max_total\": 100,\n            \"required_match\": \"any\",\n            \"required_items\": [\n                {\n                    \"type\": \"product\",\n                    \"id\": \"prd_987654\",\n                    \"name\": \"Vintage Leather Jacket\",\n                    \"min_quantity\": \"1\"\n                }\n            ],\n            \"eligible_match\": \"all\",\n            \"eligible_items\": [\n                {\n                    \"type\": \"product\",\n                    \"id\": \"prd_987654\",\n                    \"name\": \"Classic Denim Jeans\",\n                    \"min_quantity\": \"1\"\n                }\n            ],\n            \"discount\": {\n                \"type\": \"percent_discount\",\n                \"value\": 10\n            },\n            \"is_exclusive\": true,\n            \"is_eligible\": true,\n            \"card_title\": \"10% Discount\",\n            \"card_description\": \"Get 10% off on your purchase\"\n        }\n    ],\n    \"eligible_only\": true,\n    \"customer\": {\n        \"id\": \"9f3c82d6-288e-4361-aec0-039eb066a334\"\n    },\n    \"cart\": {\n        \"total\": 22.22,\n        \"items\": [\n            {\n                \"product_id\": \"prd_987654\",\n                \"quantity\": 2,\n                \"price\": 10,\n                \"discount\": 1,\n                \"subtotal\": 18\n            }\n        ],\n        \"discount\": 2.11,\n        \"shipping\": 4.44\n    }\n}"},{"id":"2c57457b-35fe-4bce-9e9e-11bf0a711a24","name":"Missing required parameter - customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cart\": {\n    \"items\": [\n      {\n        \"product_id\": \"prd_987654\",\n        \"quantity\": 2,\n        \"price\": 10,\n        \"discount\": 1,\n        \"subtotal\": 18\n      }\n    ],\n    \"total\": 22.22,\n    \"discount\": 2.22,\n    \"shipping\": 4.44\n  },\n  \"eligible_only\": true,\n  \"store\": \"3044\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/offers/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"BadRequestException\",\n    \"code\": 0,\n    \"message\": \"Missing required parameter ‘customer’\"\n}"}],"_postman_id":"7391802d-d6b6-48da-9303-073f5480dfef"}],"id":"22efdfbb-c0ef-46e6-b0fb-b11225099837","description":"<p>The Offers API retrieves available offers configured in the <a href=\"https://docs.antavo.com/docs/offers\">Offers module</a> on the Management UI within the Antavo Loyalty Engine.</p>\n<p>This API provides access to detailed information about various offers, designed to attract new customers, encourage upselling and cross-selling, and foster engagement with existing customers. Offers can be applied across in-store, online, and mobile channels and tailored to specific customer segments, time periods, and tiers.</p>\n<p>In contrast, <a href=\"https://docs.antavo.com/docs/rewards\">rewards</a> are post-purchase benefits provided after a purchase is made. Offers and rewards complement each other, providing incentives at various points of the transaction lifecycle.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"c8bf2590-f8bc-4620-9645-f81bed7afc31"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"6f2536a1-0862-45b5-9d1c-870d7257e803"}}],"_postman_id":"22efdfbb-c0ef-46e6-b0fb-b11225099837"},{"name":"Rewards API","item":[{"name":"List reward items","event":[{"listen":"prerequest","script":{"id":"c91e3cab-e923-48e1-a064-1d1dd9f653a8","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"f025910e-019f-49bc-a0d2-f77a4abfc221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/rewards?limit=<number>&page=<number>&min_price=<number>&max_price=<number>&customer=<string>&external_id=<string>","description":"<p>This endpoint returns a list of available rewards based on various query parameters.</p>\n","urlObject":{"protocol":"https","path":["rewards"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Limits the number of rewards returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"<number>"},{"description":{"content":"<p>This parameter gets a specific page of the reward list if a limit has been set.</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>Lower point limit for returned eligible rewards.</p>\n","type":"text/plain"},"key":"min_price","value":"<number>"},{"description":{"content":"<p>Upper point limit for returned eligible rewards.</p>\n","type":"text/plain"},"key":"max_price","value":"<number>"},{"description":{"content":"<p>An Antavo-recognized unique customer identifier.</p>\n","type":"text/plain"},"key":"customer","value":"<string>"},{"description":{"content":"<p>External ID (requires configuration)</p>\n","type":"text/plain"},"key":"external_id","value":"<string>"}],"variable":[]}},"response":[{"id":"a9d01dfd-5ecc-4427-bcff-6178deb8ce3a","name":"Available rewards","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/rewards?max_price=500","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["rewards"],"query":[{"key":"limit","value":"<number>","disabled":true},{"key":"page","value":"<number>","disabled":true},{"key":"min_price","value":"<number>","disabled":true},{"key":"max_price","value":"500"},{"key":"customer","value":"<string>","disabled":true},{"key":"external_id","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"63dcb7736123782ba6336425\",\n      \"name\": \"10% Discount.\",\n      \"category\": \"discounts\",\n      \"price\": 500,\n      \"description\": \"Enjoy 10% off on any item of the Winter Collection.\",\n      \"image_url\": \"https://example.com/reward.jpg\"\n    }\n  ]\n}"},{"id":"25843ed1-4711-460b-9062-f8727c37104a","name":"Reward not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/rewards?external_id=22360112","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["rewards"],"query":[{"key":"limit","value":"<integer>","disabled":true},{"key":"page","value":"<number>","disabled":true},{"key":"min_price","value":"<number>","disabled":true},{"key":"max_price","value":"<number>","disabled":true},{"key":"customer","value":"<string>","disabled":true},{"key":"external_id","value":"22360112"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 0,\n  \"type\": \"NotFoundException\",\n  \"message\": \"Reward not found\"\n}"}],"_postman_id":"f025910e-019f-49bc-a0d2-f77a4abfc221"},{"name":"Retrieve reward-specific information","event":[{"listen":"prerequest","script":{"id":"4490a91a-1d43-42ee-8658-310d09331ecb","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"46961736-3578-471d-9c89-b4f77d45459c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/rewards/:reward_id","urlObject":{"protocol":"https","path":["rewards",":reward_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique ID of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"reward_id"}]}},"response":[{"id":"5dcb0755-9fa8-4e25-9a89-63d34fd5a4d5","name":"Reward data JSON object","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/rewards/:reward_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["rewards",":reward_id"],"variable":[{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"63dcb7736123782ba6336425\",\n  \"name\": {\n    \"en\": \"%15 off\"\n  },\n  \"description\": {\n    \"en\": \"Enjoy 10% off on any item of the Winter Collection that you purchase at our store.\"\n  },\n  \"category\": \"\",\n  \"price\": {\n    \"EUR\": 100,\n    \"USD\": 100,\n    \"JPY\": 100,\n    \"GBP\": 100\n  },\n  \"point_source\": \"customer\",\n  \"image_url\": \"https://example.com/image_url.png\",\n}"},{"id":"7398a7aa-8274-4c3f-8e77-cad38353eaee","name":"Returned error object","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/rewards/:reward_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["rewards",":reward_id"],"variable":[{"key":"reward_id","value":"21f4adbd3750e2be288fbadc4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 0,\n    \"message\": \"Reward not found\"\n  }\n}"}],"_postman_id":"46961736-3578-471d-9c89-b4f77d45459c"},{"name":"Claim a specific reward (deprecated)","event":[{"listen":"prerequest","script":{"id":"978bef5a-a95a-4cdd-a236-585c04f7115c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"66687c5e-f63f-42d8-a81c-dafacf16518d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer\": \"<string>\",\n  \"external_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/rewards/:reward_id/claim","description":"<p>DEPRECATED endpoint</p>\n<p>This endpoint was used to register that a customer has claimed a specific reward.This endpoint is not supported anymore. Please use the <a href=\"https://developers.antavo.com/reference/post_customers-customer-id-activities-rewards-reward-id-claim\">reward endpoint</a> of the Display API.</p>\n<p><strong>Body parameter desctiptions</strong></p>\n<ul>\n<li><p>customer*: Unique customer identifier.</p>\n</li>\n<li><p>external_id: External ID (requires <a href=\"https://developers.antavo.com/docs/customers#external-identifiers\">configuration</a>).</p>\n</li>\n</ul>\n<p>_required</p>\n","urlObject":{"protocol":"https","path":["rewards",":reward_id","claim"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique ID of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"reward_id"}]}},"response":[{"id":"92976c86-d848-4166-b85b-afcff7fe926c","name":"Reward data JSON object","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n  \"external_id\": \"CL003322913\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/rewards/:reward_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["rewards",":reward_id","claim"],"variable":[{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"spent\": 100,\n  \"coupon\": {\n    \"code\": \"TC22341\",\n    \"type\": \"percentage\"\n  }\n}"},{"id":"53cb4659-b8c0-4c52-b7d8-6a2d7aae8c44","name":"Not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer\": \"9c4e6f0d-4a6b-4e91-8c1a-bb3de9f88e32\",\n  \"external_id\": \"CL003322913\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/rewards/:reward_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["rewards",":reward_id","claim"],"variable":[{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 0,\n  \"type\": \"NotFoundException\",\n  \"message\": \"Not found\"\n}"}],"_postman_id":"66687c5e-f63f-42d8-a81c-dafacf16518d"}],"id":"89576a0b-eb7b-45a4-86a6-4ee6a2f6ceec","description":"<p><strong>This API will be deprecated soon.</strong></p>\n<p>Please use the reward section of the <a href=\"https://developers.antavo.com/reference/post_customers-customer-id-activities-rewards-reward-id-claim\">Display API</a>.</p>\n<hr />\n<p>The Rewards API can be used to query information about various types of rewards, including coupons, gift cards, physical items, bidding rewards, and custom rewards available in the loyalty program. This API provides detailed data on each reward type, helping to manage and utilize rewards effectively within the Antavo Loyalty Engine.</p>\n","_postman_id":"89576a0b-eb7b-45a4-86a6-4ee6a2f6ceec"},{"name":"Entitites API","item":[{"name":"Generic","item":[{"name":"List all available entity of an entity module","event":[{"listen":"prerequest","script":{"id":"95bc16b3-97f0-45e7-956d-9124552e782c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"506f582a-526a-4aa9-a793-bfe0482f698f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/:module/:entity","description":"<p>This endpoint lists all available entity items within the specified entity module. This interaction is customer-independent.</p>\n","urlObject":{"protocol":"https","path":["entities",":module",":entity"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting number of entity items to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Must be ≥ 0\nDefaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of entity items to be returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Must be ≥ 0\nDefaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Custom queries can be added here.</p>\n","type":"text/plain"},"key":"<custom_query>","value":"<value>"}],"variable":[{"description":{"content":"<p>(Required) Name of the entity module e.g., rewards, accounts, custom (for custom entities).</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"module"},{"description":{"content":"<p>(Required) The entity's unique ID - typically the singular form of the entity module name.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity"}]}},"response":[{"id":"28eefb9b-35de-48ae-8394-da820a77678b","name":"Lists all entities - Example data is based on a profiling flow entity.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity"],"query":[{"key":"<custom_queries>","value":"<value>","description":"\nCustom queries can be added here.\n","disabled":true}],"variable":[{"key":"module","value":"profiling"},{"key":"entity","value":"flow"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"63d8d8cc17572c6ec15e688c\",\n      \"name\": {\n        \"en\": \"Product preferences\"\n      },\n      \"description\": {\n        \"en\": \"Interactive flow capturing preferences through fun, interactive steps.\"\n      },\n      \"media\": {\n        \"id\": \"63d8d8cc17572c6ec15e688a\",\n        \"mime_type\": \"image/png\",\n        \"url\": \"https://antavo.example.com\",\n        \"image_urls\": {\n          \"l\": \"https://antavo.example.com\",\n          \"m\": \"https://antavo.example.com\",\n          \"s\": \"https://antavo.example.com\",\n          \"xs\": \"https://antavo.example.com\"\n        }\n      },\n      \"status\": \"active\",\n      \"stage\": {\n        \"id\": \"\",\n        \"question\": \"6644de7e0404c52b512f2be8\",\n        \"outputs\": {\n          \"_default\": {\n            \"question\": \"6644df66e95cbe2c3e4bdc8a\",\n            \"outputs\": []\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"63d8df3a843936367a125eab\",\n      \"name\": {\n        \"en\": \"Tell a bit more about yourself!\"\n      },\n      \"description\": {\n        \"en\": \"Let's get to know each other better.\"\n      },\n      \"media\": {\n        \"id\": \"63d8df38843936367a125ea7\",\n        \"mime_type\": \"image/png\",\n        \"url\": \"https://antavo.example.com\",\n        \"image_urls\": {\n          \"l\": \"https://antavo.example.com\",\n          \"m\": \"https://antavo.example.com\",\n          \"s\": \"https://antavo.example.com\",\n          \"xs\": \"https://antavo.example.com\"\n        }\n      },\n      \"status\": \"inactive\"\n    }\n  ]\n}"},{"id":"f1e6ef6d-3ea2-4d78-9e40-112fe64aecb6","name":"Bad request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity?<custom_query>=<value>","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity"],"query":[{"key":"<custom_query>","value":"<value>"}],"variable":[{"key":"module","value":"exams"},{"key":"entity","value":"test_level1"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"message\": \"Entity type does not exist\",\n  \"code\": 350300\n}"}],"_postman_id":"506f582a-526a-4aa9-a793-bfe0482f698f"},{"name":"Create a new entity","event":[{"listen":"prerequest","script":{"id":"de24720e-b79f-4352-8e5a-02b784d8ef9e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"01374aa6-2d6d-491a-a6c9-681226d63568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sample Name\",\n  \"active\": true,\n  \"score\": 42.5,\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"launchDate\": \"2025-07-09\",\n  \"website\": \"https://example.com\",\n  \"description\": {\n    \"en\": \"English description\",\n    \"fr\": \"Description en français\"\n  },\n  \"image_url\": \"https://antavo.com/test\",\n  \"customAttribute1\": \"value1\",\n  \"customAttribute2\": 123,\n  \"customAttribute3\": [\"item1\", \"item2\"],\n  \"...\": \"Any other entity attribute can be included. Available and required attributes depend on the configuration of the entity in the Management UI.\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/:module/:entity","description":"<p>This endpoint created an entity in an entity module. Any parameter can be set as long as there is the corresponding attribute pre-configured in the Management UI.</p>\n","urlObject":{"protocol":"https","path":["entities",":module",":entity"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Name of the entity module e.g., rewards, accounts, custom (for custom entities).</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"module"},{"description":{"content":"<p>(Required) The  entity's unique ID - typically the singular form of the module.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity"}]}},"response":[{"id":"54989566-e34e-4817-9339-a037a0ea544d","name":"Successful entity creation - example data is based on a reward entity.","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Elegant Evening Gown\",\n  \"description\": \"Designed for elegance and comfort, perfect for formal occasions or red-carpet events.\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity"],"variable":[{"key":"module","value":"products"},{"key":"entity","value":"product"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n  \"id\": \"6757f9db3345ed03870e94a9\"\r\n}"},{"id":"8a4543ee-3740-461d-9b9f-9f2e725c1afd","name":"Bad request - a required attribute is not provided","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Chic Boutique\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity"],"variable":[{"key":"module","value":"stores"},{"key":"entity","value":"store"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 0,\n    \"message\": \"The ID is required and needs to be unique\"\n  }\n}"}],"_postman_id":"01374aa6-2d6d-491a-a6c9-681226d63568"},{"name":"Retrieve all information regarding a specific entity","event":[{"listen":"prerequest","script":{"id":"e3980b4e-375d-471f-9119-9618f7339b7e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"806b0772-7d38-4f29-b86d-ad1611a9a464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","description":"<p>This endpoint returns all information regarding a specific entity item.</p>\n","urlObject":{"protocol":"https","path":["entities",":module",":entity",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Any query can be added here to filter results.</p>\n","type":"text/plain"},"key":"<custom_query>","value":"<value>"}],"variable":[{"description":{"content":"<p>(Required) Name of the entity module e.g., rewards, accounts, custom (for custom entities).</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"module"},{"description":{"content":"<p>(Required) The entity's unique ID - typically the singular form of the entity module name.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity"},{"description":{"content":"<p>(Required) The unique ID of a specific entity.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"fc9a9e7e-922a-485e-ae86-11a0230f67c4","name":"Entity information provided - example data is based on a store entity","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"query":[{"key":"<custom_query>","value":"<value>","description":"Any query can be added here to filter results.","disabled":true}],"variable":[{"key":"module","value":"store"},{"key":"entity","value":"stores"},{"key":"entity_id","value":"FSH-2024-005"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"FSH-2024-005\",\n  \"name\": \"004 Dublin\",\n  \"currency\": \"EUR\",\n  \"country\": \"Ireland\",\n  \"county\": \"Dublin\",\n  \"state\": \"Leinster\",\n  \"zip\": \"0000\",\n  \"city\": \"Dublin\",\n  \"address\": \"Dublin 004\",\n  \"group\": \"Europe stores\",\n  \"status\": \"active\",\n  \"lat\": 53.3498053,\n  \"lng\": -6.2603097\n}"},{"id":"63bef4aa-e56d-4da4-9f4c-d4ec914757b0","name":"Entity not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"query":[{"key":"<custom_query>","value":"<value>","disabled":true}],"variable":[{"key":"module","value":"store"},{"key":"entity","value":"stores"},{"key":"entity_id","value":"FSH-2024-009"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"Entity not found\"\n}"}],"_postman_id":"806b0772-7d38-4f29-b86d-ad1611a9a464"},{"name":"Update a specific entity","event":[{"listen":"prerequest","script":{"id":"c80ed694-f63d-4037-bc9a-a4a00a41cadb","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"75d5b778-ab09-462c-9322-17ed3b5afac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customAttribute1\": \"value1\",\n    \"customAttribute2\": 123,\n    \"customAttribute3\": [\n        \"item1\",\n        \"item2\"\n    ],\n    \"...\": \"Any other entity attribute can be included. Available and required attributes depend on the configuration of the entity in the Management UI.\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","description":"<p>Any pre-configured attribute in an entity item can be modified using this API endpoint. Modification requires the use of attribute's unique ID, set in the Management UI.</p>\n","urlObject":{"protocol":"https","path":["entities",":module",":entity",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Name of the entity module e.g., rewards, accounts, custom (for custom entities).</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"module"},{"description":{"content":"<p>(Required) The  entity's unique ID - typically the singular form of the entity module.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity"},{"description":{"content":"<p>(Required) The unique id for the specific entity item.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"978fe10b-112e-417d-a626-cbb86cecac0b","name":"Entity has been successfully updated -  example data is based on a reward entity.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Dublin 004\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"variable":[{"key":"module","value":"store"},{"key":"entity","value":"stores"},{"key":"entity_id","value":"004"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"004\",\n  \"name\": \"Dublin 004\",\n  \"currency\": \"EUR\",\n  \"country\": \"Ireland\",\n  \"county\": \"Dublin\",\n  \"state\": \"Leinster\",\n  \"zip\": \"0000\",\n  \"city\": \"Dublin\",\n  \"address\": \"Dublin 004\",\n  \"group\": \"Europe stores\",\n  \"status\": \"active\",\n  \"lat\": 53.3498053,\n  \"lng\": -6.2603097\n}"},{"id":"dbd09b51-e334-481b-8138-e7bcd414a69c","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"live\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"variable":[{"key":"module","value":"store"},{"key":"entity","value":"stores"},{"key":"entity_id","value":"004"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 0,\n    \"message\": \"Status transition is not allowed from active to live\"\n  }\n}"}],"_postman_id":"75d5b778-ab09-462c-9322-17ed3b5afac9"},{"name":"Create a new entity with a specific entity ID","event":[{"listen":"prerequest","script":{"id":"eeacb846-fff2-4e65-8ba1-3e56ccd74df0","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"dd872cbe-a699-4389-b762-39a143fee904","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sample Name\",\n  \"active\": true,\n  \"score\": 42.5,\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"launchDate\": \"2025-07-09\",\n  \"website\": \"https://example.com\",\n  \"description\": {\n    \"en\": \"English description\",\n    \"fr\": \"Description en français\"\n  },\n  \"customAttribute1\": \"value1\",\n  \"customAttribute2\": 123,\n  \"customAttribute3\": [\"item1\", \"item2\"],\n  \"...\": \"Any other entity attribute can be included. Required attributes depend on the configuration of the entity in the Management UI.\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","description":"<p>An entity item with a specified ID can be created in an entity module using this endpoint. Any parameter can be set as long as there is the corresponding attribute pre-configured in the Management UI.</p>\n","urlObject":{"protocol":"https","path":["entities",":module",":entity",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Name of the entity module e.g., rewards, accounts, custom (for custom entities).</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"module"},{"description":{"content":"<p>(Required) The  entity's unique ID - typically the singular form of the entity module.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity"},{"description":{"content":"<p>(Required) The unique ID for the new entity.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"3a2e13f5-3365-405b-b47d-0ccf6a01acfd","name":"Successful entity creation - example data is based a product entity.","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Elegant Evening Gown\",\n  \"description\": \"Designed for elegance and comfort, perfect for formal occasions or red-carpet events.\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"variable":[{"key":"module","value":"products"},{"key":"entity","value":"product"},{"key":"entity_id","value":"FSH-2024-001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"FSH-2024-001\",\n  \"name\": \"Elegant Evening Gown\",\n  \"description\": \"Designed for elegance and comfort, perfect for formal occasions or red-carpet events.\"\n}"},{"id":"80c06420-4d58-48e8-861c-a26b5ebe43bf","name":"Bad request - Entity type doesn't exist","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Elegant Evening Gown\",\n  \"description\": \"Designed for elegance and comfort, perfect for formal occasions or red-carpet events.\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"variable":[{"key":"module","value":"products"},{"key":"entity","value":"item"},{"key":"entity_id","value":"63eaabe8b0fe6815c91425b6"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 350300,\n    \"message\": \"Entity type does not exist\"\n  }\n}"}],"_postman_id":"dd872cbe-a699-4389-b762-39a143fee904"},{"name":"Archive an inactive entity","event":[{"listen":"prerequest","script":{"id":"2dfd4cd5-d6a2-4bce-9781-76d75b9190c5","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"37d88694-55d8-43d3-9ffd-af57bdacb24c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","description":"<p>This endpoint archives a specific deactivated entity, effectively removing it from the system. The reward will be completely non-visible and inaccessible for member and Management UI users as well.</p>\n","urlObject":{"protocol":"https","path":["entities",":module",":entity",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Name of the entity module e.g., rewards, accounts, custom (for custom entities).</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"module"},{"description":{"content":"<p>(Required) The  entity's unique ID - typically the singular form of the entity module.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity"},{"description":{"content":"<p>(Required) The unique ID of a specific entity.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"13071d1e-e88d-4352-8d3a-f22cbdd6bcdc","name":"Entity archived - The example is based on a prize wheel entity.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"variable":[{"key":"module","value":"prize-wheels"},{"key":"entity","value":"wheel"},{"key":"entity_id","value":"63fdccaca88ac11c347af899"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  \"ok\"\n]"},{"id":"d5e4c40d-f2cc-4ea6-844c-1d6f50d47199","name":"Entity not found - The example is based on a prize wheel entity.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/:module/:entity/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities",":module",":entity",":entity_id"],"variable":[{"key":"module","value":"prize-wheels"},{"key":"entity","value":"wheel"},{"key":"entity_id","value":"1"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 0,\n    \"message\": \"Entity not found\"\n  }\n}"}],"_postman_id":"37d88694-55d8-43d3-9ffd-af57bdacb24c"},{"name":"Submit entities in bulk","event":[{"listen":"prerequest","script":{"id":"5a6d07b7-6969-40eb-ae9a-be5f466d09a8","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"3c810082-74e3-4ffb-8799-016e2f646ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"entities\": [\n    {\n      \"method\": \"<string>\",\n      \"type\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"method\": \"<string>\",\n      \"type\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"error_handling\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities","description":"<p>Multiple calls to various entity endpoints can be made by submitting a request with data in array format. The following options are available for error checking the submitted data:</p>\n<ul>\n<li><p><code>skip</code>: Erroneous data is not added, and the whole entry is skipped.</p>\n</li>\n<li><p><code>pre-check</code>: The submitted data is checked for validity but not entered into the Antavo system. Any error messages are returned.</p>\n</li>\n<li><p><code>fail</code>: The submission is stopped when an error is encountered.</p>\n</li>\n</ul>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p>entities: Array of entity objects.</p>\n<ul>\n<li><p>method: Type of the API call.</p>\n</li>\n<li><p>type: Name of the entity module e.g., rewards, accounts, custom (for custom entities).</p>\n</li>\n<li><p>id: Entity ID.</p>\n</li>\n<li><p>data: Array containing all data attributes to be processed by the request.</p>\n</li>\n</ul>\n</li>\n<li><p>error_handling: Error processing protocol for submitted functions: Options: <code>skip</code>, <code>pre-check</code> and <code>fail</code>.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["entities"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"caa90df7-3b13-4c2b-9ea4-32f0acc892cd","name":"Successful pre-check response - The example is based on a store entity.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"entities\": [\n    {\n      \"method\": \"PUT\",\n      \"type\": \"stores/store\",\n      \"id\": \"63eaabe8b0fe2315c91425b6\"\n    },\n    {\n      \"method\": \"PUT\",\n      \"type\": \"stores/store\",\n      \"id\": \"63eaabe8b0fe6826c91425b6\"\n    }\n  ],\n  \"error_handling\": \"pre-check\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"results\": [\n    {\n      \"method\": \"PUT\",\n      \"type\": \"stores/store\",\n      \"id\": \"63eaabe8b0fe2315c91425b6\"\n    },\n    {\n      \"method\": \"PUT\",\n      \"type\": \"stores/store\",\n      \"id\": \"63eaabe8b0fe6826c91425b6\"\n    }\n  ],\n  \"total\": 2,\n  \"errors\": 0\n}"},{"id":"3c3aeacf-59a8-487f-83e4-d3e6c078c9e2","name":"Erroneous pre-check response - The example is based on a store entity.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"entities\": [\n    {\n      \"method\": \"PUT\",\n      \"type\": \"custom/invalid_entity\",\n      \"id\": \"63eaabe8b0fe6815c91425b6\"\n    }\n  ],\n  \"error_handling\": \"pre-check\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"results\": [\n    {\n      \"method\": \"PUT\",\n      \"type\": \"custom/invalid_entity\",\n      \"id\": \"63eaabe8b0fe6815c91425b6\",\n      \"error\": {\n        \"error\": {\n          \"type\": \"RuntimeException\",\n          \"code\": 300700,\n          \"message\": \"Entity type does not exist\"\n        }\n      }\n    }\n  ],\n  \"total\": 1,\n  \"errors\": 1\n}"}],"_postman_id":"3c810082-74e3-4ffb-8799-016e2f646ccf"}],"id":"5c41f1b4-e293-4a11-b4cf-259e8e3cfa15","description":"<p>Provides basic operations for creating, reading, updating, and deleting entities.</p>\n","_postman_id":"5c41f1b4-e293-4a11-b4cf-259e8e3cfa15"},{"name":"Rewards","item":[{"name":"List all available rewards","event":[{"listen":"prerequest","script":{"id":"1e6cb8a5-15e8-4ffa-917d-d791561d7344","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c8aeac35-3d07-4603-a71f-477a631a55ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/rewards/reward?stores=<string>","description":"<p>This endpoint lists all available rewards.<br />It allows filtering by stores configured in the Stores module.</p>\n","urlObject":{"protocol":"https","path":["entities","rewards","reward"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Filters the return rewards by stores, using a store ID.</p>\n","type":"text/plain"},"key":"stores","value":"<string>"}],"variable":[]}},"response":[{"id":"4f23e5cc-f12f-4cf8-bbb1-409a581746d9","name":"List of all rewards - this example includes translations.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/rewards/reward","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","rewards","reward"],"query":[{"key":"stores","value":"<string>","description":"Filters the return rewards by stores, using a store ID.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"5f05b989a44bc1c44008b4590\",\n  \"name\": {\n    \"en\": \"20% Off on Winter Collection\",\n    \"de\": \"20% Rabatt auf die Winterkollektion\"\n  },\n  \"description\": {\n    \"en\": \"Enjoy a 20% discount on our Winter Collection items.\",\n    \"de\": \"Sichern Sie sich 20% Rabatt auf Artikel aus unserer Winterkollektion.\"\n  },\n  \"redeem_instructions\": {\n    \"en\": \"Present this coupon at checkout to apply the discount. Valid on Winter Collection items only.\",\n    \"de\": \"Zeigen Sie diesen Gutschein an der Kasse vor, um den Rabatt zu erhalten. Gültig nur für Artikel aus der Winterkollektion.\"\n  },\n  \"terms\": {\n    \"en\": \"Cannot be combined with other offers.\",\n    \"de\": \"Nicht mit anderen Angeboten kombinierbar.\"\n  },\n  \"account\": {\n    \"id\": \"Main account\",\n    \"name\": \"main_account\"\n  },\n  \"type\": \"coupon\",\n  \"starts_at\": \"2020-07-21T12:00:00.000Z\",\n  \"ends_at\": \"2020-12-21T12:00:00.000Z\",\n  \"claim_button_label\": {\n    \"en\": \"Get Discount\",\n    \"de\": \"Rabatt Sichern\"\n  },\n  \"category\": {\n    \"id\": \"5ef1ad79a44b5e15008b456e\"\n  },\n  \"segments\": [\n    {\n      \"id\": \"5ef1ad79a44b5e15008b456e\",\n      \"name\": \"Returning Customers\",\n      \"status\": \"active\"\n    }\n  ],\n  \"cost\": \"150.5\",\n  \"hide_restricted\": false,\n  \"hidden\": false,\n  \"restricted_message\": {\n    \"en\": \"This offer is currently unavailable. Please visit us again later.\",\n    \"de\": \"Dieses Angebot ist derzeit nicht verfügbar. Bitte besuchen Sie uns später erneut.\"\n  },\n  \"repeat_interval\": \"1 week\",\n  \"stock\": 42,\n  \"max_claims\": 90,\n  \"notifications\": false,\n  \"user_notifications\": false,\n  \"status\": \"inactive\",\n  \"price\": {\n    \"EUR\": 500,\n    \"USD\": 500\n  },\n  \"coupon_pool\": \"5b22a37f71f92e7f798q4186\"\n}"}],"_postman_id":"c8aeac35-3d07-4603-a71f-477a631a55ba"},{"name":"Create a new reward","event":[{"listen":"prerequest","script":{"id":"d068a50c-c645-4b5f-b7f2-78969fe6606c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"10907342-6e07-4808-acea-3154becb1cea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Sample Name\",\r\n  \"active\": true,\r\n  \"score\": 42.5,\r\n  \"tags\": [\"tag1\", \"tag2\"],\r\n  \"launchDate\": \"2025-07-09\",\r\n  \"website\": \"https://example.com\",\r\n  \"description\": {\r\n    \"en\": \"English description\",\r\n    \"fr\": \"Description en français\"\r\n  },\r\n  \"customAttribute1\": \"value1\",\r\n  \"customAttribute2\": 123,\r\n  \"customAttribute3\": [\"item1\", \"item2\"],\r\n  \"...\": \"Any other entity attribute can be included. Required attributes depend on the configuration of the entity in the Management UI.\"\r\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/rewards/reward","description":"<p>This endpoint facilitates the creation of rewards.</p>\n<p>Body parameters should include the attributes of the reward to be created. These must match attributes available in the Management UI.</p>\n","urlObject":{"protocol":"https","path":["entities","rewards","reward"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"29b95d2f-7127-42c3-9ac5-0e17b7856a2e","name":"Successful reward creation","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"20% Off on Winter Collection\",\r\n  \"description\": \"Enjoy a 20% discount on our Winter Collection items.\",\r\n  \"price\": 100,\r\n  \"type\": \"coupon\"\r\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/rewards/reward"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"675614d7b0d0ca30a004e63d\",\n  \"status\": \"inactive\",\n  \"type\": \"coupon\",\n  \"name\": \"20% Off on Winter Collection\",\n  \"description\": \"Enjoy a 20% discount on our Winter Collection items.\",\n  \"claim_button_label\": [],\n  \"price\": 100,\n  \"point_source\": \"customer\",\n  \"hide_restricted\": false,\n  \"notifications\": false,\n  \"user_notification\": false,\n  \"transferable\": false\n}"},{"id":"847e8c7c-042d-44d7-9514-d97fa7aaa969","name":"Bad request - a required attribute is not provided","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"20% Off on Winter Collection\",\r\n  \"description\": \"Enjoy a 20% discount on our Winter Collection items.\",\r\n  \"price\": 100\r\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/rewards/reward"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 0,\n    \"message\": \"'type' property is required\"\n  }\n}"}],"_postman_id":"10907342-6e07-4808-acea-3154becb1cea"},{"name":"Retrieve all information regarding a specific reward","event":[{"listen":"prerequest","script":{"exec":["utils.signRequest(pm);"],"type":"text/javascript","packages":{},"id":"dc761137-e00f-4551-821a-66064ba995b4"}}],"id":"608d05a3-5cfd-45f5-89d0-3d7bba2dc55f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","description":"<p>A detailed breakdown of all parameters for the specific reward is returned.</p>\n","urlObject":{"protocol":"https","path":["entities","rewards","reward",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique ID of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"ad330db5-3422-4f17-8df6-6f08231f17b6","name":"Reward information provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id?api_key=<API Key>","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","rewards","reward",":entity_id"],"query":[{"key":"api_key","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"variable":[{"key":"entity_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"name\": {\n    \"en\": \"<string>\",\n    \"de\": \"<string>\"\n  },\n  \"description\": {\n    \"en\": \"<string>\",\n    \"de\": \"<string>\"\n  },\n  \"redeem_instructions\": {\n    \"en\": \"<string>\",\n    \"de\": \"<string>\"\n  },\n  \"terms\": {\n    \"en\": \"<string>\",\n    \"de\": \"<string>\"\n  },\n  \"account\": {\n    \"id\": \"<string>\",\n    \"name\": \"<string>\"\n  },\n  \"type\": \"<string>\",\n  \"starts_at\": \"<dateTime>\",\n  \"ends_at\": \"<dateTime>\",\n  \"claim_button_label\": {\n    \"en\": \"<string>\",\n    \"de\": \"<string>\"\n  },\n  \"category\": {\n    \"id\": \"<string>\"\n  },\n  \"segments\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"status\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"status\": \"<string>\"\n    }\n  ],\n  \"cost\": \"<string>\",\n  \"hide_restricted\": \"<boolean>\",\n  \"hidden\": \"<boolean>\",\n  \"restricted_message\": {\n    \"en\": \"<string>\",\n    \"de\": \"<string>\"\n  },\n  \"repeat_interval\": \"<string>\",\n  \"stock\": \"<integer>\",\n  \"max_claims\": \"<integer>\",\n  \"notifications\": \"<boolean>\",\n  \"user_notifications\": \"<boolean>\",\n  \"status\": \"<string>\",\n  \"price\": {\n    \"EUR\": \"<integer>\",\n    \"USD\": \"<integer>\"\n  },\n  \"coupon_pool\": \"<string>\"\n}"},{"id":"61b943fe-c3a2-4f54-b1a5-a16af0495ae2","name":"Reward not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","rewards","reward",":entity_id"],"variable":[{"key":"entity_id","value":"01"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"Entity not found\"\n}"}],"_postman_id":"608d05a3-5cfd-45f5-89d0-3d7bba2dc55f"},{"name":"Update specific reward attributes","event":[{"listen":"prerequest","script":{"id":"7a46ab90-c2a8-4143-8d7b-0379a450ba39","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"53cc8d27-12e0-438b-b110-04ec14394cf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customAttribute1\": \"value1\",\n    \"customAttribute2\": 123,\n    \"customAttribute3\": [\n        \"item1\",\n        \"item2\"\n    ],\n    \"...\": \"Any other entity attribute can be included. Required attributes depend on the configuration of the entity in the Management UI.\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","description":"<p>An attribute of a reward can be updated via this endpoint.</p>\n<p>Body parameters should include the attributes of the reward to be updated. These must match attributes available in the Management UI.</p>\n","urlObject":{"protocol":"https","path":["entities","rewards","reward",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"d8e56bf3-53a8-4c13-96b1-d33e3f0f2a74","name":"Successful update - reward status update","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","rewards","reward",":entity_id"],"variable":[{"key":"entity_id","value":"675614d7b0d0ca30a004e63d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"675614d7b0d0ca30a004e63d\",\n  \"status\": \"active\",\n  \"type\": \"coupon\",\n  \"name\": \"20% Off on Winter Collection\",\n  \"description\": \"Enjoy a 20% discount on our Winter Collection items.\",\n  \"redeem_instructions\": [],\n  \"terms\": [],\n  \"claim_button_label\": [],\n  \"price\": 100,\n  \"point_source\": \"customer\",\n  \"hide_restricted\": false,\n  \"restricted_message\": [],\n  \"notifications\": false,\n  \"user_notification\": false,\n  \"transferable\": false\n}"},{"id":"3e1d8e89-6b7b-40a6-bc70-483e68a5c4e3","name":"Bad request - Invalid status update","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"live\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","rewards","reward",":entity_id"],"variable":[{"key":"entity_id","value":"675614d7b0d0ca30a004e63d"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 0,\n    \"message\": \"'Status' type is must be 'select'\"\n  }\n}"}],"_postman_id":"53cc8d27-12e0-438b-b110-04ec14394cf7"},{"name":"Archive an inactive reward","event":[{"listen":"prerequest","script":{"id":"6a9a0ba8-b65a-49f0-8c57-09eefffec4cd","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bdc9e8f2-caf5-44d2-baaa-d2107de9d69e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","description":"<p>This endpoint archives a specific deactivated reward, effectively removing it from the system. The reward will be completely non-visible and inaccessible for members and Management UI users as well.</p>\n","urlObject":{"protocol":"https","path":["entities","rewards","reward",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique ID of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"20adae40-209d-457f-bf62-652fc6e8617b","name":"Reward archived","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","rewards","reward",":entity_id"],"variable":[{"key":"entity_id","value":"65b8f82a88b456710a44e84a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  \"ok\"\n]"},{"id":"4f8dbae5-f98d-46cb-a8b2-e1d624060a0a","name":"Reward not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/rewards/reward/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","rewards","reward",":entity_id"],"variable":[{"key":"entity_id","value":"01"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"Entity not found\"\n}"}],"_postman_id":"bdc9e8f2-caf5-44d2-baaa-d2107de9d69e"}],"id":"e8b0b92b-369f-47da-94ec-55320e9df209","description":"<p>Manages reward entities, including creating, reading, updating, and deleting rewards.</p>\n","_postman_id":"e8b0b92b-369f-47da-94ec-55320e9df209"},{"name":"Customer lists","item":[{"name":"Create a new customer list","event":[{"listen":"prerequest","script":{"id":"824d967d-8091-4e2d-9897-6a5f58ece8e0","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"de02366d-d61a-43fa-956a-cdf7a2397f4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/core/customer-list","description":"<p>This endpoint allows you to create a new customer list.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li>name: Name of the customer list to be created.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["entities","core","customer-list"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"bff9697e-4730-42de-a634-d2ad70a12e2d","name":"OK - List created","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"VIP members\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/core/customer-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"draft\",\n  \"id\": \"63f2cc942d6ef241c0167e6c\"\n}"}],"_postman_id":"de02366d-d61a-43fa-956a-cdf7a2397f4b"},{"name":"List all available customer lists","event":[{"listen":"prerequest","script":{"id":"68f3494f-0fbe-432c-b127-7d7336287ca8","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a2adfb14-2af7-4d74-acee-691c760b73af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/core/customer-list","description":"<p>This endpoint returns all available customer lists.</p>\n","urlObject":{"protocol":"https","path":["entities","core","customer-list"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"810d2615-549b-4dec-b206-ab2d4b42ce0e","name":"List of customer lists provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/core/customer-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"66810cfc5fd576165c69bb35\",\n      \"status\": \"draft\"\n    },\n    {\n      \"id\": \"66810d1883aeae307b712d42\",\n      \"name\": \"VIP customers\",\n      \"status\": \"active\"\n    },\n    {\n      \"id\": \"66810d9683aeae307b712d43\",\n      \"name\": \"Suspicious activity\",\n      \"status\": \"active\"\n    },\n    {\n      \"id\": \"66810dc25fd576165c69bb36\",\n      \"status\": \"draft\"\n    },\n    {\n      \"id\": \"66810dd083aeae307b712d44\",\n      \"status\": \"draft\"\n    },\n    {\n      \"id\": \"66810de4487ccf2b3b35c48b\",\n      \"status\": \"draft\"\n    },\n    {\n      \"id\": \"66810edd4920cd580571bdb4\",\n      \"status\": \"draft\"\n    }\n  ]\n}"}],"_postman_id":"a2adfb14-2af7-4d74-acee-691c760b73af"},{"name":"Retrieve information of a specific customer list","event":[{"listen":"prerequest","script":{"id":"60283358-4643-4bbe-85d7-2ffbea387f2e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c1b1dd32-13f1-4680-8935-055ebc3e3576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","description":"<p>This endpoint returns a specific customer list.</p>\n","urlObject":{"protocol":"https","path":["entities","core","customer-list",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the customer list.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"491ba638-b88e-4707-a5a3-9735b720d73d","name":"List information provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","core","customer-list",":entity_id"],"variable":[{"key":"entity_id","value":"66810d1883aeae307b712d42"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"66810d1883aeae307b712d42\",\n  \"name\": \"VIP customers\",\n  \"status\": \"active\"\n}"},{"id":"fd7945d4-f4e6-4e4e-aec7-b11c76a6a3c6","name":"Customer list not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","core","customer-list",":entity_id"],"variable":[{"key":"entity_id","value":"01"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 300400,\n    \"message\": \"Customer List not found\"\n  }\n}"}],"_postman_id":"c1b1dd32-13f1-4680-8935-055ebc3e3576"},{"name":"Update a customer list","event":[{"listen":"prerequest","script":{"id":"bc73a702-96a0-4e70-927f-221b9b141a46","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c0546c6b-e01f-4031-952c-38af365dbc68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"status\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","description":"<p>This endpoint allows you to update a customer list.</p>\n<p>Body parameter descriptions</p>\n<ul>\n<li><p>name: New name of the customer list.</p>\n</li>\n<li><p>status: New status of the customer list.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["entities","core","customer-list",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the customer list.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"a2b8822d-0fc2-42a7-956a-eda44fd5536e","name":"Customer list updated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","core","customer-list",":entity_id"],"variable":[{"key":"entity_id","value":"66810d1883aeae307b712d42"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"66810d1883aeae307b712d42\",\n  \"name\": \"VIP customers\",\n  \"status\": \"inactive\"\n}"},{"id":"5aeea696-7620-4ef3-9428-f3ce0f77ed93","name":"Customer list not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","core","customer-list",":entity_id"],"variable":[{"key":"entity_id","value":"01"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 300400,\n    \"message\": \"Customer List not found\"\n  }\n}"}],"_postman_id":"c0546c6b-e01f-4031-952c-38af365dbc68"},{"name":"Archive a customer list","event":[{"listen":"prerequest","script":{"id":"8b980528-2cc6-42de-97db-55b8f0d0e36f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"93ba4484-4786-438d-b3d7-339f9ef5f180","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","description":"<p>This endpoint allows archiving a customer list and removing users from it. Only inactive lists can be archived. Once archived, lists cannot be restored.</p>\n","urlObject":{"protocol":"https","path":["entities","core","customer-list",":entity_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the customer list.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"entity_id"}]}},"response":[{"id":"26ab4aea-e81e-4f55-a166-5456220574c5","name":"Customer list archived","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","core","customer-list",":entity_id"],"variable":[{"key":"entity_id","value":"66810d9683aeae307b712d43"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  \"ok\"\n]"},{"id":"34b67ca7-8fa1-4204-8df6-4ae5b0df8fe5","name":"Customer list not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/entities/core/customer-list/:entity_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["entities","core","customer-list",":entity_id"],"variable":[{"key":"entity_id","value":"01"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 300400,\n  \"message\": \"Customer List not found\"\n}"}],"_postman_id":"93ba4484-4786-438d-b3d7-339f9ef5f180"}],"id":"6a8551ca-d890-4a7e-8170-f23406ca1404","description":"<p>Handles customer list entities, allowing for the creation, retrieval, updating, and deletion of customer lists.</p>\n","_postman_id":"6a8551ca-d890-4a7e-8170-f23406ca1404"}],"id":"e027f1a3-1da6-45ac-9b4f-82622257e417","description":"<p>Entities APIs manage the creation, expansion, and customization of entities within Antavo. An entity is a generic model representing various types of data objects, such as customers, products, or rewards. The endpoints provided in this documentation demonstrate how entity API calls work.</p>\n<p>Currently, it is possible to expand entities, and other entities may become available upon module activation.</p>\n<p>The API endpoints require the <a href=\"https://docs.antavo.com/docs/custom-entities\">Custom entities module</a> to be enabled in the Management UI, and the corresponding custom entities must also be activated. Entity attributes must be tagged as <code>searchable</code> to be used as additional parameters. API requests can be submitted and processed with <code>null</code> attributes.</p>\n<h3 id=\"supported-entities-and-actions\">Supported Entities and Actions</h3>\n<p>Below is the current list of Antavo entities, their associated modules, and supported actions:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Associated module/Core feature</strong></th>\n<th>Entity module name  <br /><code>{module}</code></th>\n<th>Entity name  <br /><code>{entity}</code></th>\n<th>Create</th>\n<th>Read</th>\n<th>Update</th>\n<th>Delete</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Custom entities</td>\n<td><code>custom</code></td>\n<td><code>{unique id of the custom entity}</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>Challenges</td>\n<td><code>challenges</code></td>\n<td><code>challenge</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>Contest lite</td>\n<td><code>contests</code></td>\n<td><code>contest</code></td>\n<td>❌</td>\n<td>✅</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Coupons</td>\n<td><code>coupons</code></td>\n<td><code>pool</code></td>\n<td>❌</td>\n<td>✅</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Core feature</td>\n<td><code>core</code></td>\n<td><code>transaction</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Core feature</td>\n<td><code>core</code></td>\n<td><code>customer</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>Customer lists</td>\n<td><code>core</code></td>\n<td><code>customer-list</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>Gamified profiling</td>\n<td><code>profiling</code></td>\n<td><code>flow</code></td>\n<td>❌</td>\n<td>✅</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Loyalty cards</td>\n<td><code>cards</code></td>\n<td><code>card</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Offers</td>\n<td><code>offers</code></td>\n<td><code>offer</code></td>\n<td>❌</td>\n<td>✅</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Points economy</td>\n<td><code>accounts</code></td>\n<td><code>account</code></td>\n<td>❌</td>\n<td>✅</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Prize wheels</td>\n<td><code>prize-wheels</code></td>\n<td><code>wheel</code></td>\n<td>❌</td>\n<td>✅</td>\n<td>❌</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>Product catalog</td>\n<td><code>products</code></td>\n<td><code>product</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Rewards</td>\n<td><code>rewards</code></td>\n<td><code>reward</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>Reward categories</td>\n<td>not available</td>\n<td>not available</td>\n<td>❌</td>\n<td>❌</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n<tr>\n<td>Stores</td>\n<td><code>stores</code></td>\n<td><code>store</code></td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>Tiers</td>\n<td><code>tiers</code></td>\n<td><code>tier</code></td>\n<td>❌</td>\n<td>✅</td>\n<td>❌</td>\n<td>❌</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e027f1a3-1da6-45ac-9b4f-82622257e417"},{"name":"Bulk Operations API","item":[{"name":"Rewards","item":[{"name":"Claim a specific reward to multiple customers","event":[{"listen":"prerequest","script":{"id":"c1523f27-c9d2-4602-be7f-46c10a6cd113","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"08795267-4c72-4eef-bbf6-9bd19e2246a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"callback_url\": \"<string>\",\n  \"force_claim\": true,\n  \"metadata\": {\n    \"external_batch_id\": \"<string>\",\n    \"custom_attributes\": {\n      \"id\": \"<string>\",\n      \"value\": \"<string>\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:reward_id","description":"<p>Submit reward claim requests for a batch of customers. Each request can include a maximum of 100,000 customers.<br />Please note that only one bulk reward claim process can run at a time for one specific reward. If additional batches are submitted while the current one is still processing, they will be added to the queue and processed once the ongoing batch is completed.<br />By the end of the process, the reward events get registered in each customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p>customers*: Array of string values representing unique customer IDs. If any of the customer IDs don't exist in the database, the batch will still be processed and the unknown customer IDs will be provided in the payload of the <code>/error</code> endpoint.</p>\n</li>\n<li><p>callback_url: Antavo will attempt to call this URL once the batch processing is finished. The webhook message sent to this URL provides the API URL to the /status endpoint to query the status of the batch claim process and any custom data that has been added to the bulk reward claim request. The <code>schema://hostname</code> of the callback URL must be configured in the <a href=\"https://docs.antavo.com/docs/trusted-sites#adding-a-new-site\">Trusted sites</a> module and able to handle REST API calls with JSON payload.</p>\n</li>\n<li><p>metadata: Object of key-value pairs.</p>\n<ul>\n<li><p>external_batch_id: The batch ID specified in the request.</p>\n</li>\n<li><p>custom_attributes: Any context variable that is associated with this submitted batch. Custom attributes are recorded on the coupon entity assigned to the customer during the bulk reward claim procedure.</p>\n<ul>\n<li><p>id: ID of the custom attribute.</p>\n</li>\n<li><p>value: Value of the custom attribute.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>force_claim: When set to <code>true</code>, the reward point price is treated as zero and the reward can be claimed without applying validation rules, except for stock restrictions.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","reward","claim",":reward_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the reward to be claimed.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"reward_id"}]}},"response":[{"id":"ff54a994-f442-4cc2-9745-2edf582bfa3f","name":"The batch claim request has been submitted successfully.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"metadata\": {\n    \"custom_attributes\": {\n      \"id\": \"country\",\n      \"value\": \"DE\"\n    },\n    \"external_batch_id\": \"batch001\"\n  },\n  \"customers\": [\n    \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"afa53d5e-72e8-443b-8ac2-eab0cbaa181a\"\n  ],\n  \"callback_url\": \"https://webservices.yourapi.com/callback_url\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:reward_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","reward","claim",":reward_id"],"variable":[{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"external_batch_id\": \"batch001\",\n    \"custom_attributes\": {\n      \"id\": \"country\",\n      \"value\": \"DE\"\n    }\n  },\n  \"payload\": {}\n}}"},{"id":"aba6cfdf-7133-4355-aa1f-a3a679d8f658","name":"Bad request - Batch ID already exists","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"metadata\": {\n    \"custom_attributes\": {\n      \"id\": \"country\",\n      \"value\": \"DE\"\n    },\n    \"external_batch_id\": \"batch001\"\n  },\n  \"customers\": [\n    \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"afa53d5e-72e8-443b-8ac2-eab0cbaa181a\"\n  ],\n  \"callback_url\": \"https://webservices.yourapi.com/callback_url\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:reward_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","reward","claim",":reward_id"],"variable":[{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 320503,\n    \"message\": \"The unique batch id provided already exists\"\n  }\n}"},{"id":"97940e76-bda7-4add-a4b4-6c6d92aebef8","name":"Reward not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"metadata\": {\n    \"custom_attributes\": {\n      \"id\": \"country\",\n      \"value\": \"DE\"\n    },\n    \"external_batch_id\": \"batch001\"\n  },\n  \"customers\": [\n    \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"afa53d5e-72e8-443b-8ac2-eab0cbaa181a\"\n  ],\n  \"callback_url\": \"https://webservices.yourapi.com/callback_url\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:reward_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","reward","claim",":reward_id"],"variable":[{"key":"reward_id","value":"01"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 320501,\n    \"message\": \"Reward not found\"\n  }\n}"}],"_postman_id":"08795267-4c72-4eef-bbf6-9bd19e2246a0"},{"name":"Retrieve the status of the reward claim process","event":[{"listen":"prerequest","script":{"id":"038e21b3-e7eb-4703-ad7d-88c8d3cd6890","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"924ba541-46ea-464e-bc2c-63a4b690b15d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:batch_id/status","description":"<p>This API endpoint allows you to query the status of a bulk reward claim process, providing details on the processing status, any errors encountered, and the overall completion status.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","reward","claim",":batch_id","status"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the batch.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"batch_id"}]}},"response":[{"id":"5a1411b8-a27b-4377-8dc0-cbb4f3b8112a","name":"Returned after the batch has been successfully added to the queue.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","reward","claim",":batch_id","status"],"variable":[{"key":"batch_id","value":"batch001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"bulk_operation_error\": {\n      \"number_of_errors\": 0,\n      \"url\": \"https://api.{environment}.antavo.com/v1/bulk-operation/reward/claim/batch001/status/error\"\n    },\n    \"pagination\": {\n      \"total\": 0\n    }\n  },\n  \"payload\": {\n    \"batch_status\": \"queued\",\n    \"customers\": []\n  }\n}"},{"id":"c36ea139-6458-4393-9f95-340f12e547dc","name":"The batch ID provided as parameter does not exists.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","reward","claim",":batch_id","status"],"variable":[{"key":"batch_id","value":"invalid_batch_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 320510,\n    \"message\": \"Batch ID is not found\"\n  }\n}"}],"_postman_id":"924ba541-46ea-464e-bc2c-63a4b690b15d"},{"name":"Retrieve the failed reward claim attempts","event":[{"listen":"prerequest","script":{"id":"11b35194-0510-47ef-8082-3ec12190c24b","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"3f051362-8f52-464d-b1c5-78839656248f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:batch_id/status/error","description":"<p>This endpoint returns the error occured while processing the batch.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","reward","claim",":batch_id","status","error"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting number of errors to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Must be ≥ 0\nDefaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of errors to be returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Must be ≥ 0\nDefaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) The ID of the batch.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"batch_id"}]}},"response":[{"id":"c3f1b529-f2c9-4c0d-8233-232e364529c9","name":"Returned after the batch claim request has been processed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:batch_id/status/error?offset=20&limit=20","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","reward","claim",":batch_id","status","error"],"query":[{"key":"offset","value":"20","description":"Offsets the starting number of errors to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"20","description":"Limits the number of errors to be returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be ≥ 0\nDefaults to 100"}],"variable":[{"key":"batch_id","value":"batch001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"pagination\": {\n      \"total\": 42,\n      \"next\": \"https://api.{environment}.antavo.com/v1/bulk-operation/reward/claim/batch001/status/error?offset=40&limit=20\",\n      \"previous\": \"https://api.{environment}.antavo.com/v1/bulk-operation/reward/claim/batch001/status/error?offset=0&limit=20\"\n    }\n  },\n  \"payload\": {\n    \"number_of_errors\": 42,\n    \"customers\": {\n      \"customer_01\": {\n        \"reward\": \"6275010c75c54b7810090000\",\n        \"error_message\": \"Sorry, you can't claim this reward, as it's currently out of stock\",\n        \"error_code\": 156156\n      }\n    }\n  }\n}"},{"id":"c12d0178-e296-4c21-ac85-29dc38e530d2","name":"The batch ID provided as parameter does not exists.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/reward/claim/:batch_id/status/error","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","reward","claim",":batch_id","status","error"],"variable":[{"key":"batch_id","value":"invalid_batch_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 320510,\n    \"message\": \"Batch ID is not found\"\n  }\n}"}],"_postman_id":"3f051362-8f52-464d-b1c5-78839656248f"}],"id":"bc693d55-561e-4cc5-bfaa-8b3535cd0e83","_postman_id":"bc693d55-561e-4cc5-bfaa-8b3535cd0e83","description":""},{"name":"Customer lists","item":[{"name":"Add customers to a customer list","event":[{"listen":"prerequest","script":{"id":"94a572c8-189d-43bd-b762-494e32a06d17","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"72655139-2bc1-46e1-83da-b8a495b0af52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/add/:customer_list_id","description":"<p>This API endpoint allows you to add a group of customers to a customer list all at once.<br />It accepts a single customer list ID and an array of customer IDs as input.</p>\n<p>This API endpoint operates asynchronously, so customer list updates are processed separately.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","customer-list","add",":customer_list_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the customer list to which customers will be added to.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_list_id"}]}},"response":[{"id":"7ca30d33-14e6-4739-9012-0367d3fb7b78","name":"Success response with batch details.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"afa53d5e-72e8-443b-8ac2-eab0cbaa181a\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/add/:customer_list_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list","add",":customer_list_id"],"variable":[{"key":"customer_list_id","value":"63f2cc942d6ef241c0167e6c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"external_batch_id\": \"batch001\"\n  },\n  \"payload\": {}\n}"},{"id":"004c753f-0669-4b00-8a53-f73cff3052c9","name":"Bad request, indicates missing or empty payload or exceeding payload size limitations.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/add/:customer_list_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list","add",":customer_list_id"],"variable":[{"key":"customer_list_id","value":"63f2cc942d6ef241c0167e6c"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 330502,\n    \"message\": \"The 'payload' field is not found or empty\"\n  }\n}"},{"id":"466c45bb-224d-4f3a-a977-0cb220538379","name":"Thrown in case there is no Customer list registered in Antavo with the ID provided in the path as customerListId.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"afa53d5e-72e8-443b-8ac2-eab0cbaa181a\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/add/:customer_list_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list","add",":customer_list_id"],"variable":[{"key":"customer_list_id","value":"invalid_list_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 330501,\n    \"message\": \"Customer List not found\"\n  }\n}"}],"_postman_id":"72655139-2bc1-46e1-83da-b8a495b0af52"},{"name":"Remove customers from a customer list","event":[{"listen":"prerequest","script":{"id":"54094f3c-cb08-44ed-a443-8d3a6a77e090","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"57f410df-53a4-402a-a13e-5bc9da428fd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/remove/:customer_list_id","description":"<p>This endpoint supports the removal of customers from a customer list in batches.<br />It operates asynchronously, processing customer list updates separately.</p>\n<p>The required <code>customers</code> body parameter should include the IDs of customers to be removed.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","customer-list","remove",":customer_list_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the customer list from which customers will be removed.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_list_id"}]}},"response":[{"id":"490b76f5-c1ea-4ce2-bc4b-888fd9f84926","name":"Success response with batch details.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"afa53d5e-72e8-443b-8ac2-eab0cbaa181a\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/remove/:customer_list_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list","remove",":customer_list_id"],"variable":[{"key":"customer_list_id","value":"63f2cc942d6ef241c0167e6c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"external_batch_id\": \"batch001\"\n  },\n  \"payload\": {}\n}"},{"id":"10f75a63-5009-44d4-98c0-0503aedb4a08","name":"Bad request, indicates missing or empty payload or exceeding payload size limitations.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/remove/:customer_list_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list","remove",":customer_list_id"],"variable":[{"key":"customer_list_id","value":"batch001"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 330502,\n    \"message\": \"The 'payload' field is not found or empty\"\n  }\n}"},{"id":"a81008c9-b908-4372-bbb2-2d24817a6c8b","name":"Thrown in case there is no Customer list registered in Antavo with the ID provided in the path as customer_list_id.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customers\": [\n    \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n    \"afa53d5e-72e8-443b-8ac2-eab0cbaa181a\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/remove/:customer_list_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list","remove",":customer_list_id"],"variable":[{"key":"customer_list_id","value":"invalid_list_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 330511,\n    \"message\": \"Customer List not found\"\n  }\n}"}],"_postman_id":"57f410df-53a4-402a-a13e-5bc9da428fd4"},{"name":"Retrieve the status of a list operation process","event":[{"listen":"prerequest","script":{"id":"bacd074d-76d2-42c4-ab66-f3bdec714ccb","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"fea7137e-ff37-4c8b-bec9-9d7b249ac7d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/:batch_id/status","description":"<p>This endpoint allows you to query the status of a list operation process, such as adding or removing customers from a customer list. It provides information about the current processing status of the operation.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","customer-list",":batch_id","status"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The external batch ID associated with the list operation.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"batch_id"}]}},"response":[{"id":"92a183c6-d2e9-4f14-983a-154b23ada4d6","name":"Returned after the batch has been successfully added to the queue.\nProvides information about the batch status, including whether it is `queued`, `processing`, or `done`.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list",":batch_id","status"],"variable":[{"key":"batch_id","value":"batch001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"bulk_operation_error\": {\n      \"number_of_errors\": 0,\n      \"url\": \"https://api.{environment}.antavo.com/v1/bulk-operation/customer-list/batch001/status/error\"\n    }\n  },\n  \"payload\": {\n    \"batch_status\": \"queued\",\n    \"number_of_customers\": 0\n  }\n}"},{"id":"fe9aec06-1377-4f7d-ac88-a26fc4f0680f","name":"The batch ID provided as parameter does not exists.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list",":batch_id","status"],"variable":[{"key":"batch_id","value":"batch001"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 330521,\n    \"message\": \"Batch ID is not found\"\n  }\n}"}],"_postman_id":"fea7137e-ff37-4c8b-bec9-9d7b249ac7d3"},{"name":"Retrieve the erronous list operation attempts","event":[{"listen":"prerequest","script":{"id":"6cdee416-f238-4d78-9f50-143cefa38c2c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"06fb53a7-4535-4a63-9249-8dc21ff7e390","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/:batch_id/status/errors","description":"<p>This endpoint allows you to query information about any errors or issues encountered during a list operation process. It provides details about errors, if any, that occurred during the operation.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","customer-list",":batch_id","status","errors"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting number of errors to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Must be ≥ 0\nDefaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of errors to be returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Must be ≥ 0\nDefaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) The external batch ID associated with the list operation.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"batch_id"}]}},"response":[{"id":"cf85c036-c88c-4b4e-af35-c0795ee5dee1","name":"Returned after the list operation request has been processed. Provides information about errors, if any, that occurred during the operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/:batch_id/status/errors?offset=20&limit=20","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list",":batch_id","status","errors"],"query":[{"key":"offset","value":"20","description":"Offsets the starting number of errors to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"20","description":"Limits the number of errors to be returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be ≥ 0\nDefaults to 100"}],"variable":[{"key":"batch_id","value":"batch001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"pagination\": {\n      \"total\": 42,\n      \"next\": \"https://api.{environment}.antavo.com/customer-list/batch001/status/error?offset=40&limit=20\",\n      \"previous\": \"https://api.{environment}.antavo.com/customer-list/batch001/status/error?offset=0&limit=20\"\n    }\n  },\n  \"payload\": {\n    \"number of errors\": 42,\n    \"customers\": {\n      \"customer_01\": {\n        \"customer_list\": {},\n        \"error message\": {},\n        \"error code\": {}\n      }\n    }\n  }\n}"},{"id":"ed828593-26f3-4d20-9d21-1d328be17fb2","name":"The batch ID provided as a parameter does not exist.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/customer-list/:batch_id/status/errors","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","customer-list",":batch_id","status","errors"],"variable":[{"key":"batch_id","value":"invalid_batch_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 330531,\n    \"message\": \"Batch ID is not found\"\n  }\n}"}],"_postman_id":"06fb53a7-4535-4a63-9249-8dc21ff7e390"}],"id":"41b88a10-469c-44e2-af48-fee25e6ce4b4","_postman_id":"41b88a10-469c-44e2-af48-fee25e6ce4b4","description":""},{"name":"Coupons","item":[{"name":"Manage coupon codes in coupon pools","event":[{"listen":"prerequest","script":{"id":"5008578f-3f43-44af-a2f4-adee6cabb149","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ba212451-7967-4bfe-8569-0c2c3411e590","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupons\": [\r\n    \"<string>\",\r\n    \"<string>\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:coupon_pool_id/:action","description":"<p>This endpoint supports the upload of coupons to Coupon Pools in batches. It accepts both coupons which are pre-assigned to customers and unassigned coupons. The uploaded coupon batches are processed asynchronously.</p>\n<p>Maximum 50,000 coupon codes per request.</p>\n<p>The request body schema depends on the type of action used.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","coupons",":coupon_pool_id",":action"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of an existing coupon pool for which the source is set to <code>uploaded</code>.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"coupon_pool_id"},{"description":{"content":"<p>(Required) The action carried on the coupons, which can be <code>add</code>, <code>assign</code>, or <code>unassign</code>.</p>\n<p>Note that the request body schema depends on the type of action used.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"action"}]}},"response":[{"id":"994b59b9-b8b0-43a4-97a8-cbf64364e5db","name":"Coupon codes are imported to the coupon pool","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupons\": [\r\n    \"CODE1\",\r\n    \"CODE2\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:coupon_pool_id/:action","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":coupon_pool_id",":action"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of an existing coupon pool for which the source is set to `uploaded`."},{"key":"action","value":"add","description":"(Required) The action carried on the coupons, which can be `add`, `assign`, or `unassign`.\n\nNote that the request body schema depends on the type of action used.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n        \"external_batch_id\": \"batch_001\"\r\n    },\r\n    \"payload\": {\r\n        \"batch_id\": \"batch001\"\r\n    }\r\n}"},{"id":"33739c0b-fdf5-4e45-b6dc-40ef37900636","name":"Coupon codes are unassigned from customers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupons\": [\r\n    {\r\n      \"coupon_code\": \"CODE1\",\r\n      \"customer_id\": \"30114810-8340-4144-a193-7699f66d184d\"\r\n    },\r\n    {\r\n      \"coupon_code\": \"CODE2\",\r\n      \"customer_id\": \"e9e5a706-b785-405a-bcf3-2e7859fd59d3\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:coupon_pool_id/:action","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":coupon_pool_id",":action"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of an existing coupon pool for which the source is set to `uploaded`."},{"key":"action","value":"unassign","description":"(Required) The action carried on the coupons, which can be `add`, `assign`, or `unassign`.\n\nNote that the request body schema depends on the type of action used.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n        \"external_batch_id\": \"batch_003\"\r\n    },\r\n    \"payload\": {\r\n        \"batch_id\": \"batch003\"\r\n    }\r\n}"},{"id":"ed452cf3-35a4-4626-b85a-e7fd9dccee35","name":"400 - Payload is not found or is empty","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:coupon_pool_id/:action","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":coupon_pool_id",":action"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of an existing coupon pool for which the source is set to `uploaded`."},{"key":"action","value":"add","description":"(Required) The action carried on the coupons, which can be `add`, `assign`, or `unassign`.\n\nNote that the request body schema depends on the type of action used.\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 202002,\n        \"message\": \"The 'payload' field is not found or empty\"\n    }\n}"},{"id":"781ba58e-791a-44c5-9284-7e248c742e10","name":"400 - Coupon codes exceed the limit","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupons\": [\r\n    \"CODE1\",\r\n    \"CODE2\",\r\n    \"...\",\r\n    \"CODE49999\",\r\n    \"CODE50000\",\r\n    \"CODE50001\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:coupon_pool_id/:action","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":coupon_pool_id",":action"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of an existing coupon pool for which the source is set to `uploaded`."},{"key":"action","value":"add","description":"(Required) The action carried on the coupons, which can be `add`, `assign`, or `unassign`.\n\nNote that the request body schema depends on the type of action used.\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 202003,\n        \"message\": \"The list of codes exceeds the size limitation of the endpoint\"\n    }\n}"},{"id":"d9b96739-55f3-4711-8aeb-04d5a93c7617","name":"404 - Coupon pool not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupons\": [\r\n    \"CODE1\",\r\n    \"CODE2\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:coupon_pool_id/:action","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":coupon_pool_id",":action"],"variable":[{"key":"coupon_pool_id","value":"invalidCouponPoolId","description":"(Required) The ID of an existing coupon pool for which the source is set to `uploaded`."},{"key":"action","value":"add","description":"(Required) The action carried on the coupons, which can be `add`, `assign`, or `unassign`.\n\nNote that the request body schema depends on the type of action used.\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 202001,\n        \"message\": \"Coupon Pool not found\"\n    }\n}"}],"_postman_id":"ba212451-7967-4bfe-8569-0c2c3411e590"},{"name":"Query the status of a coupon import","event":[{"listen":"prerequest","script":{"id":"3d5f67af-5a30-4f47-a1f6-d238be2d1246","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bb2e96f2-62e1-4dd8-99ab-6b7b86599bc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status","description":"<p>This endpoint allows you to query the status of a coupon batch import. It provides information about the current processing status of the operation, which can be `queued`, `processing` or `done`.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","coupons",":batch_id","status"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The batch ID associated with the coupon import operation.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"batch_id"}]}},"response":[{"id":"d7935aa4-78ba-4b67-babf-93d3af68f31c","name":"Batch status - queued","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":batch_id","status"],"variable":[{"key":"batch_id","value":"batch001","description":"(Required) The batch ID associated with the coupon import operation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n        \"bulk_operation_error\": {\r\n\t\t\t\"number_of_errors\": 0,\r\n\t\t\t\"url\": \"https://api.staging.antavo.com/v1/bulk-operation/coupons/batch001/status/error\"\r\n\t\t}\r\n\t},\r\n\t\"payload\": {\r\n\t\t\"batch_status\": \"queued\",\r\n\t\t\"number_of_coupons\": 0\r\n\t}\r\n}"},{"id":"bc36d0b2-c796-45dd-b4c3-6b725755e224","name":"Batch status - processing","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":batch_id","status"],"variable":[{"key":"batch_id","value":"batch001","description":"(Required) The batch ID associated with the coupon import operation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n        \"bulk_operation_error\": {\r\n\t\t\t\"number_of_errors\": 0,\r\n\t\t\t\"url\": \"https://api.staging.antavo.com/v1/bulk-operation/coupons/batch001/status/error\"\r\n\t\t}\r\n\t},\r\n\t\"payload\": {\r\n\t\t\"batch_status\": \"processing\",\r\n\t\t\"number_of_coupons\": 0\r\n\t}\r\n}"},{"id":"6aea451b-d55e-4536-90e3-b210ae247ef3","name":"Batch status - done","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":batch_id","status"],"variable":[{"key":"batch_id","value":"batch001","description":"(Required) The batch ID associated with the coupon import operation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n        \"bulk_operation_error\": {\r\n\t\t\t\"number_of_errors\": 60,\r\n\t\t\t\"url\": \"https://api.staging.antavo.com/v1/bulk-operation/coupons/batch001/status/error\"\r\n\t\t}\r\n\t},\r\n\t\"payload\": {\r\n\t\t\"batch_status\": \"done\",\r\n\t\t\"number_of_coupons\": 1000\r\n\t}\r\n}"},{"id":"3e549481-1750-4523-82d0-dc71a0537c22","name":"404 - Batch ID is not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":batch_id","status"],"variable":[{"key":"batch_id","value":"invalidBatchId","description":"(Required) The batch ID associated with the coupon import operation."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"NotFoundException\",\r\n        \"code\": 202004,\r\n        \"message\": \"Batch ID is not found\"\r\n    }\r\n}"}],"_postman_id":"bb2e96f2-62e1-4dd8-99ab-6b7b86599bc6"},{"name":"Query the list of errors related to a coupon import","event":[{"listen":"prerequest","script":{"id":"4660d2f5-d6c7-4265-bc22-2de963586b50","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e03a1653-8ea9-4e01-9947-2b0869943af8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status/error","description":"<p>This endpoint allows you to query information about any errors or issues encountered during a coupon import operation. It provides details about errors, if any, that occurred during the operation.</p>\n","urlObject":{"protocol":"https","path":["v1","bulk-operation","coupons",":batch_id","status","error"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The batch ID associated with the coupon import operation.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"batch_id"}]}},"response":[{"id":"332a923e-d6e3-4437-beef-24e86d8cab71","name":"Errors were found during the coupon import","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status/error","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":batch_id","status","error"],"variable":[{"key":"batch_id","value":"batch001","description":"(Required) The batch ID associated with the coupon import operation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n\t\t\"pagination\": {\r\n\t\t\t\"total\": 42,\r\n\t\t\t\"next\": \"https://api.staging.antavo.com/v1/bulk-operation/coupons/batch001/status/error?offset=40&limit=20\",\r\n\t\t\t\"previous\": \"https://api.staging.antavo.com/v1/bulk-operation/coupons/batch001/status/error?offset=0&limit=20\"\r\n\t\t}\r\n\t},\r\n\t\"payload\": {\r\n\t\t\"number_of_errors\": 42,\r\n\t\t\"coupons\": [\r\n\t\t\t{\r\n\t\t\t\t\"coupon_code\": \"CODE1\",\r\n\t\t\t\t\"pool_id\": \"146cb226c3d47e4d6a28176b\",\r\n\t\t\t\t\"error_message\": \"Error message\",\r\n\t\t\t\t\"error_code\": 123456\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"coupon_code\": \"CODE2\",\r\n\t\t\t\t\"pool_id\": \"146cb226c3d47e4d6a28176b\",\r\n\t\t\t\t\"error_message\": \"Error message\",\r\n\t\t\t\t\"error_code\": 123456\r\n\t\t\t},\r\n\t\t\t...\r\n        ]\r\n\t}\r\n}"},{"id":"0b0ecda1-ffbe-42a7-9c06-767b9fde1b3c","name":"No errors were found during the coupon import","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status/error","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":batch_id","status","error"],"variable":[{"key":"batch_id","value":"batch001","description":"(Required) The batch ID associated with the coupon import operation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n\t\t\"pagination\": {\r\n\t\t\t\"total\": 0\r\n\t\t}\r\n\t},\r\n\t\"payload\": {\r\n\t\t\"number_of_errors\": 0,\r\n\t\t\"coupons\": {\r\n\t\t}\r\n\t}\r\n}"},{"id":"0cefdc1d-02ec-4005-afb8-5d2f0afbe511","name":"404 - Bulk operation request queue is not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:batch_id/status/error","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":batch_id","status","error"],"variable":[{"key":"batch_id","value":"invalidBatchId","description":"(Required) The batch ID associated with the coupon import operation."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"error\": {\r\n        \"type\": \"NotFoundException\",\r\n        \"code\": 320504,\r\n        \"message\": \"Bulk operation request queue is not found\"\r\n    }\r\n}"},{"id":"4731cf3f-b22a-4a73-b3a4-3e013493c3fe","name":"Coupon codes are assigned to customers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupons\": [\r\n    {\r\n      \"coupon_code\": \"CODE1\",\r\n      \"customer_id\": \"30114810-8340-4144-a193-7699f66d184d\"\r\n    },\r\n    {\r\n      \"coupon_code\": \"CODE2\",\r\n      \"customer_id\": \"e9e5a706-b785-405a-bcf3-2e7859fd59d3\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/bulk-operation/coupons/:coupon_pool_id/:action","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","bulk-operation","coupons",":coupon_pool_id",":action"],"variable":[{"key":"coupon_pool_id","value":"146cb226c3d47e4d6a28176b","description":"(Required) The ID of an existing coupon pool for which the source is set to `uploaded`."},{"key":"action","value":"assign","description":"(Required) The action carried on the coupons, which can be `add`, `assign`, or `unassign`.\n\nNote that the request body schema depends on the type of action used.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"metadata\": {\r\n        \"external_batch_id\": \"batch_002\"\r\n    },\r\n    \"payload\": {\r\n        \"batch_id\": \"batch002\"\r\n    }\r\n}"}],"_postman_id":"e03a1653-8ea9-4e01-9947-2b0869943af8"}],"id":"7c0c6434-09ed-4a7d-937e-a1fff219f32d","_postman_id":"7c0c6434-09ed-4a7d-937e-a1fff219f32d","description":""}],"id":"1d74aaa3-6516-4502-a8ae-e2df179d2e49","description":"<p>The Bulk Operations API consists of the Bulk Reward claim API, Bulk Customer list API and Bulk Coupon API endpoints. These APIs offer a comprehensive solution for managing large-scale operations within the Antavo Loyalty Engine.</p>\n<p>For both APIs, once the batch requests have been submitted, the batches are queued and processed asynchronously one after the other. After the batch has been added to the queue, the <code>/status</code> endpoint provides information about the status of the process, which may be:</p>\n<ul>\n<li><p><strong>Queued</strong>: The batch has been added to the queue.</p>\n</li>\n<li><p><strong>Processing</strong>: the batch is being processed.</p>\n</li>\n<li><p><strong>Done</strong>: The batch processing is completed, and the result is available.</p>\n</li>\n</ul>\n<p>The <code>/error</code> endpoint can query the errors that may have occurred during the process. The endpoint provides a paginated list of erroneous reward claims, customer lists, or coupon operation attempts.</p>\n<p>This document helps you understand how to work with the endpoints when executing bulk reward claims, bulk customer list operations, and bulk coupon management through the Antavo Loyalty Engine.</p>\n<h2 id=\"endpoints-overview\">Endpoints Overview</h2>\n<h3 id=\"rewards\">Rewards</h3>\n<p>The Bulk Reward Claim API handles bulk operations for distributing rewards to multiple customers.</p>\n<p>It enables you to distribute coupon rewards to a large number of customers.</p>\n<p>The benefit of using the Bulk Reward claim API over the <a href=\"https://developers.antavo.com/reference/post_customers-customer-id-activities-rewards-reward-id-claim\">Reward claim endpoint</a> of the Display API is that it enables the assignment of a reward to a large number of customers in one process.</p>\n<p>Each batch claim request should include customers who should receive one of the coupon rewards configured under the <a href=\"https://docs.antavo.com/docs/rewards\">Rewards module</a> with a coupon pool assigned. The request may also include custom data that Antavo can forward to an endpoint (<code>callback_url</code>) via a webhook message.</p>\n<p>A <a href=\"https://docs.antavo.com/docs/job-tasks-and-actions#rewards\">bulk-operation</a> cron job task must be manually set up to process the submitted bulk reward claim requests. Once a request is processed, a <code>reward</code> event is registered for each customer specified in the request.</p>\n<h3 id=\"customer-lists\">Customer Lists</h3>\n<p>The Bulk Customer List API enables you to efficiently add or remove a group of customers from a customer list.</p>\n<p>This API can be used to synchronize customer segments from CDP, CRM platforms, and other customer repositories without the need to synchronize all the data attributes from the source systems to Antavo.</p>\n<p>Each request should include the ID of the customer list where customers should be added or removed, as well as the IDs of the specific customers.</p>\n<p>A <a href=\"https://docs.antavo.com/docs/job-tasks-and-actions#customer-lists\">bulk-operation-customer-list</a> cron job task must be manually set up to process the submitted requests to add or remove customers from a customer list. Multiple requests to update the same customer list are processed asynchronously, and a <code>customer_list_customer_add</code> or a <code>customer_list_customer_remove</code> event is registered accordingly for each customer specified in the request.</p>\n<h3 id=\"coupons\">Coupons</h3>\n<p>The Bulk Coupons API facilitates bulk operations for managing coupon codes within coupon pools. This API enables users to upload, assign, and unassign coupon codes for a large number of customers efficiently, processing up to 50,000 coupon codes in a single request.</p>\n<p>The use of the endpoints offers significant advantages over individual coupon management endpoints, as it allows for streamlined operations when handling large volumes of coupons simultaneously. Each batch request must specify the coupon pool and the corresponding action.</p>\n<p>To process submitted coupon operations, a cron job named <a href=\"https://docs.antavo.com/docs/job-tasks-and-actions#coupon-pools\">coupon-pool-bulk-operation-upload</a> must be manually set up. Once processed, relevant events (<code>coupon_assign</code>, <code>coupon_unassign</code>) and coupon statuses will be registered for each coupon operation performed.</p>\n","_postman_id":"1d74aaa3-6516-4502-a8ae-e2df179d2e49"},{"name":"Display API","item":[{"name":"Activities","item":[{"name":"List all available activities for a customer","event":[{"listen":"prerequest","script":{"id":"c4f29c77-3eaa-43ba-863b-706275a03551","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6d28af00-fb42-4c11-b0a7-98713c3a6c5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities?activity_types=<string>&fields=<string>","description":"<p>Aggregates available earn and spend options provided by modules including:</p>\n<ul>\n<li><p><a href=\"https://docs.antavo.com/docs/challenges\">Challenges</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/gamified-profiling\">Gamified profiling</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/incentivized-purchase\">Incentivized purchase</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/rewards\">Rewards</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/social-follow\">Social follow</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/social-share\">Social share</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/offline-treasure-hunt\">Offline treasure hunt</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/contest-lite\">Contest lite</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/content-consumption\">Content consumption</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/gamified-reviews\">Gamified reviews</a></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>A comma-separated list of activity types to filter the results. Options:</p>\n<ul>\n<li><code>challenge</code></li>\n<li><code>reward</code></li>\n<li><code>social_share</code></li>\n<li><code>profiling</code></li>\n<li><code>offer</code></li>\n<li><code>offline_treasure_hunt</code></li>\n<li><code>contest</code></li>\n<li><code>incentivized_purchase</code></li>\n<li><code>content_consumption</code></li>\n<li><code>social_follow</code></li>\n<li><code>review</code></li>\n</ul>\n","type":"text/plain"},"key":"activity_types","value":"<string>"},{"description":{"content":"<p>Comma separated list of custom attributes to include in the response.</p>\n","type":"text/plain"},"key":"fields","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"0ad57661-357f-4a2f-ac4a-9054a191678e","name":"List of all activities for the specific customer. This example shows the attributes of a profiling activity.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities?activity_types=profiling","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities"],"query":[{"key":"activity_types","value":"profiling","description":"A comma-separated list of activity types to filter the results. Options:\n  * `challenge`\n  * `reward`\n  * `social_share`\n  * `profiling`\n  * `offer`\n  * `offline_treasure_hunt`\n  * `contest`\n  * `incentivized_purchase`\n  * `content_consumption`\n  * `social_follow`\n  * `review`\n"},{"key":"fields","value":"<string>","description":"Comma separated list of custom attributes to include in the response.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"6331b62a60265969697786\",\n      \"title\": \"Earn points by sharing your product preferences.\",\n      \"description\": \"Click Start and answer all the questions related to xour product preferences.\",\n      \"status\": \"active\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 100,\n      \"activity_type\": \"profiling\",\n      \"questions\": 5,\n      \"_actions\": {\n        \"next\": {\n          \"method\": \"GET\",\n          \"url\": \"/customers/c987654/activities/profiling/6331b62a60265969697786/next\"\n        }\n      }\n    }\n  ]\n}"},{"id":"a5cd9663-1ecc-466e-877c-1661b53c58a4","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities?activity_types=<string>&fields=<string>","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities"],"query":[{"key":"activity_types","value":"<string>","description":"A comma-separated list of activity types to filter the results. Options:\n  * `challenge`\n  * `reward`\n  * `social_share`\n  * `profiling`\n  * `offer`\n  * `offline_treasure_hunt`\n  * `contest`\n  * `incentivized_purchase`\n  * `content_consumption`\n  * `social_follow`\n  * `review`\n"},{"key":"fields","value":"<string>","description":"Comma separated list of custom attributes to include in the response."}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"6d28af00-fb42-4c11-b0a7-98713c3a6c5a"},{"name":"List all earn activities visible for a customer","event":[{"listen":"prerequest","script":{"id":"637a3d7c-2af2-412d-9244-0cc3e9a6cf57","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"11b657f1-8773-4c55-b5e0-b11f6e625082","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/earn","description":"<p>Aggregates all earn activities relevant to the customer, provided by modules including:</p>\n<ul>\n<li><p><a href=\"https://docs.antavo.com/docs/challenges\">Challenges</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/gamified-profiling\">Gamified profiling</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/incentivized-purchase\">Incentivized purchase</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/social-follow\">Social follow</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/offline-treasure-hunt\">Offline treasure hunt</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/content-consumption\">Content consumption</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/gamified-reviews\">Gamified reviews</a></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","earn"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"cc79abb1-5077-4430-8e64-347e867f1eda","name":"List of earn activities for the specific customer","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/earn","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","earn"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": null,\n      \"status\": \"active\",\n      \"title\": \"Leave a review\",\n      \"description\": \"Share your thoughts about your recent purchase and earn points.\",\n      \"image\": {\n        \"small\": \"https://example.com/images/small.jpg\",\n        \"medium\": \"https://example.com/images/medium.jpg\",\n        \"large\": \"https://example.com/images/large.jpg\"\n      },\n      \"points\": 50,\n      \"activity_type\": \"review\"\n    },\n    {\n      \"id\": null,\n      \"status\": \"active\",\n      \"title\": \"Follow us on Twitter\",\n      \"description\": \"Let's connect on Twitter!\",\n      \"image\": {\n        \"small\": \"https://example.com/images/small.jpg\",\n        \"medium\": \"https://example.com/images/medium.jpg\",\n        \"large\": \"https://example.com/images/large.jpg\"\n      },\n      \"points\": 10,\n      \"activity_type\": \"social_follow\",\n      \"network\": \"twitter\",\n      \"url\": \"https://example.com/connect/twitter\"\n    },\n    {\n      \"id\": \"63eaabe8b0fe6815c91425b6\",\n      \"status\": \"active\",\n      \"title\": \"Summer Style Challenge\",\n      \"description\": \"Embrace the season with our exclusive Summer Style Challenge! Purchase a full set from our vibrant summer clothing line and showcase your fashion-forward look. Complete the challenge to earn special rewards and make this summer your most stylish one yet.\",\n      \"image\": {\n        \"small\": \"https://example.com/images/small.jpg\",\n        \"medium\": \"https://example.com/images/medium.jpg\",\n        \"large\": \"https://example.com/images/large.jpg\"\n      },\n      \"points\": 20,\n      \"activity_type\": \"challenge\",\n      \"cta_label\": \"Join the Challenge\",\n      \"url\": \"https://antavo.com/summer-items\",\n      \"starts_at\": \"2025-01-01T00:00:00+09:30\",\n      \"ends_at\": \"2025-10-31T14:52:00+09:30\",\n      \"max_completions\": 1,\n      \"completions\": 0,\n      \"tags\": [\n        \"summer-line\",\n        \"checkout_item\"\n      ],\n      \"progress\": {\n        \"overall\": 33.3,\n        \"criteria\": [\n          {\n            \"action\": \"checkout_item\",\n            \"message\": \"Complete your look by purchasing 3 items from our summer clothing line and unlock 100 loyalty points as a reward!\",\n            \"threshold\": 3,\n            \"current\": 1,\n            \"is_completed\": false\n          }\n        ],\n        \"last_completed_at\": \"2025-05-12T10:30:00Z\"\n      },\n      \"category\": \"Purchase-related challenges\"\n    },\n    {\n      \"id\": \"63eaabe8b0fe6815c91425b6\",\n      \"status\": \"active\",\n      \"title\": \"Watch the latest tutorial\",\n      \"description\": \"Watch the full tutorial to earn points.\",\n      \"image\": {\n        \"small\": \"https://example.com/images/small.jpg\",\n        \"medium\": \"https://example.com/images/medium.jpg\",\n        \"large\": \"https://example.com/images/large.jpg\"\n      },\n      \"points\": 15,\n      \"activity_type\": \"content_consumption\",\n      \"type\": \"video\",\n      \"url\": \"https://www.example.com/watch?v=XcfywT_7wkw\"\n    },\n    {\n      \"id\": \"null\",\n      \"status\": \"active\",\n      \"title\": \"Earn points with your purchase\",\n      \"description\": \"Earn loyalty points by purchasing items.\",\n      \"image\": {\n        \"small\": \"https://example.com/images/small.jpg\",\n        \"medium\": \"https://example.com/images/medium.jpg\",\n        \"large\": \"https://example.com/images/large.jpg\"\n      },\n      \"points\": 1,\n      \"activity_type\": \"incentivized_purchase\"\n    },\n    {\n      \"id\": \"63eaabe8b0fe6815c91425b6\",\n      \"status\": \"active\",\n      \"title\": \"Find the Hidden Treasure\",\n      \"description\": \"Find the hidden treasure in the store to win!\",\n      \"image\": {\n        \"small\": \"https://example.com/images/small.jpg\",\n        \"medium\": \"https://example.com/images/medium.jpg\",\n        \"large\": \"https://example.com/images/large.jpg\"\n      },\n      \"points\": 50,\n      \"activity_type\": \"offline_treasure\"\n    },\n    {\n      \"id\": \"63eaabe8b0fe6815c91425b6\",\n      \"status\": \"status\",\n      \"title\": \"Complete your profile\",\n      \"description\": \"Complete the profiling questions to earn points.\",\n      \"image\": {\n        \"small\": \"https://example.com/images/small.jpg\",\n        \"medium\": \"https://example.com/images/medium.jpg\",\n        \"large\": \"https://example.com/images/large.jpg\"\n      },\n      \"points\": \"string\",\n      \"activity_type\": \"profiling\",\n      \"questions\": 3,\n      \"_actions\": {\n        \"next\": {\n          \"method\": \"GET\",\n          \"url\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/activities/profiling/63d8d8cc17572c6ec15e688c/next\"\n        }\n      }\n    }\n  ]\n}"},{"id":"b796aca3-669b-4520-9558-5670dbe968a4","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/earn","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","earn"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"11b657f1-8773-4c55-b5e0-b11f6e625082"},{"name":"List all available spend activities for a customer","event":[{"listen":"prerequest","script":{"id":"eb323527-d8d7-4962-850e-b1fe6c561167","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d04b19b4-b1ca-4f67-94b0-4e52ac87a97e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/spend","description":"<p>Aggregates available earn and spend options provided by modules including:</p>\n<ul>\n<li><p><a href=\"https://docs.antavo.com/docs/rewards\">Rewards</a></p>\n</li>\n<li><p><a href=\"https://docs.antavo.com/docs/contest-lite\">Contest lite</a></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","spend"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"c0093aa4-c5bf-4d48-a4cd-6a60f097d9af","name":"List of earn activities for the specific customer. This example shows the attributes of claiming a coupon reward.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/spend","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","spend"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"activity_type\": \"reward\",\n      \"id\": \"5c17c37f71f86e7f798b4576\",\n      \"title\": \"20% Off on Winter Collection\",\n      \"description\": \"Example reward description\",\n      \"status\": \"active\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 700,\n      \"type\": \"bidding\",\n      \"starts_at\": \"2020-07-21T12:00:00.000Z\",\n      \"ends_at\": \"2020-12-21T12:00:00.000Z\",\n      \"_actions\": {\n        \"complete\": {\n          \"method\": \"POST\",\n          \"url\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/activities/rewards/5c17c37f71f86e7f798b4576/claim\"\n        }\n      },\n      \"coupon_pool\": \"5b22a37f71f92e7f798q4186\",\n      \"transferable\": true,\n      \"transfer_points\": 0,\n      \"transfer_limit\": 1,\n      \"transfer_coupon_expiration\": \"modify\",\n      \"transfer_coupon_expires_in\": \"2 weeks\"\n    }\n  ]\n}"},{"id":"3f4f8563-6fd6-4bca-b1ee-059f35e4c781","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/spend","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","spend"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"d04b19b4-b1ca-4f67-94b0-4e52ac87a97e"}],"id":"50278295-ac3a-42d8-9f2a-2454400af2f6","_postman_id":"50278295-ac3a-42d8-9f2a-2454400af2f6","description":""},{"name":"Challenges","item":[{"name":"List all available challenges for a customer","event":[{"listen":"prerequest","script":{"id":"60352fe9-2fd3-4d69-a892-81a27ea79685","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"3dae8220-360a-4401-8f3a-3aba63347554","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/challenges","description":"<p>This endpoint returns all active challenges that are available for the customer to complete. To access a filtered result, please use the <a href=\"https://developers.antavo.com/reference/get_v2-customers-customer-id-activities-challenges\">v2 endpoint</a>.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","challenges"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"71d355db-7d44-4a85-9a94-7ad00066c686","name":"List of challenges","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/challenges","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","challenges"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"63eaabe8b0fe6815c91425b6\",\n      \"title\": \"Summer Style Challenge\",\n      \"description\": \"Embrace the season with our exclusive Summer Style Challenge! Purchase a full set from our vibrant summer clothing line and showcase your fashion-forward look. Complete the challenge to earn special rewards and make this summer your most stylish one yet.\",\n      \"status\": \"active\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 100,\n      \"progress\": {\n        \"last_completed_at\": \"2024-04-02T16:13:35.000Z\",\n        \"overall\": 20,\n        \"criteria\": [\n          {\n            \"action\": \"checkout_item\",\n            \"current\": 1,\n            \"threshold\": 5,\n            \"message\": \"Complete your look by purchasing 5 items from our summer clothing line and unlock 100 loyalty points as a reward!\",\n            \"is_completed\": true\n          }\n        ]\n      },\n      \"cta_label\": \"Join the Challenge\",\n      \"url\": \"https://antavo.com/summer-items\",\n      \"starts-at\": \"2024-02-29T14:30:00.000Z\",\n      \"ends_at\": \"2024-08-31T14:29:00.000Z\",\n      \"completions\": 0,\n      \"max_completions\": 6,\n      \"tags\": [\n        \"summer-line\",\n        \"2024\",\n        \"100 points\"\n      ],\n      \"category\": \"Stay stylish!\"\n    }\n  ]\n}"},{"id":"d5dc79d0-ec1c-43e2-949a-154149d933c4","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/challenges","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","challenges"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"3dae8220-360a-4401-8f3a-3aba63347554"},{"name":"V2 List all available challenges for a customer","event":[{"listen":"prerequest","script":{"id":"e51798ce-c854-4856-a190-5184e5f6778e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c36840d8-9074-4bbd-80b1-31af79bfd0cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/activities/challenges?tags=<string>&points=<number>&title=<string>&offset=<integer>&limit=<integer>&sort=<string>&order=<string>","description":"<p>This endpoint returns all active challenges that are available for the customer to complete. Results can be <a href=\"https://developers.antavo.com/docs/pagination-filtering-and-ordering#filtering\">filtered</a> with query parameters listed below.</p>\n","urlObject":{"protocol":"https","path":["v2","customers",":customer_id","activities","challenges"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Filtering based on tag(s) associated.</p>\n","type":"text/plain"},"key":"tags","value":"<string>"},{"description":{"content":"<p>Filtering based on the points rewarded.</p>\n","type":"text/plain"},"key":"points","value":"<number>"},{"description":{"content":"<p>Filtering based on the title.</p>\n","type":"text/plain"},"key":"title","value":"<string>"},{"description":{"content":"<p>Offsets the starting number of active challenges to return. This is used in pagination in conjunction with the limit query.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>Limits the number of active challenges returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"description":{"content":"<p>Sorts the results by the selected value, which can be <code>ends_at</code>, <code>title</code> or <code>points</code>. This query can be used in conjunction with the order query.</p>\n","type":"text/plain"},"key":"sort","value":"<string>"},{"description":{"content":"<p>Used in conjunction with the sort query to list the results in ascending or descending order. The value can be <code>asc</code> for an ascending order or <code>desc</code> for a descending order.</p>\n","type":"text/plain"},"key":"order","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"74efbd93-5ffc-4553-b768-e8fd94470be5","name":"List of challenges","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/activities/challenges?tags=summer-line&points=100&title=Summer+Style+Challenge","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","activities","challenges"],"query":[{"key":"tags","value":"summer-line"},{"key":"points","value":"100"},{"key":"title","value":"Summer+Style+Challenge"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"status\": \"success\",\n      \"metadata\": {\n        \"pagination\": {\n          \"total\": 1,\n          \"next\": \"https://example.com/challenges-63eaabe8b0fe6815c91425b6?page=2\",\n          \"previous\": \"https://example.com/challenges-63eaabe8b0fe6815c91425b6?page=1\"\n        }\n      },\n      \"payload\": [\n        {\n          \"image\": {\n            \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n            \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n            \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n          },\n          \"id\": \"63eaabe8b0fe6815c91425b6\",\n          \"category\": \"Stay stylish!\",\n          \"status\": \"active\",\n          \"starts-at\": \"2024-02-29T14:30:00.000Z\",\n          \"ends_at\": \"2024-08-31T14:29:00.000Z\",\n          \"completions\": 0,\n          \"description\": \"Embrace the season with our exclusive Summer Style Challenge! Purchase a full set from our vibrant summer clothing line and showcase your fashion-forward look. Complete the challenge to earn special rewards and make this summer your most stylish one yet.\",\n          \"title\": \"Summer Style Challenge\",\n          \"message\": \"Apologies, but this challenge is currently unavailable for you. Keep an eye out for future opportunities or discover other exciting challenges to engage with!\",\n          \"url\": \"https://antavo.com/summer-items\",\n          \"points\": 100,\n          \"tags\": [\n            \"summer-line\",\n            \"2024\",\n            \"100 points\"\n          ],\n          \"cta_label\": \"Join the Challenge\",\n          \"max_completions\": 6,\n          \"progress\": {\n            \"last_completed_at\": \"2024-04-02T16:13:35.000Z\",\n            \"overall\": 20,\n            \"criteria\": [\n              {\n                \"action\": \"checkout_item\",\n                \"current\": 1,\n                \"threshold\": 5,\n                \"message\": \"Complete your look by purchasing 5 items from our summer clothing line and unlock 100 loyalty points as a reward!\",\n                \"is_completed\": true\n              }\n            ]\n          }\n        }\n      ]\n    }\n  ]\n}"},{"id":"4d269662-fd2f-40ea-b9d1-5d889423e852","name":"List of challenges sorted by end date, listed in a descending order","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/activities/challenges?sort=ends_at&order=desc","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","activities","challenges"],"query":[{"key":"tags","value":"<string>","description":"Filtering based on tag(s) associated.","disabled":true},{"key":"points","value":"<number>","description":"Filtering based on the points rewarded.","disabled":true},{"key":"title","value":"<string>","description":"Filtering based on the title.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of active challenges to return. This is used in pagination in conjunction with the limit query.","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of active challenges returned in one response. Other values are accessible by pagination made accessible via the offset.","disabled":true},{"key":"sort","value":"ends_at","description":"Sorts the results by the selected value, which can be `ends_at`, `title` or `points`. This query can be used in conjunction with the order query."},{"key":"order","value":"desc","description":"Used in conjunction with the sort query to list the results in ascending or descending order. The value can be `asc` for an ascending order or `desc` for a descending order."}],"variable":[{"key":"customer_id","value":"ea73cedf-c9c4-4249-abfb-22533efdc3e6","description":"(Required) Unique customer ID. This can be \n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Feb 2025 15:19:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1168"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"18bc4e18-cf57-a8a4-8111-c6091aa7bcbd"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=h9bZhBNZ2pe%2FBH%2BNmwYbkhwKeg6FDG19Ju8pbbpbMLNttL9W53Oze1JQf44ZAGz1iLChvLIRTeiO0stjQpPlXH3jU%2F76yjHgghzC%2B9Qt8YUZW1jK70WIO4j4YW5oYG8tYeqEKqBWEYY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"914f79593c7a1cd4-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7368&min_rtt=5985&rtt_var=1449&sent=509&recv=485&lost=0&retrans=0&sent_bytes=57412&recv_bytes=14334&delivery_rate=479619&cwnd=256&unsent_bytes=0&cid=5ed94ef868f42d85&ts=452481&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": {\n        \"pagination\": {\n            \"total\": 3,\n            \"next\": \"\",\n            \"previous\": \"\"\n        }\n    },\n    \"payload\": [\n        {\n            \"id\": \"63eaabe8b0fe6815c91425b6\",\n            \"status\": \"active\",\n            \"title\": \"Summer Style Challenge\",\n            \"description\": \"Embrace the season with our exclusive Summer Style Challenge! Purchase a full set from our vibrant summer clothing line and showcase your fashion-forward look. Complete the challenge to earn special rewards and make this summer your most stylish one yet.\",\n            \"image\": {\n                \"small\": \"https://example.com/1715779380-aEYMr.jpeg\",\n                \"medium\": \"https://example.com/1715779380-uyJAU.jpeg\",\n                \"large\": \"https://example.com/1715779380-HONG0.jpeg\"\n            },\n            \"points\": 100,\n            \"cta_label\": \"Join the Challenge\",\n            \"url\": \"https://antavo.com/summer-items\",\n            \"starts_at\": \"2024-06-03T00:00:00+09:30\",\n            \"ends_at\": \"2025-10-31T14:52:00+09:30\",\n            \"message\": \"\",\n            \"category\": \"Stay Stylish\",\n            \"max_completions\": 1,\n            \"tags\": [\n                \"summer-line\",\n                \"2024\",\n                \"100 points\",\n                \"2025\"\n            ],\n            \"completions\": 2,\n            \"progress\": {\n                \"overall\": 0,\n                \"criteria\": [\n                    {\n                        \"action\": \"checkout_item\",\n                        \"message\": \"Complete your look by purchasing 5 items from our summer clothing line and unlock 100 loyalty points as a reward!\",\n                        \"threshold\": 5,\n                        \"current\": 0,\n                        \"is_completed\": false\n                    }\n                ],\n                \"last_completed_at\": \"2024-07-03T17:38:45+09:30\"\n            }\n        },\n        {\n            \"id\": \"6720ea2bfcbf69bfd704e63c\",\n            \"status\": \"active\",\n            \"title\": \"Active Lifestyle Challenge\",\n            \"description\": \"Step up your game with the Active Lifestyle Challenge! Build your perfect workout wardrobe by selecting versatile, comfortable pieces from our activewear collection. Purchase any 3 items designed for movement and performance to complete the challenge and get rewarded for staying active and stylish!\",\n            \"image\": {\n                \"small\": \"https://example.com/1730210502-lNHZQ.jpeg\",\n                \"medium\": \"https://example.com/1730210502-FeeHd.jpeg\",\n                \"large\": \"https://example.com/1730210502-nMUiF.jpeg\"\n            },\n            \"points\": 80,\n            \"cta_label\": \"Join the Challenge\",\n            \"url\": \"https://antavo.com/summer-items\",\n            \"starts_at\": \"2024-05-01T00:00:00+09:30\",\n            \"ends_at\": \"2025-09-01T14:52:00+09:30\",\n            \"message\": \"\",\n            \"category\": \"Stay Stylish\",\n            \"max_completions\": 1,\n            \"tags\": [\n                \"summer-line\",\n                \"2024\",\n                \"100 points\",\n                \"2025\"\n            ],\n            \"completions\": 0,\n            \"progress\": {\n                \"overall\": 0,\n                \"criteria\": [\n                    {\n                        \"action\": \"checkout_item\",\n                        \"message\": \"Choose 3 items from our activewear line to complete the challenge and unlock 80 loyalty points as a reward!\",\n                        \"threshold\": 5,\n                        \"current\": 0,\n                        \"is_completed\": false\n                    }\n                ],\n                \"last_completed_at\": \"2024-07-03T17:38:45+09:30\"\n            }\n        },\n        {\n            \"id\": \"6720e8e7dba10ac31c055d1f\",\n            \"status\": \"active\",\n            \"title\": \"Accessory Addict Challenge\",\n            \"description\": \"Elevate your style with the Accessory Addict Challenge! Choose and purchase 4 unique accessories from our latest collection to add that extra sparkle to any outfit. Complete the challenge and earn rewards for each perfect finishing touch.\",\n            \"image\": {\n                \"small\": \"https://example.com/1730210307-taSRq.jpeg\",\n                \"medium\": \"https://example.com/1730210307-EkBvG.jpeg\",\n                \"large\": \"https://example.com/1730210306-p14tw.jpeg\"\n            },\n            \"points\": 50,\n            \"cta_label\": \"Join the Challenge\",\n            \"url\": \"https://antavo.com/summer-items\",\n            \"starts_at\": \"2024-05-01T00:00:00+09:30\",\n            \"ends_at\": \"2025-04-10T16:16:00+09:30\",\n            \"message\": \"\",\n            \"category\": \"Stay Stylish\",\n            \"max_completions\": 1,\n            \"tags\": [\n                \"summer-line\",\n                \"2024\",\n                \"100 points\",\n                \"2025\"\n            ],\n            \"completions\": 0,\n            \"progress\": {\n                \"overall\": 0,\n                \"criteria\": [\n                    {\n                        \"action\": \"checkout_item\",\n                        \"message\": \"Accessorize with 4 items from our collection and unlock 50 loyalty points as a reward!\",\n                        \"threshold\": 5,\n                        \"current\": 0,\n                        \"is_completed\": false\n                    }\n                ],\n                \"last_completed_at\": \"2024-07-03T17:38:45+09:30\"\n            }\n        }\n    ]\n}"},{"id":"0fe9f592-c5d8-4244-8a47-6303aa87b16b","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/activities/challenges?tags=transactions&points=100&title=Summer+Style+Challenge","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","activities","challenges"],"query":[{"key":"tags","value":"transactions"},{"key":"points","value":"100"},{"key":"title","value":"Summer+Style+Challenge"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 160212,\n    \"message\": \"Customer not found\"\n  },\n  \"status\": \"error\"\n}"}],"_postman_id":"c36840d8-9074-4bbd-80b1-31af79bfd0cf"},{"name":"List a customer's completed challenges","event":[{"listen":"prerequest","script":{"id":"0d7fd81b-05ff-4247-8602-e305c20da31f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"7a71ad69-2271-449f-8730-7d098cfa3c70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/challenges","description":"<p>This endpoint returns a customer's challenge completion history. To access a filtered result, please use the <a href=\"https://developers.antavo.com/reference/get_v2-customers-customer-id-activities-challenges\">v2 endpoint</a>.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","challenges"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"93cac048-6a53-40f9-b4c2-d05c3b0f4c7a","name":"List of the customer's challenge completions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/challenges","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","challenges"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"63eaabe8b0fe6815c91425b6\",\n      \"title\": \"Summer Style Challenge\",\n      \"created_at\": \"2023-12-10T18:28:49.000Z\",\n      \"last_completed_at\": \"2024-07-08T09:13:32.000Z\",\n      \"starts-at\": \"2024-02-29T14:30:00.000Z\",\n      \"completions\": 1,\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"description\": \"Embrace the season with our exclusive Summer Style Challenge! Purchase a full set from our vibrant summer clothing line and showcase your fashion-forward look. Complete the challenge to earn special rewards and make this summer your most stylish one yet.\",\n      \"cta_label\": \"Join the Challenge\",\n      \"url\": \"https://antavo.com/summer-items\",\n      \"points\": 100,\n      \"progress\": [],\n      \"tags\": [\n        \"summer-line\",\n        \"2024\",\n        \"100 points\"\n      ],\n      \"may_completion\": 6,\n      \"category\": \"Stay stylish!\",\n      \"status\": \"active\"\n    }\n  ]\n}"},{"id":"91eb232a-5f0d-43d6-9f47-2f92ca276b3a","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/challenges","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","challenges"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"7a71ad69-2271-449f-8730-7d098cfa3c70"},{"name":"V2 List a customer's completed challenges","event":[{"listen":"prerequest","script":{"id":"0c68bdc9-7d64-4ec8-9985-f004a743cbcd","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"57a33343-d3b4-4818-bad7-622f933a8e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/challenges","description":"<p>This endpoint returns a customer's challenge completion history. Results can be <a href=\"https://developers.antavo.com/docs/pagination-filtering-and-ordering#filtering\">filtered</a> with query parameters listed below.</p>\n","urlObject":{"protocol":"https","path":["v2","customers",":customer_id","challenges"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter by challenge creation date (less than)</p>\n","type":"text/plain"},"key":"created_at.lt","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter by challenge creation date (less than or equal)</p>\n","type":"text/plain"},"key":"create_at.lte","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter by challenge creation date (greater than)</p>\n","type":"text/plain"},"key":"last_completed_at.lt","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter by challenge creation date (greater than or equal)</p>\n","type":"text/plain"},"key":"created_at.gt","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter by last challenge completion date/time (less than)</p>\n","type":"text/plain"},"key":"created_at.gte\n","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter by last challenge completion date/time (less than or equal)</p>\n","type":"text/plain"},"key":"last_completed_at.lte","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter by last challenge completion date/time (greater than)</p>\n","type":"text/plain"},"key":"last_completed_at.gt\n","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter by last challenge completion date/time (greater than or equal)</p>\n","type":"text/plain"},"key":"last_completed_at.gte\n","value":"<date-time>"},{"disabled":true,"description":{"content":"<p>Filter to a specific challenge by id.</p>\n","type":"text/plain"},"key":"id","value":"<string>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of challenges to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of challenges returned in one response. Other values are accessible by pagination made accessible via the offset.\n1 to 100\nDefaults to 20</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"1c1860d3-b46c-4a2c-8680-b43d212774f3","name":"List of challenges","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/challenges","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","challenges"],"query":[{"key":"created_at.lt","value":"2024-08-10","description":"Filter by challenge creation date (less than)","disabled":true},{"key":"create_at.lte","value":"<date-time>","description":"Filter by challenge creation date (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.lt","value":"<date-time>","description":"Filter by challenge creation date (greater than)","disabled":true},{"key":"created_at.gt","value":"<date-time>","description":"Filter by challenge creation date (greater than or equal)","type":"text","disabled":true},{"key":"created_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (less than)","type":"text","disabled":true},{"key":"last_completed_at.lte","value":"<date-time>","description":"Filter by last challenge completion date/time (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.gt\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than)","type":"text","disabled":true},{"key":"last_completed_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than or equal)","type":"text","disabled":true},{"key":"id","value":"<string>","description":"Filter to a specific challenge by id.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of challenges to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of challenges returned in one response. Other values are accessible by pagination made accessible via the offset.\n1 to 100\nDefaults to 20\n\n","disabled":true}],"variable":[{"key":"customer_id","value":"testcustomer","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Aug 2025 21:58:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"863"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1c71ec6e-4cc4-d889-dac8-844577c6e90e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=DN5KJV47jgo6C%2BYgCV%2BZTJHJqhK02A4m%2FURkvWLadbMscvrwR0n451DjqCRQU5JwdUmritb5OscPrCoLSHD1wvWevCtp2UXM9%2BTnPGuRIzAPUuM%3D\"}]}"},{"key":"CF-RAY","value":"96f3b68009bdc1cd-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"next\": \"\",\n            \"previous\": \"\"\n        }\n    },\n    \"payload\": [\n        {\n            \"id\": \"63eaabe8b0fe6815c91425b6\",\n            \"status\": \"active\",\n            \"title\": \"Summer Style Challenge\",\n            \"description\": \"Embrace the season with our exclusive Summer Style Challenge! Purchase a full set from our vibrant summer clothing line and showcase your fashion-forward look. Complete the challenge to earn special rewards and make this summer your most stylish one yet.\",\n            \"image\": {\n                \"small\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1715779380-aEYMr.jpeg\",\n                \"medium\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1715779380-uyJAU.jpeg\",\n                \"large\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1715779380-HONG0.jpeg\"\n            },\n            \"points\": 100,\n            \"created_at\": \"2024-06-13T14:18:55+00:00\",\n            \"starts_at\": \"2024-12-31T14:30:00+00:00\",\n            \"ends_at\": \"2025-10-31T05:22:00+00:00\",\n            \"last_completed_at\": \"2024-07-03T08:08:44+00:00\",\n            \"url\": \"https://antavo.com/summer-items\",\n            \"tags\": [\n                \"summer-line\",\n                \"2024\",\n                \"100 points\",\n                \"2025\"\n            ],\n            \"max_completions\": 1,\n            \"completions\": 1,\n            \"cta_label\": \"Join the Challenge\",\n            \"category\": \"Stay Stylish\",\n            \"progress\": {\n                \"overall\": 100,\n                \"criteria\": [\n                    {\n                        \"action\": \"checkout_item\",\n                        \"message\": \"Complete your look by purchasing 5 items from our summer clothing line and unlock 100 loyalty points as a reward!\",\n                        \"threshold\": 5,\n                        \"current\": 5,\n                        \"is_completed\": true\n                    }\n                ]\n            },\n            \"cf_dashboard\": true\n        },\n        {\n            \"id\": \"6331b62a60265969697786ac\",\n            \"status\": \"inactive\",\n            \"title\": \"Make 5 purchases\",\n            \"description\": \"test\",\n            \"image\": {\n                \"small\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1664202282-Ogf4d.png\",\n                \"medium\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1664202281-nFnVK.png\",\n                \"large\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1664202281-G9XDG.png\"\n            },\n            \"points\": 0,\n            \"created_at\": \"2024-07-07T14:51:33+00:00\",\n            \"starts_at\": \"\",\n            \"ends_at\": \"\",\n            \"last_completed_at\": \"2024-07-07T14:51:33+00:00\",\n            \"url\": \"\",\n            \"tags\": [],\n            \"max_completions\": 0,\n            \"completions\": 1,\n            \"cta_label\": \"\",\n            \"category\": \"\",\n            \"progress\": {\n                \"overall\": 100,\n                \"criteria\": [\n                    {\n                        \"action\": \"point_add\",\n                        \"message\": \"test\",\n                        \"threshold\": 1,\n                        \"current\": 1,\n                        \"is_completed\": true\n                    }\n                ]\n            }\n        }\n    ]\n}"},{"id":"4c1a16b6-ee3f-4d04-a48d-ee3e8fa657f6","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/challenges","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","challenges"],"query":[{"key":"created_at.lt","value":"<date-time>","description":"Filter by challenge creation date (less than)","disabled":true},{"key":"create_at.lte","value":"<date-time>","description":"Filter by challenge creation date (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.lt","value":"<date-time>","description":"Filter by challenge creation date (greater than)","disabled":true},{"key":"created_at.gt","value":"<date-time>","description":"Filter by challenge creation date (greater than or equal)","type":"text","disabled":true},{"key":"created_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (less than)","type":"text","disabled":true},{"key":"last_completed_at.lte","value":"<date-time>","description":"Filter by last challenge completion date/time (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.gt\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than)","type":"text","disabled":true},{"key":"last_completed_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than or equal)","type":"text","disabled":true},{"key":"id","value":"<string>","description":"Filter to a specific challenge by id.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of challenges to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of challenges returned in one response. Other values are accessible by pagination made accessible via the offset.\n1 to 100\nDefaults to 20\n\n","disabled":true}],"variable":[{"key":"customer_id","value":"testcus","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Aug 2025 22:00:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"17fc23c8-1454-0977-91eb-d89f7ddee65c"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=T8EHxE6Y%2FmAglZWobfa%2F9N3dekucRGN6TBv0Nbyf4UyUfCFygeAOZPNL4ZLttTLEXijgDgJTHnPDgyCKFsbHwYRv9BvaDZeycDPuX1lYeKTWSZ4%3D\"}]}"},{"key":"CF-RAY","value":"96f3b90b8f061cd0-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 160212,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"b6316891-7953-424b-b078-afc2979db827","name":"Limit must be between 1-100","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/challenges?limit=110","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","challenges"],"query":[{"key":"created_at.lt","value":"<date-time>","description":"Filter by challenge creation date (less than)","disabled":true},{"key":"create_at.lte","value":"<date-time>","description":"Filter by challenge creation date (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.lt","value":"<date-time>","description":"Filter by challenge creation date (greater than)","disabled":true},{"key":"created_at.gt","value":"<date-time>","description":"Filter by challenge creation date (greater than or equal)","type":"text","disabled":true},{"key":"created_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (less than)","type":"text","disabled":true},{"key":"last_completed_at.lte","value":"<date-time>","description":"Filter by last challenge completion date/time (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.gt\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than)","type":"text","disabled":true},{"key":"last_completed_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than or equal)","type":"text","disabled":true},{"key":"id","value":"<string>","description":"Filter to a specific challenge by id.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of challenges to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"110","description":"Limits the number of challenges returned in one response. Other values are accessible by pagination made accessible via the offset.\n1 to 100\nDefaults to 20\n\n"}],"variable":[{"key":"customer_id","value":"testcustomer","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Aug 2025 22:05:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"5e03970d-4e97-35fc-c028-35d3f66dc497"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=nMNWgDrSCNe9E4HnvV1jFhaLk7lxIg0PezRlmqkdM9hhSY281x4MKs091xyk1EBaSUqsOt2FI1wSltfBm6ll%2FO%2B8CG%2BopLZPPaU2NWe9dMMmYAE%3D\"}]}"},{"key":"CF-RAY","value":"96f3c07a9a24684a-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300123,\n        \"message\": \"Limit must be between 100 and 100\"\n    }\n}"},{"id":"e4dc5822-0ded-4574-a50f-0034b7617f0a","name":"Offset cannot be negative","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/challenges?offset=-4","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","challenges"],"query":[{"key":"created_at.lt","value":"<date-time>","description":"Filter by challenge creation date (less than)","disabled":true},{"key":"create_at.lte","value":"<date-time>","description":"Filter by challenge creation date (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.lt","value":"<date-time>","description":"Filter by challenge creation date (greater than)","disabled":true},{"key":"created_at.gt","value":"<date-time>","description":"Filter by challenge creation date (greater than or equal)","type":"text","disabled":true},{"key":"created_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (less than)","type":"text","disabled":true},{"key":"last_completed_at.lte","value":"<date-time>","description":"Filter by last challenge completion date/time (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.gt\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than)","type":"text","disabled":true},{"key":"last_completed_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than or equal)","type":"text","disabled":true},{"key":"id","value":"<string>","description":"Filter to a specific challenge by id.","disabled":true},{"key":"offset","value":"-4","description":"Offsets the starting number of challenges to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0"},{"key":"limit","value":"<integer>","description":"Limits the number of challenges returned in one response. Other values are accessible by pagination made accessible via the offset.\n1 to 100\nDefaults to 20\n\n","disabled":true}],"variable":[{"key":"customer_id","value":"testcustomer","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Aug 2025 22:06:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"823c645a-0fa5-72dd-b2e7-a3f8115dd054"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=0g4Hom4rJw8XdQPTEuOP9k0q4G35sZaGOC5XGjYDPMthbWB5YYxFJYenFpNv43QYY0yI79A9HVrV%2BWZSbRk%2BSJfb6JBQ%2Bsc6nHEbodDpEoBbFxs%3D\"}]}"},{"key":"CF-RAY","value":"96f3c1da1d24684a-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300121,\n        \"message\": \"Offset cannot be negative\"\n    }\n}"},{"id":"0173ed2b-f88d-4a26-8de1-f3b570928bcf","name":"Invalid query string parameter(s)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v2/customers/:customer_id/challenges","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v2","customers",":customer_id","challenges"],"query":[{"key":"created_at.lt","value":"<date-time>","description":"Filter by challenge creation date (less than)","disabled":true},{"key":"create_at.lte","value":"<date-time>","description":"Filter by challenge creation date (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.lt","value":"<date-time>","description":"Filter by challenge creation date (greater than)","disabled":true},{"key":"created_at.gt","value":"<date-time>","description":"Filter by challenge creation date (greater than or equal)","type":"text","disabled":true},{"key":"created_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (less than)","type":"text","disabled":true},{"key":"last_completed_at.lte","value":"<date-time>","description":"Filter by last challenge completion date/time (less than or equal)","type":"text","disabled":true},{"key":"last_completed_at.gt\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than)","type":"text","disabled":true},{"key":"last_completed_at.gte\n","value":"<date-time>","description":"Filter by last challenge completion date/time (greater than or equal)","type":"text","disabled":true},{"key":"id","value":"<string>","description":"Filter to a specific challenge by id.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of challenges to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of challenges returned in one response. Other values are accessible by pagination made accessible via the offset.\n1 to 100\nDefaults to 20\n\n","disabled":true}],"variable":[{"key":"customer_id","value":"<string>","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"error\",\r\n\t\"error\": {\r\n\t\t\"type\": \"BadRequestException\",\r\n\t\t\"code\": 300122,\r\n\t\t\"message\": \"Invalid query string parameter(s)\"\r\n\t}\r\n}"}],"_postman_id":"57a33343-d3b4-4818-bad7-622f933a8e35"}],"id":"8f0056a4-4ea8-48cf-9ba7-0f67cdd573a0","_postman_id":"8f0056a4-4ea8-48cf-9ba7-0f67cdd573a0","description":""},{"name":"Content consumption","item":[{"name":"List available content consumption activities for a customer","event":[{"listen":"prerequest","script":{"id":"a27a838d-8014-4bd1-9574-0b87d57e4f26","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"1b31bfb9-75c6-4e4b-821f-d8268fab3736","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/content-consumption","description":"<p>This endpoint returns all content consumption activities that are available for a specific customer to complete.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","content-consumption"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"d72b4ce2-e3f3-45d9-bb99-711cdc19a834","name":"List of content consumption activities for the specific customer","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/content-consumption","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","content-consumption"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"title\": \"Learn about our Summer Campaign!\",\n      \"activity_type\": \"content_consumption\",\n      \"status\": \"active\",\n      \"points\": 100,\n      \"type\": \"visit\",\n      \"url\": \"https://example.com/summer-campaign\"\n    }\n  ]\n}"},{"id":"25b17f41-b3fd-42f0-a76c-220d41e9c81e","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/content-consumption","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","content-consumption"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"1b31bfb9-75c6-4e4b-821f-d8268fab3736"}],"id":"2ad6f530-99e6-4f26-b25e-d9fa343e89de","_postman_id":"2ad6f530-99e6-4f26-b25e-d9fa343e89de","description":""},{"name":"Contests","item":[{"name":"List all available contests for a customer","event":[{"listen":"prerequest","script":{"id":"7f4f64d7-bfa3-46b0-956f-ced7899e3821","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d780e5a1-0651-48ec-9d82-6fda01093abe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/contests?fields=<string>","description":"<p>This endpoint returns all contests that are available for a specific customer to enter.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","contests"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Comma separated list of custom attributes to include in the response.</p>\n","type":"text/plain"},"key":"fields","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"0183a050-b44e-4830-a1bc-2ff953d9a148","name":"List of available contests","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/contests?fields=cf_prize_cost","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","contests"],"query":[{"key":"fields","value":"cf_prize_cost","description":"Comma separated list of custom attributes to include in the response."}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5ea6b6bc127abc45008b456f\",\n      \"title\": \"Win 2x VIP Tickets for the New York Fashion Week!\",\n      \"description\": \"Enter our sweepstakes for a chance to win 2x VIP tickets to one of the most exclusive events in the industry.\",\n      \"end_date\": \"2024-12-31T14:29:00.000Z\",\n      \"start_date\": \"2024-06-29T15:11:00.000Z\",\n      \"cf_prize_cost\": 100,\n      \"display_until\": \"2025-01-31T14:29:00.000Z\",\n      \"completion_text\": \"The contest has ended. Winners will be announced soon.\",\n      \"status\": \"active\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 500,\n      \"terms\": \"To enter the sweepstakes, participants must redeem 500 loyalty points for each entry. Participants may enter the sweepstakes up to a maximum of 3 times.\",\n      \"progress\": {\n        \"max\": 3,\n        \"current\": 2,\n        \"is_completed\": false\n      },\n      \"_action\": {\n        \"complete\": {\n          \"method\": \"POST\",\n          \"answer\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/activities/contests/6644e797d959c7036f18762a/enter\"\n        }\n      }\n    }\n  ]\n}"},{"id":"042e987d-f00f-4149-b889-e3a2ce01aa65","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/contests","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","contests"],"query":[{"key":"fields","value":"<string>","description":"Comma separated list of custom attributes to include in the response.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"d780e5a1-0651-48ec-9d82-6fda01093abe"},{"name":"Submit a contest entry","event":[{"listen":"prerequest","script":{"id":"721bde81-aaf9-4f03-abc9-773051a6063d","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b4343192-747e-4254-9a33-6019bec21237","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"count\": \"<integer>\"\r\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/contests/:contest_id/enter","description":"<p>The <code>count</code> parameter defines the number of times a customer should be entered into a contest with a single API request.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","contests",":contest_id","enter"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) A unique identifier of the contest.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contest_id"}]}},"response":[{"id":"d9674ca9-bc3a-4bec-9008-d4e5bed3bced","name":"Customer successfully entered","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"count\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/contests/:contest_id/enter","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","contests",":contest_id","enter"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"contest_id","value":"6644e797d959c7036f18762a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"You've successfully entered this contest!\"\n}"},{"id":"b55fcc2c-dac0-499e-bdf8-fefcd1ec061c","name":"Contest not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"count\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/contests/:contest_id/enter","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","contests",":contest_id","enter"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"contest_id","value":"invalid_contest_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 0,\n  \"message\": \"Contest not found\"\n}"}],"_postman_id":"b4343192-747e-4254-9a33-6019bec21237"}],"id":"1ec6202d-e334-4b27-8dc9-a00df3fb06d6","_postman_id":"1ec6202d-e334-4b27-8dc9-a00df3fb06d6","description":""},{"name":"Coupons","item":[{"name":"List coupons assigned to a customer","event":[{"listen":"prerequest","script":{"id":"ce8f7db0-1b45-43ab-9162-e68773b0fe73","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"34fe69fe-c9c6-4fa9-beed-babd9f0aaa16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/coupons?code=<string>&name=<string>&status=<string>&type=<string>&value=<integer>","description":"<p>Returns all coupons that has been assigned to a specified customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","coupons"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Filter by the coupon code</p>\n","type":"text/plain"},"key":"code","value":"<string>"},{"description":{"content":"<p>Filter by the name of the coupon</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Filter by coupon status. Accepted values: <code>claimed</code>, <code>expired</code>, <code>partially_redeemed</code> and <code>redeemed</code>.</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>Filter by  type of coupon. Accepted values: <code>amount</code>, <code>free_shipping</code>, <code>gift_card</code>, <code>percentage</code>.</p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"description":{"content":"<p>Filter by the value of coupon.</p>\n","type":"text/plain"},"key":"value","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"d6ae7964-64a1-42b0-bf79-714a0b28240c","name":"Coupon list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/coupons?code=TC22341&status=claimed&type=percentage&value=10","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","coupons"],"query":[{"key":"code","value":"TC22341"},{"key":"name","value":"<string>","disabled":true},{"key":"status","value":"claimed"},{"key":"type","value":"percentage"},{"key":"value","value":"10"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"code\": \"TC22341\",\n      \"status\": \"claimed\",\n      \"type\": \"percentage\",\n      \"value\": 10,\n      \"currency\": \"EUR\",\n      \"created_at\": \"2021-11-23T08:34:59.000Z\",\n      \"claimed_at\": \"2021-11-23T08:34:59.000Z\",\n      \"redeemed_at\": \"2022-02-21T10:24:45.000Z\",\n      \"expires_at\": \"2022-11-23T08:34:59.000Z\",\n      \"name\": \"10% coupon codes\",\n      \"pool\": \"62c7f20687632a561f16499b\"\n    }\n  ]\n}"},{"id":"c9df218f-f66b-4a3f-b9a3-593fef0b14c2","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/coupons?code=TC22341&status=claimed&type=percentage&value=10","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","coupons"],"query":[{"key":"code","value":"TC22341","description":"Filter by the coupon code"},{"key":"name","value":"<string>","description":"Filter by the name of the coupon","disabled":true},{"key":"status","value":"claimed","description":"Filter by coupon status. Accepted values: `claimed`, `expired`, `partially_redeemed` and `redeemed`."},{"key":"type","value":"percentage","description":"Filter by  type of coupon. Accepted values: `amount`, `free_shipping`, `gift_card`, `percentage`."},{"key":"value","value":"10","description":"Filter by the value of coupon."}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"34fe69fe-c9c6-4fa9-beed-babd9f0aaa16"}],"id":"45f6a21d-bca3-4893-b201-a1919777ebb2","_postman_id":"45f6a21d-bca3-4893-b201-a1919777ebb2","description":""},{"name":"History","item":[{"name":"List all Antavo events associated with a customer","event":[{"listen":"prerequest","script":{"id":"1debb789-0b69-4b47-8868-09e98e4f04c4","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4150c181-3b6e-44ef-8f49-bdedef14121e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/events","description":"<p>This endpoint returns a detailed list of events and the corresponding actions recorded with the specified customer ID. This information can be used as a customer activity source and can also be accessed using the <code>/history</code>endpoint.\nThe event history/log/stream can be pre-filtered by specific event actions and paginated by limiting and offsetting the number of returned events. The response also includes event expiration dates, if set.</p>\n<p>This endpoint was historically known as <code>/customers/{customer_id}/history</code>. This endpoint is still valid and all options listed below are also applicable.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","events"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of events to return. Used for pagination in conjunction with the limit query.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Used to sort and order the results in ascending or descending order. The value can be <code>asc</code> for sorting the results by <code>_id</code> in an ascending order, or <code>desc</code> for sorting the results by <code>date</code> and <code>_id</code> in a descending order.</p>\n","type":"text/plain"},"key":"order","value":"<string>"},{"disabled":true,"description":{"content":"<p>A legacy field consisting of comma separated list of actions to filters the type of returned Antavo events.</p>\n","type":"text/plain"},"key":"actions","value":"<string>"},{"disabled":true,"description":{"content":"<p>The events history can be filtered by submitted event actions using operators. \nThis filter query can be used in conjunction with operators. The filter should be submitted as a parameter in the following format: <code>field.operator(optional)=value</code>.</p>\n<p>Filtering of events containing a <code>transaction_id</code> is also possible. This requires the action query to contain all related events and for an additional query using <code>properties.transaction_id</code>.\nExample: \n<code>action.in=checkout,checkout_accept&amp;properties.transaction_id.in=c078c162-88af-4369-89a4-408958a8cb75</code>. \nThese combined filters can also use filtering operators. \nThe <code>transaction_id</code> field in any custom event must be set as filterable.</p>\n","type":"text/plain"},"key":"action","value":"<string>"},{"disabled":true,"description":{"content":"<p>The events history can be filtered by a specific date. Specific start and/or end dates can be stated by using multiple operators (e.g., <code>date.gt=2020-01-01&amp;date.lt=2022-02-01</code>).\nThe UTC timezone should be considered when sending the request. </p>\n","type":"text/plain"},"key":"date","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter to only show non-zero points events (events that award or subtract points).</p>\n","type":"text/plain"},"key":"points_only","value":"<boolean>"},{"disabled":true,"description":{"content":"<p>Include the ID and name of any associated challenges/rewards in the response.</p>\n","type":"text/plain"},"key":"references","value":"<boolean>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"3787bf14-5cc5-45ec-977b-9235028ede32","name":"Customer event history data","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/events?action=opt_in","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","events"],"query":[{"key":"limit","value":"<integer>","description":"Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.\n","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of events to return. Used for pagination in conjunction with the limit query.","disabled":true},{"key":"order","value":"<string>","description":"Used to sort and order the results in ascending or descending order. The value can be `asc` for sorting the results by `_id` in an ascending order, or `desc` for sorting the results by `date` and `_id` in a descending order.","disabled":true},{"key":"actions","value":"<string>","description":"A legacy field consisting of comma separated list of actions to filters the type of returned Antavo events.","disabled":true},{"key":"action","value":"opt_in","description":"The events history can be filtered by submitted event actions using operators. Refer to [API events](/docs/api-events) and [internal events](/docs/internal-events) lists. \nThis filter query can be used in conjunction with [operators](/docs/pagination-filtering-and-ordering#query-operators). The filter should be submitted as a parameter in the following format: `field.operator(optional)=value`.\n\nFiltering of events containing a `transaction_id` is also possible. This requires the action query to contain all related events and for an additional query using `properties.transaction_id`.\nExample: \n`action.in=checkout,checkout_accept&properties.transaction_id.in=c078c162-88af-4369-89a4-408958a8cb75`. \nThese combined filters can also use [filtering operators](/docs/pagination-filtering-and-ordering#filtering). \nThe `transaction_id` field in any custom event must be set as filterable.\n"},{"key":"date","value":"<string>","description":"The events history can be filtered by a specific date. Specific start and/or end dates can be stated by using multiple operators (e.g., `date.gt=2020-01-01&date.lt=2022-02-01`).\nThe UTC timezone should be considered when sending the request.\t\n","disabled":true},{"key":"points_only","value":"<boolean>","description":"Filter to only show non-zero points events (events that award or subtract points).","disabled":true},{"key":"references","value":"<boolean>","description":"Include the ID and name of any associated challenges/rewards in the response.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5defe3e1e710bd9b018b45c7\",\n      \"action\": \"opt_in\",\n      \"label\": \"Opt-in\",\n      \"points\": 10,\n      \"timestamp\": \"2024-06-01T12:00:00.000Z\",\n      \"properties\": [\n        {\n          \"name\": \"email\",\n          \"label\": \"Email address\",\n          \"value\": \"john.smith@example.com\"\n        }\n      ],\n      \"expdate\": \"2022-12-25\",\n      \"account\": {\n        \"id\": \"main_account\",\n        \"name\": \"Main account\"\n      }\n    }\n  ],\n  \"prev\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/events?limit=100&offset=200\",\n  \"next\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/events?limit=100&offset=400\"\n}"},{"id":"c9bc6668-c3ad-44db-9a73-6c89f4c0793d","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/events?action=opt_in&points_only=true","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","events"],"query":[{"key":"limit","value":"<integer>","description":"Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.\n","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of events to return. Used for pagination in conjunction with the limit query.","disabled":true},{"key":"order","value":"<string>","description":"Used to sort and order the results in ascending or descending order. The value can be `asc` for sorting the results by `_id` in an ascending order, or `desc` for sorting the results by `date` and `_id` in a descending order.","disabled":true},{"key":"actions","value":"<string>","description":"A legacy field consisting of comma separated list of actions to filters the type of returned Antavo events.","disabled":true},{"key":"action","value":"opt_in","description":"The events history can be filtered by submitted event actions using operators. Refer to [API events](/docs/api-events) and [internal events](/docs/internal-events) lists. \nThis filter query can be used in conjunction with [operators](/docs/pagination-filtering-and-ordering#query-operators). The filter should be submitted as a parameter in the following format: `field.operator(optional)=value`.\n\nFiltering of events containing a `transaction_id` is also possible. This requires the action query to contain all related events and for an additional query using `properties.transaction_id`.\nExample: \n`action.in=checkout,checkout_accept&properties.transaction_id.in=c078c162-88af-4369-89a4-408958a8cb75`. \nThese combined filters can also use [filtering operators](/docs/pagination-filtering-and-ordering#filtering). \nThe `transaction_id` field in any custom event must be set as filterable.\n"},{"key":"date","value":"<string>","description":"The events history can be filtered by a specific date. Specific start and/or end dates can be stated by using multiple operators (e.g., `date.gt=2020-01-01&date.lt=2022-02-01`).\nThe UTC timezone should be considered when sending the request.\t\n","disabled":true},{"key":"points_only","value":"true","description":"Filter to only show non-zero points events (events that award or subtract points)."},{"key":"references","value":"<boolean>","description":"Include the ID and name of any associated challenges/rewards in the response.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 160212,\n    \"message\": \"Customer not found\"\n  }\n}"}],"_postman_id":"4150c181-3b6e-44ef-8f49-bdedef14121e"},{"name":"Retrieve a time-filtered list of every event for all customers","event":[{"listen":"prerequest","script":{"id":"76bcef5d-26b7-4610-a437-61fa47e55beb","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ffe9061a-31da-4ee6-98fd-95b6d6d485e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/-/events","description":"<p>This endpoint returns all events for all customers that match the specified datetime timestamp query.<br />The returned object contains the total number of matching events and an array of every matching event.</p>\n<p>The datetime filter accepts the following operators and can be combined to generate a time window:</p>\n<ul>\n<li><p><code>gt</code> - greater than</p>\n</li>\n<li><p><code>lt</code> - less than</p>\n</li>\n<li><p><code>gte</code> - greater than or equal</p>\n</li>\n<li><p><code>lte</code> - less than or equal</p>\n</li>\n</ul>\n<p>The timestamp filter must be in ISODate format. Example: <code>timestamp.gt=2023-01-05</code>,<code>timestamp.gt=2023-01-05T13:28:55</code> or <code>timestamp.gt=2023-01-05T13:28:55.233+0000</code>.</p>\n<p><strong>Note</strong>: The timezone offset optional parameter (e.g., +0000) must be URL-encoded.</p>\n","urlObject":{"protocol":"https","path":["customers","-","events"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter events with timestamp greater than the specified value.</p>\n","type":"text/plain"},"key":"timestamp.gt","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter events with timestamp less than the specified value.</p>\n","type":"text/plain"},"key":"timestamp.lt","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter events with timestamp greater than or equal to the specified value.</p>\n","type":"text/plain"},"key":"timestamp.gte","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter events with timestamp less than or equal to the specified value.</p>\n","type":"text/plain"},"key":"timestamp.lte","value":"<string>"},{"disabled":true,"description":{"content":"<p>Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of events to return. Used for pagination in conjunction with the limit query.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Used to sort and order the results in ascending or descending order. The value can be <code>asc</code> for sorting the results by <code>_id</code> in an ascending order, or <code>desc</code> for sorting the results by <code>date</code> and <code>_id</code> in a descending order.</p>\n","type":"text/plain"},"key":"order","value":"<string>"}],"variable":[]}},"response":[{"id":"d8d8ddd3-db6c-4a72-9645-38589b0655ed","name":"Time-filtered events","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/-/events?timestamp.gt=2022-01-01T00:00:00.000Z&timestamp.lt=2023-01-01T00:00:00.000Z","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers","-","events"],"query":[{"key":"timestamp.gt","value":"2022-01-01T00:00:00.000Z","description":"Filter events with timestamp greater than the specified value."},{"key":"timestamp.lt","value":"2023-01-01T00:00:00.000Z","description":"Filter events with timestamp less than the specified value."},{"key":"timestamp.gte","value":"<string>","description":"Filter events with timestamp greater than or equal to the specified value.","disabled":true},{"key":"timestamp.lte","value":"<string>","description":"Filter events with timestamp less than or equal to the specified value.","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of events to return. Used for pagination in conjunction with the limit query.","disabled":true},{"key":"order","value":"<string>","description":"Used to sort and order the results in ascending or descending order. The value can be `asc` for sorting the results by `_id` in an ascending order, or `desc` for sorting the results by `date` and `_id` in a descending order.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"total\": 150,\n  \"data\": [\n    {\n      \"id\": \"5defe3e1e710bd9b018b45c7\",\n      \"action\": \"point_add\",\n      \"label\": \"Point add\",\n      \"Customer\": {\n        \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\"\n      },\n      \"points\": 100,\n      \"timestamp\": \"2022-12-25T18:28:49.000Z\",\n      \"properties\": [\n        {\n          \"name\": \"points\",\n          \"label\": \"Points\",\n          \"value\": 100\n        }\n      ],\n      \"expdate\": \"2023-12-25\"\n    }\n  ]\n}"}],"_postman_id":"ffe9061a-31da-4ee6-98fd-95b6d6d485e0"}],"id":"4fb50a52-7e90-49e2-bf69-b971a6b793eb","_postman_id":"4fb50a52-7e90-49e2-bf69-b971a6b793eb","description":""},{"name":"Offers","item":[{"name":"List all offers available for the customer","event":[{"listen":"prerequest","script":{"id":"81531cd1-9012-4de5-8764-21b276fa4b3d","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"3311b762-6384-4396-9744-304ffb63a2c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers","description":"<p>This endpoints provides the list of all available offers for a specific customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","offers"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"c3f0eda1-804c-468d-95a9-402b4f07a432","name":"List of all available offers","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","offers"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5c17c37f71f86e7f798b4576\",\n      \"title\": \"Bundle & Save 20%\",\n      \"starts-at\": \"2024-07-01T04:22:00.000Z\",\n      \"ends_at\": \"2024-07-31T11:59:00.000Z\",\n      \"description\": \"Get 20% off when you add two or more items from our featured collection to your cart.\",\n      \"status\": \"scheduled\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 0,\n      \"card_title\": \"Bundle & Save 20%!\",\n      \"card_description\": \"Shop now and save on your favorite styles!\",\n      \"stores\": [\n        {\n            \"id\": \"004\",\n            \"name\": \"004 Dublin\"\n        }\n      ]\n    }\n  ]\n}"},{"id":"d2945b71-e1b4-411a-be15-fba2487b9223","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","offers"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"3311b762-6384-4396-9744-304ffb63a2c5"},{"name":"Claim an offer for the customer","event":[{"listen":"prerequest","script":{"id":"fcb091c1-680a-4fe7-95ac-bc6ec1a5bea0","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"78830f15-9858-4599-b316-b163eb5103e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers/:offer_id/claim","description":"<p>This endpoint allows for claiming an offer for a customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","offers",":offer_id","claim"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) The ID of the offer to be claimed. </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"offer_id"}]}},"response":[{"id":"aa70d0c8-f04c-4071-a422-e3437f2eb1bd","name":"Offer is claimed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers/:offer_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","offers",":offer_id","claim"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"},{"key":"offer_id","value":"63e95c4d0c12a2615822e913","description":"(Required) The ID of the offer to be claimed. "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2025 15:02:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"198"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"76a87c4b-8a3b-d375-0dd4-e3e2938014af"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=9IsLaRayy5N%2BTk34C6WSpBEggQ4zzPQUPaIIxjtMf9svx1gt8uC4YseOwGaWeOD1ym0kSp4nqcVNdLzUWkasX7hJ4ZFnuLKs2DvuAWLAbcjXqPU5S%2FuvA9nk7M4awe8ngCG3bhievTc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91890e90ed83c1ad-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=51613&min_rtt=7026&rtt_var=8300&sent=273&recv=273&lost=0&retrans=0&sent_bytes=28526&recv_bytes=12531&delivery_rate=392058&cwnd=257&unsent_bytes=0&cid=ce94f3e9755e5058&ts=243729&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"coupon\": {\n        \"code\": \"193\",\n        \"status\": \"claimed\",\n        \"created_at\": \"2025-02-25T10:30:01+09:30\",\n        \"customer\": {\n            \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\"\n        },\n        \"name\": \"Friday 20% off\",\n        \"claimed_at\": \"2025-02-28T00:27:01+09:30\",\n        \"type\": \"amount\",\n        \"value\": 10,\n        \"pool\": \"62c7f20687632a561f16499b\"\n    }\n}"},{"id":"a2fae375-79ad-47e7-9208-93fd46baaddc","name":"Customer does not meet the offer criteria","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers/:offer_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","offers",":offer_id","claim"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-746b-d9267d1a4014","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"},{"key":"offer_id","value":"63e95c4d0c12a2615822e913","description":"(Required) The ID of the offer to be claimed. "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2025 15:09:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"71a28982-4d35-762a-09ed-dc1de4a7cc72"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ghVTzAW7PFTeivz13buDDknkynfjtTMmc9nx2sgkd6Y%2FUyykAMEXJ0z7rpeXBf58%2BZHcxpvqvHN%2F4IyULc32IX1Mb6gUYd8Gk3nWiZ8GdhDy%2BNkbF1oALxPaQ7D1BghYmmuq6gUTwxU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9189184cbbe1c6d6-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=22788&min_rtt=6699&rtt_var=24266&sent=84&recv=84&lost=0&retrans=0&sent_bytes=7318&recv_bytes=3366&delivery_rate=421555&cwnd=252&unsent_bytes=0&cid=0938784504b94c6d&ts=74533&x=0\""}],"cookie":[],"responseTime":null,"body":"[]"},{"id":"fd9103e8-b5be-4caf-be8a-2bf440ff0720","name":"Offer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers/:offer_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","offers",":offer_id","claim"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"},{"key":"offer_id","value":"63e95c4d0c12a2615822e","description":"(Required) The ID of the offer to be claimed. "}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2025 15:08:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"635d8668-637d-1e7e-9562-20d8212d8110"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=iF4oQiBd0g39nCcSiLa%2FlaqFeA7t0Odt10eFuAE866QZt29bAbpclJB48dGLKNKw377oL297X0evHCPjXvEvkkb%2FFHyoXYk8GqAeK2wrSnjn8ofREkvPs8qCmwtum3c2cI0AOmLLB%2Bk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9189167bfdc5c6d6-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7365&min_rtt=6699&rtt_var=2988&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2319&recv_bytes=1139&delivery_rate=421555&cwnd=247&unsent_bytes=0&cid=0938784504b94c6d&ts=206&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 0,\n        \"message\": \"Offer not found\"\n    }\n}"},{"id":"7916bb63-e17b-434b-9065-d4f3e9f8d683","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/offers/:offer_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","offers",":offer_id","claim"],"variable":[{"key":"customer_id","value":"280e674c","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"},{"key":"offer_id","value":"63e95c4d0c12a2615822e913","description":"(Required) The ID of the offer to be claimed. "}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2025 15:08:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"109"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"99993a36-13a9-6b46-99b7-f262179955bf"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7XyWo3mcFMWVofx8WBih%2BmyonM52%2BHIm%2F2NY7DhniGewI2JZcq7vDIeeN%2FNX0H84u1cAvtwpe1Im47h84%2FPs%2BSu%2FdN12lq9%2F6OMhS0qVRkUoWOejIFPZaMC7WRfUgSrMjeBj3Wn6VrI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"918917628fd4c6d6-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12479&min_rtt=6699&rtt_var=11899&sent=44&recv=44&lost=0&retrans=0&sent_bytes=5061&recv_bytes=2242&delivery_rate=421555&cwnd=250&unsent_bytes=0&cid=0938784504b94c6d&ts=37036&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 160212,\n        \"message\": \"Customer not found\"\n    }\n}"}],"_postman_id":"78830f15-9858-4599-b316-b163eb5103e7"}],"id":"60248e42-2c14-4659-bb77-3103acf66d37","_postman_id":"60248e42-2c14-4659-bb77-3103acf66d37","description":""},{"name":"Profiling","item":[{"name":"List profiling flows available to the customer","event":[{"listen":"prerequest","script":{"id":"ef35ccd1-e9ad-48c0-9c20-798afce8e200","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c115587f-3e68-4602-a0fd-f731b4aa1a19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling","description":"<p>This endpoints provides the list of all available profiling flow for a specific customer to complete.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","profiling"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be:</p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"e3390b5a-5d58-40fb-9611-6dbc526ae7f7","name":"List of profiling flows activities","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","profiling"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"6331b62a60265969697786\",\n      \"title\": \"Earn points by sharing your product preferences.\",\n      \"description\": \"Click Start and answer all the questions related to xour product preferences.\",\n      \"status\": \"active\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 100,\n      \"activity_type\": \"profiling\",\n      \"questions\": 5,\n      \"_actions\": {\n        \"next\": {\n          \"method\": \"GET\",\n          \"url\": \"/customers/c987654/activities/profiling/6331b62a60265969697786/next\"\n        }\n      }\n    }\n  ]\n}"},{"id":"109471a9-dc18-4ca4-8383-a55df15d76ba","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","profiling"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"c115587f-3e68-4602-a0fd-f731b4aa1a19"},{"name":"Retrieve the next question to answer within a profiling flow","event":[{"listen":"prerequest","script":{"id":"76ada68f-132f-4c01-a01b-e114cb4ee52d","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"639ab110-3bfe-4867-a9ef-18078af4918d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept-language","value":"<string>","description":"<p>If set in the Antavo Management UI, this header will ensure the response returns translated values for the following question attributes:</p>\n<ul>\n<li>title</li>\n<li>description</li>\n<li>possible answers</li>\n</ul>\n"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling/:flow_id/next","description":"<p>This endpoints returns the next question within a profiling flow that the customer should answer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","profiling",":flow_id","next"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) The ID of the profiling flow to complete.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"flow_id"}]}},"response":[{"id":"13f44027-b896-451e-9785-418ab9eec867","name":"The next question to answer. This example shows the attributes of a text_options question.","originalRequest":{"method":"GET","header":[{"key":"Accept-language","value":"<string>","description":"If set in the Antavo Management UI, this header will ensure the response returns translated values for the following question attributes:\n\n* title\n* description\n* possible answers\n"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling/:flow_id/next","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","profiling",":flow_id","next"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"flow_id","value":"63d8d8cc17572c6ec15e688c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"text_options\",\n  \"title\": \"What type of clothing do you most frequently shop for?\",\n  \"description\": \"Please select one category that you shop for the most often.\",\n  \"position\": \"2\",\n  \"multi-choice\": false,\n  \"answers\": [\n    [\n      {\n        \"id\": \"668966f298ce866bba0a3539\",\n        \"text\": \"Casual\"\n      },\n      {\n        \"id\": \"668966f298ce866bba0a353a\",\n        \"text\": \"Formal\"\n      },\n      {\n        \"id\": \"668966f298ce866bba0a353b\",\n        \"text\": \"Workwear\"\n      },\n      {\n        \"id\": \"668966f298ce866bba0a353c\",\n        \"text\": \"Loungewear\"\n      },\n      {\n        \"id\": \"668966f298ce866bba0a353d\",\n        \"text\": \"Activewear\"\n      }\n    ]\n  ],\n  \"_actions\": {\n    \"answer\": {\n      \"method\": \"POST\",\n      \"url\": \"/customers/c987654/activities/profiling/63d8d8cc17572c6ec15e688c/questions/6644deb1d959c7036f1875fd\"\n    }\n  }\n}"},{"id":"7ce8af1b-889c-4f51-a390-8c9ad75fae7b","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept-language","value":"<string>","description":"If set in the Antavo Management UI, this header will ensure the response returns translated values for the following question attributes:\n\n* title\n* description\n* possible answers\n"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling/:flow_id/next","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","profiling",":flow_id","next"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30"},{"key":"flow_id","value":"63d8d8cc17572c6ec15e688c"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"639ab110-3bfe-4867-a9ef-18078af4918d"},{"name":"Submit an answer to a profiling question","event":[{"listen":"prerequest","script":{"id":"8bd41644-b4a0-495c-b29c-5b0c355f5b78","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"244e22b1-1084-462e-98d7-f3b6399c98dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"answer\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling/:flow_id/questions/:question_id","description":"<p>This endpoint allows for submitting the customer's answers to profiling questions. Two types of events are recorded through this endpoint:</p>\n<ul>\n<li><p>A <code>profiling_answer</code> event is recorded each time an answer is submitted to a profiling question.</p>\n</li>\n<li><p>A <code>profiling_flow</code> event is recorded once all answers in a flow have been successfully submitted in separate requests. This event indicates that the entire profiling sequence has been completed.</p>\n</li>\n</ul>\n<p>Learn more about these events under the list of <a href=\"https://developers.antavo.com/docs/internal-events#profiling_answer\">Internal events</a>.</p>\n<p>The <code>answer</code> required body parameter should include the answer ID where available, or the answer text. For multiple answers an array should be passed. This should be a boolean value for <code>like</code> questions.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","profiling",":flow_id","questions",":question_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) The ID of the profiling flow to complete</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"flow_id"},{"description":{"content":"<p>(Required)  The ID of the question</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"question_id"}]}},"response":[{"id":"8febb954-d9c6-4899-851d-b717144d14b3","name":"Answer accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"answer\": \"01\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling/:flow_id/questions/:question_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","profiling",":flow_id","questions",":question_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"flow_id","value":"63d8d8cc17572c6ec15e688c"},{"key":"question_id","value":"6644de7e0404c52b512f2be8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Congratulations! You just finished our survey.\",\n  \"cta_label\": \"Back to my activities\"\n}"},{"id":"1934decd-5c6c-4522-ae61-1d399671a402","name":"Invalid answer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"answer\": \"This is an invalid answer\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling/:flow_id/questions/:question_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","profiling",":flow_id","questions",":question_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"flow_id","value":"63d8d8cc17572c6ec15e688c"},{"key":"question_id","value":"6644de7e0404c52b512f2be8"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"Invalid answer\"\n}"},{"id":"8d9dfbcf-f1b8-4031-9f5e-3f9678fc161f","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"answer\": \"01\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/profiling/:flow_id/questions/:question_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","profiling",":flow_id","questions",":question_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"},{"key":"flow_id","value":"63d8d8cc17572c6ec15e688c"},{"key":"question_id","value":"6644de7e0404c52b512f2be8"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"244e22b1-1084-462e-98d7-f3b6399c98dc"}],"id":"d5cb077d-9e8d-47d8-a21a-8bcae94e9cf3","_postman_id":"d5cb077d-9e8d-47d8-a21a-8bcae94e9cf3","description":""},{"name":"Data extensions","item":[{"name":"Retrieve Antavo data extensions","event":[{"listen":"prerequest","script":{"id":"e5b57494-d2b5-4c52-bbf7-bcd4df7726f8","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2f06dd3f-9290-4fdb-9d05-0c04b5e30a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/data/:data_extension","description":"<p>This endpoint allows for accesssing data of a specific customer stored in extensions.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","data",":data_extension"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Antavo data module. Currently, the <code>profiling</code> extension is available which provides a customer's answers to profiling questions.</p>\n","type":"text/plain"},"type":"any","value":"profiling","key":"data_extension"}]}},"response":[{"id":"4071caaa-ff6d-431d-9206-1d04330695f7","name":"Returned data structure","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/data/:data_extension","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","data",":data_extension"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"data_extension","value":"profiling"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"questions\": [\n    {\n      \"answers\": [\n        {\n          \"id\": \"63d8dfb4d8ae5c1cc0342958\",\n          \"text\": \"Dress with stilettos\"\n        }\n      ],\n      \"id\": \"63d8dfb6d8ae5c1cc034295e\",\n      \"title\": \"How do you dress on an average day?\",\n      \"flow\": {\n        \"title\": \"Product preferences\",\n        \"id\": \"63d8d8cc17572c6ec15e688c\"\n      }\n    },\n    {\n      \"answers\": [\n        {\n          \"id\": \"668966f298ce866bba0a3539\",\n          \"text\": \"Casual\"\n        }\n      ],\n      \"id\": \"6644de7e0404c52b512f2be8\",\n      \"title\": \"What type of clothing do you most frequently shop for?\",\n      \"flow\": {\n        \"title\": \"Product preferences\",\n        \"id\": \"63d8d8cc17572c6ec15e688c\"\n      }\n    },\n    {\n      \"answers\": [\n        3\n      ],\n      \"id\": \"6644df66e95cbe2c3e4bdc8a\",\n      \"title\": \"How satisfied are you with your overall shopping experience?\",\n      \"flow\": []\n    }\n  ]\n}"},{"id":"2f3b232d-3ad3-4609-9ad5-43a7c198dbaf","name":"Bad request - extension is not available","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/data/:data_extension","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","data",":data_extension"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"data_extension","value":"items"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"value\": {\n    \"type\": \"BadRequestException\",\n    \"message\": \"Not found\",\n    \"code\": 160401\n  }\n}"},{"id":"a86a1045-0867-473f-811a-da8621681c3c","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/data/:data_extension","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","data",":data_extension"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"},{"key":"data_extension","value":"profiling"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"value\": {\n    \"type\": \"NotFoundException\",\n    \"message\": \"Customer not found\",\n    \"code\": 160212\n  }\n}"}],"_postman_id":"2f06dd3f-9290-4fdb-9d05-0c04b5e30a93"}],"id":"5b0c343b-1108-459f-839f-181b571209d6","_postman_id":"5b0c343b-1108-459f-839f-181b571209d6","description":""},{"name":"Quizzes","item":[{"name":"List all quizzes","event":[{"listen":"prerequest","script":{"id":"8eb35740-4063-43b3-9193-356546561e81","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4ab4e235-5b6c-4eba-aa81-e06b038b54d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes","description":"<p>This endpoint returns all configured quiz questions that the customer may answer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","quizzes"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting number of quiz questions to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of quiz questions returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Defaults to 20</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"abe2b44a-ea8c-4cdc-b31d-7d00d610b171","name":"List of all quiz questions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","quizzes"],"query":[{"key":"offset","value":"<integer>","description":"Offsets the starting number of quiz questions to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of quiz questions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 20","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"description\": \"Select the correct answer.\",\n      \"quiz_url\": \"/customers/testcustomer/activities/quizzes/6689b5735aa0eb191451a2f5\",\n      \"id\": \"6689b5735aa0eb191451a2f5\",\n      \"title\": \"Fashion quiz\",\n      \"status\": \"active\",\n      \"points\": 100\n    }\n  ],\n  \"total\": 1\n}"},{"id":"ded05f20-a064-41e8-a376-5a76d81d9cb4","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","quizzes"],"query":[{"key":"offset","value":"<integer>","description":"Offsets the starting number of quiz questions to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of quiz questions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 20","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not Found\"\n}"}],"_postman_id":"4ab4e235-5b6c-4eba-aa81-e06b038b54d0"},{"name":"List quiz details","event":[{"listen":"prerequest","script":{"id":"42c20dd0-d928-4415-8217-7d36df020c22","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"0c3816fb-23ae-4e3c-9256-a765e3072313","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes/:quiz_id","description":"<p>This endpoint returns configured attributes of quiz questions.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","quizzes",":quiz_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique identifier of the quiz.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"quiz_id"}]}},"response":[{"id":"d5fce8e1-1b28-4e9c-840a-99b335dcd1ea","name":"Quiz details","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes/:quiz_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","quizzes",":quiz_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"quiz_id","value":"6689b5735aa0eb191451a2f5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"6689b5735aa0eb191451a2f5\",\n  \"title\": \"Fashion quiz\",\n  \"description\": \"Select the correct answer\",\n  \"status\": \"active\",\n  \"image\": {\n    \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n    \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n    \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n  },\n  \"points\": 100,\n  \"quiz_url\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/activities/quizzes/6689b5735aa0eb191451a2f5/earn\",\n  \"answers\": [\n    \"Coco Chanel\",\n    \"Gianni Versace\",\n    \"Ralph Lauren\",\n    \"Christian Dior\"\n  ],\n  \"correct_answer\": \"Coco Chanel\"\n}"},{"id":"50ee05e3-2037-411b-9414-a6bfe91abcea","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes/:quiz_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","quizzes",":quiz_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987"},{"key":"quiz_id","value":"6689b5735aa0eb191451a2f5"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not Found\"\n}"}],"_postman_id":"0c3816fb-23ae-4e3c-9256-a765e3072313"},{"name":"Submit an answer to a quiz","event":[{"listen":"prerequest","script":{"id":"8ffedbad-db54-4bff-a4a3-f79de13bc457","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ddc4cd23-c9f1-46c8-9a4e-6a6ec88bb735","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"answer\": \"<integer>\"\r\n}"},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes/:quiz_id/earn","description":"<p>This endpoint allows for the submission of answers to quiz questions.</p>\n<p>The <code>answer</code> required body parameter should include the answer as an index of the possible answers array.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","quizzes",":quiz_id","earn"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique identifier of the quiz.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"quiz_id"}]}},"response":[{"id":"c607c1ef-6f17-4988-971d-3cfee154722f","name":"Quiz completed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"answer\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes/:quiz_id/earn","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","quizzes",":quiz_id","earn"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"quiz_id","value":"6689b5735aa0eb191451a2f5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"correct_answer\": true,\n  \"message\": \"Well done! You've just earned 100 points!\"\n}"},{"id":"4fa29b47-5252-42cd-9e06-1b531c7d7ada","name":"Quiz not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"answer\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/quizzes/:quiz_id/earn","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","quizzes",":quiz_id","earn"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"quiz_id","value":"invalid_quiz_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"message\": \"Not found\",\n  \"code\": 0\n}"}],"_postman_id":"ddc4cd23-c9f1-46c8-9a4e-6a6ec88bb735"}],"id":"89c52654-c8b5-4e75-af14-d003423075af","_postman_id":"89c52654-c8b5-4e75-af14-d003423075af","description":""},{"name":"Rewards","item":[{"name":"List all available rewards for a customer","event":[{"listen":"prerequest","script":{"id":"dcdef8d5-aeb4-4f50-819e-f9ffb75a137a","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d353f507-0e42-4975-9f2a-39b130d771d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards","description":"<p>This endpoints provides the list of all available rewards for a specific customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","rewards"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Comma separated list of non-standard fields to be included in the response. Accepted values: </p>\n<ul>\n<li><p><code>claims</code>: See the claimed rewards and associated information for each <strong>currently</strong> available reward.</p>\n</li>\n<li><p><code>custom_data</code>: Access this field set in the reward configuration.</p>\n</li>\n<li><p><code>gallery</code>: Provides, where available, image links specified in the reward configuration.</p>\n</li>\n<li><p><code>instructions</code>: Access redeem instructions set in the reward configuration.</p>\n</li>\n<li><p><code>terms</code>: Access terms and conditions set in the reward configuration.</p>\n</li>\n<li><p>Any custom attributes configued in the <a href=\"https://docs.antavo.com/docs/custom-entities#adding-custom-entity-attributes\">Entities module</a> with <code>cf_</code> prefix.</p>\n</li>\n</ul>\n","type":"text/plain"},"key":"fields","value":"<string>"},{"disabled":true,"description":{"content":"<p>Limits the number of rewards to be returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Defaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of rewards to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Sorts the results by the selected value, which can be <code>starts_at</code>, <code>ends_at</code>, or <code>order</code>. This query can be used in conjunction with the order query.</p>\n","type":"text/plain"},"key":"sort","value":"<string>"},{"disabled":true,"description":{"content":"<p>Used in conjunction with the sort query to list the results in ascending or descending order. The value can be <code>asc</code> for an ascending order or <code>desc</code> for a descending order.</p>\n","type":"text/plain"},"key":"order","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"627c2efc-853e-4fcd-b285-bbfb604ca819","name":"List of rewards - This example shows the attributes of a coupon reward.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards?fields=gallery,instructions,terms&limit=100","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards"],"query":[{"key":"fields","value":"gallery,instructions,terms","description":"Comma separated list of non-standard fields to be included in the response. Accepted values: \n\n* `claims`: See the claimed rewards and associated information for each **currently** available reward.\n\n* `custom_data`: Access this field set in the reward configuration.\n\n* `gallery`: Provides, where available, image links specified in the reward configuration.\n\n* `instructions`: Access redeem instructions set in the reward configuration.\n\n* `terms`: Access terms and conditions set in the reward configuration.\n\n* Any custom attributes configued in the [Entities module](https://docs.antavo.com/docs/custom-entities#adding-custom-entity-attributes) with `cf_` prefix.\n"},{"key":"limit","value":"100","description":"Limits the number of rewards to be returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 100"},{"key":"offset","value":"<integer>","description":"Offsets the starting number of rewards to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"sort","value":"<string>","description":"Sorts the results by the selected value, which can be `starts_at`, `ends_at`, or `order`. This query can be used in conjunction with the order query.","disabled":true},{"key":"order","value":"<string>","description":"Used in conjunction with the sort query to list the results in ascending or descending order. The value can be `asc` for an ascending order or `desc` for a descending order.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5c17c37f71f86e7f798b4576\",\n      \"title\": \"20% Off on Winter Collection\",\n      \"description\": \"Example reward description\",\n      \"status\": \"active\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 700,\n      \"type\": \"bidding\",\n      \"starts_at\": \"2020-07-21T12:00:00.000Z\",\n      \"ends_at\": \"2020-12-21T12:00:00.000Z\",\n      \"gallery\": [\n        {\n          \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n          \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n          \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n        }\n      ],\n      \"terms\": \"string\",\n      \"instructions\": \"string\",\n      \"_actions\": {\n        \"complete\": {\n          \"method\": \"POST\",\n          \"url\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/activities/rewards/5c17c37f71f86e7f798b4576/claim\"\n        }\n      },\n      \"stock\": 42,\n      \"coupon_pool\": \"5b22a37f71f92e7f798q4186\",\n      \"transferable\": true,\n      \"transfer_points\": 0,\n      \"transfer_limit\": 1,\n      \"transfer_coupon_expiration\": \"modify\",\n      \"transfer_coupon_expires_in\": \"2 weeks\"\n    }\n  ]\n}"},{"id":"951206bc-0e38-42ff-a38c-9a687b0393a4","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards?fields=gallery,instructions,terms&limit=100","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards"],"query":[{"key":"fields","value":"gallery,instructions,terms","description":"Comma separated list of non-standard fields to be included in the response. Accepted values: \n\n* `claims`: See the claimed rewards and associated information for each **currently** available reward.\n\n* `custom_data`: Access this field set in the reward configuration.\n\n* `gallery`: Provides, where available, image links specified in the reward configuration.\n\n* `instructions`: Access redeem instructions set in the reward configuration.\n\n* `terms`: Access terms and conditions set in the reward configuration.\n\n* Any custom attributes configued in the [Entities module](https://docs.antavo.com/docs/custom-entities#adding-custom-entity-attributes) with `cf_` prefix.\n"},{"key":"limit","value":"100","description":"Limits the number of rewards to be returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 100"},{"key":"offset","value":"<integer>","description":"Offsets the starting number of rewards to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"sort","value":"<string>","description":"Sorts the results by the selected value, which can be `starts_at`, `ends_at`, or `order`. This query can be used in conjunction with the order query.","disabled":true},{"key":"order","value":"<string>","description":"Used in conjunction with the sort query to list the results in ascending or descending order. The value can be `asc` for an ascending order or `desc` for a descending order.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"d353f507-0e42-4975-9f2a-39b130d771d8"},{"name":"Retrieve a specific reward available for a customer","event":[{"listen":"prerequest","script":{"id":"049767dc-4472-42ca-b56e-bba71849a0d4","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"dbbca7c8-0dd8-4cca-a6b6-879198214731","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id?fields=<string>","description":"<p>A endpoint provides detailed information about a specified reward available for a specific customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","rewards",":reward_id"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Use the <code>claims</code> field to see the claimed rewards and associated information for each <strong>currently</strong> available reward.</p>\n","type":"text/plain"},"key":"fields","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique indentifier of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"reward_id"}]}},"response":[{"id":"b635713e-05c5-4022-9bb0-305f695bc2b9","name":"The list of attributes of the reward. This example shows the attributes of claiming a dynamic coupon reward.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id?fields=claims","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id"],"query":[{"key":"fields","value":"claims","description":"Use the `claims` field to see the claimed rewards and associated information for each **currently** available reward.\n"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668434f93d963535a513bf37"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"5c17c37f71f86e7f798b4576\",\n  \"type\": \"bidding\",\n  \"title\": \"Summer Splash Discount\",\n  \"description\": \"Convert your points into summer savings—redeem 100 points for €1 each.\",\n  \"terms\": \"Minimum 100 points, minimum purchase: €20, no sale items, gift cards, or other promotions.\",\n  \"instructions\": \"Enter points to redeem for the coupon, and click Claim.\",\n  \"category\": {\n    \"id\": \"64c0d6457fba49389604e065\",\n    \"name\": \"Coupon rewards\"\n  },\n  \"stock\": 42,\n  \"max_claims\": 10,\n  \"max_price\": 500,\n  \"price_step\": 0,\n  \"status\": \"active\",\n  \"image\": {\n    \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n    \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n    \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n  },\n  \"points\": 0,\n  \"coupon_pool\": \"6671a296f30e8a1a0f2f3815\",\n  \"starts_at\": \"2024-06-30T12:00:00.000Z\",\n  \"ends_at\": \"2024-07-25T12:00:00.000Z\",\n  \"exchange_rate\": 1,\n  \"transferable\": true,\n  \"transfer_points\": null,\n  \"transfer_limit\": 1,\n  \"transfer_coupon_expiration\": \"modify\",\n  \"transfer_coupon_expires_in\": \"2 weeks\",\n  \"custom_data\": {},\n  \"stores\": {\n    \"id\": \"I004\",\n    \"name\": \"004 Dublin\"\n  },\n  \"_actions\": {\n    \"complete\": {\n      \"method\": \"POST\",\n      \"url\": \"/customers/c987654/activities/rewards/5c17c37f71f86e7f798b4576/claim\"\n    }\n  },\n  \"claims\": {\n    \"created_at\": \"2024-07-02T17:59:10.000Z\",\n    \"first_claimed_at\": \"2024-07-02T17:59:10.000Z\",\n    \"last_claimed_at\": \"2024-07-02T17:59:10.000Z\",\n    \"claims\": 1,\n    \"spent\": 300,\n    \"coupons\": {\n      \"code\": \"string\",\n      \"status\": \"string\",\n      \"created_at\": \"2024-07-02T17:59:10.000Z\",\n      \"customer\": {\n        \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\"\n      },\n      \"name\": \"Summer Splash Discount\",\n      \"claimed_at\": \"2024-07-02T17:59:10.000Z\",\n      \"type\": \"string\",\n      \"pool\": \"string\",\n      \"value\": 0\n    }\n  }\n}"},{"id":"1d789968-6b49-4a88-81e0-c1e7d0a73bec","name":"Bad request - Reward is not active","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id"],"query":[{"key":"fields","value":"<string>","description":"Use the `claims` field to see the claimed rewards and associated information for each **currently** available reward.\n","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668434f93d963535a513bf37"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 160321,\n  \"message\": \"Reward is not active\"\n}"},{"id":"f38c0d7b-5cf7-4a1c-a98e-bef20a6bcbee","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id"],"query":[{"key":"fields","value":"<string>","description":"Use the `claims` field to see the claimed rewards and associated information for each **currently** available reward.\n","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668434f93d963535a513bf37"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"dbbca7c8-0dd8-4cca-a6b6-879198214731"},{"name":"Claim a reward for a specific customer","event":[{"listen":"prerequest","script":{"id":"f8f87e8c-403a-4536-b11d-855d8408ca9c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"41ba4251-1fe1-4e31-b8d4-980ad0480c3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": \"<integer>\",\r\n  \"count\": \"<integer>\"\r\n}"},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/claim?fields=<string>","description":"<p>This endpoint allows for claiming a reward for a customer.</p>\n<p>A request body is <strong>only</strong> required for specific scenarios.</p>\n<ol>\n<li><p>Dynamic rewards: The stated points are used to calculate the value of the generated dynamic coupon.</p>\n</li>\n<li><p>Making multiple claims in a single API request: Repeated identical reward claims can be combined into an single request, reducing API traffic.</p>\n</li>\n</ol>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p>points: Points to be used when claiming a dynamic type of reward.</p>\n</li>\n<li><p>count: The number of times that the reward is claimed in a single API request. This is only needed for multiple claims.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","rewards",":reward_id","claim"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Returns additional objects in the response, using a comma separated list. Options: </p>\n<ul>\n<li><strong>customer</strong>: The complete customer response object with all customer attributes.</li>\n<li><strong>reward</strong>: The complete reward object with all reward attributes.</li>\n</ul>\n","type":"text/plain"},"key":"fields","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique reward ID.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"reward_id"}]}},"response":[{"id":"d69a7924-5b8d-4ab4-b501-49af4f3c0f1d","name":"Claim result. A coupon object is returned only for coupon rewards.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"points","value":"<integer>","description":"Points to be used when claiming a dynamic type of reward."},{"key":"count","value":"<integer>","description":"The number of times that the reward is claimed in a single API request. This is only needed for multiple claims."}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","claim"],"query":[{"key":"fields","value":"<string>","description":"Returns additional objects in the response, using a comma separated list. Options: \n\n- **customer**: The complete customer response object with all customer attributes.\n- **reward**: The complete reward object with all reward attributes.\n","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"spent\": 700,\n  \"id\": \"string\",\n  \"last_claimed_at\": \"2021-11-23T08:34:59.000Z\",\n  \"coupon\": {\n    \"code\": \"TC22341\",\n    \"status\": \"claimed\",\n    \"type\": \"percentage\",\n    \"value\": 10,\n    \"created_at\": \"2021-11-23T08:34:59.000Z\",\n    \"claimed_at\": \"2021-11-23T08:34:59.000Z\",\n    \"name\": \"10% coupon codes\",\n    \"pool\": \"62c7f20687632a561f16499b\",\n    \"customer\": {\n      \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\"\n    }\n  }\n}"},{"id":"1d93edb4-b829-4a5e-8582-8b2b77eaa113","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": 700,\r\n  \"count\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/claim","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","claim"],"query":[{"key":"fields","value":"<string>","description":"Returns additional objects in the response, using a comma separated list. Options: \n\n- **customer**: The complete customer response object with all customer attributes.\n- **reward**: The complete reward object with all reward attributes.\n","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"Reward is not active\": {\n    \"value\": {\n      \"type\": \"BadRequestException\",\n      \"message\": \"Reward is not active\",\n      \"code\": 160321\n    }\n  }\n}"},{"id":"b9fec05c-e268-4e30-a331-f825d5733b53","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": 700,\r\n  \"count\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/claim?fields=<string>","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","claim"],"query":[{"key":"fields","value":"<string>","description":"Returns additional objects in the response, using a comma separated list. Options: \n\n- **customer**: The complete customer response object with all customer attributes.\n- **reward**: The complete reward object with all reward attributes.\n"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"},{"key":"reward_id","value":"63dcb7736123782ba6336425"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"41ba4251-1fe1-4e31-b8d4-980ad0480c3b"},{"name":"Revoke a previously claimed reward","event":[{"listen":"prerequest","script":{"id":"6e4c6028-084f-4b32-bbdc-ab074918270e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"21911688-158a-4d31-8523-7755472bbbb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"<string>\"\r\n}"},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/revoke","description":"<p>This endpoint revokes a specific reward claim.</p>\n<p>The <code>event</code> body parameter should include the unique indentifier of the reward claim event.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","rewards",":reward_id","revoke"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique indentifier of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"reward_id"}]}},"response":[{"id":"4d7506cf-af94-4a5d-9546-bf75bb234071","name":"Successful revoke","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"event","value":"66676986c688963c28608f0c","description":"The unique indentifier of the reward claim event."}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/revoke","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","revoke"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668434f93d963535a513bf37"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"1ede6558-2063-44f0-9441-39910de936e1","name":"Claim cannot be revoked","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"66676986c688963c28608f0c\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/revoke","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","revoke"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668434f93d963535a513bf37"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 160344,\n  \"message\": \"Claim event already revoked\"\n}"},{"id":"e164f2f5-c083-47dd-8431-79218ba3a208","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"66676986c688963c28608f0c\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/revoke","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","revoke"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668434f93d963535a513bf37"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"21911688-158a-4d31-8523-7755472bbbb1"},{"name":"Submit a bid for the customer on a specified bidding reward","event":[{"listen":"prerequest","script":{"id":"79fa83fb-fbed-4dfb-9b5f-8fd535bebe6c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b1e630cb-4801-47ae-be21-69cdfa3a10f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"amount\": \"<integer>\"\r\n}"},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/bid","description":"<p>The endpoint automatically calculates and submits a bid for a specified customer on the specific bidding reward. The bid amount is based on the current highest bid and the <a href=\"https://docs.antavo.com/docs/rewards#bidding-rewards\">bid step</a>, which is set in the Antavo Management UI.</p>\n<p>Manually set value for bids is possible by submitting an amount value in the <code>amount</code> parameter of the request body. If no bid is submitted, the new bid amount will be the <code>current value</code> + <code>bid step</code> defined in the Management UI.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","rewards",":reward_id","bid"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique indentifier of the reward.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"reward_id"}]}},"response":[{"id":"78e8d36f-1c26-40d0-8f2b-c19816d4b602","name":"Bid successfully submitted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"50","description":"A specific value for a bid. If empty, the automatic bid with a value <code>current value</code> + <code>bid step</code> will be submitted."}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/bid","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","bid"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668477027cad34756c6cf005"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"instructions\": \"Enter your bid amount and confirm your bid.\",\n  \"terms\": \"Starting bid is 0 point, minimum increment of 50 points, the highest bid at the end of the auction wins the reward.\",\n  \"type\": \"bidding\",\n  \"_actions\": {\n    \"complete\": {\n      \"method\": \"POST\",\n      \"url\": \"/customers/[customer_id]/activities/rewards/613d1e0615d3b87b0b000004/bid\"\n    }\n  },\n  \"starts_at\": \"2021-09-10T21:21:00.000Z\",\n  \"ends_at\": \"2021-09-30T21:21:00.000Z\",\n  \"bid_step\": 10,\n  \"highest_bid\": {\n    \"own\": true,\n    \"points\": 50\n  },\n  \"category\": {\n    \"id\": \"64c0d6457fba49389344e065\",\n    \"name\": \"Bidding rewards\"\n  },\n  \"id\": \"613d1e0615d3b87b0b000004\",\n  \"status\": \"active\",\n  \"title\": \"Exclusive Designer Handbag Auction\",\n  \"description\": \"Bid on an exclusive designer handbag and make it yours! This high-value fashion reward is available to the highest bidder, so use your points wisely.\",\n  \"image\": {\n    \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n    \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n    \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n  },\n  \"points\": 0,\n  \"transferable\": true,\n  \"transfer_points\": null,\n  \"transfer_limit\": 1\n}"},{"id":"2e71be9b-51b5-4f29-aed0-87960b1c2abe","name":"Reward is not active","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/bid","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","bid"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668477027cad34756c6cf005"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"message\": \"Reward is not active\",\n  \"code\": 160321\n}"},{"id":"358b645d-0a16-42e4-86d9-c5c7368c84ff","name":"Reward not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/rewards/:reward_id/bid","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","rewards",":reward_id","bid"],"query":[{"key":null,"value":"","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"reward_id","value":"668477027cad34756c6cf005"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"message\": \"Not Found\",\n  \"code\": 0\n}"}],"_postman_id":"b1e630cb-4801-47ae-be21-69cdfa3a10f5"},{"name":"List a customer's claimed rewards","event":[{"listen":"prerequest","script":{"id":"8d38a00b-f445-40f4-8d58-db3e1c69aed4","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"20116e16-5ec6-4673-8124-b0a1a7724ccc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/rewards","description":"<p>This endpoint provides the detailed list a customer's claimed rewards.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","rewards"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Comma separated list of non-standard fields to be included in the response. Accepted values: </p>\n<ul>\n<li><p><code>category</code>: Displays the reward's category, if assigned.</p>\n</li>\n<li><p><code>custom_data</code>: Access this field set in the reward configuration.</p>\n</li>\n<li><p><code>stock</code>: Access this field set in the reward configuration.</p>\n</li>\n<li><p><code>gallery</code>: Provides, where available, image links specified in the reward configuration.</p>\n</li>\n<li><p><code>instructions</code>: Access redeem instructions set in the reward configuration.</p>\n</li>\n<li><p><code>terms</code>: Access terms and conditions set in the reward configuration.</p>\n</li>\n<li><p>Any custom attributes configued in the <a href=\"https://docs.antavo.com/docs/custom-entities#adding-custom-entity-attributes\">Entities module</a> with <code>cf_</code> prefix.</p>\n</li>\n</ul>\n","type":"text/plain"},"key":"fields","value":"<string>"},{"disabled":true,"description":{"content":"<p>Limits the number of claimed rewards to be returned in one response. Additional claimed rewards can be accessed through pagination using the offset.</p>\n<p>Defaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of claimed rewards to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Used in conjunction with the order query to sort the results in the selected order (ascending order by defualt).</p>\n","type":"text/plain"},"key":"sort","value":"<string>"},{"disabled":true,"description":{"content":"<p>Used in conjunction with the sort query to list the results in ascending or descending order. The value can be <code>asc</code> for an ascending order or <code>desc</code> for a descending order.</p>\n","type":"text/plain"},"key":"order","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"62cc283f-0218-432c-9571-52a5d934851c","name":"List of reward claims","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/rewards?limit=100&offset=0","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","rewards"],"query":[{"key":"fields","value":"<string>","description":"Comma separated list of non-standard fields to be included in the response. Accepted values: \n\n* `category`: Displays the reward's category, if assigned.\n\n* `custom_data`: Access this field set in the reward configuration.\n\n* `stock`: Access this field set in the reward configuration.\n\n* `gallery`: Provides, where available, image links specified in the reward configuration.\n\n* `instructions`: Access redeem instructions set in the reward configuration.\n\n* `terms`: Access terms and conditions set in the reward configuration.\n\n* Any custom attributes configued in the [Entities module](https://docs.antavo.com/docs/custom-entities#adding-custom-entity-attributes) with `cf_` prefix.\n","disabled":true},{"key":"limit","value":"100","description":"Limits the number of claimed rewards to be returned in one response. Additional claimed rewards can be accessed through pagination using the offset.\n\nDefaults to 100"},{"key":"offset","value":"0","description":"Offsets the starting number of claimed rewards to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0"},{"key":"sort","value":"<string>","description":"Used in conjunction with the order query to sort the results in the selected order (ascending order by defualt).","disabled":true},{"key":"order","value":"<string>","description":"Used in conjunction with the sort query to list the results in ascending or descending order. The value can be `asc` for an ascending order or `desc` for a descending order.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n      \"data\": [\n        {\n          \"image\": {\n            \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n            \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n            \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n          },\n          \"transfer_coupon_expires_in\": \"string\",\n          \"spent\": 450,\n          \"transferable\": true,\n          \"description\": \"Spend points to claim a free shipping coupon.\",\n          \"created_at\": \"2012-12-15T09:12:53.000Z\",\n          \"transfer_limit\": 1,\n          \"type\": \"bidding\",\n          \"title\": \"Free shipping\",\n          \"transfer_coupon_expiration\": \"remains\",\n          \"points\": 450,\n          \"_actions\": {\n            \"complete\": {\n              \"method\": \"POST\",\n              \"url\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/activities/rewards/62cc0d5809d6a65e880d7165/claim\"\n            }\n          },\n          \"coupons\": [\n            {\n              \"redeemed_at\": \"2024-06-27T10:41:41.000Z\",\n              \"claimed_at\": \"2024-06-19T00:47:23.000Z\",\n              \"code\": \"TC22341\",\n              \"pool\": \"62c7f20687632a561f16499b\",\n              \"name\": \"Free shipping coupons\",\n              \"created_at\": \"2024-06-19T00:47:23.000Z\",\n              \"type\": \"free_shipping\",\n              \"customer\": [],\n              \"status\": \"invalid\"\n            }\n          ],\n          \"last_claimed_at\": \"2024-06-19T00:47:23.000Z\",\n          \"claims\": 1,\n          \"first_claimed_at\": \"2024-06-19T00:47:23.000Z\",\n          \"id\": \"62cc0d5809d6a65e880d7165\",\n          \"transfer_points\": 0,\n          \"coupon_pool\": \"6671a296f30e8a1a0f2f3815\",\n          \"status\": \"active\"\n        }\n      ],\n      \"total\": 1\n    }"},{"id":"e98f8a86-97fa-43ec-b1f2-6fd8c99664c7","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/rewards?limit=100&offset=0","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","rewards"],"query":[{"key":"fields","value":"<string>","description":"Comma separated list of non-standard fields to be included in the response. Accepted values: \n\n* `category`: Displays the reward's category, if assigned.\n\n* `custom_data`: Access this field set in the reward configuration.\n\n* `stock`: Access this field set in the reward configuration.\n\n* `gallery`: Provides, where available, image links specified in the reward configuration.\n\n* `instructions`: Access redeem instructions set in the reward configuration.\n\n* `terms`: Access terms and conditions set in the reward configuration.\n\n* Any custom attributes configued in the [Entities module](https://docs.antavo.com/docs/custom-entities#adding-custom-entity-attributes) with `cf_` prefix.\n","disabled":true},{"key":"limit","value":"100","description":"Limits the number of claimed rewards to be returned in one response. Additional claimed rewards can be accessed through pagination using the offset.\n\nDefaults to 100"},{"key":"offset","value":"0","description":"Offsets the starting number of claimed rewards to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0"},{"key":"sort","value":"<string>","description":"Used in conjunction with the order query to sort the results in the selected order (ascending order by defualt).","disabled":true},{"key":"order","value":"<string>","description":"Used in conjunction with the sort query to list the results in ascending or descending order. The value can be `asc` for an ascending order or `desc` for a descending order.","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"message\": \"Customer not found\",\n  \"code\": 160212\n}"}],"_postman_id":"20116e16-5ec6-4673-8124-b0a1a7724ccc"}],"id":"3bbf0183-b9c4-4d42-b476-8a549b253123","_postman_id":"3bbf0183-b9c4-4d42-b476-8a549b253123","description":""},{"name":"Transactions","item":[{"name":"Retrieve the transaction history for a specific customer","event":[{"listen":"prerequest","script":{"id":"dd4de44b-2695-4623-bd0d-f4fbc2595db1","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"199c0432-c8f5-4462-a4e1-601e92793ceb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions?limit=<integer>&offset=<integer>&id=<string>","description":"<p>This endpoint provides a detailed list of a customer's transactions. \nEach returned transaction contains the transaction ID; transaction status and all other related transaction information submitted in the initial event.</p>\n<p>The list of returned transactions  can also be subsequently paginated by limiting the number of returned transactions and subsequently offsetting the returned transactions.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","transactions"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Limits the number of transactions to be returned in one response. Other values are accessible by pagination made accessible via the offset</p>\n<p>Default value : 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"description":{"content":"<p>Offsets the starting number of transactions to return. This is used in pagination in conjunction with the limit query. </p>\n<p>Default value : 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>Filters transactions by their unique transaction ID. You can use this parameter to retrieve a specific transaction based on the ID.</p>\n","type":"text/plain"},"key":"id","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li><p>The Antavo unique ID.</p>\n</li>\n<li><p>An external ID (requires configuration): <code>{external_field:external_id_value}</code></p>\n</li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"d15393b5-a2a6-4ee5-b4fa-f816ac8fdc80","name":"Customer transaction history data","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions?limit=100&offset=0&id=T10000024","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions"],"query":[{"key":"limit","value":"100","description":"Limits the number of transactions to be returned in one response. Other values are accessible by pagination made accessible via the offset\n\nDefault value : 100\n"},{"key":"offset","value":"0","description":"Offsets the starting number of transactions to return. This is used in pagination in conjunction with the limit query. \n\nDefault value : 0\n"},{"key":"id","value":"T10000024","description":"Filters transactions by their unique transaction ID. You can use this parameter to retrieve a specific transaction based on the ID."}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"T10000024\",\n      \"status\": \"accepted\",\n      \"event\": \"5e7a80e264f2c53cac000005\",\n      \"created_at\": \"2020-04-01T10:41:10.000Z\",\n      \"updated_at\": \"2020-06-01T10:41:10.000Z\",\n      \"total\": 99.9,\n      \"items\": [\n        {\n          \"product_id\": \"prd_987654\",\n          \"quantity\": 3,\n          \"subtotal\": 99.9\n        }\n      ]\n    }\n  ]\n}"},{"id":"20ba7245-6d66-4711-802e-0385338ea8d1","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions?limit=100&offset=0&id=T10000024","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions"],"query":[{"key":"limit","value":"100","description":"Limits the number of transactions to be returned in one response. Other values are accessible by pagination made accessible via the offset\n\nDefault value : 100\n"},{"key":"offset","value":"0","description":"Offsets the starting number of transactions to return. This is used in pagination in conjunction with the limit query. \n\nDefault value : 0\n"},{"key":"id","value":"T10000024","description":"Filters transactions by their unique transaction ID. You can use this parameter to retrieve a specific transaction based on the ID"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 160212,\n    \"message\": \"Customer not found\"\n  }\n}"}],"_postman_id":"199c0432-c8f5-4462-a4e1-601e92793ceb"},{"name":"Retrieve a specified transaction for a specific customer","event":[{"listen":"prerequest","script":{"id":"43201a02-badc-43d6-9f24-fb2bbd94e647","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"15aa8af7-f7c9-4ee3-951a-81e88444aed4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/:transaction_id?fields=<string>","description":"<p>This endpoint provides a detailed breakdown of a customer's transaction.<br />If you need to retrieve the event ID that created the transaction, use the <a href=\"https://developers.antavo.com/reference/get_customers-customer-id-transactions\">/transactions</a> endpoint with the <code>id</code> query parameter to access the corresponding event information.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","transactions",":transaction_id"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Include non-standard fields in the response. Accepted values:</p>\n<ul>\n<li><code>events</code>: Display events related to the specified transaction.</li>\n</ul>\n","type":"text/plain"},"key":"fields","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Transaction ID.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"transaction_id"}]}},"response":[{"id":"4da6ed4e-5cc4-4102-8f55-41b9dd4e501a","name":"Data of a specific transaction","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/:transaction_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions",":transaction_id"],"query":[{"key":"fields","value":"<string>","description":"Include non-standard fields in the response. Accepted values:\n\n* `events`: Display events related to the specified transaction.\n","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"transaction_id","value":"TR37882412"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"TR37882412\",\n      \"status\": \"accepted\",\n      \"created_at\": \"2020-04-01T10:41:10.000Z\",\n      \"updated_at\": \"2020-06-01T10:41:10.000Z\",\n      \"total\": 99.9,\n      \"items\": [\n        {\n          \"product_id\": \"prd_987654\",\n          \"quantity\": 3,\n          \"subtotal\": 99.9\n        }\n      ],\n      \"earned\": 99,\n      \"burned\": 12,\n      \"bonus\": 23,\n      \"refunded\": 0\n    }\n  ]\n}"},{"id":"0dd4aa2e-f657-4615-866b-2c650cdc16b3","name":"Transaction not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/:transaction_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions",":transaction_id"],"query":[{"key":"fields","value":"<string>","description":"Include non-standard fields in the response. Accepted values:\n\n* `events`: Display events related to the specified transaction.\n","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a50"},{"key":"transaction_id","value":"TR37672412"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 0,\n  \"message\": \"Transaction not found\"\n}"}],"_postman_id":"15aa8af7-f7c9-4ee3-951a-81e88444aed4"},{"name":"List all events associated with a specified transaction for a specific customer","event":[{"listen":"prerequest","script":{"id":"6229fdc0-3f55-4737-afbf-9865b6f4bbff","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"16225ddb-39e6-4ce0-ac9b-897513178deb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/:transaction_id/events?action=<string>&date=<string>&offset=<integer>&limit=<integer>","description":"<p>This endpoint provides a detailed breakdown of a specified customer's transaction.</p>\n<p>The following events are returned by this endpoint:</p>\n<ul>\n<li><p>checkout, checkout_item.</p>\n</li>\n<li><p>checkout_update, checkout_update_item.</p>\n</li>\n<li><p>checkout_accept, checkout_reject.</p>\n</li>\n<li><p>point_add,point_spend,point_unspend.</p>\n</li>\n<li><p>refund, partial_refund, refund_item.</p>\n</li>\n<li><p>release_points,reserve_points.</p>\n</li>\n<li><p>any other event with a transaction ID.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","transactions",":transaction_id","events"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>The events history can be filtered by submitted event actions using operators.\nThis filter query can be used in conjunction with the operators listed here. The filter should be submitted as a parameter in the following format: <code>field.operator(optional)=value</code>.</p>\n<p>Filtering of events containing a <code>transaction_id</code> is also possible. This requires the action query to contain all related events and for an additional query using <code>properties.transaction_id</code>.\nExample: \n<code>action.in=checkout,checkout_accept&amp;properties.transaction_id.in=c078c162-88af-4369-89a4-408958a8cb75</code>. \nThese combined filters can also use filtering operators. \nThe <code>transaction_id</code> field in any custom event must be set as filterable.\"</p>\n","type":"text/plain"},"key":"action","value":"<string>"},{"description":{"content":"<p>The events history can be filtered by a specific date. Specific start and/or end dates can be stated by using multiple operators e.g.</p>\n<p><code>date.gt=2020-01-01&amp;date.lt=2022-02-01</code></p>\n<p>UTC timezone should be considered when sending the request.</p>\n","type":"text/plain"},"key":"date","value":"<string>"},{"description":{"content":"<p>Offsets the starting number of events to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Defaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique transaction ID</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"transaction_id"}]}},"response":[{"id":"45a9a7d1-8fed-4931-9cd5-79c899c2d130","name":"The event history data of a specific transaction","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/:transaction_id/events?action=checkout","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions",":transaction_id","events"],"query":[{"key":"action","value":"checkout","description":"The events history can be filtered by submitted event actions using operators. Refer to [API events](/docs/api-events) and [internal events](/docs/internal-events) lists. \nThis filter query can be used in conjunction with the operators listed here. The filter should be submitted as a parameter in the following format: `field.operator(optional)=value`.\n  \nFiltering of events containing a `transaction_id` is also possible. This requires the action query to contain all related events and for an additional query using `properties.transaction_id`.\nExample: \n`action.in=checkout,checkout_accept&properties.transaction_id.in=c078c162-88af-4369-89a4-408958a8cb75`. \nThese combined filters can also use [filtering operators](/docs/pagination-filtering-and-ordering#filtering). \nThe `transaction_id` field in any custom event must be set as filterable.\"\n"},{"key":"date","value":"<string>","description":"The events history can be filtered by a specific date. Specific start and/or end dates can be stated by using multiple [operators](/docs/pagination-filtering-and-ordering#filtering) e.g.\n\n<code>date.gt=2020-01-01&date.lt=2022-02-01</code>\n\nUTC timezone should be considered when sending the request.\n","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of events to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 100","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"transaction_id","value":"TR37882412"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"62cbe9a1da5ab02a8176625d\",\n      \"action\": \"checkout\",\n      \"label\": \"Checkout\",\n      \"timestamp\": \"2020-04-01T10:41:10.000Z\",\n      \"points\": 100,\n      \"properties\": [\n        {\n          \"name\": \"transaction_id\",\n          \"value\": \"TR37882412\",\n          \"label\": \"Transaction ID\"\n        }\n      ]\n    }\n  ]\n}"},{"id":"a0fa6206-1fea-4cb4-807e-701dd2ba9cf0","name":"Transaction not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/:transaction_id/events?action=checkout","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions",":transaction_id","events"],"query":[{"key":"action","value":"checkout","description":"\"The events history can be filtered by submitted event actions using operators. Refer to [API events](/docs/api-events) and [internal events](/docs/internal-events) lists. \nThis filter query can be used in conjunction with the operators listed here. The filter should be submitted as a parameter in the following format: `field.operator(optional)=value`.\n  \nFiltering of events containing a `transaction_id` is also possible. This requires the action query to contain all related events and for an additional query using `properties.transaction_id`.\nExample: \n`action.in=checkout,checkout_accept&properties.transaction_id.in=c078c162-88af-4369-89a4-408958a8cb75`. \nThese combined filters can also use [filtering operators](/docs/pagination-filtering-and-ordering#filtering). \nThe `transaction_id` field in any custom event must be set as filterable.\"\n"},{"key":"date","value":"<string>","description":"The events history can be filtered by a specific date. Specific start and/or end dates can be stated by using multiple [operators](/docs/pagination-filtering-and-ordering#filtering) e.g.\n\n<code>date.gt=2020-01-01&date.lt=2022-02-01</code>\n\nUTC timezone should be considered when sending the request.\n","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of events to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of events returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 100","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"transaction_id","value":"TR37882413"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 0,\n  \"message\": \"Transaction not found\"\n}"}],"_postman_id":"16225ddb-39e6-4ce0-ac9b-897513178deb"},{"name":"Search transactions for a specific customer using criteria","event":[{"listen":"prerequest","script":{"id":"cd138087-3247-46e7-a53c-d792f6c56f5f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"0ab34b07-8501-4d19-a033-8e1c40f0757e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/-/search?id=<string>&status=<string>&offset=<integer>&limit=<integer>","description":"<p>This endpoint provides transactional-based searches for a specific customer. Customer transactions can be filtered by transaction ID and status, and highly selective queries can be generated using the generic entity filtering.<br />Example:<br /><code>GET /customers/001/transactions/-/search?id.in=trx01,trx02,trx03&amp;status=pending</code></p>\n<p>All inline examples within this documentation uses simple matching.</p>\n<p>This endpoint has a 8k request URI limit, this corresponds to approximately 5000 transaction IDs which are less than 15 character in length.<br />Higher volumes of filtering are possible using the POST Method for submitting bulk transactions.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","transactions","-","search"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>The target transaction ID of the specified customer. This example uses a simple match, but complex filtering is possible using generic entity filter parameters.</p>\n","type":"text/plain"},"key":"id","value":"<string>"},{"description":{"content":"<p>Transactions can be filtered by status. This example uses a simple match but complex filtering is possible using  generic entity filter parameters.</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>Offsets the starting number of transactions to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>Limits the number of transactions returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Defaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"1e9678b6-fead-4a52-9c50-6147c92957f6","name":"The transaction history data for a specific transaction","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/-/search?id=T10000024&status=accepted&offset=0&limit=100","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions","-","search"],"query":[{"key":"id","value":"T10000024","description":"The target transaction ID of the specified customer. This example uses a simple match, but complex filtering is possible using generic entity [filter parameters](/docs/pagination-filtering-and-ordering#filtering)"},{"key":"status","value":"accepted","description":"Transactions can be filtered by status. This example uses a simple match but complex filtering is possible using  generic entity [filter parameters](/docs/pagination-filtering-and-ordering#filtering)"},{"key":"offset","value":"0","description":"Offsets the starting number of transactions to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0"},{"key":"limit","value":"100","description":"Limits the number of transactions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 100"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"T10000024\",\n      \"status\": \"accepted\",\n      \"event\": \"5e7a80e264f2c53cac000005\",\n      \"created_at\": \"2020-04-01T10:41:10.000Z\",\n      \"updated_at\": \"2020-06-01T10:41:10.000Z\",\n      \"total\": 99.9,\n      \"items\": [\n        {\n          \"product_id\": \"prd_987654\",\n          \"quantity\": 3,\n          \"subtotal\": 99.9\n        }\n      ],\n      \"earned\": 99,\n      \"burned\": 12,\n      \"bonus\": 23\n    }\n  ]\n}"}],"_postman_id":"0ab34b07-8501-4d19-a033-8e1c40f0757e"},{"name":"Perform bulk transaction search for a specific customer","event":[{"listen":"prerequest","script":{"id":"5cb609ca-d0a6-40f0-8942-a326ce70f042","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c1670353-2738-4c65-9fa0-6c6f77d40f49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"<string>\",\n  \"status\": \"<string>\",\n  \"limit\": \"<number>\",\n  \"offset\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/-/search","description":"<p>This endpoint provides the option of high-volume transaction-based searching.</p>\n<p>Customer transactions can be filtered by transaction ID and status provide in the request body.<br />Highly selective queries can be generated using the generic entity filtering.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<p>Generally, the <code>id</code> field will be used in conjunction with the <code>in</code> operator to search a JSON array or comma separated values in a string.</p>\n<ul>\n<li><p>id: The target transaction IDs. The keyword is commonly used with the <code>in</code> operator.</p>\n</li>\n<li><p>status: The status of the target transactions.</p>\n</li>\n<li><p>limit: Defaults to 100. Limits the number of transactions to be returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n</li>\n<li><p>offset: Defaults to 0. Offsets the starting number of transactions to return. This is used in pagination in conjunction with the limit query.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","transactions","-","search"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"146a0b02-b8b3-417c-92aa-53aab59b62f1","name":"Perform bulk transaction search for a specific customer","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"},{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"TR37882412","description":"The target transaction IDs. The keyword is commonly used with the in operator","type":"text"},{"key":"status","value":"pending","description":"The status of the target transactions.","type":"text"},{"key":"limit","value":"100","description":"Limits the number of transactions to be returned in one response. Other values are accessible by pagination made accessible via the offset.\nDefaults to 100","type":"text"},{"key":"offset","value":"0","description":"Offsets the starting number of transactions to return. This is used in pagination in conjunction with the limit query.\nDefaults to 0\n","type":"text"}],"options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/transactions/-/search","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","transactions","-","search"],"variable":[{"key":"customer_id","value":"<string>","description":"(Required) Unique customer ID. This can be \n\n  * The Antavo customer ID\n  * An external ID (requires configuration): ``{external_field:external_id_value}``\n"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": [\r\n    {\r\n      \"id\": \"TR37882412\",\r\n      \"status\": \"pending\",\r\n      \"event\": \"5e7a80e264f2c53cac000005\",\r\n      \"created_at\": \"2020-04-01T10:41:10.000Z\",\r\n      \"updated_at\": \"2020-06-01T10:41:10.000Z\",\r\n      \"total\": 99.9,\r\n      \"items\": [\r\n        {\r\n          \"product_id\": \"prd_987654\",\r\n          \"quantity\": 3,\r\n          \"subtotal\": 99.9\r\n        }\r\n      ],\r\n      \"earned\": 99,\r\n      \"burned\": 12,\r\n      \"bonus\": 23\r\n    }\r\n  ]\r\n}"}],"_postman_id":"c1670353-2738-4c65-9fa0-6c6f77d40f49"}],"id":"5349cb41-7b7f-461a-a24e-d090118a0372","_postman_id":"5349cb41-7b7f-461a-a24e-d090118a0372","description":""},{"name":"Wallet","item":[{"name":"Retrieve download URLs for assigned wallet passes","event":[{"listen":"prerequest","script":{"id":"7aafe5e7-a768-4687-9256-796be1d6ad73","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a4861f7f-1caa-42eb-99b8-2b2a4f539dd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/wallet?status=<string>","description":"<p>This endpoint returns all wallet passes for a specific customer. A new access token is generated every time the endpoint is called.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","wallet"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Filters available passes based on status. Accepted values: <code>assigned</code> and <code>archived</code></p>\n","type":"text/plain"},"key":"status","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"cd560bf6-57f3-47c8-b5f9-8422bb201848","name":"Customer's wallet passes","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/wallet?status=assigned","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","wallet"],"query":[{"key":"status","value":"assigned","description":"Filters available passes based on status. Accepted values: `assigned` and `archived`"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"template\": {\n        \"id\": \"651561bd669da55ee6145a4f\",\n        \"status\": \"assigned\"\n      },\n      \"name\": \"Membership pass\",\n      \"id\": \"66797c25cc092e625c0afcc7\",\n      \"created_at\": \"2024-12-08T13:29:20.392Z\",\n      \"status\": \"active\",\n      \"type\": \"membership\",\n      \"expires_at\": \"20213-11-02T00:00:00+00:00\",\n      \"coupon\": \"TC22341\",\n      \"_actions\": {\n        \"download_apple\": {\n          \"method\": \"GET\",\n          \"url\": \"/v2/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/wallet/apple/6512a12d59b88b611b5cdfd6/download?token=ODcyYzE1MGE2NzcwZDJkMGVkOTY2NzMxYzhlNDNlMmQxMTI3YmE3Yw.eyJicmFuZCI6IjE1NjciLCJjdXN0b21lciI6IjAwMSIsImV4cGlyZXNfYXQiOjE2OTgzMTE4MDV9\"\n        },\n        \"download_google\": {\n          \"method\": \"GET\",\n          \"url\": \"/v2/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/google/6512a12d59b88b611b5cdfd6/download?token=ODcyYzE1MGE2NzcwZDJkMGVkOTY2NzMxYzhlNDNlMmQxMTI3YmE3Yw.eyJicmFuZCI6IjE1NjciLCJjdXN0b21lciI6IjAwMSIsImV4cGlyZXNfYXQiOjE2OTgzMTE4MDV9\"\n        }\n      }\n    }\n  ]\n}"},{"id":"3a2627c7-1166-4e6d-bbf0-f37c71357304","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/wallet?status=assigned","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","wallet"],"query":[{"key":"status","value":"assigned","description":"Filters available passes based on status. Accepted values: `assigned` and `archived`"}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not Found\"\n}"}],"_postman_id":"a4861f7f-1caa-42eb-99b8-2b2a4f539dd6"}],"id":"dfbd4bed-fdf5-4489-9088-bbd1bcb771a1","_postman_id":"dfbd4bed-fdf5-4489-9088-bbd1bcb771a1","description":""},{"name":"Customers","item":[{"name":"Create a new customer with log-in credentials","event":[{"listen":"prerequest","script":{"id":"db62bd28-c610-4840-b020-3d087f5b52a8","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bd165db4-6955-43f5-9327-84a6cd963dcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"password\": \"<string>\",\n  \"confirm_password\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"birth_date\": \"<date>\",\n  \"gender\": \"female\",\n  \"language\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"mobile_phone\": \"<string>\",\n  \"handler\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/opt-in","description":"<p>This endpoint creates customer within Antavo according to the specified opt-in parameters stated in the body.</p>\n<p>This interface is primarily used as a customer-driven registration process which also generates login credentials, enabling the new customer to log into Antavo systems. This endpoint complements the <a href=\"https://developers.antavo.com/docs/api-events#opt_in\">opt-in</a> event.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p>password*: Customer's password.</p>\n</li>\n<li><p>confirm_password*: Confirm password - should be same as Password above.</p>\n</li>\n<li><p>first_name: First name of the customer.</p>\n</li>\n<li><p>last_name: Last name of the customer.</p>\n</li>\n<li><p>email: E-mail address of the customer.</p>\n</li>\n<li><p>birth_date: Birth date of the customer.</p>\n</li>\n<li><p>gender: Gender of the customer.</p>\n</li>\n<li><p>language: Language of the customer.</p>\n</li>\n<li><p>phone: Phone number the customer.</p>\n</li>\n<li><p>mobile_phone: Mobile phone number the customer.</p>\n</li>\n<li><p>handler: Customer's publicly displayed handler (nickname).</p>\n</li>\n</ul>\n<p>*required</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","opt-in"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"e39bd0c5-38d0-43b4-ba6e-747bd410ffb8","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"password\": \"password001\",\n  \"confirm_password\": \"password001\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"email\": \"john.doe@test.com\",\n  \"birth_date\": \"1990-01-01\",\n  \"gender\": \"male\",\n  \"language\": \"en\",\n  \"phone\": \"212-555-1234\",\n  \"mobile_phone\": \"212-555-1234\",\n  \"handler\": \"john.doe\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/opt-in","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","opt-in"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n  \"optin_at\": 1720425804,\n  \"last_login_at\": 1720425804,\n  \"updated_at\": 1720425804,\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"email\": \"john.doe@test.com\",\n  \"birth_date\": \"1990-01-01\",\n  \"gender\": \"male\",\n  \"language\": \"en\",\n  \"nickname\": \"john.doe\",\n  \"status\": \"active\",\n  \"score\": 100,\n  \"spent\": 0,\n  \"reserved\": 0,\n  \"spendable\": 0,\n  \"pending\": 0,\n  \"properties\": {},\n  \"purchase_total\": 0,\n  \"purchase_count\": 0\n}"},{"id":"6c3d6a9b-69cc-44c3-a6f7-75f2a912252c","name":"Bad request - Missing path parameter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"password\": \"password001\",\n  \"confirm_password\": \"password001\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"email\": \"john.doe@test.com\",\n  \"birth_date\": \"1990-01-01\",\n  \"gender\": \"male\",\n  \"language\": \"en\",\n  \"phone\": \"212-555-1234\",\n  \"mobile_phone\": \"212-555-1234\",\n  \"handler\": \"john.doe\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/opt-in","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","opt-in"],"variable":[{"key":"customer_id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"Missing path param: customer_id\"\n}"}],"_postman_id":"bd165db4-6955-43f5-9327-84a6cd963dcc"},{"name":"Log in a specific customer to Antavo","event":[{"listen":"prerequest","script":{"id":"83c4c7e4-4572-4fca-bd70-9358e0211846","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"5f6f0fd1-d69d-44d9-9b76-aaadb0603f9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"<string>\",\n  \"password\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/login","description":"<p>This endpoint logs the specified customer into Antavo and a successful login returns the customer object.</p>\n<p>The username attribute can be specified in the Antavo Management UI from any available profile attribute.<br />The customer ID can then be accessed and used for subsequent calls using Antavo Display API endpoints.</p>\n<p>A successful log-in will also create a <code>daily_login</code> event for the customer.<br />This event will only be written once to the customer's event stream per calendar day.</p>\n<p>This requires the Custom login module to be enabled.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p>username: Customer's username.</p>\n</li>\n<li><p>password: Customer's password.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers","-","login"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"e5f3d104-7acd-49da-a267-e11f8ebfd6eb","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"john.doe\",\n  \"password\": \"password01\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n  \"optin_at\": 1720425804,\n  \"last_login_at\": 1720425804,\n  \"updated_at\": 1720425804,\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"email\": \"john.doe@test.com\",\n  \"birth_date\": \"1990-01-01\",\n  \"gender\": \"male\",\n  \"language\": \"en\",\n  \"nickname\": \"john.doe\",\n  \"status\": \"active\",\n  \"score\": 100,\n  \"spent\": 10,\n  \"reserved\": 20,\n  \"spendable\": 30,\n  \"pending\": 20,\n  \"properties\": {},\n  \"purchase_total\": 20,\n  \"purchase_count\": 10,\n  \"purchase_last_date\": \"2024-01-01T00:00:00.000Z\"\n}"},{"id":"5817366c-e96c-4128-bd7f-4cddcb8e525c","name":"Bad request - Wrong username/password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"doe\",\n  \"password\": \"password01\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"Invalid username or password\"\n}"}],"_postman_id":"5f6f0fd1-d69d-44d9-9b76-aaadb0603f9b"},{"name":"Request a new password for Antavo login","event":[{"listen":"prerequest","script":{"id":"d8cbddb1-d101-415e-a3f2-fd167ecf1145","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e391f137-7ef6-4042-b81b-e81628b83f25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"<string>\",\n  \"url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/password/request","description":"<p>A forgotten password can be reset through this endpoint.<br />The username can be set in the Customer login module in the Management UI and can be any customer profile attribute.<br />The <code>url</code> string is a URL which can be extended with the reset token.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p>username: Customer's username.</p>\n</li>\n<li><p>url: URL which will be extended with password reset token.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers","-","password","request"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"8d3fca8d-39c0-45ee-825e-6f5aba83a5b4","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"john.doe\",\n  \"url\": \"https://loyalty.{environment}.antavo.com/{workspace_id}/customers/280e674c-c4ea-4a30-987a-d9267d1a5018\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/password/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"token\": \"ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0\"\n}"},{"id":"a7d83f19-7e0b-419e-b288-887dbcd3aec7","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"john\",\n  \"url\": \"https://loyalty.{environment}.antavo.com/{workspace_id}/customers/280e674c-c4ea-4a30-987a-d9267d1a5018\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/password/request"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"Customer not found\"\n}"}],"_postman_id":"e391f137-7ef6-4042-b81b-e81628b83f25"},{"name":"Reset the password of the current customer","event":[{"listen":"prerequest","script":{"id":"ca18c17e-8084-4cfc-8d7a-b8c3e8364d36","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"7f178c0d-9f9a-4dd2-9a80-7bb0b8999ffd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\",\n  \"password\": \"<string>\",\n  \"confirm_password\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/password/reset","description":"<p>This provides a customer interface for changing a password. The token is captured from the link provided by the password reset email. A simple check is provided to ensure that the two passwords match.<br />This requires the Custom login module to be enabled.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p>token: Password reset token obtained from <a href=\"https://developers.antavo.com/reference/post_customers-password-request\">password request</a>.</p>\n</li>\n<li><p>password</p>\n</li>\n<li><p>confirm_password: Should be same as Password above.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["customers","-","password","reset"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"4f8593fc-4aee-4205-95b9-e2ccd86ffd3f","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0\",\n  \"password\": \"password02\",\n  \"confirm_password\": \"password02\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/password/reset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"token\": \"ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0\"\n}"},{"id":"f54cbac1-1510-4f11-85a9-ac2f938c3ca2","name":"Bad request - Deactivated token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0\",\n  \"password\": \"password02\",\n  \"confirm_password\": \"password02\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/customers/-/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"This token is already deactivated\"\n}"}],"_postman_id":"7f178c0d-9f9a-4dd2-9a80-7bb0b8999ffd"},{"name":"Verify credentials provided during registration","event":[{"listen":"prerequest","script":{"id":"cb4fd16f-9abf-4306-8251-b9de6c74a55a","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d108057a-73a2-454e-b542-8d7e6802102c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/-/verify/?token=<string>&redirect_url=<string>","description":"<p>This endpoint is used to confirm registration.</p>\n<p>A successful verification will change the status of the customer to <code>active</code> and enable them to log in and engage with the loyalty program. Failure will leave the customer in an <code>inactive</code> status.</p>\n<p>The verification process occurs using a token.</p>\n<p>This requires the Custom login module with the verification option enabled (disabled by default).</p>\n","urlObject":{"protocol":"https","path":["customers","-","verify",""],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>(Required) The access token from the link, provided in the verfication email used to verify the customer.</p>\n","type":"text/plain"},"key":"token","value":"<string>"},{"description":{"content":"<p>If provided, the user will be redirected to this URL after successful confirmation.</p>\n","type":"text/plain"},"key":"redirect_url","value":"<string>"}],"variable":[]}},"response":[{"id":"7ad372c5-65c9-4ece-b26e-ac314c8d0869","name":"Customer registration confirmed successfully","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/-/verify/?token=ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0&redirect_url=https://example.redirect.com","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers","-","verify",""],"query":[{"key":"token","value":"ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0","description":"(Required) The access token from the link, provided in the verfication email used to verify the customer."},{"key":"redirect_url","value":"https://example.redirect.com","description":"If provided, the user will be redirected to this URL after successful confirmation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"4aaa4ac4-cb7b-4402-90cf-3a00966734fe","name":"Bad request - Token has expired","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/-/verify/?token=ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0&redirect_url=https://example.redirect.com","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers","-","verify",""],"query":[{"key":"token","value":"ZTM4Mjk4YTk5ZTkyZTg5NWE5N2UzNWViNjlhNGYyZDMxZmZkNGU1M2ExOGNmZTNiOWE3Y2YzZmE2ZTMyNjdiOQ.eyJjdXN0b21lciI6Im5vdF9hX3ZhbGlkX2N1c3RvbWVyIiwiZXhwaXJlc19hdCI6ImxvbmdfYWdvIn0","description":"(Required) "},{"key":"redirect_url","value":"https://example.redirect.com"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 0,\n  \"message\": \"This token has been expired\"\n}"}],"_postman_id":"d108057a-73a2-454e-b542-8d7e6802102c"}],"id":"16f4cac6-ec6f-45ae-a845-01ed4de869d0","_postman_id":"16f4cac6-ec6f-45ae-a845-01ed4de869d0","description":""},{"name":"Prize wheels","item":[{"name":"List all available prize wheels","event":[{"listen":"prerequest","script":{"id":"57e26941-de36-4907-ac70-eb494f77147f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bdb05c83-eaac-41ff-96a1-4f94813f66b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/","description":"<p>This endpoint returns the list of all available prize wheels for a specific customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","prize-wheels",""],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting number of prize wheels to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Defaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of prize wheels returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Defaults to 100</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID </li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"6c607553-892b-48f9-ad91-07a420a45c83","name":"List all prize wheels","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","prize-wheels",""],"query":[{"key":"offset","value":"<integer>","description":"Offsets the starting number of prize wheels to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of prize wheels returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 100","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"63fdccaca88ac11c347af899\",\n      \"status\": \"active\"\n    }\n  ],\n  \"total\": 1\n}"},{"id":"4d48f9f3-4d01-475d-83e5-05ca2acab936","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","prize-wheels",""],"query":[{"key":"offset","value":"<integer>","description":"Offsets the starting number of prize wheels to return. This is used in pagination in conjunction with the limit query.\n\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of prize wheels returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nDefaults to 100","disabled":true}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not Found\"\n}"}],"_postman_id":"bdb05c83-eaac-41ff-96a1-4f94813f66b3"},{"name":"Retrieve all slices for a specific prize wheel","event":[{"listen":"prerequest","script":{"id":"da6a6692-0bec-4958-9f9d-37909dc18cca","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"03b2ce1d-b94d-423d-bc08-03ed0d5ba4c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/:pw_id?fields=<string>","description":"<p>This endpoint provides all information regarding each individual slice of the prize wheel.</p>\n<p>Configured rewards can be used in a slice, and the full reward information can be returned with the slice information using the <code>fields</code> query.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","prize-wheels",":pw_id"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>Use the options.reward field for detailed information of rewards associated with winning slices.</p>\n","type":"text/plain"},"key":"fields","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique identifier of the prize wheel.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"pw_id"}]}},"response":[{"id":"a36c6866-6472-434b-8332-1021cf678b4e","name":"List all prize wheel slices","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/:pw_id?fields=options.reward","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","prize-wheels",":pw_id"],"query":[{"key":"fields","value":"options.reward","description":"Use the options.reward field for detailed information of rewards associated with winning slices."}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"pw_id","value":"63fdccaca88ac11c347af899"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_actions\": {\n    \"enter\": {\n      \"method\": \"POST\",\n      \"url\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/prize-wheels/63fdccaca88ac11c347af899\"\n    }\n  },\n  \"button_color\": \"rgb(219, 186, 57)\",\n  \"center_logo\": {\n    \"small\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1677577388-Vs6ZW.png\",\n    \"large\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1677577388-MgTpM.png\",\n    \"medium\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1677577388-MHFa6.png\"\n  },\n  \"background_color\": \"rgb(255, 255, 255)\",\n  \"button_text_color\": \"rgb(219, 186, 57)\",\n  \"font_color\": \"\",\n  \"main_logo\": {\n    \"small\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1677577387-1DyAa.jpeg\",\n    \"large\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1677577387-wPvPE.jpeg\",\n    \"medium\": \"https://antavo.s3.eu-west-1.amazonaws.com/brands/26729/media/1677577387-xxn9O.jpeg\"\n  },\n  \"options\": [\n    {\n      \"win_text\": \"Sorry, you were not lucky this time.\",\n      \"bgcolor\": \"rgb(255, 255, 255)\",\n      \"color\": \"rgb(0, 0, 0)\",\n      \"weight\": 0.99,\n      \"label\": \"Oooops.. not this time\",\n      \"id\": \"6406f75976c1691b981ec5dc\",\n      \"type\": \"empty\"\n    },\n    {\n      \"win_text\": \"Congrats! You won a 20% coupon!\",\n      \"bgcolor\": \"rgb(219, 186, 57)\",\n      \"color\": \"rgb(0, 0, 0)\",\n      \"weight\": 99.01,\n      \"label\": \"20% coupon\",\n      \"id\": \"6406f75976c1691b981ec5dd\",\n      \"type\": \"reward\"\n    }\n  ],\n  \"name\": \"Use your points to spin the wheel for a chance to win a 20% coupon\",\n  \"center_rotation\": true,\n  \"points\": 100\n}"},{"id":"a239a267-a96e-4cfa-a2bd-1bdfbd65d1ac","name":"Prize wheel not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/:pw_id?fields=options.reward","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","prize-wheels",":pw_id"],"query":[{"key":"fields","value":"options.reward","description":"Use the options.reward field for detailed information of rewards associated with winning slices."}],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"pw_id","value":"63fdccaca88ac11c347af899"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 0,\n  \"message\": \"Prize wheel not Found\"\n}"}],"_postman_id":"03b2ce1d-b94d-423d-bc08-03ed0d5ba4c5"},{"name":"Enter a customer into a specific prize wheel draw","event":[{"listen":"prerequest","script":{"id":"f4992f41-dbdb-43fd-abaf-f986887c9648","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"5813f628-cc04-4458-aab1-5cb87530b39e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/:pw_id","urlObject":{"protocol":"https","path":["customers",":customer_id","prize-wheels",":pw_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"},{"description":{"content":"<p>(Required) Unique identifier of the prize wheel.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"pw_id"}]}},"response":[{"id":"78f9f50e-a5c0-429b-98a0-0444024feb93","name":"Get random slice from options","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/:pw_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","prize-wheels",":pw_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"pw_id","value":"63fdccaca88ac11c347af899"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"63fdccaca88ac11c347af899\",\n  \"type\": \"reward\",\n  \"label\": \"20% coupon\",\n  \"weight\": 0.99,\n  \"win_text\": \"Congrats! You won a 20% coupon!\",\n  \"_actions\": {\n    \"claim\": {\n      \"method\": \"POST\",\n      \"url\": \"/customers/280e674c-c4ea-4a30-987a-d9267d1a5018/activities/rewards/6070545656bfb26685000017/claim\\\"\"\n    },\n    \"enter\": {\n      \"method\": \"POST\",\n      \"url\": \"customers/280e674c-c4ea-4a30-987a-d9267d1a5018/prize-wheels/63fdccaca88ac11c347af899\"\n    }\n  }\n}"},{"id":"9591c232-cfc0-4178-85e3-f5f76646e1b1","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/:pw_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","prize-wheels",":pw_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"pw_id","value":"63fdccaca88ac11c347af899"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"BadRequestException\",\n  \"code\": 160907,\n  \"message\": \"The prize wheel already ended\"\n}"},{"id":"886d9696-492f-4c66-97af-35b59e05fbb7","name":"Missing/wrong input data","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/prize-wheels/:pw_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","prize-wheels",":pw_id"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"},{"key":"pw_id","value":"63fdccaca88ac11c347af899"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 0,\n  \"message\": \"Prize wheel not Found\"\n}"}],"_postman_id":"5813f628-cc04-4458-aab1-5cb87530b39e"}],"id":"8ba18c3c-319d-4cb2-9ee4-3457465e1a6a","_postman_id":"8ba18c3c-319d-4cb2-9ee4-3457465e1a6a","description":""},{"name":"Treasure hunt","item":[{"name":"List all available treasure hunts","event":[{"listen":"prerequest","script":{"id":"1830b507-0505-4145-b24e-e0ee677b86ec","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"3ae3dd6c-f655-477f-ad55-6df32f891e11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/treasure-hunt","description":"<p>This endpoint returns the list of all available online treasure hunts for a specific customer.</p>\n","urlObject":{"protocol":"https","path":["customers",":customer_id","activities","treasure-hunt"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique customer ID. This can be </p>\n<ul>\n<li>The Antavo customer ID</li>\n<li>An external ID (requires configuration): <code>{external_field:external_id_value}</code></li>\n</ul>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"f376bb9d-a4fc-43fc-a538-df2e68658f8b","name":"Available treasure hunts","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/treasure-hunt","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","treasure-hunt"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"type\": \"treasure\",\n      \"status\": \"active\",\n      \"title\": \"Fashion Quest Adventure\",\n      \"description\": \"Ready for an adventure? Join our online treasure hunt! Your mission: Find the hidden fashion product page on our website. If you succeed, you'll earn 50 points towards your next stylish purchase! Let the hunt begin!\",\n      \"image\": {\n        \"small\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"medium\": \"https://example.com/1715791767-nH7Mf.jpeg\",\n        \"large\": \"https://example.com/1715791767-nH7Mf.jpeg\"\n      },\n      \"points\": 200,\n      \"success_message\": \"Congratulations, Fashion Explorer! You've successfully completed the Fashion Quest Adventure and discovered the hidden treasure! Claim your reward of 50 points now and continue your stylish journey with us!\\\",\",\n      \"url\": \"https://antavofashion.com/SS246549621\"\n    }\n  ]\n}"},{"id":"4ef5fddd-bc0a-48b2-9547-2d65cc2303df","name":"Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/customers/:customer_id/activities/treasure-hunt","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["customers",":customer_id","activities","treasure-hunt"],"variable":[{"key":"customer_id","value":"280e674c-c4ea-4a30-987a-d9267d1a5018"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"NotFoundException\",\n  \"code\": 160212,\n  \"message\": \"Customer not Found\"\n}"}],"_postman_id":"3ae3dd6c-f655-477f-ad55-6df32f891e11"}],"id":"d33d92a2-ffb5-4cc3-8605-6e9406eb2d70","_postman_id":"d33d92a2-ffb5-4cc3-8605-6e9406eb2d70","description":""}],"id":"fd81e600-0161-4d97-b7ca-39ed8774e8be","description":"<p>The Display APIs provide comprehensive access to loyalty-related features, settings, and data for any customer. They facilitate the fast creation of loyalty sites and enable seamless integration of Antavo data into existing customer-facing interfaces using any preferred framework and tools. The standardized nature of these APIs ensures future compatibility with evolving user interface technologies.</p>\n<h3 id=\"key-features\">Key Features</h3>\n<ul>\n<li><p><strong>Unified API interface and structure</strong>: Ensures consistency across different endpoints.</p>\n</li>\n<li><p><strong>Omnichannel support</strong>: Facilitates customer interactions through various technological interfaces.</p>\n</li>\n<li><p><strong>Robust security measures</strong>: Ensures data is accessible only within the customer namespace.</p>\n</li>\n</ul>\n<h3 id=\"api-principles\">API Principles</h3>\n<p>The Display API follows RESTful principles, primarily utilizing <code>GET</code> requests to retrieve specific customer data from various endpoints. While <code>GET</code> requests are the most common, some endpoints operate using <code>POST</code> requests. The responses are formatted in JSON.</p>\n<h3 id=\"endpoints-overview\">Endpoints Overview</h3>\n<p>The Display API is organized into distinct categories, each focusing on a specific set of functionalities:</p>\n<ul>\n<li><p><strong>Activities</strong>: Endpoints that collect and aggregate all activities, including earning and spending activities.</p>\n</li>\n<li><p><strong>Challenges</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/challenges\">Challenges module</a>, returning all active and completed challenges available for the customer.</p>\n</li>\n<li><p><strong>Content consumption</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/content-consumption\">Content consumption module</a>, returning content consumption activities.</p>\n</li>\n<li><p><strong>Contests</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/contest-lite\">Contests lite module</a>, returning contest activities and allowing customers to enter contests.</p>\n</li>\n<li><p><strong>Coupons</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/coupons\">Coupons module</a>, returning all coupons associated with a specified customer.</p>\n</li>\n<li><p><strong>Customers</strong>: Endpoints providing core features for creating, logging in, activating customers, and resetting their passwords.</p>\n</li>\n<li><p><strong>Data extensions</strong>: Endpoints for accessing customer data extensions.</p>\n</li>\n<li><p><strong>History</strong>: Endpoints providing detailed information on events registered on customers' event streams.</p>\n</li>\n<li><p><strong>Offers</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/offers\">Offers module</a>, listing all available offers.</p>\n</li>\n<li><p><strong>Profiling</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/gamified-profiling\">Gamified profiling module</a>, listing all available profiling flows, retrieving the next flow question, submitting answers, and accessing customers' answers to profiling questions.</p>\n</li>\n<li><p><strong>Prize wheels</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/prize-wheels\">Prize wheels module</a>, listing all available prize wheels, detailing each individual slice, and entering customers into specified prize wheel draws.</p>\n</li>\n<li><p><strong>Quizzes</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/quizzes\">Quizzes module</a>, listing all quiz activities, retrieving quiz details, and submitting quiz answers.</p>\n</li>\n<li><p><strong>Rewards</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/rewards\">Rewards module</a>, listing available rewards, allowing customers to claim or revoke rewards, submit bids for bidding rewards, and retrieve all claimed rewards for a specified customer.</p>\n</li>\n<li><p><strong>Transactions</strong>: Endpoints providing detailed information and search capabilities for customer transactions, including transaction IDs, and statuses.</p>\n</li>\n<li><p><strong>Treasure hunt</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/online-treasure-hunt\">Online treasure hunt module</a>, returning available treasure hunts.</p>\n</li>\n<li><p><strong>Wallet</strong>: Endpoints provided by the <a href=\"https://docs.antavo.com/docs/wallet\">Wallet module</a>, returning all available wallet passes assigned to customers.</p>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"13ce06bc-ba20-4109-b5da-b2e96a0e3e44"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"0dae3d3d-7750-4892-ba1a-7551edf282d6"}}],"_postman_id":"fd81e600-0161-4d97-b7ca-39ed8774e8be"},{"name":"Clubs API","item":[{"name":"List club templates","event":[{"listen":"prerequest","script":{"id":"6cc975a6-8af2-4d9d-8479-c44af904ac3c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d92991bd-b9da-450f-a4b7-f5ab078cdea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/clubs/templates","description":"<p>This endpoint returns the list of club templates based on various query parameters.</p>\n","urlObject":{"protocol":"https","path":["v1","clubs","templates"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter to a specific template by ID.</p>\n","type":"text/plain"},"key":"id.eq","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by accounts in Account Group Settings.</p>\n","type":"text/plain"},"key":"account_group_settings.accounts","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by name.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by type (public, private).</p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by status (active, draft, archived).</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by contribution type (split_points, incentive_points, none).</p>\n","type":"text/plain"},"key":"contribution_type","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by expiration type (rolling, calendar, no expiration).</p>\n","type":"text/plain"},"key":"expiration_type","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by burn eligibility (active_members, owner).</p>\n","type":"text/plain"},"key":"burn_eligibility","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter templates by whether point donation is enabled in account group settings.</p>\n","type":"text/plain"},"key":"spending_limit","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Filter templates by whether point donation is enabled in account group settings.</p>\n","type":"text/plain"},"key":"account_group_settings.point_donation_enable","value":"<boolean>"},{"disabled":true,"description":{"content":"<p>Filter templates by donation limit reset type (fix_date, first_spending, none).</p>\n","type":"text/plain"},"key":"limit_reset_type","value":"<string>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of club templates to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Must be ≥ 0\nDefaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of club templates returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Must be between 1 to 100\nDefaults to 20</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"6a9ed1b3-4f71-4f4e-9e35-c0edda43fdcd","name":"List of club templates provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/templates","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","templates"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific template by ID.","disabled":true},{"key":"account_group_settings.accounts","value":"<string>","description":"Filter templates by accounts in Account Group Settings.","type":"text","disabled":true},{"key":"name","value":"<string>","description":"Filter templates by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter templates by type (public, private).","disabled":true},{"key":"status","value":"<string>","description":"Filter templates by status (active, draft, archived).","disabled":true},{"key":"contribution_type","value":"<string>","description":"Filter templates by contribution type (split_points, incentive_points, none).","type":"text","disabled":true},{"key":"expiration_type","value":"<string>","description":"Filter templates by expiration type (rolling, calendar, no expiration).","type":"text","disabled":true},{"key":"burn_eligibility","value":"<string>","description":"Filter templates by burn eligibility (active_members, owner).","type":"text","disabled":true},{"key":"spending_limit","value":"<integer>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"account_group_settings.point_donation_enable","value":"<boolean>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"limit_reset_type","value":"<string>","description":"Filter templates by donation limit reset type (fix_date, first_spending, none).","type":"text","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of club templates to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of club templates returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 to 100\nDefaults to 20","disabled":true}]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null},{"id":"c2c1988d-1eab-40b0-a920-5aa5ff1ade42","name":"Bad request - invalid parameter","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/templates?status=deleted","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","templates"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific template by ID.","disabled":true},{"key":"account_group_settings.accounts","value":"<string>","description":"Filter templates by accounts in Account Group Settings.","type":"text","disabled":true},{"key":"name","value":"<string>","description":"Filter templates by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter templates by type (public, private).","disabled":true},{"key":"status","value":"deleted","description":"Filter templates by status (active, draft, archived)."},{"key":"contribution_type","value":"<string>","description":"Filter templates by contribution type (split_points, incentive_points, none).","type":"text","disabled":true},{"key":"expiration_type","value":"<string>","description":"Filter templates by expiration type (rolling, calendar, no expiration).","type":"text","disabled":true},{"key":"burn_eligibility","value":"<string>","description":"Filter templates by burn eligibility (active_members, owner).","type":"text","disabled":true},{"key":"spending_limit","value":"<integer>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"account_group_settings.point_donation_enable","value":"<boolean>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"limit_reset_type","value":"<string>","description":"Filter templates by donation limit reset type (fix_date, first_spending, none).","type":"text","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of club templates to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of club templates returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 to 100\nDefaults to 20","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201014,\n        \"message\": \"Invalid query string parameter(s)\"\n    }\n}"},{"id":"1f3c767f-0587-4dd8-9a12-41b1caab1a70","name":"Bad request - negative offset","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/templates?offset=-2","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","templates"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific template by ID.","disabled":true},{"key":"account_group_settings.accounts","value":"<string>","description":"Filter templates by accounts in Account Group Settings.","type":"text","disabled":true},{"key":"name","value":"<string>","description":"Filter templates by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter templates by type (public, private).","disabled":true},{"key":"status","value":"<string>","description":"Filter templates by status (active, draft, archived).","disabled":true},{"key":"contribution_type","value":"<string>","description":"Filter templates by contribution type (split_points, incentive_points, none).","type":"text","disabled":true},{"key":"expiration_type","value":"<string>","description":"Filter templates by expiration type (rolling, calendar, no expiration).","type":"text","disabled":true},{"key":"burn_eligibility","value":"<string>","description":"Filter templates by burn eligibility (active_members, owner).","type":"text","disabled":true},{"key":"spending_limit","value":"<integer>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"account_group_settings.point_donation_enable","value":"<boolean>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"limit_reset_type","value":"<string>","description":"Filter templates by donation limit reset type (fix_date, first_spending, none).","type":"text","disabled":true},{"key":"offset","value":"-2","description":"Offsets the starting number of club templates to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"<integer>","description":"Limits the number of club templates returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 to 100\nDefaults to 20","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201011,\n        \"message\": \"Offset cannot be negative\"\n    }\n}"},{"id":"85bfc22e-ce96-48b3-86b4-2dc763ef124c","name":"Bad request - limit out of bounds","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/templates?limit=120","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","templates"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific template by ID.","disabled":true},{"key":"account_group_settings.accounts","value":"<string>","description":"Filter templates by accounts in Account Group Settings.","type":"text","disabled":true},{"key":"name","value":"<string>","description":"Filter templates by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter templates by type (public, private).","disabled":true},{"key":"status","value":"<string>","description":"Filter templates by status (active, draft, archived).","disabled":true},{"key":"contribution_type","value":"<string>","description":"Filter templates by contribution type (split_points, incentive_points, none).","type":"text","disabled":true},{"key":"expiration_type","value":"<string>","description":"Filter templates by expiration type (rolling, calendar, no expiration).","type":"text","disabled":true},{"key":"burn_eligibility","value":"<string>","description":"Filter templates by burn eligibility (active_members, owner).","type":"text","disabled":true},{"key":"spending_limit","value":"<integer>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"account_group_settings.point_donation_enable","value":"<boolean>","description":"Filter templates by whether point donation is enabled in account group settings.","type":"text","disabled":true},{"key":"limit_reset_type","value":"<string>","description":"Filter templates by donation limit reset type (fix_date, first_spending, none).","type":"text","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of club templates to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"120","description":"Limits the number of club templates returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 to 100\nDefaults to 20"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201010,\n        \"message\": \"Limit must be between 0 and 100\"\n    }\n}"}],"_postman_id":"d92991bd-b9da-450f-a4b7-f5ab078cdea8"},{"name":"List clubs","event":[{"listen":"prerequest","script":{"id":"b95766f8-c35c-4a72-bc0d-73cf84a9cc85","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"470b3cfd-27a3-4789-91bc-d56b37b88289","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/clubs","description":"<p>This endpoint returns the list of clubs based on various query parameters.</p>\n","urlObject":{"protocol":"https","path":["v1","clubs"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter to a specific club by ID.</p>\n","type":"text/plain"},"key":"id.eq","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter by associated template ID.</p>\n","type":"text/plain"},"key":"template_id","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter by name.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter by template type.</p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter by status.</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of clubs to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Must be ≥ 0\nDefaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of clubs returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Must be between 1 and 100\nDefaults to 20</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"d29ecd75-8750-4176-8d02-f17c189da2b6","name":"List of clubs is provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs?offset=5&limit=2","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club by ID.","disabled":true},{"key":"template_id","value":"<string>","description":"Filter by associated template ID.","disabled":true},{"key":"name","value":"<string>","description":"Filter by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter by template type.","disabled":true},{"key":"status","value":"<string>","description":"Filter by status.","disabled":true},{"key":"offset","value":"5","description":"Offsets the starting number of clubs to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"2","description":"Limits the number of clubs returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 09:56:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"413"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"c8f8d9b5-efa5-342d-919a-9e0deb6e1074"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=fp5Fmt1MShNHW8Xfn%2BW%2BqK9uCoBZWBVMhqXAo8fw1UATHwHo86k8BB5FSnX2v9yqTz2yTVlE8D1%2BXdOGnblnEbF8wlR06mBHcH%2FgPV%2Bky8BQCQGU9qSh8LnSV1z48pNzKvOuveNnpz8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb3b57bcc17340-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12629&min_rtt=6478&rtt_var=12685&sent=32&recv=31&lost=0&retrans=0&sent_bytes=5719&recv_bytes=2069&delivery_rate=400113&cwnd=254&unsent_bytes=0&cid=3489862b78b64cab&ts=22917&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": {\n        \"pagination\": {\n            \"total\": 8,\n            \"next\": \"/v1/clubs?offset=7&limit=2\",\n            \"previous\": \"/v1/clubs?offset=3&limit=2\"\n        }\n    },\n    \"payload\": [\n        {\n            \"id\": \"679792daa6fad4b3ac0933f9\",\n            \"name\": \"The Does\",\n            \"template_id\": \"67974162758630987f070723\",\n            \"type\": \"private\",\n            \"status\": \"active\",\n            \"balance\": {\n                \"contributed\": 210,\n                \"spent\": 0,\n                \"expired\": 0,\n                \"spendable\": 210\n            },\n            \"spend_limit\": {\n                \"eligibility\": \"active_members\",\n                \"limit\": 150,\n                \"reset_type\": \"first_spending\"\n            },\n            \"member_count\": 4,\n            \"owner_customer_id\": \"customer_12345\"\n        },\n        {\n            \"id\": \"6798ca70875d229c63078b52\",\n            \"name\": \"Beauty influencers\",\n            \"template_id\": \"6797929d03aa069a3806eaa2\",\n            \"type\": \"public\",\n            \"status\": \"active\",\n            \"balance\": {\n                \"contributed\": 60,\n                \"spent\": 0,\n                \"expired\": 0,\n                \"spendable\": 60\n            },\n            \"spend_limit\": {\n                \"eligibility\": \"active_members\",\n                \"limit\": null,\n                \"reset_type\": \"none\"\n            },\n            \"member_count\": 2,\n            \"owner_customer_id\": \"customer_23456\"\n        }\n    ]\n}"},{"id":"40ec1b61-5f74-4891-abd9-3d6979f791dd","name":"Bad request - invalid query string parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs?status=deleted","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club by ID.","disabled":true},{"key":"template_id","value":"<string>","description":"Filter by associated template ID.","disabled":true},{"key":"name","value":"<string>","description":"Filter by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter by template type.","disabled":true},{"key":"status","value":"deleted","description":"Filter by status."},{"key":"offset","value":"<integer>","description":"Offsets the starting number of clubs to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of clubs returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:02:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"cb3d7194-a631-8515-c651-995a3859d5af"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=E2bw1RZjYWaODZGf6u0MOcf8g%2Bjbe9%2BIsQfDvrra7W4MS4YMFV6D9tmXlGsflods6qB1jIc99y2hBc4c%2BMtKej3WunOug11innyRlKFme2E%2F2OIAkwPzUljiZMC%2B0mJKJldwTYCAFBY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb44465d1f6850-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7477&min_rtt=7467&rtt_var=2822&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1075&delivery_rate=373841&cwnd=251&unsent_bytes=0&cid=152a24eefda650a3&ts=247&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201012,\n        \"message\": \"Invalid query string parameter(s)\"\n    }\n}"},{"id":"8ed1071d-7d47-4d9d-bc37-0e41a7c17f27","name":"Bad request - negative offset","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs?offset=-2","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club by ID.","disabled":true},{"key":"template_id","value":"<string>","description":"Filter by associated template ID.","disabled":true},{"key":"name","value":"<string>","description":"Filter by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter by template type.","disabled":true},{"key":"status","value":"<string>","description":"Filter by status.","disabled":true},{"key":"offset","value":"-2","description":"Offsets the starting number of clubs to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"<integer>","description":"Limits the number of clubs returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:01:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"5c654286-ea61-5dcb-aa78-7ad4f749af6d"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=eA%2BnCtnwykfkbiXOwgx3Np0O5T622f2SiH1G2tgtdJpMIrB1qVUfp74s5Cq31SOi0ZIph%2FuWndZTCB%2BbZui53yJt8WulfAFhrRbTJ28OtvvDe%2FD3as9j1AAIP2CJZhDe6tFMZNsi21s%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb42499c951cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=8890&min_rtt=8887&rtt_var=3339&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1070&delivery_rate=316840&cwnd=233&unsent_bytes=0&cid=7d4dedaaa397839d&ts=265&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201011,\n        \"message\": \"Offset cannot be negative\"\n    }\n}"},{"id":"c43e37eb-48a4-4001-bd32-b796189ef782","name":"Bad request - limit out of bounds","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs?limit=120","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club by ID.","disabled":true},{"key":"template_id","value":"<string>","description":"Filter by associated template ID.","disabled":true},{"key":"name","value":"<string>","description":"Filter by name.","disabled":true},{"key":"type","value":"<string>","description":"Filter by template type.","disabled":true},{"key":"status","value":"<string>","description":"Filter by status.","disabled":true},{"key":"offset","value":"<string>","description":"Offsets the starting number of clubs to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"120","description":"Limits the number of clubs returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 09:50:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"135"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"c9c5bb31-3524-21e2-337c-588d2fb202a5"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=56WN1S%2BqekN%2BH7Y7nFqLgis23asA%2BWab%2B%2B6qGGhQhym9DMfINxozIxsf5Q7y54yLXDH7eQ%2Bi6EwB0k7RpWCpQ9oZGhgksO%2BeBjvdd4YmrC%2BTamR%2FRSWTKagoeHXQD87685M2g2snEYw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb32647db55ba5-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=18185&min_rtt=12505&rtt_var=12467&sent=61&recv=59&lost=0&retrans=0&sent_bytes=8612&recv_bytes=3022&delivery_rate=223223&cwnd=256&unsent_bytes=0&cid=364e7f8b1475b1ef&ts=51413&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201010,\n        \"message\": \"Limit must be between 0 and 100\"\n    }\n}"}],"_postman_id":"470b3cfd-27a3-4789-91bc-d56b37b88289"},{"name":"Create a new club","event":[{"listen":"prerequest","script":{"id":"68846ce1-a477-4dfe-8c0c-ccc3f2739b21","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"23e0ebc6-1ee0-46a3-a6bc-7ba3cf7b7c79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"<string>\",\r\n  \"template_id\": \"<string>\",\r\n  \"owner_id\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs","description":"<p>This endpoint allows users to create a new club, which can be assigned to different templates, allowing for varied functionalities and features based on specific user needs. To create a club, the user must provide key details, including the club's name, associated template, and owner ID.</p>\n<p>Once created, the <code>club_create</code> event is automatically registered in both the club's and the club owner's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>name</code> (string; required): The name of the club provided as a string. If multiple languages are enabled, this parameter should be an object where each key corresponds to a language code, and the value is the club name in that language. At least one language must be provided.</p>\n</li>\n<li><p><code>template_id</code> (string; required): The unique identifier of the club template under which the new club is being created. This ID must reference an existing template in the system and should be active. If the specified template does not exist or is inactive, an error will be returned.</p>\n</li>\n<li><p><code>owner_id</code> (string; required): The unique identifier of the customer who will own the new club. The customer associated with this ID must be active and should not already own another club or be a member of another club.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"cdd64cca-a224-4eb2-a7fe-55a1e1af5328","name":"Club created successfully","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"6797929d03aa069a3806eaa2\",\r\n  \"owner_id\": \"vtest\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:58:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"219"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"b184402e-342e-6d09-5efa-ad03b752f3f9"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ibh5kKBj%2FCZNJ2rRBIIxWbrV0lUxU7oeY3jG1WcSg7z20DWhSWxeWjQikWTDS8L7x0FrDfcNb%2Bkxvn7uXCCmg%2BkAs2EC6rvmOkjryrDnuqIgp%2Fxe%2BfpOFPrfy8L%2FeGK6epC04%2BxKDqc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb96070b0568b3-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7438&min_rtt=7219&rtt_var=2864&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1221&delivery_rate=391189&cwnd=240&unsent_bytes=0&cid=265f385c1b836996&ts=1928&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67a9dbe8a32ffcefe606e032\",\n        \"template_id\": \"6797929d03aa069a3806eaa2\",\n        \"name\": \"Fashion influencers\",\n        \"type\": \"public\",\n        \"status\": \"active\",\n        \"balance\": {\n            \"contributed\": 0,\n            \"spent\": 0,\n            \"expired\": 0,\n            \"spendable\": 0\n        },\n        \"owner_customer_id\": \"30114810-8340-4144-a193-7699f66d184d\",\n        \"member_count\": 1\n    }\n}"},{"id":"16529bd1-7807-437a-8159-0d865a3ae5e2","name":"Bad request - club name is too short","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fa\",\r\n  \"template_id\": \"6797929d03aa069a3806eaa2\",\r\n  \"owner_id\": \"e9e5a706-b785-405a-bcf3-2e7859fd59d3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:36:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"168"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"2aab903b-57bf-ab35-bc07-ab4c4bcf57e4"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vkTI5WK3HcuSEcXQ5psoSKSzPyo7r5ehm8K1c0d8b3yIgZ5Xff9AXXJ4KMCWRWhNlPxfO4Jme3gCKWEmiPhPwy7flt7mUdYeJ0RgE9eInfKSfGwAIVdux4%2BbEMRBBL9POYTqQMgYzug%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb75143f49c1cd-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7452&min_rtt=7233&rtt_var=2192&sent=41&recv=41&lost=0&retrans=0&sent_bytes=3967&recv_bytes=1888&delivery_rate=390432&cwnd=232&unsent_bytes=0&cid=bd3f1baff83cbf6c&ts=35850&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201045,\n        \"message\": \"The club name or translation is too short. It must be at least 3 characters long.\"\n    }\n}"},{"id":"153a798c-3b2a-48dd-9abb-bb63478cce13","name":"Bad request - property cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"\",\r\n  \"owner_id\": \"66714692-74fd-435a-97ef-0353b84d7130\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:53:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"bfb6d879-895a-5937-3624-b889dd951e39"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=CRSrczf3sbgBrgwCAththskekoBx%2F1Fpf6alzQ3Z9xWU1e9GcjbJfQflFL8wQd3Ug8esTIonrjeVniQzRZs9Hl8hQYXuyWUhxca%2BV%2BfTeK2FkJcKB%2BKaondMzjF7F%2Fr47MqtFeqkJmc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb8da2cf48c1be-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7832&min_rtt=7460&rtt_var=2784&sent=21&recv=21&lost=0&retrans=0&sent_bytes=3941&recv_bytes=1875&delivery_rate=335830&cwnd=253&unsent_bytes=0&cid=a8496cb6175e5677&ts=15088&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 160360,\n        \"message\": \"Property 'club_template_id' cannot be empty\"\n    }\n}"},{"id":"d31832e3-6097-4edd-8883-1efe2cbcd683","name":"Bad request - club template with given ID does not exist","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"123456\",\r\n  \"owner_id\": \"66714692-74fd-435a-97ef-0353b84d7130\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:55:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"146"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"fc912897-4ae8-daa7-4d3a-3b549f289d31"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=IC9KXYOwbotPf5N7l6%2FkULAt0ZS%2F2LLb0SKpMjUgsUBtVXWYWPzoCO2eyJ%2B7FM5ky2haA74fr6JDIrRuQpKYoti178pC3slJhawCqZpauQ7V10BLMS94wV02J6Jd0up%2BA%2B%2Fo2PjqICg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb910f693b7339-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7507&min_rtt=6777&rtt_var=2541&sent=15&recv=15&lost=0&retrans=0&sent_bytes=3957&recv_bytes=1886&delivery_rate=416703&cwnd=243&unsent_bytes=0&cid=8d21ad2cd7b4f865&ts=8878&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201040,\n        \"message\": \"Club template with given ID does not exists\"\n    }\n}"},{"id":"7e27338a-86ff-4f60-bb3a-142eea9933b1","name":"Bad request - club template with given ID is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"678f8f4fc1a63595010cd123\",\r\n  \"owner_id\": \"66714692-74fd-435a-97ef-0353b84d7130\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:56:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"002b7b6d-08f0-f183-bcc1-1d3a88aeee87"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5HBygczM0VW8mZrV2B2ArYnJl83aqLElnIhUK82N0%2F5t3i9dfpYnl8JMSQ7QzQfvnpwwRP9LliHgtNH2XiiOq1jcdC4FtWqBDjzeCEck0h%2BqepKA9k2gdb8TB0eVbL6hZsBNphj%2BgqI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb928ce82a68af-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7075&min_rtt=7010&rtt_var=2760&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1252&delivery_rate=374684&cwnd=237&unsent_bytes=0&cid=3a0d1d477363e1f4&ts=366&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201041,\n        \"message\": \"Club template with given ID is not active\"\n    }\n}"},{"id":"9ae22bdd-527d-4f15-8df6-c8fe805943fc","name":"Bad request - only active customer can be owner of a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"6797929d03aa069a3806eaa2\",\r\n  \"owner_id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:40:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a8a0a48c-959b-b16e-518a-2f250eacca0b"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wI87Sdu7qpUbTraTBWHrGZsZbjx%2FvmYtOi4PJG2srMTefR2c8oSX34zH78MBKK%2BJRW2Mby2n6aN2LJsFZWezd4L79K695KKL9jHEwGoJq5jiWj8QotqRJuTkmgANwNDDqh81Hz8JLPk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb7ac9d941684c-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7062&min_rtt=6982&rtt_var=2778&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1252&delivery_rate=370457&cwnd=251&unsent_bytes=0&cid=5641382bcc1f74b6&ts=1136&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201044,\n        \"message\": \"Only active customer can be owner of a club\"\n    }\n}"},{"id":"8a4aa631-a2b6-4637-8489-3eecd071ee21","name":"Bad request - customer already owns a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"6797929d03aa069a3806eaa2\",\r\n  \"owner_id\": \"66714692-74fd-435a-97ef-0353b84d7130\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:32:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"77fda82c-2f00-8275-9a86-ab3c5d4f6839"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=fwPZLMjEOQOyMZDYwLlEgryMhLPLiXvFuErRuK3I8k9v0y8Y9CTTRh2%2B8UKNWfGLNfNTquzEeBgPxoe8TbYCsgQeqOu6GjPSc8pF6WItgoXFyZjoZQ2hBiw%2Fi8vOL7M4kFHCQBwh27g%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb6ff629fc68bb-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=37925&min_rtt=7296&rtt_var=22764&sent=156&recv=156&lost=0&retrans=0&sent_bytes=13535&recv_bytes=7005&delivery_rate=387061&cwnd=253&unsent_bytes=0&cid=11def4337866f5e4&ts=144178&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201042,\n        \"message\": \"The customer already owns a club\"\n    }\n}"},{"id":"340a2f48-96fa-4b7d-844a-19522296ab4d","name":"Bad request - customer is already a member of a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"6797929d03aa069a3806eaa2\",\r\n  \"owner_id\": \"e9e5a706-b785-405a-bcf3-2e7859fd59d3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:33:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"141"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"b52415ce-d6ae-84e8-44c6-836b4b930ee1"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2BS%2B6nPEZ9iYMTQz5xmXO1yfhG4pwRaxcBqSJs3HAFV7Jc48u7H7vJW90OeZMY6NSOMWNZwfu6UwfeXp12Z1vVSPu2HvaaGSSIuOpAK%2Bw07Kqbw8qFg4rpXv3crUmZrCGZIrgipYAh%2BM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb71a9d83b68b6-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6716&min_rtt=6601&rtt_var=2706&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1252&delivery_rate=375332&cwnd=251&unsent_bytes=0&cid=eac226d1f8c8c5a9&ts=876&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201043,\n        \"message\": \"Customer is already a member of a club\"\n    }\n}"},{"id":"81642b57-f8a9-4620-9e39-226cba4fc71a","name":"Bad request - customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"template_id\": \"6797929d03aa069a3806eaa2\",\r\n  \"owner_id\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 10:31:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a9abe53d-0ffe-49ec-0d27-be7b6f4e8ec0"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=oXdxwq9j7aMu6borSgM3NGNOZBJ8vSFYB6qlAersF%2FvaV1%2FXv%2F7y1IBw2aQM7xHnpgZQaw4mYnJyNnqg%2FBiRiNYiV3CiV94zX15ZeMfQ%2BtP9Y%2BCMH%2FFHGgPKMwI79eU%2F4l0tHQTrhKc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb6eabedb868bb-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=35416&min_rtt=7296&rtt_var=23662&sent=103&recv=103&lost=0&retrans=0&sent_bytes=12331&recv_bytes=6334&delivery_rate=387061&cwnd=253&unsent_bytes=0&cid=11def4337866f5e4&ts=90880&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"}],"_postman_id":"23e0ebc6-1ee0-46a3-a6bc-7ba3cf7b7c79"},{"name":"Retrieve club details","event":[{"listen":"prerequest","script":{"id":"e9994b2a-156a-45d4-88cf-2e8747d1fd0f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4b6fd8f8-58f9-43ca-a76b-4f44efe4fc16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id","description":"<p>This endpoint returns details of a specific club.</p>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the club whose details are being requested. This ID must correspond to an existing club.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"}]}},"response":[{"id":"68aa66a8-8e9d-40d6-8a9a-4330a3f6536e","name":"Club details are provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id"],"variable":[{"key":"club_id","value":"67a9dbe8a32ffcefe606e032","description":"(Required) The unique identifier of the club whose details are being requested. This ID must correspond to an existing club."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 11:04:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"255"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ff494f6f-fda4-1c3b-a5b5-5f11d3e83737"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=J2f1i15IsY402k0rV5FMm3mTuHfCMULc4uQaSRBPTLxWFYpo3j2ewXyHj2cJ9kBZPyKiX11TlVvL5Bv%2BtkxwGq8DcbpxOWe70wra3zCCpBZ%2BtxoTRtIwy8O1vhUfO%2BPtIs9msipQrAU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fb9debf86e68b6-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7185&min_rtt=6440&rtt_var=2314&sent=39&recv=39&lost=0&retrans=0&sent_bytes=3913&recv_bytes=1577&delivery_rate=438509&cwnd=253&unsent_bytes=0&cid=c9e11d9384698923&ts=33835&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67a9dbe8a32ffcefe606e032\",\n        \"name\": \"Fashion influencers\",\n        \"template_id\": \"6797929d03aa069a3806eaa2\",\n        \"type\": \"public\",\n        \"status\": \"active\",\n        \"balance\": {\n            \"contributed\": 0,\n            \"spent\": 0,\n            \"expired\": 0,\n            \"spendable\": 0\n        },\n        \"spend_limit\": {\n            \"eligibility\": \"active_members\",\n            \"limit\": null,\n            \"reset_type\": \"none\"\n        },\n        \"group_settings\": [\n            {\n            \"account_names\": [\n                \"rc_balance\",\n                \"kmd_balance\"\n            ],\n            \"donation_limit\": 50,\n            \"donation_reset_type\": \"donation_limit_reset_fix_date\"\n            }\n        ],\n        \"member_count\": 1,\n        \"owner_customer_id\": \"30114810-8340-4144-a193-7699f66d184d\"\n    }\n}"},{"id":"ece41c13-f42e-4203-8c9b-b6ccc89ebc1d","name":"Club not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id"],"variable":[{"key":"club_id","value":"test","description":"(Required) The unique identifier of the club whose details are being requested. This ID must correspond to an existing club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 11:09:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"edfc8e43-aaee-5f16-fe0e-11bda55e9c06"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=k5O9RzjPMcQyNhuVysvPO0GHPGmq8dPLqztM%2FzgAQf1Zk%2FSwHbkgcSloWiCkv6iRvpNXzBWR%2F2EexbWZija9yivG5kgcJF6hDTT2CrSMijy0dsFtF%2FSh6SBsbaPEIofSHZf1aoM2RPQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fba5536a5068bf-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12962&min_rtt=6450&rtt_var=14147&sent=31&recv=31&lost=0&retrans=0&sent_bytes=5097&recv_bytes=2041&delivery_rate=429767&cwnd=239&unsent_bytes=0&cid=6eeff75ae2367337&ts=23493&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"}],"_postman_id":"4b6fd8f8-58f9-43ca-a76b-4f44efe4fc16"},{"name":"List members of a specific club","event":[{"listen":"prerequest","script":{"id":"5aca7528-4578-44be-9e97-33d85efa2118","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"76bdabc0-f94e-4799-9c4f-14eb7c0ff6bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members","description":"<p>This endpoint returns the registered club members of a specified club. You can filter members by various parameters, such as member ID, role, and status. Pagination is also supported through offset and limit query parameters.</p>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter to a specific club member by their unique identifier.</p>\n","type":"text/plain"},"key":"id.eq","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter by member type. Possible values are 'owner' or 'member'.</p>\n","type":"text/plain"},"key":"role","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter by member status. Possible values are 'applicant', 'active', 'kicked', 'removed', or 'banned'.</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of club members to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Must be ≥ 0\nDefaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of club members returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Must be between 1 and 100\nDefaults to 20</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the club whose members are being requested.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"}]}},"response":[{"id":"7e8de792-8abd-44ee-9fcb-ccba6e1376c8","name":"List of club members is provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members?offset=2&limit=1","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club member by their unique identifier.","disabled":true},{"key":"role","value":"<string>","description":"Filter by member type. Possible values are 'owner' or 'member'.","disabled":true},{"key":"status","value":"<string>","description":"Filter by member status. Possible values are 'applicant', 'active', 'kicked', 'removed', or 'banned'.","disabled":true},{"key":"offset","value":"2","description":"Offsets the starting number of club members to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"1","description":"Limits the number of club members returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20"}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club whose members are being requested."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 11:46:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"256"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"30fbb825-05b0-fd2e-64ee-5227ac573bd3"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=djT0JibLs7nCGLimL%2Fy9Vn7nQJyuAYXKUC%2FFwOVLprtg8%2FgKpv51XrBUhxCUJtt5hjGvbfrXZ0PQBl%2Bz%2FHUV7kTvNxIGG7wsffvnWNcPXbFZawu8iQUi%2F251wECpquWV%2BCmApBa8JuY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fbdbde89e1c1c3-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=33970&min_rtt=6870&rtt_var=27734&sent=192&recv=192&lost=0&retrans=0&sent_bytes=11917&recv_bytes=4744&delivery_rate=411062&cwnd=257&unsent_bytes=0&cid=d7181ad070e54cd8&ts=180435&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": {\n        \"pagination\": {\n            \"total\": 4,\n            \"next\": \"/v1/clubs/members?offset=3&limit=1\",\n            \"previous\": \"/v1/clubs/members?offset=1&limit=1\"\n        }\n    },\n    \"payload\": [\n        {\n            \"id\": \"67981bd6bbdf7b11c903107d\",\n            \"customer_id\": \"imported_customer7\",\n            \"club_id\": \"679792daa6fad4b3ac0933f9\",\n            \"role\": \"owner\",\n            \"status\": \"active\",\n            \"balance\": {\n                \"contributed\": 55,\n                \"spent\": 0\n            },\n            \"donation_intervals\": [\n                {\n                \"accounts\": [\n                    \"rc_balance\",\n                    \"kmd_balance\"\n                ],\n                \"donation_limit\": 50,\n                \"used_from_donation_limit\": 50,\n                \"next_donation_limit_reset_date\": \"2026-01-01T00:00:00+01:00\"\n                }\n            ],\n            \"spend_limit\": {\n                \"from\": \"2024-01-01T12:00:+0200\",\n                \"to\": \"2024-04-01T12:00:+0100\",\n                \"limit\": 200,\n                \"spent\": 56\n                }\n            }\n        ]\n    }"},{"id":"cd0d7427-27f8-4a0d-8c04-8481b8efd272","name":"Club not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club member by their unique identifier.","disabled":true},{"key":"role","value":"<string>","description":"Filter by member type. Possible values are 'owner' or 'member'.","disabled":true},{"key":"status","value":"<string>","description":"Filter by member status. Possible values are 'applicant', 'active', 'kicked', 'removed', or 'banned'.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of club members to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of club members returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}],"variable":[{"key":"club_id","value":"123456","description":"(Required) The unique identifier of the club whose members are being requested."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 11:37:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"0dd7dcbf-6651-efea-e7d5-beb430d2a1ca"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=EtTtwOyJBi4OfU6whMX4GyFpWjG%2F2ajNL4jvEsLelI3jx%2Bu4%2BrE4Q83KoQQRzyiKKMC4wFXJLOM5zJr0FVL92UkGlXeEyeifBP9Of5YBYTSmgMBd5qqOI8dq398yNYCDiH5og5RpbqA%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fbcf036f8c7340-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6681&min_rtt=6260&rtt_var=2103&sent=17&recv=17&lost=0&retrans=0&sent_bytes=3914&recv_bytes=1573&delivery_rate=451118&cwnd=245&unsent_bytes=0&cid=4da3d27a85313a7d&ts=10724&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201088,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"89cf9e3c-ff2b-4557-b3ef-d78a70789ebe","name":"Bad request - invalid query string parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members?status=deleted","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club member by their unique identifier.","disabled":true},{"key":"role","value":"<string>","description":"Filter by member type. Possible values are 'owner' or 'member'.","disabled":true},{"key":"status","value":"deleted","description":"Filter by member status. Possible values are 'applicant', 'active', 'kicked', 'removed', or 'banned'."},{"key":"offset","value":"<integer>","description":"Offsets the starting number of club members to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of club members returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club whose members are being requested."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 11:51:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"140"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"61fb22dd-3782-d2d3-9510-9de51fb47c1e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=m8DU%2FvdN4yov%2BpJ9VgtC%2Bpih253c1VyFDVWLDnB4wyp5EKSOyUAK99ZTIf4n8F%2F1HhR1WMVSW43nGYqRVROMkaz9Gne8q1kogTEnlawCe7fII8f8o5brmqlMvRE2tgQ%2FRbrgfdNgBmM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fbe325d9706853-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7695&min_rtt=6826&rtt_var=2552&sent=13&recv=13&lost=0&retrans=0&sent_bytes=3893&recv_bytes=1634&delivery_rate=413712&cwnd=249&unsent_bytes=0&cid=2085d27221e7206b&ts=6724&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201013,\n        \"message\": \"Invalid query string parameter(s)\"\n    }\n}"},{"id":"d968efd6-a444-4539-b0ea-0728d068d5d0","name":"Bad request - negative offset","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members?offset=-2","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club member by their unique identifier.","disabled":true},{"key":"role","value":"<string>","description":"Filter by member type. Possible values are 'owner' or 'member'.","disabled":true},{"key":"status","value":"<string>","description":"Filter by member status. Possible values are 'applicant', 'active', 'kicked', 'removed', or 'banned'.","disabled":true},{"key":"offset","value":"-2","description":"Offsets the starting number of club members to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"<integer>","description":"Limits the number of club members returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club whose members are being requested."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 11:48:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"efe305e8-09ae-a4df-489b-30edce66d487"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=m2OJ2g0T8QEpjcztA7PN3G8prSCamSuaWPjMaA%2F1fVtHtxUE2b5%2FjUzKa2Xidu4u9a4f3gQ8z8b8EP%2BQEC%2FuWBSvuv3ZjZNM8ssYwlmeHlwVQHx7anhCq5nzWMXwJaP4dxyBKwTfVIo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fbdeb98a6c733d-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7162&min_rtt=6797&rtt_var=2810&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1123&delivery_rate=415477&cwnd=251&unsent_bytes=0&cid=85dad2a9f4168bf6&ts=201&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201011,\n        \"message\": \"Offset cannot be negative\"\n    }\n}"},{"id":"0a8e5bfa-be33-4af1-b46f-1dbbc7c6e2bb","name":"Bad request - limit out of bounds","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members?limit=120","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members"],"query":[{"key":"id.eq","value":"<string>","description":"Filter to a specific club member by their unique identifier.","disabled":true},{"key":"role","value":"<string>","description":"Filter by member type. Possible values are 'owner' or 'member'.","disabled":true},{"key":"status","value":"<string>","description":"Filter by member status. Possible values are 'applicant', 'active', 'kicked', 'removed', or 'banned'.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of club members to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"120","description":"Limits the number of club members returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20"}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club whose members are being requested."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 11:49:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"135"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"e12a41f5-d90d-2b8a-2ec5-996afa9e48c0"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=x6Iujhf2fXLGw0C%2Fhg2ZUNOlBq6uPZhWWZkaFFWBXKTwlK883tpnHkM3F0WMpZn3rKo2Px%2FSiyf%2F%2BN79pQLLQOOZ%2BswPgxCMok%2BaSV15v7pxE%2FaCsJ4oB%2BzSoKbdSpAU%2BESP2x%2B6jZg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fbe0749bd1733d-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=13873&min_rtt=6797&rtt_var=15095&sent=78&recv=78&lost=0&retrans=0&sent_bytes=5128&recv_bytes=2167&delivery_rate=415477&cwnd=254&unsent_bytes=0&cid=85dad2a9f4168bf6&ts=71078&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201010,\n        \"message\": \"Limit must be between 0 and 100\"\n    }\n}"}],"_postman_id":"76bdabc0-f94e-4799-9c4f-14eb7c0ff6bf"},{"name":"Retrieve details of a specific club member","event":[{"listen":"prerequest","script":{"id":"820dba65-34cc-42f3-a95b-d43527a975ee","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c0cc3ae5-120c-45a2-985a-8c5e268fb150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id","description":"<p>This endpoint returns detailed information about a specific club member identified by their customer ID. The response includes the member's role, status, balance, and spending limits within the club.</p>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the club to which the member belongs.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) The unique identifier of the club member whose details are being requested.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"a1722976-1d19-44c2-bcb7-9ec6af753a3d","name":"Club member details are provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club to which the member belongs."},{"key":"customer_id","value":"30114810-8340-4144-a193-7699f66d184d","description":"(Required) The unique identifier of the club member whose details are being requested.\n\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 12:56:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"191"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"39b8225f-3f02-fbc4-5d67-b73f7b2acf53"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YCjYUQJNQ4VvbEKklbYJ4VL6tAtmYPGmUoxmVYx83rCUaQC7WY%2BgbIUBMMn2%2BHQEXgxHX%2FJAYn%2Bnsc327O%2BvBKNRDwp6L%2FQ94z4nsqSWFg2VpHPTtPVqc9QLRjnroCuzx11VqyNyOSw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc422d8e5d68b0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7442&min_rtt=6959&rtt_var=2329&sent=13&recv=13&lost=0&retrans=0&sent_bytes=3922&recv_bytes=1655&delivery_rate=405805&cwnd=253&unsent_bytes=0&cid=833ccec90ad0bd2f&ts=7318&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67981bd6bbdf7b11c903107d\",\n        \"customer_id\": \"30114810-8340-4144-a193-7699f66d184d\",\n        \"club_id\": \"679792daa6fad4b3ac0933f9\",\n        \"role\": \"owner\",\n        \"status\": \"active\",\n        \"balance\": {\n            \"contributed\": 55,\n            \"spent\": 0\n        },\n        \"donation_intervals\": [\n        {\n            \"accounts\": [\n            \"rc_balance\",\n            \"kmd_balance\"\n            ],\n            \"donation_limit\": 50,\n            \"used_from_donation_limit\": 50,\n            \"next_donation_limit_reset_date\": \"2026-01-01T00:00:00+01:00\"\n        }\n        ],\n    \"spend_limit\": {\n      \"from\": \"2024-01-01T12:00:+0200\",\n      \"to\": \"2024-04-01T12:00:+0100\",\n      \"limit\": 200,\n      \"spent\": 56\n    }\n    }\n}"},{"id":"dd141155-d62e-4f6d-b25a-171a1f5af10c","name":"Club not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id"],"variable":[{"key":"club_id","value":"6793948248ba07fa9e0fe9e5","description":"(Required) The unique identifier of the club to which the member belongs."},{"key":"customer_id","value":"30114810-8340-4144-a193-7699f66d184d","description":"(Required) The unique identifier of the club member whose details are being requested.\n\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:00:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"111ab87d-8e2f-9c52-f8b1-70d1ba824efc"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=SvVMy9ehj2B%2BDhd0dVp%2BJ5O1L5C2y2AjY1c6GZ2Y4jKGG3W6SFzGaiuFJZF87FowoMhIuVioMzzwT502%2F44BlGmS3AZSfM89mouafF2IvmNsLQJHGj3FbmWv%2BWdq0mMOFzrbOAoC1R8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc47f7bd906847-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=34132&min_rtt=7096&rtt_var=27623&sent=122&recv=122&lost=0&retrans=0&sent_bytes=11114&recv_bytes=4836&delivery_rate=397970&cwnd=256&unsent_bytes=0&cid=703b4df1c29a53ee&ts=109312&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201092,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"f3042613-6183-4678-9e23-2691bcf61d5e","name":"Club member not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club to which the member belongs."},{"key":"customer_id","value":"30114810","description":"(Required) The unique identifier of the club member whose details are being requested.\n\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 12:58:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"c4181d1b-166a-f363-6c5f-a7e80f266a2e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=LnQoqbeUx8t7UGyHAyGbCyF8zLX8DE5BXY5NXWJvhrSFBoVe9sqeE2JHq0SnF5HxB6YZa1JMkuYQDoyUe%2BOAhgL7QjN6QgRIv0EW1pCUlafhWCeEMTjTXKbUkmjs8bKuh6G57%2FL%2FKis%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc454d586f6847-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7514&min_rtt=7096&rtt_var=2959&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1098&delivery_rate=397970&cwnd=250&unsent_bytes=0&cid=703b4df1c29a53ee&ts=241&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"}],"_postman_id":"c0cc3ae5-120c-45a2-985a-8c5e268fb150"},{"name":"Remove a member from a club","event":[{"listen":"prerequest","script":{"id":"c63f3564-cf9b-4256-92c8-4e801d7da8dc","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"id":"1305e503-f196-4884-a41d-d89a11d555b5","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"0d40ff11-1141-4e67-8fce-2f0d350ec90a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","description":"<p>This endpoint allows users to remove a member from a club. The customer may rejoin the club later.</p>\n<p>Once created, the <code>club_member_remove</code> event is automatically registered in both the club's and the customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string; required): The ID of the customer performing the removal action. This is a mandatory field.</p>\n</li>\n<li><p><code>reason</code> (string; optional): Reason for removing the member from the club. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id","remove"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the club from which the member will be removed.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) The unique identifier of the member to be removed from the club.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"a3d0fe36-8490-4453-b9bc-f5fa1bdb9523","name":"Member is removed from the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"customer34567\",\r\n  \"reason\": \"Inactive user.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"customer1234","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:29:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"0fd141e1-25a6-fe64-ca63-819d174b1d7a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=neo61h8jrR72LEChXjI8LAC%2FJm%2FqemhPmWN4q1iIBEGbVgqcvtKkGOvgniMePzwLCctFyd8mypQa37z%2FrvBddaURieHjQk2di1uMzoaDCHq9bG5iYHS6qzwUU%2FAkiamwOJn%2BA1a7uY0%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc72d808147339-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7471&min_rtt=7139&rtt_var=2914&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1240&delivery_rate=395573&cwnd=251&unsent_bytes=0&cid=032ea6d369e45159&ts=1754&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": null\n}"},{"id":"c9460a43-a835-4d12-ac2d-fbcd207b9a60","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"test","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:27:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"b411ca52-519f-5e9b-2059-a5f0ad86a485"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=K9%2BdnYuNlYGoLNN4EeNPOPNCtyam%2B5ozLUDQrCeUVoISfbCaYyuEcfUHfQyJ12YkY4S9qr79Ld7u60a9xBprScO%2FK8nKqzSy580otQ5cIaOuJLPVNDm3wD1fm5T4gZ8Rif632O7l8wY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910504d71cd93254-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12938&min_rtt=12596&rtt_var=4968&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1242&delivery_rate=224198&cwnd=251&unsent_bytes=0&cid=db923fb740e9ed65&ts=184&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"b25d18f9-9386-4af4-b1e6-9c35e63b2c1a","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"customer34567\",\r\n  \"reason\": \"Inactive user.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"test","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:36:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1b1c0eb5-4179-56fd-7c5d-6cf69af70bf6"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=OXAyKIabU0ChQbQuah8WUPPsmzUlfFVGeSSMMCOivSm5%2FglxLyW01tAAx7Orxrwy59H1Kx%2BJwoZMkcVoeuS6B0aFbHGIjp80OH%2BiM09D5loxnkwdAYw0nE2w1dywvr0GOEBSHAzrkmQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc7d9638d868ad-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=30135&min_rtt=6403&rtt_var=26652&sent=56&recv=56&lost=0&retrans=0&sent_bytes=9865&recv_bytes=5074&delivery_rate=415844&cwnd=255&unsent_bytes=0&cid=83f66f7581260483&ts=42418&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"058bc699-8992-4ed4-859b-87090e973c79","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"ea73cedf-c9c4-4249-abfb-22533efdc3e6","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:28:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"92ee2942-8714-1d7b-6276-c11ea323576a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=02fpMz5qUOrrr5NQpW2qkAx5eTha%2FF9yyha5sAFx2z6PO8PZI08nRB2U8%2F60ESTq5II6nUzyZI6n%2BDGlz9sogyXwOuIMFGi8l0uaf%2Fn2jR%2FCoCDcodXuEQFaDlXsbssOCI%2BI85rVZwY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9105070d3f8f3254-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=19670&min_rtt=12596&rtt_var=16332&sent=97&recv=97&lost=0&retrans=0&sent_bytes=5129&recv_bytes=2604&delivery_rate=224198&cwnd=254&unsent_bytes=0&cid=db923fb740e9ed65&ts=90758&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"7c0881cc-1689-44a4-96b0-b5a9e6845c5e","name":"Bad request - actor parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:30:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"e28a543d-1b23-5057-2e41-e434a2ee99ca"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=lHbqjPff6fbaJfo6%2BN%2Bbx7mbhpaeboo%2FPuYA5o%2F0lIhBLs03kJm9hJxFt5MpYWOQ%2BCxe8fp81Z9Ke6SCSaZA7xz71lN074FJekJfMx0jNkQD8CApVpDaATLn5wwh4K6KQwcm0kYqDms%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910508edebef3258-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=10938&min_rtt=10474&rtt_var=3324&sent=18&recv=18&lost=0&retrans=0&sent_bytes=3931&recv_bytes=1871&delivery_rate=269620&cwnd=253&unsent_bytes=0&cid=d989041babc5f032&ts=12882&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201026,\n        \"message\": \"Actor parameter is missing\"\n    }\n}"},{"id":"1c17cc12-2904-490d-b8bf-56ce2f93d5b6","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:30:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"628cbfb6-c747-9bc5-3172-9ab931ef5fa4"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=iia1u1HnYyY0sGbF3qIft3Dwze8RkfhtAggEEHobcRsf3QSLU0t5p6kl00jUKiUUSohYV9S%2B4VAAdtR3IWi1wEw7L8JOw9H89%2F%2BlwP6LqoqWEbjRm%2FsjZqVBxO8PyET7aD2JUfO9oEY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91050984e9f03258-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=17534&min_rtt=10474&rtt_var=15685&sent=43&recv=43&lost=0&retrans=0&sent_bytes=5132&recv_bytes=2514&delivery_rate=269620&cwnd=254&unsent_bytes=0&cid=d989041babc5f032&ts=36804&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"1274840b-d929-4e90-afe6-ed2ad79940ce","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"33cc313988befe60e3413e76\",\r\n  \"reason\": \"Inactive user.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"customer1234","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:17:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"53431773-eae3-9361-f259-0d2ca5b023a2"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=TeryaS7R4TKzvOiCOBlY%2FIJSeYSazVRla8AHfwhqpGBqNQNGFEfQZtCX6MKF6vBFeBqcRpPz4BzoauEW7COc0YDmCaDfXGyfLifWH3qQOO8xRSoSa%2BRU6LVOb4%2Banum2YbwitsbWTzw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc60a1afdb6850-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6966&min_rtt=6571&rtt_var=2601&sent=48&recv=48&lost=0&retrans=0&sent_bytes=3935&recv_bytes=1911&delivery_rate=393095&cwnd=253&unsent_bytes=0&cid=e00fe8365b1c89db&ts=43250&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201027,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"e5cdf120-15fc-4ea9-9c39-3544f8ab49fb","name":"Bad request - owners cannot be removed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"28d4573e-859e-44bb-9d7b-5612005634a5","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:28:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"b924660f-0f20-c4be-b46d-26057f669208"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=lUgyRS1J6ULfrp1ogy9wcGssEvPV6JdEx%2BoJNiHU14reSaEM5GHyL906pM10%2FiHhQaUYyWsoPKPMU7prgqo0wsWmiLBsEBSye%2F3fxSIdRC1Gq8%2Fmq0rSMl9O50ONV45ZctEOhpK9K30%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9105062b9e113254-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12917&min_rtt=12596&rtt_var=3767&sent=60&recv=60&lost=0&retrans=0&sent_bytes=3916&recv_bytes=1923&delivery_rate=224198&cwnd=253&unsent_bytes=0&cid=db923fb740e9ed65&ts=54736&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201028,\n        \"message\": \"Owners cannot be removed. Ownership must be reassigned\"\n    }\n}"},{"id":"7a0516fc-40b6-4c2c-80cf-9069a51d49da","name":"Bad request - only active members or applicants can be removed from a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"customer34567\",\r\n  \"reason\": \"Inactive user.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"customer_with_removed_status","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:31:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"155"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1d953d6d-d6cf-79ad-cf80-718a6e4dd960"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=SSB49fWxn%2BHfgJKMBGfcyUQ7cwHGoCMSpMHyiA2J%2Bt0PVOy5I0BGhJYm4Or0sgm4Hxb16E0EbYCAlJMyWurMS%2BSIWybOUKY%2F18cvscGOjYwDZvBQD3djMBFNuehGAONDsFg2LJBspFk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc75e7695f6844-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7471&min_rtt=7108&rtt_var=2925&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1240&delivery_rate=397298&cwnd=251&unsent_bytes=0&cid=058a9121c4f42bfc&ts=246&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201029,\n        \"message\": \"Only active members or applicants can be removed from a club\"\n    }\n}"}],"_postman_id":"0d40ff11-1141-4e67-8fce-2f0d350ec90a"},{"name":"Ban a member from a club","event":[{"listen":"prerequest","script":{"id":"5bb66296-64bc-42c5-a576-5aecc52009b8","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"id":"6713a79b-0eb7-4812-8c57-351bce3a7483","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"397fb5be-abc9-4deb-88aa-5bea34007625","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ban","description":"<p>This endpoint is used to remove a member from a club with a ban, preventing the customer from rejoining in the future.</p>\n<p>Once created, the <code>club_member_ban</code> event is automatically registered in both the club's and the customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string; required): The ID of the customer performing the ban action. This is a mandatory field.</p>\n</li>\n<li><p><code>reason</code> (string; optional): Reason for banning the member from the club. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id","ban"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the club from which the member will be banned.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) The unique identifier of the member to be banned from the club.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"1acdca5d-2a9b-4f84-b5d7-324e5ab6f218","name":"Member is banned from the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"30114810-8340-4144-a193-7699f66d184d\",\r\n  \"reason\": \"Inactive user.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"67a9dbe8a32ffcefe606e032","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"5ab3f069-bd5d-4679-b18f-421ae3e10a16","description":"(Required) The unique identifier of the member to be banned from the club.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:29:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"0fd141e1-25a6-fe64-ca63-819d174b1d7a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=neo61h8jrR72LEChXjI8LAC%2FJm%2FqemhPmWN4q1iIBEGbVgqcvtKkGOvgniMePzwLCctFyd8mypQa37z%2FrvBddaURieHjQk2di1uMzoaDCHq9bG5iYHS6qzwUU%2FAkiamwOJn%2BA1a7uY0%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc72d808147339-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7471&min_rtt=7139&rtt_var=2914&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1240&delivery_rate=395573&cwnd=251&unsent_bytes=0&cid=032ea6d369e45159&ts=1754&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": null\n}"},{"id":"365537c4-e0f9-4404-b9fd-90c86b4f9a98","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ban"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the member to be banned from the club.\n\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:22:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"2cda7b38-9c93-ad3b-4cac-17e72cdf7ba5"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ORAv4CZZ10WVz1HYnc9NjYHEo4x3XKIK1Jl%2BlGtAoCQRLeO8BM9XG%2FUc0r3xGeu2TaQbdrcm11gnAIvi3nTPBd6YijIYG4yGwbU8ixuokcVATs4F8pBcSxanakzxCxRUhL8rXI1usOk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104fd3d0d77c2d9-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=17887&min_rtt=11808&rtt_var=13373&sent=64&recv=64&lost=0&retrans=0&sent_bytes=5144&recv_bytes=2521&delivery_rate=239159&cwnd=254&unsent_bytes=0&cid=79a62f588e311b6d&ts=57898&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"d2074eb4-9b58-49b7-81da-411d7ca96ca0","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"30114810-8340-4144-a193-7699f66d184d\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"67a9dbe8a32ffcefe606e032","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"test","description":"(Required) The unique identifier of the member to be banned from the club.\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:36:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1b1c0eb5-4179-56fd-7c5d-6cf69af70bf6"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=OXAyKIabU0ChQbQuah8WUPPsmzUlfFVGeSSMMCOivSm5%2FglxLyW01tAAx7Orxrwy59H1Kx%2BJwoZMkcVoeuS6B0aFbHGIjp80OH%2BiM09D5loxnkwdAYw0nE2w1dywvr0GOEBSHAzrkmQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc7d9638d868ad-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=30135&min_rtt=6403&rtt_var=26652&sent=56&recv=56&lost=0&retrans=0&sent_bytes=9865&recv_bytes=5074&delivery_rate=415844&cwnd=255&unsent_bytes=0&cid=83f66f7581260483&ts=42418&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"49a98f77-a012-450f-8069-f30693675129","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ban"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"5ab3f069-bd5d-4679-b18f-421ae3e10a16","description":"(Required) The unique identifier of the member to be banned from the club.\n\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:23:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a92dc4ea-548b-a724-47d3-cc527b050aec"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=NtCkC2PYIU2b8zz4QAWCpq08HGphv5HFv48OEjk6V5uS5KKsnm3MR5xRt8pi49Z7ehBNQIIbcSTtXw9d85XRNtmsrobLF5GMShqbDxKUN5D72fXJUNut%2BzTWTU5GdkKEbDOUAWZg84A%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104fea8b890c2d9-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=24095&min_rtt=11808&rtt_var=22445&sent=122&recv=122&lost=0&retrans=0&sent_bytes=6324&recv_bytes=3199&delivery_rate=239159&cwnd=255&unsent_bytes=0&cid=79a62f588e311b6d&ts=116094&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"ee8866c1-8498-4ded-ac9e-83b5052fa8fd","name":"Bad request - actor parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ban"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the member to be banned from the club.\n\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:21:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"d9cabd07-4c06-b84d-624a-be4caab9c34a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=32xJ1BfwaCGB9GDU37rk8P8XK7fz%2F7GCIPj%2B%2BcTa%2FjS6xOuUIroolRtmXfXylUcbvkahAFIEAh2ALfA%2BH86H7L5WwvyOI82Gx8g37t63siJ85TP8FkWEmYmVOKoic9zQROHfaUcNLEE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104fbd50a59c2d9-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12818&min_rtt=11808&rtt_var=5150&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1223&delivery_rate=239159&cwnd=251&unsent_bytes=0&cid=79a62f588e311b6d&ts=488&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201026,\n        \"message\": \"Actor parameter is missing\"\n    }\n}"},{"id":"d6c07f8e-f024-4d03-80a2-56b0b9942901","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ban"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the member to be banned from the club.\n\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:21:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"082f2417-9741-c922-a199-0282cd17cc99"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=GbuphG7Hzv3oW90qg7Tg%2B9gc2%2ByFWx3CREzbW2%2BP6P3HYPpuNd%2FgsWG%2Bg64dv2cM70iQoZQXHng30BmVcZV0ox3n8Nl8RrPAYvLHMRnjU0qCnQI5R%2FYfQjryI1EDZoPUyunqs0E0KI4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104fc6e8ee2c2d9-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12722&min_rtt=11808&rtt_var=4055&sent=30&recv=30&lost=0&retrans=0&sent_bytes=3936&recv_bytes=1863&delivery_rate=239159&cwnd=253&unsent_bytes=0&cid=79a62f588e311b6d&ts=24695&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"aa95e72d-dfd1-46cf-9828-d676499e691f","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"33cc313988befe60e3413e76\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"67a9dbe8a32ffcefe606e032","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"30114810-8340-4144-a193-7699f66d184d","description":"(Required) The unique identifier of the member to be banned from the club.\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:17:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"53431773-eae3-9361-f259-0d2ca5b023a2"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=TeryaS7R4TKzvOiCOBlY%2FIJSeYSazVRla8AHfwhqpGBqNQNGFEfQZtCX6MKF6vBFeBqcRpPz4BzoauEW7COc0YDmCaDfXGyfLifWH3qQOO8xRSoSa%2BRU6LVOb4%2Banum2YbwitsbWTzw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc60a1afdb6850-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6966&min_rtt=6571&rtt_var=2601&sent=48&recv=48&lost=0&retrans=0&sent_bytes=3935&recv_bytes=1911&delivery_rate=393095&cwnd=253&unsent_bytes=0&cid=e00fe8365b1c89db&ts=43250&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201027,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"481f32f2-b82c-40af-8f33-f7c2728dd9c8","name":"Bad request - owners cannot be banned","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"30114810-8340-4144-a193-7699f66d184d\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ban"],"variable":[{"key":"club_id","value":"67a9dbe8a32ffcefe606e032","description":"(Required) The unique identifier of the club from which the member will be removed."},{"key":"customer_id","value":"30114810-8340-4144-a193-7699f66d184d","description":"(Required) The unique identifier of the member to be removed from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:52:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"cb838137-ac47-7a9d-a555-dd7cf98caefa"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FDWGYJnqzZ0guJ12lsFXP20p%2BlHWe6%2FYjRn6JIQQXlII0efLoM3WGFge%2BYVPEryCCDk5%2FLnQ4r8vqkUzgADcG%2F999k00ZX7UGZNZHP4xDt1XotXhSGm4LFA5wUL090wTk7sNQz%2BItBY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc93f9b9ccc1a8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7454&min_rtt=7132&rtt_var=2904&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1259&delivery_rate=395961&cwnd=251&unsent_bytes=0&cid=72c02f3305bea104&ts=454&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201024,\n        \"message\": \"Owners cannot be banned. Ownership must be reassigned\"\n    }\n}"},{"id":"f188f5b0-28da-4f00-9980-5d7ca6970d8f","name":"Bad request - banned club members cannot be banned again","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ban"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the member to be banned from the club.\n\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:25:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"140"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"6a3a00c6-4f26-6b86-7230-a4a892f59bc5"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Dy%2BgXwqJXKXecsRd3JQyUWsDp2NKLz%2BOK1ikuTJcN2J2d4WhA%2ByTPQsolLD252FPBFm3Ji7n8YDXqLAMv4k0q67G4O4FlS8WkwjYrcwLR8RWN3i%2Bfg1Q97pYyyeUDR7NTSci4g95drc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910502484d513259-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12751&min_rtt=11902&rtt_var=4084&sent=23&recv=23&lost=0&retrans=0&sent_bytes=3924&recv_bytes=1937&delivery_rate=237271&cwnd=253&unsent_bytes=0&cid=0f74e7f55125dfef&ts=16785&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201025,\n        \"message\": \"Banned club members cannot be banned again\"\n    }\n}"}],"_postman_id":"397fb5be-abc9-4deb-88aa-5bea34007625"},{"name":"Unban a member from a club","event":[{"listen":"prerequest","script":{"id":"1d146e2b-41ee-4635-9df3-074d588db775","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"id":"cac0bec4-1543-4bbf-a98a-876c2ef46513","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6778a8cf-c3af-40a8-a29c-56dd7a820f6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/unban","description":"<p>This endpoint allows banned member to rejoin a club.</p>\n<p>Once created, the <code>club_member_unban</code> event is automatically registered in both the club's and the customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string; required): The ID of the customer making the unban action (restricted to club owner ID).</p>\n</li>\n<li><p><code>reason</code> (string; optional): Reason for the unban action. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id","unban"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the club from which the member is being unbanned.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) The unique identifier of the customer who is being unbanned.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"8aeeb9a7-ae1c-4633-90e7-cb2cda256330","name":"Member is unbanned from the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"66714692-74fd-435a-97ef-0353b84d7130\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/unban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","unban"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The unique identifier of the club from which the member is being unbanned."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the customer who is being unbanned.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:02:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"193"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"134ff853-2539-9424-6b4d-b7640bed88b4"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=uRT2SD0BS4MXllG7APOWewNq84Ru79H%2BXDFmQeIHnDm9VQyxKwkjc6pLU2sNG%2Fki10beyuBPT7PWFyBY%2BTW6AQW3JREalpdijzdTvZm6qa4q%2FchwRkumAqwe3ELxgKKYxBLXu7oXnCg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fca2a4fdfdc1b2-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=8174&min_rtt=7469&rtt_var=2842&sent=30&recv=30&lost=0&retrans=0&sent_bytes=3944&recv_bytes=1881&delivery_rate=378096&cwnd=253&unsent_bytes=0&cid=7ca62634d58b634f&ts=26604&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"6798cb8e19bb4572860f01b7\",\n        \"customer_id\": \"customer1234\",\n        \"club_id\": \"6798ca70875d229c63078b52\",\n        \"role\": \"member\",\n        \"status\": \"removed\",\n        \"balance\": {\n            \"contributed\": 26,\n            \"spent\": 0\n        },\n        \"spend_limit\": null\n    }\n}"},{"id":"6dd92ac3-253b-4118-adc0-95612ca1afce","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"66714692-74fd-435a-97ef-0353b84d7130\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/unban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","unban"],"variable":[{"key":"club_id","value":"test","description":"(Required) The unique identifier of the club from which the member is being unbanned."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the customer who is being unbanned."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:15:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"0800fa84-3951-3918-9b54-96331e831c57"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YCZAlHm6DjuE0ZCWTL2tscs38XXEwGtYl5GM%2FL2OiCE3m2aRpjM%2Bi5dmvjP0y8TtUQ3uVTewxtcif7QBEnDcslGFFjNsgXJ6%2F%2Fthi%2Bswvwta9Rp6KMGkJ7BHst3F3XnW3fHJmiTvDNs%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104f3971c38c26a-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11170&min_rtt=10789&rtt_var=3268&sent=23&recv=23&lost=0&retrans=0&sent_bytes=3939&recv_bytes=1921&delivery_rate=261748&cwnd=253&unsent_bytes=0&cid=8f3d8047607188f9&ts=17666&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"ecb3a5ed-d25a-418e-bb3b-b723319076cc","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"66714692-74fd-435a-97ef-0353b84d7130\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/unban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","unban"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The unique identifier of the club from which the member is being unbanned."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) The unique identifier of the customer who is being unbanned."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:16:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"4c45245a-feca-8eab-b843-766d77e70e16"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Vm61zD25o3CxO%2BpA5fJnkjZJXFPjY45Fb7XAoKUdnpy9Zciy0nt5YWejBOFppH3MVBMfarCvmQG37YmDa7sc3RMY589wX86dQFh0BNtDkUnt%2FFa1qhaB7j0D02y23KM9OT5NKnl3Asw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104f550fae6c28e-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11428&min_rtt=11203&rtt_var=4362&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1261&delivery_rate=252075&cwnd=251&unsent_bytes=0&cid=94971ec5fc79d196&ts=214&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"95f56f75-606a-443d-a5e9-1c4e6f04617f","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"30114810-8340-4144-a193-7699f66d184d\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member will be banned."},{"key":"customer_id","value":"test","description":"(Required) The unique identifier of the member to be banned from the club.\n"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:36:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1b1c0eb5-4179-56fd-7c5d-6cf69af70bf6"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=OXAyKIabU0ChQbQuah8WUPPsmzUlfFVGeSSMMCOivSm5%2FglxLyW01tAAx7Orxrwy59H1Kx%2BJwoZMkcVoeuS6B0aFbHGIjp80OH%2BiM09D5loxnkwdAYw0nE2w1dywvr0GOEBSHAzrkmQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc7d9638d868ad-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=30135&min_rtt=6403&rtt_var=26652&sent=56&recv=56&lost=0&retrans=0&sent_bytes=9865&recv_bytes=5074&delivery_rate=415844&cwnd=255&unsent_bytes=0&cid=83f66f7581260483&ts=42418&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"4c077887-110b-40b6-9ccc-0d53deb719c2","name":"Bad request - actor parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/unban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","unban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club from which the member is being unbanned."},{"key":"customer_id","value":"customer34567","description":"(Required) The unique identifier of the customer who is being unbanned."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:27:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"9440b4c7-3312-710a-482b-8437d0286b0f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=qYDs1x7Te0ojRxFt8agfssgOnLy%2FTa4RL4wPul75U3GvyKxFcWCPIhm2WIZrlXMv%2BhokdLcv7bTwwETaFv1ezOElrZ8h%2BWwXmOs50Q%2BjN54Zj6J8YZPPnWPOsqt7qKHibY6pH9baH8o%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fcc778eeebc1b7-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7442&min_rtt=7004&rtt_var=2939&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1207&delivery_rate=403198&cwnd=251&unsent_bytes=0&cid=53728d6e88956036&ts=272&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201026,\n        \"message\": \"Actor parameter is missing\"\n    }\n}"},{"id":"2b11f330-5f89-4863-82a8-4315df19bce8","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/unban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","unban"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The unique identifier of the club from which the member is being unbanned."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The unique identifier of the customer who is being unbanned."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:18:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"4e55f031-b6e2-abc0-3b35-690bad87ffcd"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=xhUoOMhcgeqpbqrTTU6SJXdzX%2BvRRWkJwACErkRnT3Tq3NwYQe4fO1Js2%2BGF3tSs6H9qJvglJseYCP0GlYrJ%2B2QQyGI6EYT6Og2xAGvgZedm9uS4vIR594mxa9YCRrLFjXR6qsNBVTE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104f7b92d44c28e-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=22467&min_rtt=11203&rtt_var=21203&sent=105&recv=105&lost=0&retrans=0&sent_bytes=6323&recv_bytes=3191&delivery_rate=252075&cwnd=255&unsent_bytes=0&cid=94971ec5fc79d196&ts=98705&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"45ae6668-4015-4d1e-9397-e110c9a17be5","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"customer34567\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/remove","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","remove"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member is being unbanned."},{"key":"customer_id","value":"customer1234","description":"(Required) The unique identifier of the customer who is being unbanned."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 13:17:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"53431773-eae3-9361-f259-0d2ca5b023a2"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=TeryaS7R4TKzvOiCOBlY%2FIJSeYSazVRla8AHfwhqpGBqNQNGFEfQZtCX6MKF6vBFeBqcRpPz4BzoauEW7COc0YDmCaDfXGyfLifWH3qQOO8xRSoSa%2BRU6LVOb4%2Banum2YbwitsbWTzw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fc60a1afdb6850-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6966&min_rtt=6571&rtt_var=2601&sent=48&recv=48&lost=0&retrans=0&sent_bytes=3935&recv_bytes=1911&delivery_rate=393095&cwnd=253&unsent_bytes=0&cid=e00fe8365b1c89db&ts=43250&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201027,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"cfa2efb6-0559-4d0f-a296-f613fb64311d","name":"Bad request - only banned members can be unbanned","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"30114810-8340-4144-a193-7699f66d184d\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/unban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","unban"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club from which the member is being unbanned."},{"key":"customer_id","value":"customer34567","description":"(Required) The unique identifier of the customer who is being unbanned.\n"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:06:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"f15dd4bf-1bcc-69f2-760c-f02e2abb8320"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=BMyfRfPMYb0Z2W1EG170zaacVPZrt0C%2Blx1lUBkSYldT2DZEDgYmrnffpnW0WsHHncwzoBzwA1YesSeWv8qoqrbFCSKmJs5DgULfD%2FciXsuClWnHAzPiQP4fVmIwrQshjouuHJRtFwQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fca92d2cd21cd8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6865&min_rtt=6228&rtt_var=2791&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1232&delivery_rate=453436&cwnd=251&unsent_bytes=0&cid=5b44f1f171a4d730&ts=354&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201019,\n        \"message\": \"Only banned members can be unbanned\"\n    }\n}"}],"_postman_id":"6778a8cf-c3af-40a8-a29c-56dd7a820f6c"},{"name":"Add a customer to a public club","event":[{"listen":"prerequest","script":{"id":"36b503f5-35c9-4e2a-be26-12a534864cba","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"482d4312-286d-4c77-83da-35c74532411b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"<string>\",\r\n  \"channel\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","description":"<p>This endpoint allows a registered loyalty member to join a public club as an active member.</p>\n<p>When a member joins, the <code>club_member_join</code> event is automatically registered in both the club's and customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>customer_id</code> (string, required): The ID of the loyalty member who is joining the club.</p>\n</li>\n<li><p><code>channel</code> (string, optional): Channel through which the member is joining the club.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members","join-public"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the public club to join.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"}]}},"response":[{"id":"b1d007c2-3b5b-49a8-a7ea-9601d4d0477c","name":"Customer is added to a public club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"The unique identifier of the public club to join."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:24:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"207"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"c78d6aaf-726d-4bd3-9137-cc951b7a1ba6"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=eNGYOZ608WeVzpqfjda2WWAXMY0qSW8gRK06Hg%2BkpqvyuqLbwbA7lQkhng7AQGzVl0brxTgRTNdRpYjwgQ%2BlpG%2BJ4N3Jd4eAOPlYvVfRqPZmqWvfuoTOAr%2FHqCET7PBvyrVswfsYLys%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fcc2d31f04c1b7-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=8992&min_rtt=6609&rtt_var=3592&sent=46&recv=46&lost=0&retrans=0&sent_bytes=3927&recv_bytes=1893&delivery_rate=427296&cwnd=253&unsent_bytes=0&cid=1a6488d517fdb14f&ts=41062&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67aa0c083df2fac09e0932f4\",\n        \"customer_id\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\n        \"club_id\": \"6798ca70875d229c63078b52\",\n        \"role\": \"member\",\n        \"status\": \"active\",\n        \"balance\": {\n            \"contributed\": 0,\n            \"spent\": 0\n        },\n        \"spend_limit\": null\n    }\n}"},{"id":"75472718-1255-4b52-99bd-b61353bbc442","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"28d4573e-859e-44bb-9d7b-5612005634a5\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b51","description":"The unique identifier of the public club to join."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:23:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"7855d7a6-13e0-d3da-cf88-9e55c6af158d"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Q54CbQRiI%2F2N0mFkhncprbipPNtVx5lVm%2B%2FO%2FmfzVtEDg9%2BND%2BftC3h2Dy%2BxWBgdvrcHpPShOF5qhtAlmbHSYNc7iQf8X9VImtuuWyZI7WPMoytOHxE1yykn64B%2FXe98o4L%2Bsu1utww%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fcc1d86dc2c1b7-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=9332&min_rtt=8205&rtt_var=3882&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1237&delivery_rate=344180&cwnd=251&unsent_bytes=0&cid=1a6488d517fdb14f&ts=414&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"0843ed9f-d3fa-4a94-80a0-3cf99dc31174","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"28d4573e\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:25:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1b74d662-12ca-b2f0-33dc-120c0b5e7841"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=1c35Mj8W%2FER7x6JPdonz5Z%2BDwnaPtWX%2F6eQy9E3qpcjoiez34a2vZrg%2B0g63lX16c4IydFWJJEYwjuLGtLPzOqgd7hpkw4cEoAbWtDxQsYls6952rGba09GcXRHnptCFWUnSPjm5coE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fcc4658c091cd0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7512&min_rtt=7498&rtt_var=2821&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1209&delivery_rate=376633&cwnd=251&unsent_bytes=0&cid=276a26a21e645b83&ts=247&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"9daacaa4-edae-4a74-9297-763a9f7e360c","name":"Bad request - property 'customer_id' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": ,\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:26:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"143"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"0d721e70-bd51-d250-705e-6ebc3ceec07a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZTXT4Bp6SvxWODYExCihi%2B5DNkBsMkAvw%2F0ijUxw6zqNvKCwg4Uo%2BDD88FHZnOhBLHDvLrCmEDGSZvitToRAE%2FvbI0n6wKXMIOKdiX%2FDOL2Pms2shOZ%2FgNb0MNL3TzYWN1%2BObsa6xOA%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fcc5c0feec1cd0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=20814&min_rtt=6847&rtt_var=21197&sent=65&recv=65&lost=0&retrans=0&sent_bytes=7492&recv_bytes=3703&delivery_rate=412443&cwnd=256&unsent_bytes=0&cid=276a26a21e645b83&ts=55910&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'customer_id' cannot be empty\"\n    }\n}"},{"id":"26b14150-9342-4b83-832d-d1f5ec21d1d0","name":"Bad request - customer is already a member of a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"66714692-74fd-435a-97ef-0353b84d7130\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 14:31:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ec8b172c-2dd1-c6bd-b1cd-79bdfa42f048"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=kudQWjEj0mKuUW99EsIrcX1%2BALRtJ1fPz3oPZFdjESsgW6cKaYaGZPA7HiWIASvwFaGgK1fXYcvjmTaS1dgweGPhUVh%2B1lGXy4wiajAkqw6hUhr42DnSukExbif8K%2B8%2BPg8ba7MgXrU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fccd95cf9c684d-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=13029&min_rtt=7392&rtt_var=12700&sent=25&recv=25&lost=0&retrans=0&sent_bytes=5122&recv_bytes=2481&delivery_rate=372510&cwnd=254&unsent_bytes=0&cid=680d9a79eb2cdc2d&ts=17924&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201049,\n        \"message\": \"Customer is already a member of a club\"\n    }\n}"},{"id":"aa52d534-bd6c-45c7-b842-2b96997090fb","name":"Bad request - customer is banned from this club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:08:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"17caddde-d805-efaa-7e67-725960b3c731"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=pv9Z9GDQ4ImEdBKiubS%2FkH3FQ8sxnq8Onv0QQnbew7rVWP%2BKqo%2Fqs4olYLpZKQD%2BbTZARHflzZdqlyitwI9teBIN1WhZOgvUTRV%2B%2FJXjLv0vAF%2B1tpajD5PU84qchwxNQuxFigbwp60%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104e8f1b931c1b9-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=31938&min_rtt=6761&rtt_var=25597&sent=155&recv=155&lost=0&retrans=0&sent_bytes=11225&recv_bytes=5609&delivery_rate=417689&cwnd=257&unsent_bytes=0&cid=e4a43460b77464f1&ts=144819&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201050,\n        \"message\": \"Customer is banned from this club\"\n    }\n}"},{"id":"fe614da9-d2f1-44a2-8219-43446bcb2f93","name":"Bad request - club with given ID is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"e234fcb3-5fdc-4fef-9bac-1e5d1c7657b0\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:08:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"17caddde-d805-efaa-7e67-725960b3c731"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=pv9Z9GDQ4ImEdBKiubS%2FkH3FQ8sxnq8Onv0QQnbew7rVWP%2BKqo%2Fqs4olYLpZKQD%2BbTZARHflzZdqlyitwI9teBIN1WhZOgvUTRV%2B%2FJXjLv0vAF%2B1tpajD5PU84qchwxNQuxFigbwp60%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104e8f1b931c1b9-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=31938&min_rtt=6761&rtt_var=25597&sent=155&recv=155&lost=0&retrans=0&sent_bytes=11225&recv_bytes=5609&delivery_rate=417689&cwnd=257&unsent_bytes=0&cid=e4a43460b77464f1&ts=144819&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201051,\n        \"message\": \"Club with given ID is not active\"\n    }\n}"},{"id":"9c1e6e9d-b999-4481-9b91-61e58c867bd2","name":"Bad request - unable to join a private club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:09:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"9670b8a6-b1fb-882e-02ed-e3ac90fea19b"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Q%2BaeeDi6y2ePPLffZTsuTJvujs7kiJIl5SFftOZFIzw%2FzUBnmGGbX%2F3L8Z99P%2Fw79yJtR%2BgcQzt35l4n3Ip1b4PbYIdHPY%2FZl0m3fwbU3Pdguw7DJcd7eVNluPusFUHZMXkp3YEY5t8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104eb5f3ad7c1b4-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=9234&min_rtt=7490&rtt_var=4055&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1237&delivery_rate=377036&cwnd=246&unsent_bytes=0&cid=d14511bb9d275ac6&ts=317&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201052,\n        \"message\": \"Unable to join a private club\"\n    }\n}"},{"id":"00e3de3e-200f-4e78-ab05-a96320cdb7f1","name":"Bad request - only active customers can be members of a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"e892fcb3-5fdc-4fef-9bac-1e5d1c5672b0\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:08:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"17caddde-d805-efaa-7e67-725960b3c731"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=pv9Z9GDQ4ImEdBKiubS%2FkH3FQ8sxnq8Onv0QQnbew7rVWP%2BKqo%2Fqs4olYLpZKQD%2BbTZARHflzZdqlyitwI9teBIN1WhZOgvUTRV%2B%2FJXjLv0vAF%2B1tpajD5PU84qchwxNQuxFigbwp60%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104e8f1b931c1b9-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=31938&min_rtt=6761&rtt_var=25597&sent=155&recv=155&lost=0&retrans=0&sent_bytes=11225&recv_bytes=5609&delivery_rate=417689&cwnd=257&unsent_bytes=0&cid=e4a43460b77464f1&ts=144819&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201053,\n        \"message\": \"Only active customers can be members of a club\"\n    }\n}"},{"id":"4e92d82e-dc06-46c3-8de9-4f0bc3c80f8f","name":"Bad request - member limit exceeded","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customer_id\": \"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b6\",\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/join-public","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members","join-public"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The unique identifier of the public club to join."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 14:08:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"17caddde-d805-efaa-7e67-725960b3c731"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=pv9Z9GDQ4ImEdBKiubS%2FkH3FQ8sxnq8Onv0QQnbew7rVWP%2BKqo%2Fqs4olYLpZKQD%2BbTZARHflzZdqlyitwI9teBIN1WhZOgvUTRV%2B%2FJXjLv0vAF%2B1tpajD5PU84qchwxNQuxFigbwp60%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104e8f1b931c1b9-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=31938&min_rtt=6761&rtt_var=25597&sent=155&recv=155&lost=0&retrans=0&sent_bytes=11225&recv_bytes=5609&delivery_rate=417689&cwnd=257&unsent_bytes=0&cid=e4a43460b77464f1&ts=144819&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201079,\n        \"message\": \"Member limit exceeded\"\n    }\n}"}],"_postman_id":"482d4312-286d-4c77-83da-35c74532411b"},{"name":"Add a customer to a private club","event":[{"listen":"prerequest","script":{"id":"6a5db3cc-41f5-4466-baea-42377dbc4a3b","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"053bd017-554a-4c80-8160-08058e7dd82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","description":"<p>This endpoint allows a registered loyalty member to join a private club as an active club member.</p>\n<p>When a member joins, the <code>club_member_join</code> event is automatically registered in both the club's and customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><code>channel</code> (string, optional): Channel through which the member is joining.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs","invitations",":invitation_id"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the invitation.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"invitation_id"}]}},"response":[{"id":"4d30622c-c8c8-4328-9ce2-b0e4116c2e05","name":"Customer is added to a private club as applicant","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"41c6cbd3-375b-4dd4-84a4-af509f75c682","description":"(Required) The unique identifier of the invitation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:40:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"206"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"872ff611-973b-caf0-eec9-47f48c28019a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=KTAjlx%2F8%2FmoeICtke44JtgmofqZl7ydkh08M%2FBNdKnjzifhwgVl4L17CneVnM4whqUwbYtywTrU2KFq6wfi%2F6Cxs7B78kuot9ZGZpWH3EcvmsQva6G3z7QECU%2FCF1felp0MSHjgXWi4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102b1401a5f68b5-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6869&min_rtt=6589&rtt_var=2049&sent=20&recv=20&lost=0&retrans=0&sent_bytes=3929&recv_bytes=1783&delivery_rate=428593&cwnd=253&unsent_bytes=0&cid=1ea964508bf7bd29&ts=14202&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67aafefbae1bf670e80e14c2\",\n        \"customer_id\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\",\n        \"club_id\": \"679792daa6fad4b3ac0933f9\",\n        \"role\": \"member\",\n        \"status\": \"applicant\",\n        \"balance\": {\n            \"contributed\": 0,\n            \"spent\": 0\n        },\n        \"spend_limit\": null\n    }\n}"},{"id":"b4a73ec6-5edb-4ed1-8c5d-f21382a951e3","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"41c6cbd3-375b-4dd4-84a4","description":"(Required) The unique identifier of the invitation."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:39:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"e3b47fe1-9ea8-e325-084a-b8799dc72f04"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ojC%2FLnPlz1%2FYjHOD%2BAKVjmKedB7goDt9uOftD99GInBr4cubdky3pDlOc2r3fA%2FEnGHXzcDXvTJlkdr%2FSJaTGwEhzDOc667VZBReJutvja3B%2BCj27L%2F4PkVVqNdIcuSctcE2IOIBELI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102af5859c968b5-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=8539&min_rtt=6040&rtt_var=4050&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1190&delivery_rate=467549&cwnd=251&unsent_bytes=0&cid=8b087f97496bc581&ts=207&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n\t\"status\": \"error\",\n\t\"error\": {\n\t\t\"type\": \"NotFoundException\",\n\t\t\"code\": 300890,\n\t\t\"message\": \"Club member not found\"\n\t}\n}"},{"id":"7a9b27e8-6f32-4051-a26e-7da2a3f865a7","name":"Club invitation not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"41c6cbd3-375b-4dd4-84a4","description":"(Required) The unique identifier of the invitation."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:39:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"e3b47fe1-9ea8-e325-084a-b8799dc72f04"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ojC%2FLnPlz1%2FYjHOD%2BAKVjmKedB7goDt9uOftD99GInBr4cubdky3pDlOc2r3fA%2FEnGHXzcDXvTJlkdr%2FSJaTGwEhzDOc667VZBReJutvja3B%2BCj27L%2F4PkVVqNdIcuSctcE2IOIBELI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102af5859c968b5-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=8539&min_rtt=6040&rtt_var=4050&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1190&delivery_rate=467549&cwnd=251&unsent_bytes=0&cid=8b087f97496bc581&ts=207&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201059,\n        \"message\": \"Club invitation not found\"\n    }\n}"},{"id":"88da66c1-25e9-4032-b922-3130229520d2","name":"Bad request - customer is already a member of a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-125db450a771","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201049,\n        \"message\": \"Customer is already a member of a club\"\n    }\n}"},{"id":"360cee77-264f-4197-b60e-e378abfb83cc","name":"Bad request - customer is banned from this club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0655-4f5d-8687-963db450a234","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n\t\"status\": \"error\",\n\t\"error\": {\n\t\t\"type\": \"BadRequestException\",\n\t\t\"code\": 300391,\n\t\t\"message\": \"Customer is banned from this club\"\n\t}\n}"},{"id":"96bfb5b3-832f-4586-9cdf-29366d6c196a","name":"Bad request - club with given ID does not exist","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6554f690-0626-4f5d-8687-963db450v225","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300392,\n        \"message\": \"Club with given ID does not exist\"\n    }\n}"},{"id":"7f87b5b0-5f65-417f-af0d-74e458befdba","name":"Bad request - club with given ID is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300393,\n        \"message\": \"Club with given ID is not active\"\n    }\n}"},{"id":"fefff0f8-d2a0-40e3-92a1-5f6c54c4347c","name":"Bad request - only active customers can be members of a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"66664031-5c8c-42e5-aa72-276bf4b9d14b","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:37:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"145"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"4736ffc6-c037-992b-0399-4bc910f32c06"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=EUf%2BX46e%2BjrST%2FjHp8A5QQQbL8QOVbUfy8nMpMKHtItQVSOUc79Ex2ihsIV7kWikNCjyQ1mcrYT%2BxBrtNNUW901P7LlNfwMUfGkhA8lDXX1ZOPge0C1zu20Nizk6EDTqLMakTcZbOCc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104bc418fe0c2aa-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11570&min_rtt=11498&rtt_var=3328&sent=31&recv=31&lost=0&retrans=0&sent_bytes=4057&recv_bytes=1888&delivery_rate=245607&cwnd=253&unsent_bytes=0&cid=eb2fee0f8c6da040&ts=25615&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201053,\n        \"message\": \"Only active customers can be members of a club\"\n    }\n}"},{"id":"cf5270b9-af24-4e41-8d6b-77a3bf625537","name":"Bad request - club invitation not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300990,\n        \"message\": \"Club invitation not found\"\n    }\n}"},{"id":"b3c5ca90-4eea-4544-83bb-48ac6b96fb52","name":"Bad request - inviter customer is no longer in the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300991,\n        \"message\": \"The inviter customer is no longer in the club\"\n    }\n}"},{"id":"73e08db5-2a5b-4e09-9154-bb0975b30b33","name":"Bad request - inviter customer is not an active member of the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300992,\n        \"message\": \"The inviter customer is not an active member of the club\"\n    }\n}"},{"id":"94b71fb2-da57-4d27-b0be-1c1e92c07730","name":"Bad request - the invitation is not valid","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300993,\n        \"message\": \"This invitation is not valid\"\n    }\n}"},{"id":"ac8985d8-f937-4718-8f05-2b875c92a923","name":"Bad request - the invitation has been used","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300994,\n        \"message\": \"This invitation has been used\"\n    }\n}"},{"id":"34e9d5b0-a31e-40ee-be0d-f29f2b834471","name":"Bad request - the invitation has been expired","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 300995,\n        \"message\": \"This invitation has been expired\"\n    }\n}"},{"id":"830cd39d-920d-4767-95c6-733aeba59a41","name":"Bad request - member limit exceeded","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"channel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/invitations/:invitation_id","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs","invitations",":invitation_id"],"variable":[{"key":"invitation_id","value":"6448f690-0626-4f5d-8687-963db450a770","description":"(Required) The unique identifier of the invitation."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:40:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"142"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a17a9f3f-9e2b-9a5e-5091-dfbef5974237"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfqQ%2BOpUAsKIN%2F3Iu7xEyyNNf00H6ZJa69V5Hk6MhBZwRM07984H0VSZeSYR7bxvPihBgJO9RUAfIaRQAAxN8Z%2BPYjneJSLOiM2WM%2BRci6lYpaJxLIUSx3BEV5S5h3K0eA1uDJGZkik%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104c00ffb9dc301-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12289&min_rtt=11781&rtt_var=4781&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1183&delivery_rate=239708&cwnd=251&unsent_bytes=0&cid=644c59d1950f12cb&ts=406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201078,\n        \"message\": \"Member limit exceeded\"\n    }\n}"}],"_postman_id":"053bd017-554a-4c80-8160-08058e7dd82c"},{"name":"Create an invitation to a club","event":[{"listen":"prerequest","script":{"id":"8f5c8414-0438-424d-8716-41efb0f2e9a6","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"7619134c-af7d-4fcd-9e22-2cd7fab35156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"<string>\",\r\n  \"invitee_customer_id\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","description":"<p>Creates an invitation from one member to another in a specified club.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>inviter_customer_id</code> (string, required): The identifier of the member sending the invitation.</p>\n</li>\n<li><p><code>invitee_customer_id</code> (string, required): The identifier of the member receiving the invitation.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","invitations"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The unique identifier of the club for which the invitation is being created.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"}]}},"response":[{"id":"2b696f19-136d-4ef9-862e-04bfd0f70799","name":"A club invitation is created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:36:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"247"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"0f231205-0f61-7a4d-ce1e-0c99f02fa5fc"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=qlC6WOBqT0etB6KILVtL34Q3UtEPuv4pwttRMF1Dd5%2FhCiOYrf3kPd9hY9FH2HgE%2B7j0MQdgoxAkDB1Pw3Focg3JsAU68TNTCYht6Erf7N9%2FHVjTauMS0j1%2F9EgPlg8as5IeFonvRjQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102aaba99fe1cd8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=17983&min_rtt=5995&rtt_var=21144&sent=116&recv=116&lost=0&retrans=0&sent_bytes=6325&recv_bytes=3301&delivery_rate=471059&cwnd=252&unsent_bytes=0&cid=26f46a4e7ed14447&ts=109377&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"invitation_id\": \"41c6cbd3-375b-4dd4-84a4-af509f75c682\",\n        \"invitation_link\": \"https://shop.thebrand.com/?invitation_id=41c6cbd3-375b-4dd4-84a4-af509f75c682\",\n        \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\n        \"invitee_customer_id\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\",\n        \"created_at\": \"2025-02-11T07:36:15+00:00\",\n        \"expires_at\": \"2025-05-12T07:36:15+01:00\"\n    }\n}"},{"id":"d4e81028-d169-42ee-a83f-3287d2d80224","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"test","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:35:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"785baee5-7a9a-d686-5241-7b8e56b43bed"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wt6JTi%2Bu0KlIEESOKQf2%2FJtNHMFfA0ZRvswhqoR1NgvW1%2Fd5qNyHkg3T%2B4kQU7sHl7B39Z%2FfKJSEJkZfexkmCoR8hRMFU1thes42PVCAQVR53d5r5N0Erar1k9LfLz8uaYAoNy%2FXlV4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102a9e4bb391cd8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12898&min_rtt=5995&rtt_var=14629&sent=81&recv=81&lost=0&retrans=0&sent_bytes=5138&recv_bytes=2614&delivery_rate=471059&cwnd=251&unsent_bytes=0&cid=26f46a4e7ed14447&ts=75075&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"4989de8f-1aa7-475f-a9bf-dc04b908195a","name":"Bad request - inviter customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"test\",\r\n  \"invitee_customer_id\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:35:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"3fe7305f-9c5e-36a7-d845-efaed6b2f94f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2gi0Kz7vDC9PXH0%2ByHTNGneSOzEGOTKoIOTg6maJziR7spdpZE%2BF5KadlElTi8zqf%2BkgPo6meft7U%2BY1v%2B3NUsrTVqrdoab6uM%2FTEOfONgP6SCtpV4EJYRVTEImJ4yb0wlqGh%2FGpUmA%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102a8ef6fd21cd8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6271&min_rtt=5995&rtt_var=1836&sent=41&recv=41&lost=0&retrans=0&sent_bytes=3935&recv_bytes=1925&delivery_rate=471059&cwnd=250&unsent_bytes=0&cid=26f46a4e7ed14447&ts=35928&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201060,\n        \"message\": \"Inviter customer not found\"\n    }\n}"},{"id":"8048c1cf-0453-404b-bebf-93a19f7eb2f8","name":"Bad request - invitee customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:34:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"134"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"df651b64-9043-cb25-3d5e-cac5993f5c8a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=XdBLmPJ%2FINn2Oi30sDKPGG38pBBhiArzJrCk0JKEOUfHkUvAw3kYPekeQT8WiWRxRaOvgEyOoDnL32ymlVZnYwKoykLpMcIm6PAiep9znIQsb%2F%2Bzm2VtwHeFKH%2BLBtPlMwEVsivvmGo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102a810d8f61cd8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6272&min_rtt=5995&rtt_var=2446&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1235&delivery_rate=471059&cwnd=248&unsent_bytes=0&cid=26f46a4e7ed14447&ts=295&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201061,\n        \"message\": \"Invitee customer not found\"\n    }\n}"},{"id":"20b0a9fd-1d79-4d32-8884-6b5263f32d03","name":"Bad request - inviter customer is not a member of the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"66714692-74fd-435a-97ef-0353b84d7130\",\r\n  \"invitee_customer_id\": \"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:23:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"148"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"11697253-865e-773a-6065-7ce07cbcff5f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=QAUSQC28o2fj9o9aEgn9l%2FBgkdyEQHSfJCrqssPfAOrDMtFLfypmyZ6qwiTFRw%2Fy0EtoIe5kOzF1Ci2FXqSOaV%2FjhQjwFZaXlPdQ5gdVKjC7GFHnABx6aZRlx5OVBhqgwrwk%2F3jqIVE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104a7d919bc1cbc-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6446&min_rtt=6413&rtt_var=2428&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1286&delivery_rate=440355&cwnd=251&unsent_bytes=0&cid=d9c52512de2b525a&ts=208&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201068,\n        \"message\": \"The inviter customer is not a member of the club\"\n    }\n}"},{"id":"ecfc5485-c526-4ac3-8845-40a3c844fa33","name":"Bad request - invitee is already member of the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:48:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"149"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"c74c9fb1-21d3-f1fe-d5e5-c37c0a63cebd"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=FOysBAslrsIxNfV4CEIROm9kQ8lj6laIqmC7kC1ff%2FTb6QZxo6SI7fgvZDtsOmJth9raexEKEIKjekBSZtjBfVNuPzPYBHaIAkK53nQV3g3m9gjHCTOs%2BkMYH%2B%2FOJRhbn4YzPGmT1bI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102bce85c331cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6494&min_rtt=6276&rtt_var=2509&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1268&delivery_rate=449968&cwnd=250&unsent_bytes=0&cid=c096ece048ba4b96&ts=258&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201069,\n        \"message\": \"The invitee customer is already member of the club\"\n    }\n}"},{"id":"a8a92578-a998-411b-9147-ae6d1ae02df2","name":"Bad request - club with given ID is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"30114810-8340-4144-a193-7699f66d184d\",\r\n  \"invitee_customer_id\": \"34f30cee-f9f3-442a-b211-d5b79fd4ff12\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"6790a56c54c1a8d0390d2743","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:56:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"871c6a6d-af9a-1bb6-8df9-249f515563b2"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ld3Ao6M4ElZ3ziIjp2Ze4BAeIUUYvSLK%2BtIo0jMrhgsGviEEuSD0dtL95zCppN84kxUaphwe05ymP8DC0SgHICcx4zP3jMXGS%2BA%2BN1g2TxGO7%2FzbEDRiD7xoZwVOrZc7CwhvXkly22A%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102c88e7bae68b0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=13503&min_rtt=6878&rtt_var=14039&sent=32&recv=32&lost=0&retrans=0&sent_bytes=5158&recv_bytes=2641&delivery_rate=410584&cwnd=245&unsent_bytes=0&cid=346e47e2e7b69d4b&ts=25279&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201065,\n        \"message\": \"Club with given ID is not active\"\n    }\n}"},{"id":"6a9af7aa-3611-41b5-acdd-fdbf2424042a","name":"Bad request - inviter customer is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\r\n  \"invitee_customer_id\": \"34f30cee-f9f3-442a-b211-d5b79fd4ff12\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:53:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"163"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"46efb368-d22c-92d5-258e-9e17632ab93f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vBI39AvujIhP68tyBcMD9W7RtzP1eBP7UV3LGfdKkBQlIlZ9c4kK%2FxvFC%2BVjn3RtVmN8KCSKl47pDqdh65%2BatP8e2nPRFHsUfV0MkLWTPS%2FWblieflaSRAx8T2GINTTKsI1DwPpjAjM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102c4825fd66844-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=13428&min_rtt=6977&rtt_var=13825&sent=46&recv=46&lost=0&retrans=0&sent_bytes=5156&recv_bytes=2659&delivery_rate=404758&cwnd=252&unsent_bytes=0&cid=66900f07549a5f9e&ts=39183&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201066,\n        \"message\": \"The inviter customer is not active, only active customers can invite members to the club\"\n    }\n}"},{"id":"eeb69323-5773-480e-84c9-bf5f8876baac","name":"Bad request - invitee customer is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:51:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"162"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"3d36ea9a-91b6-e335-f0bf-4bc92ee6fd5d"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZFSUs%2BaV8psU1lGUxLUBRFxskicEBtBF4ySHpKmgNtpSzU3HUlOXutpwx9gFPd6hw9LuvjoShO%2FmVpeh%2BJ4ElvG9opMldEj9eQ19SAVhH0r2joR58mAMJQMsK3Q5BGcZvwa%2F0oiVakU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102c18538c3c1c1-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7456&min_rtt=7186&rtt_var=2888&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1268&delivery_rate=392986&cwnd=246&unsent_bytes=0&cid=32c31a3228b9f107&ts=196&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201067,\n        \"message\": \"The invitee customer is not active, only active customers can be members of a club\"\n    }\n}"},{"id":"86792efe-4ada-47cd-bea0-743366c8fa48","name":"Bad request - invitee customer is already banned from the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"ea73cedf-c9c4-4249-abfb-22533efdc3e6\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:30:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"151"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"84578820-b9f6-4bc3-f01e-2c0e276425b1"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=DJXrR6lsPsX37%2BX3cYPNgKiSMFz8jNF9wrYWZYGXUjh5Cobfr6r6HrvQerSI1Cdt3pwYNs46zMQSxBTCn%2BVAyjEFHLiKbIMj%2FfY9CuXQ3MmIvxuifjR4qRygrYUrTETqBN2DxvvNJWQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104b0fb1f14c2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11375&min_rtt=10421&rtt_var=4589&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1286&delivery_rate=270991&cwnd=251&unsent_bytes=0&cid=8705535e656e2680&ts=501&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201072,\n        \"message\": \"The invitee customer is already banned from the club\"\n    }\n}"},{"id":"31194d73-f931-41e2-8fd2-c06fcbfde427","name":"Bad request - invitation already exists","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"66714692-74fd-435a-97ef-0353b84d7130\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:50:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"163"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"3861a09b-799a-d1a3-7b0d-9a9e01790d09"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=rG7PRU6%2FFNfDyyhovaOU1teWympRK5T%2FLKYkvceAvxv18R438Vwf4PDmfatVhUERJPcgr%2FJzX9owUJnpiSpq2Pgt4t4QEdZKTUWNuZNqM2aI9nhQ0PIwIhjwNWm916lmZnkiEQQR9gM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102beff0d3a1cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12197&min_rtt=6276&rtt_var=12799&sent=92&recv=92&lost=0&retrans=0&sent_bytes=5251&recv_bytes=2642&delivery_rate=449968&cwnd=253&unsent_bytes=0&cid=c096ece048ba4b96&ts=85740&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201064,\n        \"message\": \"Invitation already exists: d989eb49-9e2e-43cd-aca5-206c71333b05\"\n    }\n}"},{"id":"5b3b51d3-e709-43b8-83a4-41acb5a2c818","name":"Bad request - invitation ID can only be generated for private clubs","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"invitee_customer_id\": \"ea73cedf-c9c4-4249-abfb-22533efdc3e6\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"6798ca70875d229c63078b52","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:32:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"152"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"29460928-f360-e50d-fca5-48c5e495047a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7DiUcsR6Z8uKyS3OEYxFX2LpOfZzM5tux3PfdQpmnwOOjBnRBaefufEtGCUSgmN07%2BtfIdOPtqa1l2xtmT73ufeVuEawDhvWQnSrLwklHDKmKVSBbR0OdmLeSDJ3OpIotcFLQpcOR50%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104b3d48ac7c2f0-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=10595&min_rtt=10575&rtt_var=4006&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1286&delivery_rate=263040&cwnd=251&unsent_bytes=0&cid=1edd341db85f7ea5&ts=331&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201071,\n        \"message\": \"Invitation ID can only be generated for private clubs\"\n    }\n}"},{"id":"8e803fd5-fa58-4ddf-bc21-309785aa0169","name":"Bad request - property 'inviter_customer_id' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": ,\r\n  \"invitee_customer_id\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:45:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"148"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"f56d5ec6-989c-5b6d-dbaf-6eaa0510474e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cP5BglXeLXV0x9zRO8PxXjrpu9bHrF9II0YI3TDkbU9z94nJVIw3uqkYYVOSjDJLuL6xFwjGbA3sFkCf07yclwQ97ZNuFuIvCeziLot92knAuOVpAo5TU2A1%2FaUuhbcu3pLoVQruIKg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102b845cea0c1cd-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6884&min_rtt=6332&rtt_var=2079&sent=14&recv=14&lost=0&retrans=0&sent_bytes=3932&recv_bytes=1915&delivery_rate=445988&cwnd=253&unsent_bytes=0&cid=53e093c772a17fbf&ts=8051&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'inviter_customer_id' cannot be empty\"\n    }\n}"},{"id":"d9aaa65a-3648-4172-934c-2a6ee7062c59","name":"Bad request - member status is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"inviter_customer_id\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\r\n  \"invitee_customer_id\": \"34f30cee-f9f3-442a-b211-d5b79fd4ff12\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/invitations","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","invitations"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The unique identifier of the club for which the invitation is being created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 07:53:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"163"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"46efb368-d22c-92d5-258e-9e17632ab93f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vBI39AvujIhP68tyBcMD9W7RtzP1eBP7UV3LGfdKkBQlIlZ9c4kK%2FxvFC%2BVjn3RtVmN8KCSKl47pDqdh65%2BatP8e2nPRFHsUfV0MkLWTPS%2FWblieflaSRAx8T2GINTTKsI1DwPpjAjM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102c4825fd66844-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=13428&min_rtt=6977&rtt_var=13825&sent=46&recv=46&lost=0&retrans=0&sent_bytes=5156&recv_bytes=2659&delivery_rate=404758&cwnd=252&unsent_bytes=0&cid=66900f07549a5f9e&ts=39183&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n\t\"status\": \"error\",\n\t\"error\": {\n\t\t\"type\": \"BadRequestException\",\n\t\t\"code\": 201070,\n\t\t\"message\": \"The member status is not active, only active club members can invite members to the club\"\n\t}\n}"}],"_postman_id":"7619134c-af7d-4fcd-9e22-2cd7fab35156"},{"name":"Accept club membership","event":[{"listen":"prerequest","script":{"id":"8dee7ab4-18bd-41f3-9bcc-0f3693dd7271","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ac0e936c-e3db-4663-b1f1-0fa07ba45f6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","description":"<p>This endpoint allows the club owner to accept an applicant's request to join the club.</p>\n<p>When a customer is accepted, the <code>club_applicant_accept</code> event is automatically registered in both the club's and the new member's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string, required): The ID of the customer who is making the action. Must be the owner of the club.</p>\n</li>\n<li><p><code>reason</code> (string, optional): Reason for the acceptance. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier of the club to which the applicant is being accepted.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) Unique identifier of the customer who is being accepted as a member of the club.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"4fb6adcc-52c1-4b76-878a-d8b26dca4def","name":"Club applicant is accepted in the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"Club membership approved\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"ea73cedf-c9c4-4249-abfb-22533efdc3e6","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:02:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"205"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"d11b1091-2994-67ad-5141-72aaa3acc863"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=acrjscwX9U%2FE7I9TfPrPqxdpq5Gjk7lYDFXlL5fpwcUL9dWuDPNNPELrEEURXorJqC5yKQvItJi4rBYPc3xf9Y%2F%2BB5Hgs6m8SOQ2w5yWosOOlKoI%2BwiywxXDyWMKAvWMvgGCGDGPrZo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910487fbdeaf684d-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6488&min_rtt=6063&rtt_var=2577&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1273&delivery_rate=465776&cwnd=232&unsent_bytes=0&cid=36cc6136bc74ac02&ts=446&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67ab0781badc4bde14026fc0\",\n        \"customer_id\": \"ea73cedf-c9c4-4249-abfb-22533efdc3e6\",\n        \"club_id\": \"679792daa6fad4b3ac0933f9\",\n        \"role\": \"member\",\n        \"status\": \"active\",\n        \"balance\": {\n            \"contributed\": 0,\n            \"spent\": 0\n        },\n        \"spend_limit\": null\n    }\n}"},{"id":"6afa689e-650a-4158-9b11-0e6e3dc38f7b","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"imported_customer7\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"test","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"5ab3f069-bd5d-4679-b18f-421ae3e10a16","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:10:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"4b413093-200f-14f0-b50b-b1a75b9318c1"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=61Ps%2BBRY9xbaN73QLG2nmxxaKlckmwJ%2FScaFPpMJDwev03a0Oe29LHkGxilgY4xMWYT7DNGaIP%2Bb2MgQmiN3Dzx0DokaMnAeggM64S891AmvDsZYiqScPuzWN7wzCnKMVnG4LSRv5ws%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102dd0e49f268b5-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6442&min_rtt=5924&rtt_var=1991&sent=58&recv=58&lost=0&retrans=0&sent_bytes=3928&recv_bytes=1875&delivery_rate=476704&cwnd=253&unsent_bytes=0&cid=a47c3dc5f92b17f7&ts=52672&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"efbceb04-756d-4e37-8029-b920c1a28951","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"imported_customer7\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"vtest","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:11:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a2f46636-1aa5-a869-36e2-70f60c5c98dc"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ie2tOY1KqkAPVIgm%2FV2ixwzf8NJBQjQJBj0UrWJxKkabDqTw5q9YCG0ak2cYizYmIaop%2BEBkegMz000E8QM%2BGITvU8bcGWXG12KSSJ4hOkUm6%2F14qP618nx5pBEViabBWLbdLvT6d2E%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102de80ec3068b5-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=13409&min_rtt=5924&rtt_var=15426&sent=118&recv=118&lost=0&retrans=0&sent_bytes=5107&recv_bytes=2510&delivery_rate=476704&cwnd=254&unsent_bytes=0&cid=a47c3dc5f92b17f7&ts=111875&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"c493ee81-36c5-48b0-8031-fc3e939d61b9","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"96034fe0-36a9-48d0","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:04:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"518ebf0d-5929-0c52-7364-5f0ca48cce2e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vyY6AF01PAepAzJ4TRAFzYKhsg4kgE5meho9GZ8M%2F%2Bs6m62TdUVR%2B2uD7Hwz7276PbHV08RLOK0VaAIENCPCOKFG3yjHjZsTJLxWNSm3XlSFW0Q8hqnDsVpoSS9N7cxjQXpx%2BP%2Bc%2BuM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91048b1d5901c254-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11588&min_rtt=11498&rtt_var=4493&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1247&delivery_rate=231020&cwnd=251&unsent_bytes=0&cid=59ce8bbb7bb6798b&ts=251&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"b1b0798d-c906-4794-9a6d-00fcbb7ca643","name":"Bad request - actor parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"5ab3f069-bd5d-4679-b18f-421ae3e10a16","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:08:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ca104585-288a-5dea-567c-94549ec00e80"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=QaOo2KscHwiD7l0bK8NnrLDEW8U1vtzGFW19Wg7O7Q%2F5dXxRp%2FKZZhf4dtjNZUH1V7YHeOBS9VljwoA%2FYsCbEoMgtmR7pHFRSxE23%2BDeQzmW6%2BH3mAl0rBst4ymDbyd%2BB3Ubn%2FjMOlQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102da101f48c1be-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7477&min_rtt=7453&rtt_var=2843&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1229&delivery_rate=369343&cwnd=251&unsent_bytes=0&cid=0b9c6305508163bf&ts=461&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201026,\n        \"message\": \"Actor parameter is missing\"\n    }\n}"},{"id":"01d9b61c-6717-4380-be83-351b243b9f45","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 13:19:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"6938081c-5bfe-5375-fde9-c119f87efc90"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Oz2UY%2B%2FRobsPcM3ktX0cHo9RNb4bNpMxMrGyAspvy9802vwU8JwUSmm8z62F5CqNMybw94tFu9ifrc2lKmFgdGmXK%2BRV4pRXjqMg7euhM57eCBOn%2BzFdjdEXRCwa2qigDkW8GFlbCs4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104a1d0f8e0733f-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6301&min_rtt=6173&rtt_var=1840&sent=15&recv=15&lost=0&retrans=0&sent_bytes=3932&recv_bytes=1875&delivery_rate=457476&cwnd=240&unsent_bytes=0&cid=851e9238053d6430&ts=8783&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"35364e98-3db5-4fab-8dca-997bb2e3996e","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"dinchamion\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:05:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"2d4773b7-5115-e8f8-3e16-34da97e54df1"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=L6plT9EkMkTl%2BxJdTSBCnr89ZirqFSw4JTNXexfivixV6Z2t4Ca0ezFEt7nxnwp2iCX%2BExk75nrgFsh5vkXZyplCvE3XMy0lxtv4pk3TNCfq4uUnStZG8j3GN%2B0wt%2BNM%2BOks8cJzwgs%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102d64069a8733b-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6883&min_rtt=6374&rtt_var=2754&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1239&delivery_rate=443049&cwnd=241&unsent_bytes=0&cid=20d1ba754522f971&ts=540&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201027,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"198a8472-e7a4-4380-a083-c2d69ec0bbfd","name":"Bad request - only applicants can be accepted","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"imported_customer7\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"imported_customer5","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:07:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"136"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"19c4a1ec-4de2-79ad-f4fb-8e12e8ae50a5"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=LPhGZpz8DplIQuM6abm5mJRLNf7%2BHBOLfJJjV0WuwnwbK0FdQ8VnmxXUj0hgPezot6Xh6xJG26opG0NAw7GuaSnBda4ZVfVqFa%2B9gdtdjLsbohfuB1YmFo4giWEfmhn9WSyIPlW9qxM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102d88739041cb8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6875&min_rtt=6802&rtt_var=2603&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1229&delivery_rate=415172&cwnd=251&unsent_bytes=0&cid=cfe06c999af8170b&ts=369&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201016,\n        \"message\": \"Only applicants can be accepted\"\n    }\n}"},{"id":"e6f35f45-5fc1-4b4d-b030-27ceaac2c234","name":"Bad request - owners cannot be applicants","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"imported_customer7\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"imported_customer7","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:09:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"8a10c0fd-617e-867f-cb77-9c6bff6596fe"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=qH17Z4i34H1VHSAYyD9NjWxcLQKUoy2zYoG9dbERIeT68WRo7RpnxIIUMORO8jgD2aK%2F5ZDy4o9ymoGlLVmjFLMYVUKeGtwOWm%2BWCLLmJU0pzxm0PErGOOLtfpeuO1ShjhzfT0GgDCE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102dbc699dd68b5-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6461&min_rtt=5924&rtt_var=2605&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1229&delivery_rate=476704&cwnd=251&unsent_bytes=0&cid=a47c3dc5f92b17f7&ts=443&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201017,\n        \"message\": \"Owners cannot be applicants\"\n    }\n}"},{"id":"bb86114a-7aa9-4942-a8be-25d25b66efe2","name":"Bad request - member limit exceeded","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"imported_customer7\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/accept","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","accept"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club to which the applicant is being accepted."},{"key":"customer_id","value":"e9e5a706-b785-405a-bcf3-2e7859fd59d3","description":"(Required) Unique identifier of the customer who is being accepted as a member of the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:20:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"129"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"89aa387f-dc70-9619-8827-ca2a38efd367"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=0q0EmziF3auiI%2FzsTxPFPW3dtZ6XOy7gR96%2BarnlAiHlfj8R6pxTh7fCJpAMf1loNwFtH171ccXv9CztsAGiua6k4R7%2FNMbF6nS187msxcPSwgHj0i5MfB%2Ffw6WgvsaqdanSdG8%2Bprw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102ec04fb6bc1bc-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6441&min_rtt=6319&rtt_var=2457&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1247&delivery_rate=446906&cwnd=251&unsent_bytes=0&cid=8ed36386d35856a3&ts=308&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201078,\n        \"message\": \"Member limit exceeded\"\n    }\n}"}],"_postman_id":"ac0e936c-e3db-4663-b1f1-0fa07ba45f6f"},{"name":"Ban an applicant from a club","event":[{"listen":"prerequest","script":{"id":"c28313b2-675b-4e12-9bb3-3c5b7525b4a6","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"0a06d0a3-9bdd-4048-b1c2-fce9bcc5ddea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","description":"<p>This endpoint allows a user to ban an applicant from the club. The customer cannot apply to the club again in the future.</p>\n<p>When a customer is banned, the <code>club_applicant_ban</code> event is automatically registered in both the club's and the customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string, required): The ID of the customer who is making the action.</p>\n</li>\n<li><p><code>reason</code> (string, optional): Reason for the ban. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier of the club from which the applicant is being banned.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) Unique identifier of the club to which the applicant is being banned</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"bb94d6a8-eed0-4b63-a1dc-e98d7c6b02a1","name":"Club applicant is banned from the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"e9e5a706-b785-405a-bcf3-2e7859fd59d3","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:13:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"205"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"765977b5-bbbf-b41b-2556-e4c4d4aa87d0"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=tRZj2mTq74VfTyMI3TgpyJ4oxWETGKyywVe%2Bi8dZuNv%2FXC5%2Fvn%2Fyxxlz3%2BOF0q089PtcsYAg23XVOsuWFBQUgAIGJSP45Ewp5Cbex%2B5CbDOIFIyMx%2FRcSrXOlScAuAMzmKAt%2BsmnZrU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91044050099ec30a-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=33150&min_rtt=10646&rtt_var=23116&sent=159&recv=159&lost=0&retrans=0&sent_bytes=8777&recv_bytes=4610&delivery_rate=265263&cwnd=257&unsent_bytes=0&cid=7b879001bc90ff73&ts=150461&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67ab0787badc4bde14026fca\",\n        \"customer_id\": \"e9e5a706-b785-405a-bcf3-2e7859fd59d3\",\n        \"club_id\": \"679792daa6fad4b3ac0933f9\",\n        \"role\": \"member\",\n        \"status\": \"banned\",\n        \"balance\": {\n            \"contributed\": 0,\n            \"spent\": 0\n        },\n        \"spend_limit\": null\n    }\n}"},{"id":"a646ee48-eb4f-49c9-936a-97efef4916a9","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"test","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"34f30cee-f9f3-442a-b211-d5b79fd4ff12","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:09:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"39a7e177-f1e0-9e02-0f65-b11fc1c19879"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=551XHzu6zKPjw1IEAIGTDH3ENHfwXC1tosRkspsFV8US%2BITa7FDQSHG0UqDMYH1SyZeAEJ77kSI1wYc7gZr1exqxf8H3Eurku2YRxOEZVtK9YJ%2FeA1DCwUUWKZv5La5%2BAPeOTw23bTY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91043af05c90c284-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=34607&min_rtt=11892&rtt_var=26895&sent=211&recv=211&lost=0&retrans=0&sent_bytes=9990&recv_bytes=5236&delivery_rate=237470&cwnd=257&unsent_bytes=0&cid=da807ea146df0b6f&ts=201983&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"2d1960f2-8bc6-439e-bba6-11a7c1c33566","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:08:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a1891df4-b330-b844-7b12-814bb6b0a778"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Dh4%2Fd3rodaMjZqJGNTZarzBxGZwnuOHiiLpVtT8V0VKQAFO4ztx4PY8E1w5YA%2FUm9B8iVlyf6pL5Rq2wxfvqpSmwsTFFCZuqIDfSq2tmSxFjA0JEOUOcQjiQ7WZzpLFviRPoroAa92o%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91043a2f5fb9c284-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=30309&min_rtt=11892&rtt_var=24399&sent=179&recv=179&lost=0&retrans=0&sent_bytes=8800&recv_bytes=4575&delivery_rate=237470&cwnd=257&unsent_bytes=0&cid=da807ea146df0b6f&ts=171165&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"93024dc1-9ecb-4019-bac1-32a849f6deb7","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"5ab3f069-bd5d-4679","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:07:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"6f641e83-44a8-9812-f407-4fc7aa3b059f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=XeyL49c8pd1u4peXAz2FIpu2llGLFeivESrRZO5ofPc93naPCzKJxYnvv8NCfQ8BP%2BRTEnvc9A8UmKQ%2BLuf4d24UYz4D4aEPgO2nNiUrU53670sKGsLsou21ag0U%2BUQGt0s7LvHdjc8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104389f3fe8c284-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=22845&min_rtt=11892&rtt_var=20249&sent=114&recv=114&lost=0&retrans=0&sent_bytes=6400&recv_bytes=3213&delivery_rate=237470&cwnd=255&unsent_bytes=0&cid=da807ea146df0b6f&ts=107966&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"c8977c69-4e02-479d-81cd-d513098c2623","name":"Bad request - actor parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"5ab3f069-bd5d-4679-b18f-421ae3e10a16","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:06:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"102f0b1f-8e5a-86fe-c05a-bd503dea9121"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=rz5aKkItJyukzyeXr8MBdkb%2B4UD%2F%2FA2gAhNRaQffvMjfdM%2FiEAaOwbsgnETgeJEarXP8FWq6j5NuRGhOh5OeDrgABHLovrJo7HOvKPiPEeD3xlFwcbz%2F5KrXlQ%2BLWvgAtE1Es9YFkSM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91043602de50c284-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12375&min_rtt=12011&rtt_var=4764&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1226&delivery_rate=235117&cwnd=251&unsent_bytes=0&cid=da807ea146df0b6f&ts=479&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201026,\n        \"message\": \"Actor parameter is missing\"\n    }\n}"},{"id":"d27234e0-112a-4342-ac6d-ab69b605683e","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"5ab3f069-bd5d-4679-b18f-421ae3e10a16","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:06:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"1313e9f1-983f-6ee1-5b6f-e12a9857d97a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vs%2BZBB7g6ZVMBZnX9IX43K5CP6Cd3BaJFP6Dd17vGp75V90TAqmAGk6qgzbnCVFQ72ZANHlpjEEPk6OoGyObE0kVNiUTDqdYsYDaWvo6Wjuy2hrAfXg3qYLQ6dXRNJviKhW92COLZ3Y%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104367f4bb5c284-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12314&min_rtt=11892&rtt_var=3694&sent=26&recv=26&lost=0&retrans=0&sent_bytes=3938&recv_bytes=1869&delivery_rate=237470&cwnd=253&unsent_bytes=0&cid=da807ea146df0b6f&ts=20060&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"cfb03148-ee81-4f3e-a0f8-278e244ffea9","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"ccbfa789-fb38-4d44-b36e-45e69152015b\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:11:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a1a8dfc2-1621-462f-85ec-730e8e0f4f70"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=NC3xf%2BUiaKqhKUUZilB6YfmIdhDTxQOYyMZSyBNIPhDNRd7Gq1QjoDodWU66yHi0rBIfU%2BEnNAb6jdrXvbiw0wNR1v%2Bt12Cr4fHgo4qmLlqdeq%2BOGC3Oo4O157bkYbEUUotx%2FTgP8Zg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91043de8dde7c30a-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=17460&min_rtt=10646&rtt_var=9065&sent=57&recv=57&lost=0&retrans=0&sent_bytes=3945&recv_bytes=1943&delivery_rate=265263&cwnd=253&unsent_bytes=0&cid=7b879001bc90ff73&ts=51406&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201027,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"8a1b0162-dcd6-4154-a566-7c3f65b87ede","name":"Bad request - owners cannot be banned","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:10:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"8c3e2d0c-55ce-5c34-70ed-a7df42003e2e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=iUTXQfMBTBe1MSI%2FCM2zQyAF6ia7UQXyd99CCTov0%2Fwy5Jq6YiEa3r8KgPitL1c1XXimR03SEvWyjBNdyheHaMYutiqB2GbfUZcGfR3wY0d8MmMhZjdVn8qyfxuHl3N2vu1BHbNOO4c%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91043ca8bd2bc30a-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=18433&min_rtt=10835&rtt_var=9490&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1262&delivery_rate=260636&cwnd=251&unsent_bytes=0&cid=7b879001bc90ff73&ts=243&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201024,\n        \"message\": \"Owners cannot be banned. Ownership must be reassigned\"\n    }\n}"},{"id":"52d9305e-5e1c-455f-bdbd-4f2f85702abb","name":"Bad request - banned club members cannot be banned again","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/ban","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","ban"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being banned."},{"key":"customer_id","value":"5ab3f069-bd5d-4679-b18f-421ae3e10a16","description":"(Required) Unique identifier of the club to which the applicant is being banned"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:08:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"140"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ca20d19a-4359-42bb-a678-4afe5123b4bd"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=1ok6zEGfhB48%2BPJ349fbeEPGt7RlHWg5E87eVlY%2F7K%2BXfSi2ta6gMhgFLU2BRnJHuruzvDnJUduW45l50wK3cVU9MnL9oZXn%2BOBlcg1BoEVhvvCuOPx%2Bxt9kg6iFZlo3dLHIv4lL5To%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104390fee2fc284-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=26686&min_rtt=11892&rtt_var=22868&sent=133&recv=133&lost=0&retrans=0&sent_bytes=7588&recv_bytes=3894&delivery_rate=237470&cwnd=256&unsent_bytes=0&cid=da807ea146df0b6f&ts=125424&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201025,\n        \"message\": \"Banned club members cannot be banned again\"\n    }\n}"}],"_postman_id":"0a06d0a3-9bdd-4048-b1c2-fce9bcc5ddea"},{"name":"Refuse a club applicant","event":[{"listen":"prerequest","script":{"id":"c2fa5d33-a064-4c33-a775-8a8c0594fe71","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"1aad6b3e-8e9d-428a-b87d-0f9e6914ede0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","description":"<p>This endpoint allows a user to refuse an applicant from the club. The customer can apply to the club again in the future.</p>\n<p>When a customer is refused, the <code>club_applicant_refuse</code> event is automatically registered in both the club's and the customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string, required): The ID of the customer who is making the action. Must be the owner of the club.</p>\n</li>\n<li><p><code>reason</code> (string, optional): Reason for refusing the applicant. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier of the club from which the applicant is being refused.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) Unique identifier of the customer who is being refused from the club.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"adfb1a45-6324-40ef-bd72-335b0be2b496","name":"Club applicant is refused and removed from the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"34f30cee-f9f3-442a-b211-d5b79fd4ff12","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:19:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"206"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"b1b2fbad-0361-acd0-a8c9-d2b37399afdf"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cstpLx9qK0p5DS3z8KO%2FDycyQXhCk9MNAVbH4MD3QrpYo0LIeRZXxDku7H1dbVqGRheRnO0fRkiuGhgvt4c5xNjgGJkeISiOA1NOFN%2FGDdoTumOvMTDrfM6qF7d0xVi2DNokSLcAcVs%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91044a3818b4c1cd-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6889&min_rtt=6803&rtt_var=2613&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1265&delivery_rate=415110&cwnd=251&unsent_bytes=0&cid=5060d193047b795e&ts=362&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"67ab072d09cf799b910499d3\",\n        \"customer_id\": \"34f30cee-f9f3-442a-b211-d5b79fd4ff12\",\n        \"club_id\": \"679792daa6fad4b3ac0933f9\",\n        \"role\": \"member\",\n        \"status\": \"removed\",\n        \"balance\": {\n            \"contributed\": 0,\n            \"spent\": 0\n        },\n        \"spend_limit\": null\n    }\n}"},{"id":"147da9c9-03f4-4274-a3ce-b5b73c33853f","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"test","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"ea73cedf-c9c4-4249-abfb-22533efdc3e6","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:23:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"89e4577e-a882-e515-ef59-cb47c3214194"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=s%2Bnl5Vkmyj45pNItB0hMA9Wt%2FPVFzNMHW6mOWFk5c%2Ft3kO42%2FJQJAGYHIJUOychbbzpDUoT0LfC8HS8EKQoZARXpsnXAZV2HQ8wKOA96NppHirhPLZj5cHqSDUIcnG152i6hbW9CaaM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91044ff55ca1c2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=21901&min_rtt=10366&rtt_var=20194&sent=103&recv=103&lost=0&retrans=0&sent_bytes=6314&recv_bytes=3279&delivery_rate=272429&cwnd=255&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=96433&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"4fd14e62-905d-4234-be36-5c66880b9b58","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:23:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"f3e31b4d-86ba-33b2-c250-fb099cf6a825"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=dP%2BtqE2L3SdSP3wIus2sPp7X60sQvNP41Am7YqPBm8P2kdz7toeU3VTNBStZCyMJnluXGCd8vtRyCD7pGCeaS3gVYzblgh40NA1%2BPX7Ws31WkWR78bpKRFV3gr8Da6083cy81NvirzY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91044edd199ac2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=17365&min_rtt=10366&rtt_var=14831&sent=57&recv=57&lost=0&retrans=0&sent_bytes=5127&recv_bytes=2615&delivery_rate=272429&cwnd=254&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=50642&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"1910abde-ee7b-4d7e-8da6-957faea25c1a","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"34f30cee-f9f3-442a","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:22:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"4eeaacd4-f4e9-df3c-05a0-b5c5f9f3b475"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=NqatAmDGCa4ADHwEuBq0dIxy%2Bzxz2FhZWDpSEEKoQfle%2BW96GPBpQFbtcNBNvzMt5FwEBA7C%2Bi%2BtdBu2C5ENbk33bra7kqD1g9mmuNBdiRaGR9X1YFbccplCq8vARegpJB9%2FxkTtw6U%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91044e4e9a85c2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11257&min_rtt=10366&rtt_var=3485&sent=33&recv=33&lost=0&retrans=0&sent_bytes=3939&recv_bytes=1931&delivery_rate=272429&cwnd=253&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=27846&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"8d9b4819-231f-4aa3-a0f6-13680df7e392","name":"Bad request - actor parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"ea73cedf-c9c4-4249-abfb-22533efdc3e6","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:24:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"c3f48e73-8479-dedc-9644-02ef8086569e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=dwMVg8yl9XibTF%2F2Uqok2ncjetcNwX9Y2IuA9tyHdMeMeSOVNM6aq%2B04gz2Pqg9Q58FGdIIC71emhfN%2BfZh61LZrPeEY%2FC7Fxe9oM47y9H2TbY2eSSSiVzTfLiVLrg%2BJCd8r825AtdY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910450bcb9dac2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=26368&min_rtt=10366&rtt_var=24081&sent=135&recv=135&lost=0&retrans=0&sent_bytes=7500&recv_bytes=3927&delivery_rate=272429&cwnd=256&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=127496&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201026,\n        \"message\": \"Actor parameter is missing\"\n    }\n}"},{"id":"711f12d4-ba0a-4258-89a2-0738747d6959","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"ea73cedf-c9c4-4249-abfb-22533efdc3e6","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:24:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"9cda4087-69f8-67ff-1454-692e9e509101"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cMbwK6O1PVI9XaLRDz9yeFNt4NgucGl9313OEKsKEUnPf5vK0P4fWeAK89v7%2F2xdou%2BPozjtx4dG%2FUHwji6Yd%2BExWPQ6LtzQnl%2FmFQfvlBYMbf%2BSFEVB37yxuP%2BUBYAiZo43%2FIXHCf8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104514bce5fc2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=30481&min_rtt=10366&rtt_var=26286&sent=159&recv=159&lost=0&retrans=0&sent_bytes=8705&recv_bytes=4573&delivery_rate=272429&cwnd=257&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=150306&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"5dd666cf-bdba-4a72-bfa6-6c9f91483690","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"96034fe0-36a9-48d0-8800-9f5c3ef90342\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"ea73cedf-c9c4-4249-abfb-22533efdc3e6","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:25:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ec976af7-4f1d-2019-41dc-e432b6c7af66"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=9mHLV%2FTMnpHIuFASPq6orOoCf1ZB01DJJ93lQD%2Btde2dbiDUsxFDRUOZ4tB1FeoNvxp0S%2FAo0UDeMW0pU49VRrC8tNHhM0cl4rJL3DztzqDC66HQ3LnwF%2B%2BydFkt5iqLengUGyVZ5DE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910452682e94c2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=33365&min_rtt=10366&rtt_var=25482&sent=205&recv=205&lost=0&retrans=0&sent_bytes=9921&recv_bytes=5257&delivery_rate=272429&cwnd=257&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=196012&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201027,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"94e0150d-dcdd-48e1-b178-3d052675edba","name":"Bad request - customer is not an applicant","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"34f30cee-f9f3-442a-b211-d5b79fd4ff12","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:22:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"134"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"bbc6054a-023c-444e-be8f-19ef1ccc838a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=EBdm0x5f%2BeNV046iljev5vTa8D%2B4tSfDeHz2lpZxuBf8nEeSrjYkxstsV0JKmc5UJyDgBtqg5cVUrsy7UH8vqFi6TKmQtVxQDxr%2BHtDiRfqDslAJo2U%2Fdu5dbvbwRznvw%2BQ2dtGZ%2Bt4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91044da15f97c2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11293&min_rtt=10366&rtt_var=4549&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1265&delivery_rate=272429&cwnd=251&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=289&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201021,\n        \"message\": \"Customer is not an applicant\"\n    }\n}"},{"id":"62383fdf-6915-4af4-9031-38ba1a855a3a","name":"Bad request - owners cannot be applicants","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/applicants/:customer_id/refuse","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","applicants",":customer_id","refuse"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) Unique identifier of the club from which the applicant is being refused."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) Unique identifier of the customer who is being refused from the club."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:26:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"d9fb900e-f3f4-64c2-2462-17839a6ee1d5"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=KExcsNO1I4r3Czzu3HKmg7SkovghPYsnhsbtnpBbYnU4y22wPbHh9z4wMok3x1zTBy8UvWubpjyP5kJRfNJ0qz80OjDEKB84yeGbn%2BPD8GOG219EDhV3clvcbG%2BqlBjU6UQKRwJPwTE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91045355dae2c2ac-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=40339&min_rtt=10366&rtt_var=26345&sent=244&recv=244&lost=0&retrans=0&sent_bytes=12346&recv_bytes=6625&delivery_rate=272429&cwnd=257&unsent_bytes=0&cid=cc8e4dc6e4366c15&ts=234303&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201022,\n        \"message\": \"Owners cannot be applicants\"\n    }\n}"}],"_postman_id":"1aad6b3e-8e9d-428a-b87d-0f9e6914ede0"},{"name":"Assign club ownership","event":[{"listen":"prerequest","script":{"id":"7737c042-846d-4164-9ed0-2a88d218e760","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"85fa31fb-d37f-4e82-8eb8-463126eb65bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","description":"<p>This endpoint allows a user to refuse an applicant from the club. The customer can apply to the club again in the future.</p>\n<p>When a customer is refused, 2 types of events are created:</p>\n<ul>\n<li><p><code>club_revoke_ownership</code> is registered in the club's and the previous owner's event history</p>\n</li>\n<li><p><code>club_assing_ownership</code> is registered in the club's and the new owner's event history.</p>\n</li>\n</ul>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string, required): The ID of the current owner making the request.</p>\n</li>\n<li><p><code>reason</code> (string, optional): Reason for changing ownership. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id","ownership"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the club to assign ownership.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) The ID of the new club owner.</p>\n","type":"text/plain"},"type":"any","value":"<stirng>","key":"customer_id"}]}},"response":[{"id":"efecd768-9dde-4dc0-a6f6-04b9a3783e57","name":"Club ownership is reassigned","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"96034fe0-36a9-48d0-8800-9f5c3ef90342\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) The ID of the new club owner."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 10:02:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"46942ec6-5e35-9904-bdcd-fe24ab5ebd65"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=zYFPAbUXYvI4J%2BoJ9ECiE3fKxAbpBW4ol%2FvVYcjjV%2FnknxYwv2tbTNMmq1oQzH0uIhvzSiMfNLRkwIBpMjkkUhYxWtNhfJUko1lcaZkHVEPcGsUGQG0bcnQmGVM9QrzYuPT70BtLF5w%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910380810a6f68af-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6827&min_rtt=6447&rtt_var=2689&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1247&delivery_rate=438033&cwnd=251&unsent_bytes=0&cid=09d097525de733fb&ts=2006&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": null\n}"},{"id":"d1b868ed-046e-4a1a-9217-88a48855bb68","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"test","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"34f30cee-f9f3-442a-b211-d5b79fd4ff12","description":"(Required) The ID of the new club owner."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 10:05:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"e5c4d318-679c-3790-1125-0866801d90d4"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=kDJTtlI8EFFxELd9oxYbw5aRBezbyfCTtfm6cTUmV0i0RnQNgEgXyTE4TdDaR4w9mTMP%2FtIZj4gEGnXZeBT%2BC0FVAlAnH194gHkYoDVF0fVoxzv6hYXZ9jgUgT%2FVmC1t5UHRtv71kDY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910384fc5efb7340-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6796&min_rtt=6478&rtt_var=2656&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1245&delivery_rate=435937&cwnd=251&unsent_bytes=0&cid=7aa7f39abbd43b33&ts=278&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"42882f1a-8ba2-4d20-b6ef-618f54be1a6a","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"96034fe0-36a9-48d0-8800-9f5c3ef90342\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7","description":"(Required) The ID of the new club owner."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:59:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"8a55e753-adab-edb1-a37b-c47ec26b622a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=KB5sZU0c0tbVTdqy8QsPC74BnBIaX%2FH2rtrNLDTjI7rl0l9a0W4MtakjKetkWMjBqJqc0pjOvYgf4%2BC3wAPpszG%2BjgxiqORISlwkHpJG88bLuD6NBcQOLvS2yE9POuLXOCdFeetdYqo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91037c2709a81cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=17494&min_rtt=5982&rtt_var=20281&sent=85&recv=85&lost=0&retrans=0&sent_bytes=6348&recv_bytes=3212&delivery_rate=472082&cwnd=255&unsent_bytes=0&cid=6bf57f5c50bb60ec&ts=77392&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"fd875664-072d-4202-b0e4-490a4981ccad","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"96034fe0-36a9-48d0-8800-9f5c3ef90342\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130","description":"(Required) The ID of the new club owner."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:59:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"502063ec-3b78-96ea-089f-44f9fd4109ff"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=1mPFR9Xgyxf8U%2BXGadj%2FZHqloF3FN%2FKOaYucX0eSRabUemj91ZqvYbNyxaG385vaVp0asqxsIpEOiU0flv22je8lWp3YF2rBtWiacw8K2dM7W5KO%2Bm4T6DUROU9pAGs4seznLmXhp4g%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91037c9adff61cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=22297&min_rtt=5982&rtt_var=24815&sent=105&recv=105&lost=0&retrans=0&sent_bytes=7532&recv_bytes=3847&delivery_rate=472082&cwnd=256&unsent_bytes=0&cid=6bf57f5c50bb60ec&ts=95905&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"f133030b-33de-4988-87f6-adf57b0e8ae5","name":"Bad request - owners cannot be reassigned","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) The ID of the new club owner."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 10:06:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"134"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"69f9fdfb-cb9f-43d6-c8db-294e09a9e007"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=IfWVWsxNtvTfD%2FT9WCZxaBdGNYy9C8u3sHXC3Thd7%2BiMdr%2BKH5eqC8N%2FCcbhcZnXwY%2BVfX40WzfyYpBfG7EM6E2dEksICLqrd0JASpr6ME%2Fn%2FfaRXC3DoR%2BrLluBWgyA8ZRimfwtUhU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910386ea98f3733d-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7521&min_rtt=7334&rtt_var=2884&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1265&delivery_rate=385055&cwnd=251&unsent_bytes=0&cid=c6e6502ef9bda9d4&ts=547&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201034,\n        \"message\": \"Owners cannot be reassigned\"\n    }\n}"},{"id":"8fba9ef3-3719-4053-b2a8-62d2fc1c8bec","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) The ID of the new club owner."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:58:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"9b473986-a255-e0e6-6106-da1e89a5e0a5"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7OZc6%2ByktAv0bhAiMJYnm4LqlSJT52UcKKyWZmpW%2BQvEcvAoi9hKmtn0%2BOf%2BYmnfXC6NxUPrexlfhQFifFXDOmpZHJUbrwOQloaeCN%2B1%2BNEULra0%2FiGnHQqxKYPRgYUlUD9sm%2FUzYO0%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91037aa19d251cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6406&min_rtt=5982&rtt_var=1936&sent=21&recv=21&lost=0&retrans=0&sent_bytes=3933&recv_bytes=1875&delivery_rate=472082&cwnd=253&unsent_bytes=0&cid=6bf57f5c50bb60ec&ts=15189&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"288346ef-5066-4b7e-ad3d-ea5c521f3bd6","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"5ab3f069-bd5d-4679-b18f-421ae3e10a16\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) The ID of the new club owner."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:58:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"355bed16-dfa7-26d4-cab1-12187ac7af86"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=zy1uz1y41K5MsQaKUrjndwaEiWi%2BL0m%2Bdax6AL0pLZQrAWiobca62Vk3ksF5W2%2BbOQWgXfn8517HVpzmyKRKDp2fWBiMGnjHxjZefkvtJPYKUi75wqbtQZ7LqMD6%2BjIp83JTO2E5IXo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91037b54fe181cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12376&min_rtt=5982&rtt_var=13393&sent=51&recv=51&lost=0&retrans=0&sent_bytes=5143&recv_bytes=2559&delivery_rate=472082&cwnd=254&unsent_bytes=0&cid=6bf57f5c50bb60ec&ts=43970&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201039,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"bf08aa3a-84da-4f8f-b22c-18d78b52b0a8","name":"Bad request - actor parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643","description":"(Required) The ID of the new club owner."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:57:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"92e1efab-747e-882f-c9d5-87dc5c13ddde"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YaOWQxGFqKbgzaM7sOtM9PtQNY5brzw%2BU2GSUGXWRj5u4NkMdRSxXTHM8mzxLPBtD81V1WzxsLy5SAm5S9eL%2BHj6CdxIrX7rArWkwf0UVhbArj7LqO6NZcd8mbddtJFu%2F6MH%2FiEL9TU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91037a442acb1cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6416&min_rtt=5982&rtt_var=2554&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1229&delivery_rate=472082&cwnd=251&unsent_bytes=0&cid=6bf57f5c50bb60ec&ts=319&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201038,\n        \"message\": \"Actor parameter is missing\"\n    }\n}"},{"id":"cafd3a40-c1b6-428b-9b52-42aa22f02fc2","name":"Bad request - only active club members can be owners of the club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"e9e5a706-b785-405a-bcf3-2e7859fd59d3","description":"(Required) The ID of the new club owner."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 10:16:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"dfcc5516-297d-22bf-d410-38fe1b550893"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=evidgwI8xGwFmCBiAcQXNRdaskO4eIw70FyqLm0LMFyMQtUfC1FOu5Z9%2BeevTbFgTe0MBkz5ZEIAFxrL8Xwx1vhI1OtSaiw9vLys%2FEAaUHOnMT4LbksGLD54eIGsTG6Q4UHn%2FDQVqqo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91039618fce6c2be-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11000&min_rtt=10985&rtt_var=4130&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1265&delivery_rate=257077&cwnd=251&unsent_bytes=0&cid=8d27c176701d3caf&ts=326&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201036,\n        \"message\": \"Only active club members can be owners of the club\"\n    }\n}"},{"id":"de592697-7d8c-4052-957c-4140c3a5694e","name":"Bad request - only active customer can be owner of a club","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"de41a849-7a5b-4c8c-9508-ff96577a3cb3","description":"(Required) The ID of the new club owner."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 10:10:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"cc9cad2f-c2a3-beed-321e-ebf607eb3a53"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=OCOcDeQJSfhwYaw2RUpPXVwKcTnUT%2FB7Sa%2F4VF88DfWrzS32BJuN6ql1x%2Frwptpa8mSX2Wm3ZbS7OXtg%2FZvtSCTVyiFGEum8e9V0JPh7NPj6nguKrn5tI%2BmtOIN3t1cQXonPvPHLqyY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91038d267ae71cc8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6376&min_rtt=5935&rtt_var=1999&sent=40&recv=40&lost=0&retrans=0&sent_bytes=3925&recv_bytes=1949&delivery_rate=475821&cwnd=253&unsent_bytes=0&cid=faa19e6ab52da622&ts=34874&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201035,\n        \"message\": \"Only active customer can be owner of a club\"\n    }\n}"},{"id":"a0d80ca0-faac-4910-8f65-ac4e935c819e","name":"Bad request - actor's role has changed from owner to member","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"a2950e93-31c1-4bb2-8bb7-3aa0dcb6a643\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/ownership","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","ownership"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to assign ownership."},{"key":"customer_id","value":"e9e5a706-b785-405a-bcf3-2e7859fd59d3","description":"(Required) The ID of the new club owner."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 10:16:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"dfcc5516-297d-22bf-d410-38fe1b550893"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=evidgwI8xGwFmCBiAcQXNRdaskO4eIw70FyqLm0LMFyMQtUfC1FOu5Z9%2BeevTbFgTe0MBkz5ZEIAFxrL8Xwx1vhI1OtSaiw9vLys%2FEAaUHOnMT4LbksGLD54eIGsTG6Q4UHn%2FDQVqqo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91039618fce6c2be-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=11000&min_rtt=10985&rtt_var=4130&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1265&delivery_rate=257077&cwnd=251&unsent_bytes=0&cid=8d27c176701d3caf&ts=326&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201036,\n        \"message\": \"Owners role is already set as member\"\n    }\n}"}],"_postman_id":"85fa31fb-d37f-4e82-8eb8-463126eb65bc"},{"name":"Disband a club","event":[{"listen":"prerequest","script":{"id":"728a5eba-111c-44a5-bc5a-11d03abd032d","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4e67b9b1-c88b-40e0-b088-61c2404af5a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","description":"<p>This endpoint allows usersclub owners to disband a specified club.</p>\n<p>When a club is disbanded, 3 types of events are created:</p>\n<ul>\n<li><p><code>club_revoke_ownership</code> is registered in the club's and the club owner's event history</p>\n</li>\n<li><p><code>club_disband</code> is registered in the club's and the club owner's event history.</p>\n</li>\n<li><p><code>club_member_remove</code> is registered in the club's and all club members' event history (including the club owner).</p>\n</li>\n</ul>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>actor</code> (string, required): The ID of the current owner making the request.</p>\n</li>\n<li><p><code>reason</code> (string, optional): The reason for disbanding the club. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","disband"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the club to disband.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"}]}},"response":[{"id":"01c97b5f-c3fa-4e9f-8e52-4afde37c95bf","name":"Club is disbanded","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"7b722866-1bdd-43c2-be55-420e519d0237\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","disband"],"variable":[{"key":"club_id","value":"67aa2f0493a069890808bc76","description":"(Required) The ID of the club to disband"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:27:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ea5aa381-d739-4f87-fe54-89b1657bc8b8"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=o9LTdkNpo3dltfik69M8mL8tgmry0Q0ItPl3JIywa1fFmsvP6ywSpVPV%2FbHEBi3BM%2BZLSvCCc3hp52XDhVVLBzZ0%2BikjqD9hk2syU1jWsDblkY3npTTPjLS0CuPJ93uPKbd9Jm6arG4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102f6720d4cc1af-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7866&min_rtt=7052&rtt_var=3364&sent=18&recv=18&lost=0&retrans=0&sent_bytes=3925&recv_bytes=1811&delivery_rate=279992&cwnd=253&unsent_bytes=0&cid=f003613e4a280f3e&ts=12960&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": null\n}"},{"id":"83e40a5d-55f9-4e89-9126-6bf69b7424fe","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"7b722866-1bdd-43c2-be55-420e519d0237\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","disband"],"variable":[{"key":"club_id","value":"test","description":"(Required) The ID of the club to disband."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:23:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"62af5a4b-1676-74be-0226-5b40cb4b6e42"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YrqaQD4OztAB54ALo8t5ROmS0rl5aw82rRpqS7d%2FOoK8zHIV8EIUsXN9HkgREmPfi9Ubd9pddRd1pPPlh1S0VRrFumOaVMuvjTMN4Ee8eqdHKJqd0PBxFaSrFUUKBfVywir4bA9qY0I%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102f0844a0f1ce0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=14143&min_rtt=6979&rtt_var=14471&sent=83&recv=83&lost=0&retrans=0&sent_bytes=5146&recv_bytes=2367&delivery_rate=404642&cwnd=253&unsent_bytes=0&cid=9ac15e2983689c58&ts=77511&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"fa6e2622-4d51-4731-bec3-23fcc5074b53","name":"Bad request - club is not active","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"f185833f-ede4-4fdd-be83-d883bc307a75\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","disband"],"variable":[{"key":"club_id","value":"67909f3a7106c5ebb60c2eda","description":"(Required) The ID of the club to disband."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:26:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"afb2d799-7684-6a25-4318-226f632a973a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vO8cn551QGLDDd3SlsK15ks84Uj%2BVaspA1Xw5zZAKXry1Ni2pMfe3Ju%2FVbV6k0yHHK4IJ5q6NHm2X36CKNfalQjKMtzbkijozg917YFYje3M%2B8NqyYnWh8Y2SyLGG5ZbbYHT70rr2XE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102f49f5f8968bc-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7051&min_rtt=6984&rtt_var=2754&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1218&delivery_rate=375282&cwnd=251&unsent_bytes=0&cid=da04f239a8e4dec2&ts=285&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201047,\n        \"message\": \"Club is not active\"\n    }\n}"},{"id":"455632f2-e85d-4b16-b8f9-05bcaefb8d6c","name":"Bad request - actor has no permission to change status","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"f185833f-ede4-4fdd-be83-d883bc307a75\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","disband"],"variable":[{"key":"club_id","value":"67aa2f0493a069890808bc76","description":"(Required) The ID of the club to disband."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:25:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"08c7b152-1c29-ec37-e382-273797669c93"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZOoen7G79N2TS0YFsQQy43AoXL71X%2F3FrlmGNQ%2FJrDiY7cmabfD%2BVUGHLSqX2KaOOv9ywv8pMuR8tRBKod8ZYMT5UwhDSpCqv73i%2FDyteRPYgDVLRh1e6rkoDux5riBvGSaH7BNsxfE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102f2d12d101cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7372&min_rtt=7019&rtt_var=2290&sent=18&recv=18&lost=0&retrans=0&sent_bytes=3914&recv_bytes=1835&delivery_rate=402336&cwnd=252&unsent_bytes=0&cid=448b9a9ca7510d52&ts=12614&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201027,\n        \"message\": \"Actor has no permission to change status\"\n    }\n}"},{"id":"4f3e9d3a-3935-4999-a9aa-8e559e98bb59","name":"Bad request - property 'actor' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","disband"],"variable":[{"key":"club_id","value":"67aa2f0493a069890808bc76","description":"(Required) The ID of the club to disband."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:23:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"2aacd91c-5cc7-2b83-34e3-b9c631d11c82"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=h9%2F0pJ0dfFN3HirTZl4fhJ76AcjbLmaKSr63%2B7jlHKFkrp%2BDvslBq1X%2BXE9AYPbtHRRipRCChtlSXie9Xr8BD0ht7E%2FFBHoyWkSl50E0b95qxH%2B1EE5%2B4WqevVM%2B9ZwbCaxBAwMtIrA%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102ef332d281ce0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7849&min_rtt=6979&rtt_var=2511&sent=29&recv=29&lost=0&retrans=0&sent_bytes=3936&recv_bytes=1781&delivery_rate=404642&cwnd=252&unsent_bytes=0&cid=9ac15e2983689c58&ts=23816&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'actor' cannot be empty\"\n    }\n}"},{"id":"81dcb0d4-99bf-4d37-8ee4-55c6cc5f9682","name":"Bad request - customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","disband"],"variable":[{"key":"club_id","value":"67aa2f0493a069890808bc76","description":"(Required) The ID of the club to disband."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:22:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"a3d81438-006a-0afb-b5cf-33bb97a5fb5f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=QXCrp1uqrWBOIhEZHU%2BZ4QszhAoC9WLuvZR8O1nz8K%2FTdKAV9FnKhj5sfk64W%2BiViR%2F8NJ4eqQ%2FztChmNvPUh8GrDX%2BKtxuc%2BpeD4cgjAiTczL1rlA92R%2BkpLvJNR1tWka86rScz4s8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102eea14d341ce0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7882&min_rtt=6979&rtt_var=3262&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1182&delivery_rate=404642&cwnd=250&unsent_bytes=0&cid=9ac15e2983689c58&ts=256&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"69592006-5c81-4753-ae48-c45bff32af68","name":"Bad request - club is not active Copy","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"actor\": \"f185833f-ede4-4fdd-be83-d883bc307a75\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/disband","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","disband"],"variable":[{"key":"club_id","value":"67909f3a7106c5ebb60c2eda","description":"(Required) The ID of the club to disband."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 08:26:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"afb2d799-7684-6a25-4318-226f632a973a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vO8cn551QGLDDd3SlsK15ks84Uj%2BVaspA1Xw5zZAKXry1Ni2pMfe3Ju%2FVbV6k0yHHK4IJ5q6NHm2X36CKNfalQjKMtzbkijozg917YFYje3M%2B8NqyYnWh8Y2SyLGG5ZbbYHT70rr2XE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9102f49f5f8968bc-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7051&min_rtt=6984&rtt_var=2754&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1218&delivery_rate=375282&cwnd=251&unsent_bytes=0&cid=da04f239a8e4dec2&ts=285&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n\t\"status\": \"error\",\n\t\"error\": {\n\t\t\"type\": \"BadRequestException\",\n\t\t\"code\": 201056,\n\t\t\"message\": \"An error occurred while update the owner id\"\n\t}\n}"}],"_postman_id":"4e67b9b1-c88b-40e0-b088-61c2404af5a9"},{"name":"Retrieve club history","event":[{"listen":"prerequest","script":{"id":"9b8e39b3-610f-44f0-853c-7667a02e1bfe","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2e0f3fe3-45c5-4b11-8275-8e2a26e51a5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/history","description":"<p>This endpoint provides the history of actions performed in a club with optional filtering.</p>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","history"],"host":["api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter history by action type.</p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter history by customer ID.</p>\n","type":"text/plain"},"key":"customer_id","value":"<string>"},{"disabled":true,"description":{"content":"<p>Filter or order history by creation date. Must be in the YYYY-MM-DDTHH:MM:SS date-time format where T appears literally in the string to indicate the beginning of the time element.</p>\n","type":"text/plain"},"key":"created_at","value":"<string>"},{"disabled":true,"description":{"content":"<p>Offsets the starting number of actions to return. This is used in pagination in conjunction with the limit query.</p>\n<p>Must be ≥ 0\nDefaults to 0</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Limits the number of actions returned in one response. Other values are accessible by pagination made accessible via the offset.</p>\n<p>Must be between 1 and 100\nDefaults to 20</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[{"description":{"content":"<p>(Required) The ID of the club to retrieve history for.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"}]}},"response":[{"id":"fd5afe10-b90e-4f42-a7f3-b65b811e2888","name":"Club history is returned","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/history?offset=2&limit=2","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","history"],"query":[{"key":"type","value":"<string>","description":"Filter history by action type.","disabled":true},{"key":"customer_id","value":"<string>","description":"Filter history by customer ID.","disabled":true},{"key":"created_at","value":"<string>","description":"Filter or order history by creation date. Must be in date-time format.","disabled":true},{"key":"offset","value":"2","description":"Offsets the starting number of actions to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"2","description":"Limits the number of actions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20"}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to retrieve history for."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 16:59:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"332"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"daa06319-9cda-aaaf-c1bf-524fda3b1585"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=CdBstPrpPKJX5Mtbb1Aoj9V8g9cWyV9XpXJfDexncyvy8kr3VmrtNZIbRNP3CKUjJLGBLebxMQ4wmfhBEknmezAHq2jjt%2BxDnvButbgfOE86FvG435ddL17jvdCNX78cE7ZpbEZUA%2BI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fda69bacf71cc0-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=18399&min_rtt=5885&rtt_var=21551&sent=44&recv=44&lost=0&retrans=0&sent_bytes=5883&recv_bytes=2151&delivery_rate=479864&cwnd=255&unsent_bytes=0&cid=1e4ec905f7e9e96f&ts=36450&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": {\n        \"pagination\": {\n            \"total\": 14,\n            \"next\": \"/v1/clubs/members?offset=4&limit=2\",\n            \"previous\": \"/v1/clubs/members?offset=0&limit=2\"\n        }\n    },\n    \"payload\": [\n        {\n            \"id\": \"6797bd876d346064010de7ab\",\n            \"customer_id\": \"user1234\",\n            \"type\": \"club_point_remove\",\n            \"source\": \"Management UI\",\n            \"properties\": {\n                \"points\": 5,\n                \"reason\": null\n            },\n            \"created_at\": \"2025-01-27T17:08:23+00:00\"\n        },\n        {\n            \"id\": \"67981bc9cbaf01393c0a75bc\",\n            \"customer_id\": \"customer5678\",\n            \"type\": \"club_member_join\",\n            \"source\": \"Management UI\",\n            \"properties\": {\n                \"status\": null,\n                \"channel\": null\n            },\n            \"created_at\": \"2025-01-27T23:50:33+00:00\"\n        }\n    ]\n}"},{"id":"1285b42c-b56e-407b-9840-56504902b68d","name":"Club not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/history","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","history"],"query":[{"key":"type","value":"<string>","description":"Filter history by action type.","disabled":true},{"key":"customer_id","value":"<string>","description":"Filter history by customer ID.","disabled":true},{"key":"created_at","value":"<string>","description":"Filter or order history by creation date. Must be in date-time format.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of actions to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of actions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f5","description":"(Required) The ID of the club to retrieve history for."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 17:01:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"3fb293f4-436d-5c58-c098-cb56ebf763e0"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ebsD0%2BTbDeZqWx2mtjFVrHjFuuTXFNWV1WYLZ99FhmQ2jgWgzH%2B2mpyh8rkWWQgKxUvkQuryVOQZVzNGpvfbQ7VPA0cmyEggUFW%2B4FALUMQWbxe3wS4TnL0fqw%2FkPg1DqHnk8%2FHz5mM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fda938fecf1cd8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6467&min_rtt=6340&rtt_var=2468&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1093&delivery_rate=445425&cwnd=249&unsent_bytes=0&cid=0c2c24b62081385d&ts=215&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201099,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"f5d7f2c6-ffc5-4587-88cb-d64852ee321a","name":"Bad request - limit out of bounds","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/history?limit=120","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","history"],"query":[{"key":"type","value":"<string>","description":"Filter history by action type.","disabled":true},{"key":"customer_id","value":"<string>","description":"Filter history by customer ID.","disabled":true},{"key":"created_at","value":"<string>","description":"Filter or order history by creation date. Must be in the YYYY-MM-DDTHH:MM:SS date-time format where T appears literally in the string to indicate the beginning of the time element.","disabled":true},{"key":"offset","value":"<integer>","description":"Offsets the starting number of actions to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"120","description":"Limits the number of actions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20"}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to retrieve history for."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 17:13:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"135"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"92b9d833-bb77-634b-d2d4-6d1436150b77"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=o0iIirmsZMgnTUuTk2Fw2kHt3ULCcm%2FU9rzCY9ikVPXi2QkIElI%2Fyf1%2FTtTu4%2FponbvXnIKwTgTGXKCxzRq3nXCpTuEuwKQJr5rVWsUMC63LNBZl7Lo%2BtpxOqG6Ymcoz4n4o6mWNbaQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fdbb3dbaa5c2f5-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=36235&min_rtt=12184&rtt_var=24488&sent=510&recv=498&lost=0&retrans=0&sent_bytes=44726&recv_bytes=16989&delivery_rate=235078&cwnd=257&unsent_bytes=0&cid=269be3caa434668e&ts=464473&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201010,\n        \"message\": \"Limit must be between 0 and 100\"\n    }\n}"},{"id":"4ff947d4-379d-40e8-864b-19eca9fa903d","name":"Bad request - offset cannot be negative","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/history?offset=-2","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","history"],"query":[{"key":"type","value":"<string>","description":"Filter history by action type.","disabled":true},{"key":"customer_id","value":"<string>","description":"Filter history by customer ID.","disabled":true},{"key":"created_at","value":"<string>","description":"Filter or order history by creation date. Must be in the YYYY-MM-DDTHH:MM:SS date-time format where T appears literally in the string to indicate the beginning of the time element.","disabled":true},{"key":"offset","value":"-2","description":"Offsets the starting number of actions to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0"},{"key":"limit","value":"<integer>","description":"Limits the number of actions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to retrieve history for."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 17:12:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"43109524-160d-1da2-e1ae-05dfbe1ed1c9"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=fy4RSgA0aBoj%2Bfi5UFcN8wK9mMY%2FW0Fx%2FeveCwskujjWnt2%2BWX6apQToe1ossSaSfVZrEU%2BcUSO9JoAB0CUnIp93DbtHy19teGiS0qdK0fIrE%2BfDR5J0z5HNjo0fFbNDRywPxoxN78U%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fdb94099b3c2f5-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=40712&min_rtt=11981&rtt_var=26980&sent=420&recv=411&lost=0&retrans=0&sent_bytes=36998&recv_bytes=14409&delivery_rate=235078&cwnd=257&unsent_bytes=0&cid=269be3caa434668e&ts=382981&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201011,\n        \"message\": \"Offset cannot be negative\"\n    }\n}"},{"id":"5664ac0d-ca1e-48b3-b035-43bc7c9dc9e2","name":"Bad request - invalid query string parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/history?created_at=invalid_date","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","history"],"query":[{"key":"type","value":"<string>","description":"Filter history by action type.","disabled":true},{"key":"customer_id","value":"<string>","description":"Filter history by customer ID.","disabled":true},{"key":"created_at","value":"invalid_date","description":"Filter or order history by creation date. Must be in date-time format."},{"key":"offset","value":"<integer>","description":"Offsets the starting number of actions to return. This is used in pagination in conjunction with the limit query.\n\nMust be ≥ 0\nDefaults to 0","disabled":true},{"key":"limit","value":"<integer>","description":"Limits the number of actions returned in one response. Other values are accessible by pagination made accessible via the offset.\n\nMust be between 1 and 100\nDefaults to 20","disabled":true}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to retrieve history for."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 17:02:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"d18ed3a0-0584-34b0-6e22-b9b87c3b510e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=OjsC3R%2BNICGHZhPvl9%2FM%2FJz0hpf55hEniN7AuFKUNzPyb%2B0x6gd%2FDxzh5h4xZu4mS350RcBhpR6PBot0NiSFrKN5zMdB3cbkXTcrPuENORpUeLpVIcDZMxv3d2nk%2Bp5kLqGfppyVA98%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fdaa441c671cd8-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6425&min_rtt=6131&rtt_var=1935&sent=48&recv=48&lost=0&retrans=0&sent_bytes=3920&recv_bytes=1621&delivery_rate=460610&cwnd=251&unsent_bytes=0&cid=0c2c24b62081385d&ts=42925&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201100,\n        \"message\": \"Invalid query string parameter(s)\"\n    }\n}"}],"_postman_id":"2e0f3fe3-45c5-4b11-8275-8e2a26e51a5d"},{"name":"Adjust points for a specific club member","event":[{"listen":"prerequest","script":{"id":"f52311c8-7738-411a-b284-b878472cdc06","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"31242360-9175-4c34-89b6-a3ef2b6c8a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": <integer>,\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-adjustment","description":"<p>This endpoint allows you to adjust the point contribution for a specific member of a club. Points can be modified positively or negatively.</p>\n<p>Based on the value of the adjustment, either the <code>club_point_add</code> or <code>club_point_remove</code> event is recorded in both the club's and the club member's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>points</code> (integer, required): The number of points to adjust, can be a positive or negative whole number.</p>\n</li>\n<li><p><code>reason</code> (string, optional): The reason for the point adjustment. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id","point-adjustment"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the club where the member belongs.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) The ID of the customer whose contribution is being updated.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"69994c9e-9f60-4b11-9c7c-747e134f613f","name":"Points contributed by a club member are adjusted","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": -50,\r\n  \"reason\": \"Remove extra points\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-adjustment","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-adjustment"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46"},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:29:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"255"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"43816144-c5e9-d92b-4b77-bb518f741274"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=80dhPnsQr8WN9VJ0of4G6pcqMzUBLfyDbGcZ8tyo2GzpezXQ2%2BLMQRclSD4%2F2TdGuBzf9IP7hJDUcvGZ7eeYVA%2F8z2idu3fhMQVd30L53SECz4KIPVTaGxIo0nQCnqgBIXTQYX4YHgw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9104589a8a9bc2e6-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12311&min_rtt=11711&rtt_var=4820&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1257&delivery_rate=241140&cwnd=251&unsent_bytes=0&cid=725df36dfe4d9d61&ts=435&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"member\": {\n            \"id\": \"6798cb5e5783142bb801ec48\",\n            \"customer_id\": \"66714692-74fd-435a-97ef-0353b84d7130\",\n            \"club_id\": \"6798cb5e5783142bb801ec46\",\n            \"role\": \"owner\",\n            \"status\": \"active\",\n            \"balance\": {\n                \"contributed\": 50,\n                \"spent\": 0\n            }\n        },\n        \"club\": {\n            \"id\": \"6798cb5e5783142bb801ec46\",\n            \"name\": \"Fashion gurus\",\n            \"type\": \"public\",\n            \"status\": \"active\",\n            \"balance\": {\n                \"contributed\": 50,\n                \"spent\": 0,\n                \"expired\": 0,\n                \"spendable\": 50\n            },\n            \"member_count\": 1,\n            \"owner_customer_id\": \"66714692-74fd-435a-97ef-0353b84d7130\"\n        }\n    }\n}"},{"id":"9e4d7821-c089-4dee-b267-1d961192c25e","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": 20,\r\n  \"reason\": \"Add extra points\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-adjustment","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-adjustment"],"variable":[{"key":"club_id","value":"test"},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:32:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"fdc02d87-bc61-7155-2f75-83cb414f75ac"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=exFcCk%2FbxeaaGX%2FEXgsg0tKaFMV79L3aKe5FVI3ude3o3wQTqjKvCc%2B8ejxjvW6mm1zWyo%2BWh16vosrL%2B6CZpG3MV0nhRSKs6ARKhFC1Qt30VAvvDPirQL34SKbvlmOGWcAmoaD%2FOOo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91045d1caaf6c287-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=32242&min_rtt=11902&rtt_var=25591&sent=132&recv=132&lost=0&retrans=0&sent_bytes=8811&recv_bytes=4609&delivery_rate=237271&cwnd=245&unsent_bytes=0&cid=e7dc4a384359c191&ts=124055&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"8eb358f7-dd10-4cb3-828f-ccdbdefe2552","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": 20,\r\n  \"reason\": \"Add extra points\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-adjustment","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-adjustment"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46"},{"key":"customer_id","value":"66714692-74fd-435a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:33:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"79a516a0-f924-cdbf-9d35-ae478bb2120d"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Qb2OO3491JSEFQj9YrqjTSc7M1qKgD6blEzwIFkfWtrEvaWSXnGb3cNWW%2BFHjpBmoGkvi31UAwqpptsTpBC5X9cMnqan9yjp5wlkpMOdjokyEJpPazmb6LECv6zDHuQhAK6EFpfoBLY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91045d786f54c287-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=35466&min_rtt=11902&rtt_var=25640&sent=148&recv=148&lost=0&retrans=0&sent_bytes=10002&recv_bytes=5263&delivery_rate=237271&cwnd=245&unsent_bytes=0&cid=e7dc4a384359c191&ts=138850&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"bf007687-b4df-4e84-8287-151a4faf95d4","name":"Bad request - property 'points' cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": ,\r\n  \"reason\": \"Remove extra points\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-adjustment","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-adjustment"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46"},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:31:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"b4a67e2d-94ba-e063-c9a3-b552b154cc22"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=A2nTk8jXBo0WlNYKtwxo6n5rOJEknX2lDw1P8F7NDm2kdzRIf5HHCZTYyudYWVX2Y4qiC0kFikvipQyQdibnzwfHUfF6Rg52TL8sWRmX2O2dhRNEz1bvAqwWc4gw8KhaN0UnEgvdfNU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91045be72fe5c287-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=25175&min_rtt=11902&rtt_var=24024&sent=81&recv=81&lost=0&retrans=0&sent_bytes=6390&recv_bytes=3278&delivery_rate=237271&cwnd=243&unsent_bytes=0&cid=e7dc4a384359c191&ts=74378&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'points' cannot be empty\"\n    }\n}"},{"id":"3f6b0982-64ad-4433-bc7b-6b9159bcb894","name":"Bad request - the 'points' value must be a whole positive or negative number","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"points\": 2.5,\r\n  \"reason\": \"Add extra points\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-adjustment","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-adjustment"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46"},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:31:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"158"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ade0205d-0fe5-c378-4136-d249f46aed36"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=l7i4RWebUp%2BUjlIJ729yooYWa9njdHefckyTd3xeF%2BCQQqMbnOj9p4jWB7mp%2BTINrHkCtwpJw6Mv73flDvDlCzGaR5HidNuTQaeznuzH4m9%2FhXtcYxCq%2Fjx2T2L%2FEZUFCaPeGTZsaZU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91045aa7fe82c287-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12704&min_rtt=11902&rtt_var=4099&sent=29&recv=29&lost=0&retrans=0&sent_bytes=3956&recv_bytes=1932&delivery_rate=237271&cwnd=241&unsent_bytes=0&cid=e7dc4a384359c191&ts=24051&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201103,\n        \"message\": \"The 'points' value must be a whole positive or negative number.\"\n    }\n}"}],"_postman_id":"31242360-9175-4c34-89b6-a3ef2b6c8a38"},{"name":"List expiring points by date","event":[{"listen":"prerequest","script":{"id":"efa70e9f-0ab6-4c1e-bdfa-fab5f9148156","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"31ca7343-612d-4b20-a0f7-4da932b509f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/point-expiry?from=<date>&to=<date>","description":"<p>This endpoint allows you to retrieve the list of expiring points within a given date range for a specific club.</p>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","point-expiry"],"host":["api","{{environment}}","antavo","com"],"query":[{"description":{"content":"<p>(Required) The start date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format.</p>\n","type":"text/plain"},"key":"from","value":"<date>"},{"description":{"content":"<p>(Required) The end date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format. Maximum range is 30 days.</p>\n","type":"text/plain"},"key":"to","value":"<date>"}],"variable":[{"description":{"content":"<p>(Required) The ID of the club for which point expirations are being retrieved.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"}]}},"response":[{"id":"c4c322c4-1431-43d0-ab73-cf524f793f2d","name":"The expiring points are returned","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/point-expiry?from=2025-01-15&to=2025-02-14","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","point-expiry"],"query":[{"key":"from","value":"2025-01-15","description":"(Required) The start date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format."},{"key":"to","value":"2025-02-14","description":"(Required) The end date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format. Maximum range is 30 days."}],"variable":[{"key":"club_id","value":"67aa2f0493a069890808bc76","description":"(Required) The ID of the club for which point expirations are being retrieved."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 16:57:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"6f134ae5-df22-062b-615b-ae3fc4311909"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZTgmZ5jtyb%2F1US7V7mcTVwYwSz2eDcMU4tBp9N5P8NQ%2FBrooVCVdrXl%2BmyBZJIfvYp4tlYPOtMAXZbV%2BKXZc17T3llaT3g8oLV38jmGu%2FP7MaucFOB%2BLc9MRPQghaldEt3jCG49NesQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fda342bc82c2bb-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=9905&min_rtt=9890&rtt_var=3738&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1128&delivery_rate=282117&cwnd=251&unsent_bytes=0&cid=2bb90c8baa38a843&ts=284&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": [],\n  \"payload\": {\n    \"expirations\": [\n      {\n        \"status\": \"expired\",\n        \"date\": \"2025-01-17\",\n        \"amount\": 20\n      },\n      {\n        \"status\": \"expiring\",\n        \"date\": \"2025-01-25\",\n        \"amount\": 30\n      }\n    ],\n    \"total\": 50\n  }\n}"},{"id":"6ae289fb-1b2f-4432-a23d-28981e66415e","name":"Club not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/point-expiry?from=2025-01-01&to=2025-01-31","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","point-expiry"],"query":[{"key":"from","value":"2025-01-01","description":"(Required) The start date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format."},{"key":"to","value":"2025-01-31","description":"(Required) The end date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format. Maximum range is 30 days."}],"variable":[{"key":"club_id","value":"test","description":"(Required) The ID of the club for which point expirations are being retrieved."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 17:16:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"eefb032a-0eed-b51c-a67f-7b42d10bc330"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=LH1aDajGM0lk8CJwSke7LBB8T4HZ1wmbGC6%2FLfH0goVb9I8Q6v%2FiX8XM3HNaNl22kKzxHN0T522rGLhxP9ZWGFt5YbkMjZo7RaLjFBmBi4IDnnjxM%2BPS74esiO%2FBFxJTk0wTHbI4hWg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fdbf154da1c27a-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=27974&min_rtt=9902&rtt_var=27677&sent=72&recv=72&lost=0&retrans=0&sent_bytes=7438&recv_bytes=3259&delivery_rate=285194&cwnd=106&unsent_bytes=0&cid=625e00cd4b878cb8&ts=62343&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201099,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"4deffd2e-3c95-488d-ac45-8cbf54bbebd3","name":"Bad request - invalid date provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/point-expiry","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","point-expiry"],"query":[{"key":"from","value":"<date>","description":"(Required) The start date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format.","disabled":true},{"key":"to","value":"<date>","description":"(Required) The end date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format. Maximum range is 30 days.","disabled":true}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club for which point expirations are being retrieved."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 16:48:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"154"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"72fb72a4-845d-cc1d-3101-4e383b9cd6c2"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=4GZGHrZdVKM3wJ6re%2FIqEXxduI0W2GDSmFLCepwwdCa3bHKU7ie5k%2FsoebBnsJ6V7EzkoHcHee9Wf3qVaKaF13cF%2B%2BVbgO8SNxETnDa5en0hqx99Apft0ENifCJoRrbYrLPx5jFcLt4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fd961eeace6844-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6841&min_rtt=6270&rtt_var=2759&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1098&delivery_rate=450398&cwnd=251&unsent_bytes=0&cid=fe545e9ce1d28d06&ts=271&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201121,\n        \"message\": \"Invalid date provided. Please provide a valid date in a supported format.\"\n    }\n}"},{"id":"b32f7976-ba5c-4d03-9d72-fdb108d250b9","name":"Bad request - date range exceeds the allowed limit","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/point-expiry?from=2025-01-01&to=2025-02-05","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","point-expiry"],"query":[{"key":"from","value":"2025-01-01","description":"(Required) The start date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format."},{"key":"to","value":"2025-02-05","description":"(Required) The end date (inclusive) for retrieving expiring points. Must be in YYYY-MM-DD format. Maximum range is 30 days."}],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club for which point expirations are being retrieved."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Feb 2025 16:49:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"4ba8e2c3-f013-667b-120b-61e698f433b9"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=4L05jZ2cIIdtqLry1eFtGrerPY%2FQQOm%2FskuiUs9pdEXZ%2F%2FsjRKC5UjI96BaSQ3sM5%2FrRJn5rVFxXBgqGloPF93TVejbjccPcWhRW8k%2Fj2b1qui1f8PJ96VTNDLRtu8zSd54YQclR7Mo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90fd97b5194ac2f2-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=10885&min_rtt=10882&rtt_var=4086&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1128&delivery_rate=258940&cwnd=251&unsent_bytes=0&cid=ba78ad9d0d22b2f2&ts=283&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201120,\n        \"message\": \"The date range exceeds the allowed limit of 31 days. Provided range: 36 days.\"\n    }\n}"}],"_postman_id":"31ca7343-612d-4b20-a0f7-4da932b509f4"},{"name":"Update club details","event":[{"listen":"test","script":{"id":"e242004e-1a5c-40e5-8b57-e450739eb935","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"bdb278da-9d22-425a-b22b-0b21abbf546c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"844cddca-2ebb-4af0-90bb-837aa12a8ee5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"<string>\",\r\n  \"reason\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","description":"<p>This endpoint allows a club member to update the club's name and provide a reason for the update.</p>\n<p>When the name of the club is updated, the <code>club_detail_change</code> event is automatically registered in both the club's and the customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>name</code> (string, required): The new name of the club.</p>\n</li>\n<li><p><code>reason</code> (string, optional): Reason for the club name change. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id","club-update"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>(Required) The ID of the club to update.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>(Required) The ID of the customer making the club name update.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"73b24332-8a75-424f-b5f9-a1c1cde79b14","name":"Club details are updated","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130","description":"(Required) The ID of the customer making the club name update."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 12:36:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"268"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"67ffe6b0-399b-aa5d-a345-cfd9ae4a1359"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=DAajLfQmxOICpr3B8mE1ggt6HgYUqDAxK2LAnFIm8VvTwcpWYlVAQaObsJTMI1QJ0fpmGWihBlp5k0uQm4zN8j5sDlAropPQ9Ccx9Jmn3FFb4gdmaj5gCsp%2BypF1lhJCZGq4r8Zvlac%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91046281dbe6c226-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=12466&min_rtt=12408&rtt_var=4695&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1249&delivery_rate=227595&cwnd=250&unsent_bytes=0&cid=93822b868b922e1d&ts=389&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [],\n    \"payload\": {\n        \"id\": \"6798cb5e5783142bb801ec46\",\n        \"name\": \"Fashion influencers\",\n        \"type\": \"public\",\n        \"status\": \"active\",\n        \"balance\": {\n            \"contributed\": 50,\n            \"spent\": 0,\n            \"expired\": 0,\n            \"spendable\": 50\n        },\n        \"member_count\": 1,\n        \"owner_customer_id\": \"66714692-74fd-435a-97ef-0353b84d7130\",\n        \"name_change_frequency\": {\n            \"remaining\": 0,\n            \"next_reset_at\": null,\n            \"last_update_at\": null\n        }\n    }\n}"},{"id":"ec8cc12b-b0c7-41ea-bf4e-4949b7fb61a8","name":"Club not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"The Smiths\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"test","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130","description":"(Required) The ID of the customer making the club name update."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:13:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"e7eef223-e07c-819a-9a31-eef8f6cf6c8a"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=8ox6%2FWJ%2B0t5n8sTlrzjp%2B4Bhi2UmdcDC%2F%2FlIeu6g3UO7e6pndfK%2BaK0k974nM8Plu5m0XNc5f7xjPbMhFxvWYB3cGvkr8vgrxyADD4vX0LODYfBrOiGhkPgreuzg%2FB8OorbW6rlDdWA%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910338aa4e5b733a-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7541&min_rtt=7451&rtt_var=2975&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1229&delivery_rate=345443&cwnd=241&unsent_bytes=0&cid=a5e5da428287eca0&ts=265&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201054,\n        \"message\": \"Club not found\"\n    }\n}"},{"id":"b734b84f-40d2-43fe-b62c-2ce8e632a0a6","name":"Club member not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"The Smiths\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"de41a849-7a5b-4c8c-9508-ff96577a3cb3","description":"(Required) The ID of the customer making the club name update."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:21:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"d24dbeb0-1ea5-fcae-f876-d3af3b995917"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=xvsaYbI3e%2BWbacwoIAKoMujeZREOpuzrin4v1v37m%2FBtj7NaTgcoldIlpHMqffwYJTn539WxmuA35fI7DVUPFKD95DLCe4%2FwIyMk%2BiCtXhJRzvAbANDdRYmNCJ%2Fc5uEP1Dar05xeyh0%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910345657e5fc260-VIE"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=10341&min_rtt=9884&rtt_var=3164&sent=28&recv=28&lost=0&retrans=0&sent_bytes=3933&recv_bytes=1875&delivery_rate=285714&cwnd=253&unsent_bytes=0&cid=c2760f8dd9b72dc2&ts=22144&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"NotFoundException\",\n        \"code\": 201046,\n        \"message\": \"Club member not found\"\n    }\n}"},{"id":"8ae11d7e-248e-4dda-bf84-711160ef90a1","name":"Customer not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fashion influencers\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"66714692-74fd-435a-97ef","description":"(Required) The ID of the customer making the club name update."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:13:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"351b85aa-16b4-c2b3-7e7d-deab952fac9e"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Hdx4x5e%2Fl6uQ5kzbBw96wR4HJfG6nfV1gFc%2BuLmiEHLZ4mI1y%2FMms1MLjsnysa3dZxoR9VAosB3SnRe3kgpX227KB4m2qYcJIgNtleP2gM7ZPLnV7LnPqeed%2FEVua1apfGln2Ocu71s%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91033977ed02733a-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7507&min_rtt=7267&rtt_var=2300&sent=39&recv=39&lost=0&retrans=0&sent_bytes=3923&recv_bytes=1884&delivery_rate=388606&cwnd=243&unsent_bytes=0&cid=a5e5da428287eca0&ts=33035&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 320620,\n        \"message\": \"Customer not found\"\n    }\n}"},{"id":"b99ae456-54c0-4b93-884c-984d1287f845","name":"Bad request - new club name cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130","description":"(Required) The ID of the customer making the club name update."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:10:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"146"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"110b4ef4-760b-4303-1bc9-1d43a53e49ba"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZbbUSmQUDcvAqKa1mgkgDCy%2FLWV3x37y%2F7Y%2Bn7YzRgp2wNI5%2F6EkjWy%2B%2Fi2JgBh%2BuYzU9v1s4zyD9oNxDg%2FR9GVb4NLhnH%2BiYYzToM4vQ0NR6RprRuX8ybwbdbYrjVFXfHImwxiGMdY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910335522cce6844-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6900&min_rtt=6880&rtt_var=2621&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2321&recv_bytes=1230&delivery_rate=400794&cwnd=250&unsent_bytes=0&cid=073e932a468cd82d&ts=223&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 160360,\n        \"message\": \"Property 'club_name_new' cannot be empty\"\n    }\n}"},{"id":"6130013d-0ed0-4fd2-976e-9e5914a8fec8","name":"Bad request - property cannot be empty","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": ,\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"6798cb5e5783142bb801ec46","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"66714692-74fd-435a-97ef-0353b84d7130","description":"(Required) The ID of the customer making the club name update."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:11:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"fb8521a4-fa22-6d26-b050-fa42d9d906b4"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=b0%2BlHnKQcYA5RUwAMSicUqGHhLWpkg6G%2BRWHA3P4hzZsJkvIZXd7n6soReyj8Rj%2BQRFUd2Bejs0EYE7oOlhAE%2FbtkyFE44rETCQJS4Ctk1dGr213LJlwKFoey4vVM8G0c4fKMt79At4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9103363cc8356844-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6854&min_rtt=6530&rtt_var=2058&sent=43&recv=43&lost=0&retrans=0&sent_bytes=3955&recv_bytes=1877&delivery_rate=432465&cwnd=252&unsent_bytes=0&cid=073e932a468cd82d&ts=37748&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property 'name' cannot be empty\"\n    }\n}"},{"id":"b6c0c77e-812a-4ea4-8c97-ab893f02b955","name":"Bad request - club member is not eligible for club name change","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"The Smiths\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"679792daa6fad4b3ac0933f9","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"e892fcb3-5fdc-4fef-9bac-1e5d1c7372b0","description":"(Required) The ID of the customer making the club name update."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:16:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"146"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"34d3ee39-5a8e-6a9a-f9e2-17642ab86cff"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ydtd09mkl3XP0MUBK5UmPv7MkoGIRwmKXbu7vCBie0uDFyYYB2w8FtDDRn9MoNrwcgJ%2BkObomgQ9pCeEGkHEUqfU%2B0r%2F3O%2FsvtFkGlqa1zt4EidP4vgYK3HzicJO20yrZdR9L7Z4YtQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91033e444eac1cee-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7026&min_rtt=6797&rtt_var=2712&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2322&recv_bytes=1214&delivery_rate=415477&cwnd=251&unsent_bytes=0&cid=cf24777782ecb5b8&ts=307&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201105,\n        \"message\": \"Club member not eligible for club name change\"\n    }\n}"},{"id":"2846c14d-214c-4421-bde9-21ddfc70362f","name":"Bad request - club name change is disabled","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"The Smiths\",\r\n  \"reason\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/club-update","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","club-update"],"variable":[{"key":"club_id","value":"67ab15f1c570e401b80f9d71","description":"(Required) The ID of the club to update."},{"key":"customer_id","value":"77178644-cc4d-4933-911f-738e54215af0","description":"(Required) The ID of the customer making the club name update."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 09:19:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"dcf58f8d-82d1-e6c6-b99b-1e562f936cdb"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VQjfVY0%2F4O%2BE9l0S96U3AvtelXo0JJfs69NBMoZOzT4yuPqCFt9Jv2XVlFyBIsByIJRyz9lo6jEZVuyPDS%2BL88o0pWnf7RhNaxVyKITGOPHXmAqDXm0Z4w%2BSn1VjJaWAkjhVFp9hI4s%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"910341ceeb11c1be-BUD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6431&min_rtt=6425&rtt_var=2423&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2323&recv_bytes=1216&delivery_rate=435869&cwnd=232&unsent_bytes=0&cid=826e365658bbc96a&ts=193&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201104,\n        \"message\": \"Club name change disabled\"\n    }\n}"}],"_postman_id":"844cddca-2ebb-4af0-90bb-837aa12a8ee5"},{"name":"Donate account points to clubs","event":[{"listen":"test","script":{"id":"e242004e-1a5c-40e5-8b57-e450739eb935","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"bdb278da-9d22-425a-b22b-0b21abbf546c","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2eb462b3-3b3c-417c-b623-678992595848","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"integer\",\r\n  \"reason\": \"string\",\r\n  \"account\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","description":"<p>This endpoint allows a club member to update the club's name and provide a reason for the update.</p>\n<p>When the name of the club is updated, the <code>club_detail_change</code> event is automatically registered in both the club's and the customer's event history.</p>\n<p><strong>Body parameter descriptions</strong></p>\n<ul>\n<li><p><code>name</code> (string, required): The new name of the club.</p>\n</li>\n<li><p><code>reason</code> (string, optional): Reason for the club name change. Maximum 500 characters.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[{"description":{"content":"<p>The ID of the club to which the points will be donated.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"club_id"},{"description":{"content":"<p>The ID of the customer who is donating the points.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customer_id"}]}},"response":[{"id":"067cd2a6-63cb-425d-b6f2-468c365b990c","name":"Successful donation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": [\n        null\n    ],\n    \"payload\": {\n        \"donated_account_points\": 20,\n        \"point_conversion_rate\": 0.5,\n        \"donated_club_points\": 10,\n        \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\",\n        \"member\": {\n            \"id\": \"f23a1b48-4df6-4b12-b678-c9e768a4e45d\",\n            \"donation_limit\": 100,\n            \"used_from_donation_limit\": 50,\n            \"next_donation_limit_reset_date\": \"2026-01-05\",\n            \"balance\": {\n                \"contributed\": 70,\n                \"spent\": 0\n            }\n        },\n        \"club\": {\n            \"balance\": {\n                \"contributed\": 5600,\n                \"spent\": 1000,\n                \"expired\": 0,\n                \"spendable\": 4600\n            }\n        }\n    }\n}"},{"id":"e5e1efb2-2ef0-4838-b1c8-022608fbd5e0","name":"Missing parameter","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 201094,\n        \"message\": \"Property '%s' cannot be empty\"\n    }\n}"},{"id":"d2dc94fd-dadd-4b1b-8902-167df102accc","name":"Text input too long","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone motivates members to work together toward a common goal. It creates a sense of teamwork and shared achievement. Summer rewards are often seasonal and limited-time, making them more exciting and desirable. By contributing, members increase the chances of unlocking exclusive benefits before the deadline. This also encourages less active members to engage more. The milestone acts as a clear target that focuses group efforts. Reaching it can unlock special perks like event tickets, exclusive merchandise, or bonus points. Contributions reflect commitment to the club and strengthen the community bond. It also showcases the value of collaboration in loyalty experiences. Ultimately, it makes participation more rewarding and fun for everyone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 201102,\n    \"message\": \"Property '%s' is too long\"\n  }\n}"},{"id":"916f4eb3-be7e-4c34-b6bf-289411f0eb35","name":"Numeric parameter zero or negative","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"-100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 201103,\n    \"message\": \"The 'donated_account_points' value must be a whole positive or negative number\"\n  }\n}"},{"id":"d7ae9c92-c676-4f91-930d-de3b87c60373","name":"The number of donated points is below the limit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 201154,\n    \"message\": \"Cannot donate points to this club below the minimum points threshold\"\n  }\n}"},{"id":"8db45b45-b230-4919-83a9-3e4309d12755","name":"Customer account has not enough points","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 201155,\n    \"message\": \"Customer account has not enough points\"\n  }\n}"},{"id":"1bdc8cdf-6e7f-457b-8f4e-153edddbfb53","name":"Donated points exceed the donation limit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 201156,\n    \"message\": \"Donated points exceed the donation limit for the current period\"\n  }\n}"},{"id":"88b481c1-7d1b-42b7-9ea4-699086b9961f","name":"Active club member not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 201097,\n    \"message\": \"Active club member not found\"\n  }\n}"},{"id":"d927aeae-0063-448b-943c-9c701b5323b0","name":"Group settings not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 201150,\n    \"message\": \"Account Group Settings on the Club Template not found\"\n  }\n}"},{"id":"925c510e-4086-4ed2-b3b1-b3721c014a11","name":"Customer does not have enough points","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"BadRequestException\",\n    \"code\": 201157,\n    \"message\": \"Customer does not have enough points to donate (donation would exceed allowed spendable balance)\"\n  }\n}"},{"id":"1dc52636-61f0-4437-a44b-9d1ff6258c7a","name":"Customer not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 320620,\n    \"message\": \"Customer not found\"\n  }\n}"},{"id":"6a17c6f9-4d6f-4b01-8796-f77456716420","name":"Club not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"donated_account_points\": \"100\",\r\n  \"reason\": \"Contributing points to help unlock the club's summer reward milestone.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.{{environment}}.antavo.com/v1/clubs/:club_id/members/:customer_id/point-donation","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","clubs",":club_id","members",":customer_id","point-donation"],"variable":[{"key":"club_id","value":"33cc313988befe60e3413e76","description":"The ID of the club to which the points will be donated."},{"key":"customer_id","value":"f23a1b48-4df6-4b12-b678-c9e768a4e45d","description":"The ID of the customer who is donating the points."}]}},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"error\": {\n    \"type\": \"NotFoundException\",\n    \"code\": 201054,\n    \"message\": \"Club not found\"\n  }\n}"}],"_postman_id":"2eb462b3-3b3c-417c-b623-678992595848"}],"id":"8dcd7dff-fa06-48f1-9718-d1e52bdea379","description":"<p>The Clubs API offers a robust framework for managing loyalty program clubs within the Clubs module. It facilitates seamless interaction between members and the club system. Through the endpoints of the Clubs API you can manage:</p>\n<ul>\n<li><p><strong>Club Templates</strong>: Use the API to retrieve available club templates designed for various use cases, such as Friends and Family, Sports Teams, or Business Groups. You can filter templates based on specific criteria to ensure your application selects the most suitable options for user needs.</p>\n</li>\n<li><p><strong>Clubs</strong>: Access a list of clubs created from these templates, with filtering options for attributes such as status or type. This functionality streamlines navigation through available clubs and their detailed information.</p>\n</li>\n<li><p><strong>Club Membership</strong>: Implement club membership management. The endpoints help handling join requests and invitations, and allowing owners to effectively add, remove, or approve members based on predefined criteria.</p>\n</li>\n<li><p><strong>Point Collection and Spending</strong>: Use the endpoints to enable members to earn or spend points within their clubs, contributing to the overall club balance. This promotes collaboration among members, motivating them to achieve shared goals and rewards.</p>\n</li>\n</ul>\n<p>By leveraging the Clubs API, you can effectively implement collaborative loyalty programs that enhance member engagement and participation through structured goals and rewards.</p>\n","_postman_id":"8dcd7dff-fa06-48f1-9718-d1e52bdea379"},{"name":"Social Share Campaigns API","item":[{"name":"Submit share intent","event":[{"listen":"prerequest","script":{"id":"8eee46cd-2f1e-463c-8cc4-ffd21a2e9a3e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4c7d008a-0d4e-4bb6-b274-ea54db025f28","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": \"testcustomer\",\n  \"url\": \"https://brand.com/summer-collection\",\n  \"platform\": \"Facebook\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/social-share-campaigns/share-intent","description":"<p>The Points Preview API enables querying before purchase to retrieve points awarded for purchases. The returned response includes the number of bonus points to be awarded by</p>\n<p><a href=\"https://docs.antavo.com/actions#campaign-bonus\">Campaign bonus</a></p>\n<p>campaign workflow nodes.</p>\n<p>This endpoint works with standard and multi-account configurations.</p>\n<p><strong>Body param descriptions</strong></p>\n<ul>\n<li><p>customer*: Unique customer identifier.</p>\n</li>\n<li><p>action*: Event to be rewarded - must be <code>checkout</code>.</p>\n</li>\n<li><p>data*</p>\n<ul>\n<li><p>transaction_id*: Must be unique for every transaction.</p>\n</li>\n<li><p>total*: The total amount paid.</p>\n</li>\n<li><p>items*: Array of item objects.</p>\n<ul>\n<li><p>product_id: The unique ID of the purchased item.</p>\n</li>\n<li><p>product_name: The name of the purchased item.</p>\n</li>\n<li><p>product_url: The URL of the purchased item.</p>\n</li>\n<li><p>price: The price of one item.</p>\n</li>\n<li><p>descount: The discount applied on the item.</p>\n</li>\n<li><p>quantity: The number of items purchased.</p>\n</li>\n<li><p>subtotal: The amount paid by the customer.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>*required</p>\n","urlObject":{"protocol":"https","path":["v1","social-share-campaigns","share-intent"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"ce5b5634-3951-420a-9099-4bff1b17a007","name":"Successful intent submission","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": \"testcustomer\",\n  \"url\": \"https://brand.com/summer-collection\",\n  \"platform\": \"Facebook\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/social-share-campaigns/share-intent"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 29 Sep 2025 12:46:49 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=TRfVrXfwqizo%2BDCP3y25xyUlAssxxvHXNta4d9VJzKMhDqn1GJqAkLsw5h5JTE4kDLTlhZ391I1VZi7pa0gg7gwrvsXrmXohfpNvHN83FA01e38%3D\"}]}"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ebb385cf-599b-7fde-7b33-c01228cd5ea3"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"986b95e5c9cdc1b2-BUD"}],"cookie":[],"responseTime":null,"body":""},{"id":"06b5ba56-f86c-4186-8e2f-853b07ed844b","name":"Required parameter is missing","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": \"testcustomer\",\n  \"platform\": \"Facebook\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/social-share-campaigns/share-intent"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 29 Sep 2025 12:31:41 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"c9408501-95d1-1946-a877-cb24ae55b5fc"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=jZ71Tt6xLnQyDxmwYfpjrtqjP3oh11GkO%2Ftu7lkDW55deMuafDkqdxRq8Pg9Z2MUkAf3WVNWzVJk8xbSHmMn6DMB79yojrmjMT471j5kQTDwDDs%3D\"}]}"},{"key":"CF-RAY","value":"986b7fbcaf0e9e7c-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"type\": \"RuntimeException\",\n        \"code\": 360300,\n        \"message\": \"Missing required field: url.\"\n    }\n}"},{"id":"6b7d7404-0873-45df-be12-b06d1c013646","name":"Invalid parameter type","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{signature}}","type":"text"},{"key":"Date","value":"{{date}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": \"testcustomer\",\n  \"url\": [\n            \"6220d56e6a2ea5002c75e6c6\"\n        ],\n  \"platform\": \"Facebook\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.{{environment}}.antavo.com/v1/social-share-campaigns/share-intent"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 29 Sep 2025 12:33:00 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"cd9f1bcb-58f2-15b2-76a6-62972c1416f9"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=7ly8HvbHFwPNWxNJ4ERoUUtxIpdoamw9I5dzllVZKJTTWCk4GudwLOhVCFVhH%2B2hCW5Ew0GtQks9InDEFNuh3WgsJGr%2BwZ7cCRq0lsIqfdcVa8s%3D\"}]}"},{"key":"CF-RAY","value":"986b81a79fe78888-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"type\": \"RuntimeException\",\n        \"code\": 360301,\n        \"message\": \"Field url must be a string.\"\n    }\n}"}],"_postman_id":"4c7d008a-0d4e-4bb6-b274-ea54db025f28"}],"id":"54f8a20e-8234-4265-936b-f4347abb9b68","description":"<p>The Social Share Campaigns API allows you to validate and register customer participation in <a href=\"https://docs.antavo.com/docs/social-share-campaigns\">Social Share Campaigns</a> configured in the Antavo Management UI.</p>\n<h2 id=\"implementation-steps\">Implementation Steps</h2>\n<h3 id=\"place-the-share-button\">Place the Share Button</h3>\n<p>Place a dedicated share button on your site or app for each platform you want to support. When clicked, the button should open the platform’s native share pop-up so the user can actually share the content.</p>\n<img src=\"https://files.readme.io/3ea665ef1050aea61b866973a6be0485914437ad41389fe2a50d6581d0a111bc-demo-webshop-ytkw.onrender.com_summer-sale.png\" />\n\n<p>Example of social share buttons implemented into a product page.</p>\n<h3 id=\"capture-the-click-action-and-submit-a-share-intent-api-request\">Capture the Click Action and Submit a Share Intent API Request</h3>\n<p>When the user clicks:</p>\n<ul>\n<li><p>Open the native share dialog (e.g., <a href=\"https://www.facebook.com/sharer/sharer.php?u=%3CURL\">https://www.facebook.com/sharer/sharer.php?u=&lt;url&lt; a=\"\"&gt;).&lt;/url&lt;&gt;</a></p>\n</li>\n<li><p><a href=\"https://www.facebook.com/sharer/sharer.php?u=%3CURL\">At the same time, send a <code>POST</code> request to the <code>v1/social-share-campaigns/share_intent</code> </a>  <a href=\"https://developers.antavo.com/reference/post_v1-social-share-campaigns-share-intent#/\">endpoint</a> of the Social Share Campaigns API.</p>\n</li>\n</ul>\n<blockquote>\n<p>&lt;p &gt;📘&lt;/p&gt;&lt;p &gt;We recommend you not call this enpoint:&lt;/p&gt;&lt;ul &gt;&lt;li &gt;&lt;div&gt;on page load&lt;/div&gt;&lt;/li&gt;&lt;li &gt;&lt;div&gt;without explicit user action&lt;/div&gt;&lt;/li&gt;&lt;li &gt;&lt;div&gt;for links not intended for campaign participation&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; </p>\n</blockquote>\n<h2 id=\"intent-validation\">Intent validation</h2>\n<p>After the request is submitted, the Antavo Loyalty Engine checks:</p>\n<ul>\n<li><p>if the share intent request is valid, which includes checking required fields, data formats, and allowed values,</p>\n</li>\n<li><p>if there’s an active Social Share Campaign matching the share URL and platform,</p>\n</li>\n<li><p>if the campaign is within its configured schedule.</p>\n</li>\n</ul>\n<p>❗️</p>\n<p>Note: <strong>Antavo does not track the completion of the share action after the native share dialog is opened.</strong> The system only validates the incoming <code>share_intent</code> request against the campaign’s targeting rules and configuration.</p>\n<p>If matched:</p>\n<ul>\n<li><p>The share is recorded as participation in that campaign.</p>\n</li>\n<li><p>The <code>share_intent_success</code> <a href=\"https://developers.antavo.com/docs/internal-events#/share_intent_success\">event</a> is registered in the customer's <a href=\"https://docs.antavo.com/docs/customer-insights#events\">event history</a> with the <code>campaign_id</code> for tracking.</p>\n</li>\n<li><p>Rewards (<a href=\"https://docs.antavo.com/docs/social-share-campaigns#rewarding-shares\">if configured</a>) will be allocated.</p>\n</li>\n</ul>\n<h2 id=\"browse-logs\">Browse logs</h2>\n<p>All <code>share_intent</code> requests sent to the <code>/v1/social-share-campaigns/share_intent</code> endpoint are recorded in the <a href=\"https://docs.antavo.com/docs/social-share-campaigns#inbound-logs\">Inbound Logs</a>.</p>\n<p>Use them to:</p>\n<ul>\n<li><p>Verify that share intent calls are reaching the API in real time</p>\n</li>\n<li><p>Troubleshoot failed or invalid requests by reviewing error details</p>\n</li>\n<li><p>Confirm whether a request matched an active campaign and triggered participation</p>\n</li>\n<li><p>Reproduce and debug edge cases by inspecting the original payload</p>\n</li>\n</ul>\n<p>Logs are retained for <strong>90 days</strong> before being archived.</p>\n<h2 id=\"best-practices\">Best Practices</h2>\n<h3 id=\"specific-url-targeting\">Specific URL Targeting</h3>\n<p>Always aim to match the campaign’s targeting rules by sharing the exact URLs set in the campaign configuration.<br />Example: If a campaign targets <em>brand.com/summer-collection/*</em>, make sure to share URLs under that path.</p>\n<h3 id=\"send-calls-in-real-time\">Send Calls in Real Time</h3>\n<p>Trigger the API call immediately when the customer clicks the Share button. Delays or batching may cause the share to fall outside the campaign’s active period.</p>\n<h3 id=\"avoid-fake-triggers\">Avoid Fake Triggers</h3>\n<p>Do not send automated or bulk requests for analytics or testing purposes in production, as this may result in incorrect reward allocation.</p>\n<h3 id=\"prevent-duplicate-shares\">Prevent Duplicate Shares</h3>\n<p>Avoid sending multiple identical share_intent requests within seconds for the same customer and URL to reduce false-positive participation tracking.</p>\n<h2 id=\"api-principles\">API Principles</h2>\n<p>The Social Share Campaigns API follows RESTful principles, utilizing standard HTTP methods to interact with resources. All responses are formatted in JSON, ensuring easy integration into user interfaces.</p>\n<h2 id=\"security-and-compliance\">Security and Compliance</h2>\n<p>All server-to-server calls must comply with the <a href=\"https://developers.antavo.com/docs/api-security\">API security protocol</a> and <a href=\"https://developers.antavo.com/docs/api-signing\">signing procedure</a> and adhere to the defined <a href=\"https://developers.antavo.com/docs/antavo-apis#rate-limiting\">API rate limits</a>.</p>\n","_postman_id":"54f8a20e-8234-4265-936b-f4347abb9b68"},{"name":"Authentication API","item":[{"name":"Generate access token","id":"3ad59393-1681-4cd8-a5c3-7bffa41c27c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","description":"<p>Allowed: client_credentials</p>\n","type":"text","uuid":"4a4765fa-7c39-47df-8377-8b6670d6caf5"},{"key":"scope","value":"loyalty.async_events","description":"<p>Use loyalty.async_events scope to get access to the Async Events API endpoints.</p>\n","type":"text","uuid":"94049638-089a-46c6-8748-8ac8b1270034"}]},"url":"https://api.{{environment}}.antavo.com/v1/auth/token","description":"<p>It generates an access token for authorized clients based on their credentials provided under the <a href=\"https://docs.antavo.com/docs/api-settings#authentication-manager\">Authentication Manager</a>.</p>\n<p>When using the API playground on the right, you will be prompted for these credentials.</p>\n<p>Enter:</p>\n<ul>\n<li><p>Username: <code>client_id</code></p>\n</li>\n<li><p>Password: <code>client_secret</code></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","auth","token"],"host":["api","{{environment}}","antavo","com"],"query":[],"variable":[]}},"response":[{"id":"6300e756-7bbb-44b9-a3d8-cddb8ffa3d6c","name":"Successful token generation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text","uuid":"4a4765fa-7c39-47df-8377-8b6670d6caf5"},{"key":"scope","value":"loyalty.async_events","type":"text","uuid":"94049638-089a-46c6-8748-8ac8b1270034"}]},"url":"https://api.{{environment}}.antavo.com/v1/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 24 Jan 2026 10:38:54 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"470"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Auth-Client-Expires-At","value":"2026-12-31 23:59:59"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"72a0b7e2-0a08-a606-494d-a857f8585de9"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=sOpr%2Ft%2BreRVIUD2pyTTZg%2B49pGEUVnaIGNHteFKKrdp3LcRlX%2BlX1SF2btnCfjoeaMWq9R%2FL%2FvlTg1UDNAd74NVq%2FZDJm7sFWWdEFFNDvbB2hQs%3D\"}]}"},{"key":"CF-RAY","value":"9c2ee75fad466847-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"access_token\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"scope\": \"loyalty.async_events\"\n}"},{"id":"5deab78f-7b1a-4174-9c20-3f025fe7be4f","name":"Invalid client credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":{"raw":"https://api.{{environment}}.antavo.com/v1/auth/token?grant_type=client_credentials&scope=loyalty.async_events","protocol":"https","host":["api","{{environment}}","antavo","com"],"path":["v1","auth","token"],"query":[{"key":"grant_type","value":"client_credentials"},{"key":"scope","value":"loyalty.async_events"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 24 Jan 2026 10:35:43 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"146"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Www-Authenticate","value":"Basic realm=\"OAuth2 Token Endpoint"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"ac18bba0-51dd-474a-90a5-3d3da9cc317f"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=wWx%2FwNN3qvXORmnbJ2Tb%2BglLUSASzJNdhG0Z69aBPA5kdbaPUwUaq0RVidx%2FV74yajprehI3X9vuyCi6dhgamyKBcORG3c1%2FAJRXoMWTJDxpE90%3D\"}]}"},{"key":"CF-RAY","value":"9c2ee2baebb323b9-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": \"invalid_client\",\n    \"details\": {\n        \"type\": \"UnauthorizedException\",\n        \"code\": 220010,\n        \"message\": \"Invalid client credentials\"\n    }\n}"},{"id":"4f1f7b75-d1c8-4a31-90a8-f210badd6890","name":"Invalid grant type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credential","type":"text","uuid":"4a4765fa-7c39-47df-8377-8b6670d6caf5"},{"key":"scope","value":"loyalty.async_events","type":"text","uuid":"94049638-089a-46c6-8748-8ac8b1270034"}]},"url":"https://api.{{environment}}.antavo.com/v1/auth/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 24 Jan 2026 10:42:03 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"169"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"95c9622a-439a-c0c4-e65d-f1c1b4c199fe"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=LE3tq8wtJnQf%2F%2FE2oeccF5HT4V1s41hAkBxBYp9rkBi6qKCb9pUFRCr0k%2Ff%2FnlI87WoCQ5DPZA2oNn6aWtXgVyZeqo%2BSlzOvTbA9l5S7REMTc3A%3D\"}]}"},{"key":"CF-RAY","value":"9c2eebfc08980aab-BUD"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": \"unsupported_grant_type\",\n    \"details\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 220014,\n        \"message\": \"The authorization grant type is not supported by this server\"\n    }\n}"},{"id":"2b6444f1-1439-4df8-9b78-7af7f0e513ce","name":"Invalid scope","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text","uuid":"4a4765fa-7c39-47df-8377-8b6670d6caf5"},{"key":"scope","value":"loyalty.async_event","type":"text","uuid":"94049638-089a-46c6-8748-8ac8b1270034"}]},"url":"https://api.{{environment}}.antavo.com/v1/auth/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 24 Jan 2026 10:42:46 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Server","value":"cloudflare"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Antavo-Bug-Report","value":"developer@antavo.com"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Correlation-Id","value":"f05b3ef3-aeeb-982d-32a6-713e299f3fb9"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Powered-By","value":"Antavo Loyalty Engine"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=pnhJBs735bK75k2zecDPC5yB0jwEsNgTS0uJdlDR8AXFCFjXE3GEgL1YJmUeQFSbEpIh6fAEDxhepcCHx38NMR6uGYf6G4vlu3EzERlHjbmDU4k%3D\"}]}"},{"key":"CF-RAY","value":"9c2eed07df780aab-BUD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": \"invalid_scope\",\n    \"details\": {\n        \"type\": \"BadRequestException\",\n        \"code\": 220015,\n        \"message\": \"The requested scope is invalid, unknown, or malformed\"\n    }\n}"}],"_postman_id":"3ad59393-1681-4cd8-a5c3-7bffa41c27c4"}],"id":"5e284f15-3e77-4a81-9f55-cc5a2350cebb","description":"<p>This endpoint issues <strong>access tokens</strong> that are used to authenticate requests to APIs that support token-based authentication.</p>\n<blockquote>\n<p>🚧 Important </p>\n</blockquote>\n<p>The authentication token endpoint enables machine-to-machine (M2M) communication by issuing <strong>short-lived access tokens</strong> to authorized client applications.</p>\n<p>Instead of signing each request individually, clients authenticate once using their credentials, receive an access token, and <strong>use that token to authorize subsequent API requests</strong>.</p>\n<h2 id=\"authentication-model\">Authentication model</h2>\n<p>The endpoint uses <strong>OAuth 2.0</strong> with the <strong>Client Credentials</strong> grant type.</p>\n<p>Client authentication is performed using a <strong>Client ID</strong> and <strong>Client Secret</strong>, which are issued per workspace and managed through the Management UI. These credentials identify the calling system and define the scopes it is allowed to request.</p>\n<p>The token endpoint <strong>validates the provided credentials</strong> and requested scopes before issuing an access token.</p>\n<h2 id=\"access-tokens\">Access tokens</h2>\n<p>When authentication is successful, the endpoint returns an access token along with metadata describing its usage:</p>\n<ul>\n<li><p><code>access_token</code> - the token value used to authorize API requests</p>\n</li>\n<li><p><code>token_type</code> - always Bearer</p>\n</li>\n<li><p><code>expires_in</code> - the token lifetime in seconds</p>\n</li>\n<li><p><code>scope</code> - the scopes granted to the token</p>\n</li>\n</ul>\n<p>Access tokens must be included in API requests using the <strong>HTTP Authorization header</strong>:</p>\n<p><code>Authorization: Bearer</code></p>\n<p>Access tokens are <strong>time-limited and expire</strong> automatically. A new token should be requested when the current one expires.</p>\n<h2 id=\"scopes\">Scopes</h2>\n<p>Scopes define which <strong>APIs and operations</strong> the access token can be used for.</p>\n<p>Currently, the only supported scope is <code>loyalty.async_events</code>, which required to access the Async Events API.</p>\n<p>When requesting a token, you must <strong>specify one or more scopes</strong> that match the permissions assigned to their credentials. If the requested scopes are invalid or not permitted, the token request will fail.</p>\n<h2 id=\"error-handling\">Error handling</h2>\n<p>If the token request cannot be fulfilled, the endpoint returns an appropriate HTTP <strong>status code along with a standardized OAuth 2.0 error response</strong>.</p>\n<p>Common error scenarios include:</p>\n<ul>\n<li><p>missing or invalid request parameters</p>\n</li>\n<li><p>invalid client credentials</p>\n</li>\n<li><p>unsupported or unauthorized grant types</p>\n</li>\n<li><p>invalid or malformed scopes</p>\n</li>\n</ul>\n","_postman_id":"5e284f15-3e77-4a81-9f55-cc5a2350cebb"},{"name":"Loyalty Read API","item":[{"name":"Customers","item":[{"name":"Retrieve the list of customers","id":"d4b05b08-e326-4346-bc46-b0a5b2b6bb35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://read-api.{{environment}}.antavo.com/v1/customers","description":"<p>Returns a paginated list of customers, including standard customer fields and any custom customer attributes configured in the workspace.\nResults can be filtered and sorted by <code>created_at</code> and <code>status</code> customer attribute values.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}},"urlObject":{"protocol":"https","path":["v1","customers"],"host":["read-api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting position in the sorted result set. Used for pagination together with the <code>limit</code> query parameter.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Sets the maximum number of items to return from the sorted result set. Used for pagination together with the <code>offset</code> query parameter.</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"disabled":true,"description":{"content":"<p>Filters customers by the date and time when the customer profile was created.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[created_at][eq]","value":"2026-07-14T19:41:35+00:00"},{"disabled":true,"description":{"content":"<p>Filters customers by the date and time when the customer profile was created.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[created_at][lt]","value":"2026-08-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters customers by the date and time when the customer profile was created.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[created_at][lte]","value":"2026-08-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters customers by the date and time when the customer profile was created.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[created_at][gt]","value":"2026-07-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters customers by the date and time when the customer profile was created.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[created_at][gte]","value":"2026-07-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters customers by their current loyalty program status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[status][eq]","value":"active"},{"disabled":true,"description":{"content":"<p>Filters customers by their current loyalty program status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[status][lt]","value":"pending"},{"disabled":true,"description":{"content":"<p>Filters customers by their current loyalty program status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[status][lte]","value":"pending"},{"disabled":true,"description":{"content":"<p>Filters customers by their current loyalty program status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[status][gt]","value":"inactive"},{"disabled":true,"description":{"content":"<p>Filters customers by their current loyalty program status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[status][gte]","value":"inactive"},{"disabled":true,"description":{"content":"<p>Specifies the primary field used to sort the results.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>created_at</code>: the date and time when the customer profile was created.</li>\n<li><code>status</code>: their current loyalty program status.</li>\n</ul>\n","type":"text/plain"},"key":"sort[0][field]","value":"created_at"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the primary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[0][direction]","value":"asc"},{"disabled":true,"description":{"content":"<p>Specifies the secondary field used to sort results with the same value in the primary sort field.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>created_at</code>: the date and time when the customer profile was created.</li>\n<li><code>status</code>: their current loyalty program status.</li>\n</ul>\n","type":"text/plain"},"key":"sort[1][field]","value":"status"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the secondary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[1][direction]","value":"desc"}],"variable":[]}},"response":[{"id":"ab0b82f3-e798-4d89-92f4-dc67d8d00a10","name":"Success - Customer data provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers?offset=0&limit=20&filter[created_at][eq]=2026-07-14T19:41:35+00:00&filter[created_at][lt]=2026-08-01T00:00:00Z&filter[created_at][lte]=2026-08-01T00:00:00Z&filter[created_at][gt]=2026-07-01T00:00:00Z&filter[created_at][gte]=2026-07-01T00:00:00Z&filter[status][eq]=active&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=inactive&filter[status][gte]=inactive&sort[0][field]=created_at&sort[0][direction]=asc&sort[1][field]=status&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[created_at][eq]","value":"2026-07-14T19:41:35+00:00","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[created_at][lt]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[created_at][lte]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[created_at][gt]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[created_at][gte]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[status][eq]","value":"active","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"created_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"status","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"pagination\": {\n      \"next\": \"/v1/customers/55e5d4dc2cf1901e688b45d3/customers?offset=0&limit=20\",\n      \"previous\": null\n    }\n  },\n  \"payload\": {\n    \"customers\": [\n      {\n        \"_id\": \"55e5d4dc2cf1901e688b45d3\",\n        \"external_ids\": {\n          \"crm_id\": \"1749RRCT23\"\n        },\n        \"email\": \"jsmith@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Smith\",\n        \"handler\": \"John\",\n        \"status\": \"active\",\n        \"gender\": \"male\",\n        \"language\": \"en\",\n        \"image_url\": \"https://example.com/image.png\",\n        \"currency\": \"GBP\",\n        \"mobile_phone\": \"123 456 789\",\n        \"country\": \"GB\",\n        \"membership_id\": [\n          \"MA465927t85w\",\n          \"DA465927t85w\"\n        ],\n        \"group_id\": [\n          \"146\",\n          \"126\"\n        ],\n        \"src\": \"import:672b564c4219e3a65b0f43a0\",\n        \"referrer\": \"557e5d4eg2cf1461e688b45e8\",\n        \"score\": 100,\n        \"spent\": 20,\n        \"reserved\": 0,\n        \"expired\": 100,\n        \"pending\": 20,\n        \"purchase_total\": 100,\n        \"purchase_count\": 1,\n        \"purchase_item_count\": 2,\n        \"created_at\": \"2026-07-14T19:41:35\",\n        \"updated_at\": \"2026-07-14T19:41:35\",\n        \"birth_date\": \"1969-12-25\",\n        \"purchase_first_date\": \"2020-10-01\",\n        \"purchase_last_date\": \"2020-10-01\",\n        \"last_earn_date\": \"2026-04-27\",\n        \"last_spend_date\": \"2025-10-28\",\n        \"last_login_at\": \"2026-06-28T10:27:03\",\n        \"optin_at\": \"2026-06-28T10:27:03\",\n        \"optout_at\": \"2026-06-28T10:27:03\",\n        \"labels\": [\n          \"Elite member\",\n          \"Frequent flyer\"\n        ],\n        \"properties\": {\n          \"city\": \"London\"\n        },\n        \"tiers\": {\n          \"fashion_tiers\": {\n            \"history\": {\n              \"2025-06-24\": 1010\n            },\n            \"points\": 1010,\n            \"next\": {\n              \"id\": \"Fashion_Royalty\",\n              \"name\": \"Fashion Royalty\",\n              \"points\": 900\n            },\n            \"points_after_expiration\": 1010,\n            \"_id\": \"Couture_Elite\",\n            \"event\": \"685a9c5abe38329c6501bf87\",\n            \"expdate\": \"2025-06-30\",\n            \"manual\": false,\n            \"name\": {\n              \"en\": \"Couture Elite\"\n            },\n            \"since\": \"2025-06-24T12:38:50+00:00\",\n            \"threshold\": 1000\n          }\n        },\n        \"accounts\": {\n          \"family_account\": {\n            \"name\": \"Family account\",\n            \"type\": \"standard\",\n            \"earned\": 9271,\n            \"reserved\": 0,\n            \"spent\": 85,\n            \"pending\": 34401,\n            \"expired\": 0,\n            \"negative_points\": false\n          }\n        },\n        \"clubs\": [\n          \"67ed4632108c1ad747028c3d\"\n        ],\n        \"activities\": {\n          \"63eaabe8b0fe6815c91425b6\": 1712134211\n        },\n        \"rewards\": {\n          \"63dcc15e59127f05634bf80c\": 2,\n          \"63dcb791eb80ef351838fdfb\": 8\n        },\n        \"referrals\": [\n          \"8a302ca1-337b-4de9-8070-12d6fe669ef3\"\n        ]\n      }\n    ]\n  }\n}"},{"id":"f4929ae9-4de2-4c3f-ae79-11693b671ab6","name":"Error - Escher signature missing or invalid","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers?offset=0&limit=20&filter[created_at][eq]=2026-07-14T19:41:35+00:00&filter[created_at][lt]=2026-08-01T00:00:00Z&filter[created_at][lte]=2026-08-01T00:00:00Z&filter[created_at][gt]=2026-07-01T00:00:00Z&filter[created_at][gte]=2026-07-01T00:00:00Z&filter[status][eq]=active&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=inactive&filter[status][gte]=inactive&sort[0][field]=created_at&sort[0][direction]=asc&sort[1][field]=status&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[created_at][eq]","value":"2026-07-14T19:41:35+00:00","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[created_at][lt]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[created_at][lte]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[created_at][gt]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[created_at][gte]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[status][eq]","value":"active","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"created_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"status","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"1a7c3a32-f735-4284-9cb7-9e4a4d704a7a","name":"Error - Request validation failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers?offset=0&limit=20&filter[created_at][eq]=2026-07-14T19:41:35+00:00&filter[created_at][lt]=2026-08-01T00:00:00Z&filter[created_at][lte]=2026-08-01T00:00:00Z&filter[created_at][gt]=2026-07-01T00:00:00Z&filter[created_at][gte]=2026-07-01T00:00:00Z&filter[status][eq]=active&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=inactive&filter[status][gte]=inactive&sort[0][field]=created_at&sort[0][direction]=asc&sort[1][field]=status&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[created_at][eq]","value":"2026-07-14T19:41:35+00:00","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[created_at][lt]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[created_at][lte]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[created_at][gt]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[created_at][gte]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[status][eq]","value":"active","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"created_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"status","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"56db1d6b-8636-463e-8c6a-089e16b851e1","name":"Error - Unexpected server error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers?offset=0&limit=20&filter[created_at][eq]=2026-07-14T19:41:35+00:00&filter[created_at][lt]=2026-08-01T00:00:00Z&filter[created_at][lte]=2026-08-01T00:00:00Z&filter[created_at][gt]=2026-07-01T00:00:00Z&filter[created_at][gte]=2026-07-01T00:00:00Z&filter[status][eq]=active&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=inactive&filter[status][gte]=inactive&sort[0][field]=created_at&sort[0][direction]=asc&sort[1][field]=status&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[created_at][eq]","value":"2026-07-14T19:41:35+00:00","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[created_at][lt]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[created_at][lte]","value":"2026-08-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[created_at][gt]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[created_at][gte]","value":"2026-07-01T00:00:00Z","description":"Filters customers by the date and time when the customer profile was created.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[status][eq]","value":"active","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"inactive","description":"Filters customers by their current loyalty program status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"created_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"status","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `created_at`: the date and time when the customer profile was created.\n- `status`: their current loyalty program status."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"}],"_postman_id":"d4b05b08-e326-4346-bc46-b0a5b2b6bb35"},{"name":"Retrieve detailed customer data of a single customer","id":"d00d909f-f8ad-4d2d-b9a5-d797f9168492","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id","description":"<p>Retrieves a customer by customer ID and returns the data associated with the customer.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}},"urlObject":{"protocol":"https","path":["v1","customers",":customer_id"],"host":["read-api","{{environment}}","antavo","com"],"query":[],"variable":[{"id":"3668724f-ca92-4472-a73f-ffbb1b6d69eb","description":{"content":"<p>Customer identifier. Using an external ID is not supported.</p>\n","type":"text/plain"},"type":"any","value":"55e5d4dc2cf1901e688b45d3","key":"customer_id"}]}},"response":[{"id":"b6baedc8-5387-4c4d-94c0-aae78b723f4f","name":"Success - Customer data provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id"],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {},\n  \"payload\": {\n    \"_id\": \"55e5d4dc2cf1901e688b45d3\",\n    \"external_ids\": {\n      \"crm_id\": \"1749RRCT23\"\n    },\n    \"email\": \"jsmith@example.com\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"handler\": \"John\",\n    \"status\": \"active\",\n    \"gender\": \"male\",\n    \"language\": \"en\",\n    \"image_url\": \"https://example.com/image.png\",\n    \"currency\": \"GBP\",\n    \"mobile_phone\": \"123 456 789\",\n    \"country\": \"GB\",\n    \"membership_id\": [\n      \"MA465927t85w\",\n      \"DA465927t85w\"\n    ],\n    \"group_id\": [\n      \"146\",\n      \"126\"\n    ],\n    \"src\": \"import:672b564c4219e3a65b0f43a0\",\n    \"referrer\": \"557e5d4eg2cf1461e688b45e8\",\n    \"score\": 100,\n    \"spent\": 20,\n    \"reserved\": 0,\n    \"expired\": 100,\n    \"pending\": 20,\n    \"purchase_total\": 100,\n    \"purchase_count\": 1,\n    \"purchase_item_count\": 2,\n    \"created_at\": \"2026-07-14T19:41:35\",\n    \"updated_at\": \"2026-07-14T19:41:35\",\n    \"birth_date\": \"1969-12-25\",\n    \"purchase_first_date\": \"2020-10-01\",\n    \"purchase_last_date\": \"2020-10-01\",\n    \"last_earn_date\": \"2026-04-27\",\n    \"last_spend_date\": \"2025-10-28\",\n    \"last_login_at\": \"2026-06-28T10:27:03\",\n    \"optin_at\": \"2026-06-28T10:27:03\",\n    \"optout_at\": \"2026-06-28T10:27:03\",\n    \"labels\": [\n      \"Elite member\",\n      \"Frequent flyer\"\n    ],\n    \"properties\": {\n      \"city\": \"London\"\n    },\n    \"tiers\": {\n      \"fashion_tiers\": {\n        \"history\": {\n          \"2025-06-24\": 1010\n        },\n        \"points\": 1010,\n        \"next\": {\n          \"id\": \"Fashion_Royalty\",\n          \"name\": \"Fashion Royalty\",\n          \"points\": 900\n        },\n        \"points_after_expiration\": 1010,\n        \"_id\": \"Couture_Elite\",\n        \"event\": \"685a9c5abe38329c6501bf87\",\n        \"expdate\": \"2025-06-30\",\n        \"manual\": false,\n        \"name\": {\n          \"en\": \"Couture Elite\"\n        },\n        \"since\": \"2025-06-24T12:38:50+00:00\",\n        \"threshold\": 1000\n      }\n    },\n    \"accounts\": {\n      \"family_account\": {\n        \"name\": \"Family account\",\n        \"type\": \"standard\",\n        \"earned\": 9271,\n        \"reserved\": 0,\n        \"spent\": 85,\n        \"pending\": 34401,\n        \"expired\": 0,\n        \"negative_points\": false\n      }\n    },\n    \"clubs\": [\n      \"67ed4632108c1ad747028c3d\"\n    ],\n    \"activities\": {\n      \"63eaabe8b0fe6815c91425b6\": 1712134211\n    },\n    \"rewards\": {\n      \"63dcc15e59127f05634bf80c\": 2,\n      \"63dcb791eb80ef351838fdfb\": 8\n    },\n    \"referrals\": [\n      \"8a302ca1-337b-4de9-8070-12d6fe669ef3\"\n    ]\n  }\n}"},{"id":"89c4cc4e-a23a-4be4-9cb9-87fc7e27c879","name":"Error - Escher signature missing or invalid","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id"],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"1a463038-c1c1-41b7-9416-c99bc26ddacc","name":"Error - Customer not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id"],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"29eef6fc-f911-47c5-8ff0-54e8187b8691","name":"Error - Unexpected server error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id"],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"}],"_postman_id":"d00d909f-f8ad-4d2d-b9a5-d797f9168492"}],"id":"9d09eebb-43ed-47a3-b3f0-f509c446dc53","_postman_id":"9d09eebb-43ed-47a3-b3f0-f509c446dc53","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}}},{"name":"Coupons","item":[{"name":"Retrieve the list of a customer's coupons","id":"21a4f089-983b-43d4-9c45-d1af7a6116d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/coupons","description":"<p>Returns a paginated list of coupons associated with a specific customer.\nResults can be filtered by <code>status</code>, <code>claimed_at</code>, <code>redeemed_at</code>, <code>expiration_date</code> coupon attribute values, and sorted by <code>claimed_at</code>, <code>redeemed_at</code>, <code>expiration_date</code> values.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}},"urlObject":{"protocol":"https","path":["v1","customers",":customer_id","coupons"],"host":["read-api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting position in the sorted result set. Used for pagination together with the <code>limit</code> query parameter.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Sets the maximum number of items to return from the sorted result set. Used for pagination together with the <code>offset</code> query parameter.</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"disabled":true,"description":{"content":"<p>Filters coupons by status.</p>\n<p>Operator: The coupon status to match. The status is determined from the coupon’s claim, redemption, expiration, invalidation, and balance data.</p>\n","type":"text/plain"},"key":"filter[status][eq]","value":"claimed"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was claimed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[claimed_at][eq]","value":"2026-06-05T14:30:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was claimed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[claimed_at][lt]","value":"2026-07-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was claimed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[claimed_at][lte]","value":"2026-07-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was claimed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[claimed_at][gt]","value":"2026-06-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was claimed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[claimed_at][gte]","value":"2026-06-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was redeemed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[redeemed_at][eq]","value":"2026-06-10T09:45:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was redeemed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[redeemed_at][lt]","value":"2026-07-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was redeemed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[redeemed_at][lte]","value":"2026-07-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was redeemed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[redeemed_at][gt]","value":"2026-06-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon was redeemed.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[redeemed_at][gte]","value":"2026-06-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon expires.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[expiration_date][eq]","value":"2026-12-31T23:59:59Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon expires.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[expiration_date][lt]","value":"2027-01-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon expires.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[expiration_date][lte]","value":"2027-01-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon expires.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[expiration_date][gt]","value":"2026-12-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Filters coupons by the date and time when the coupon expires.</p>\n<p>The following formats are accepted:</p>\n<ul>\n<li><code>YYYY-MM-DD</code> (interpreted as midnight UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS</code> (no time zone offset, interpreted as UTC)</li>\n<li><code>YYYY-MM-DDTHH:MM:SSZ</code>(UTC time)</li>\n<li><code>YYYY-MM-DDTHH:MM:SS±HH:MM</code> (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)</li>\n</ul>\n<p>Invalid calendar dates (e.g. <code>2026-02-31</code>) are rejected.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[expiration_date][gte]","value":"2026-12-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Specifies the primary field used to sort the results.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>claimed_at</code>: the date and time when the coupon was claimed.</li>\n<li><code>redeemed_at</code>: the date and time when the coupon was redeemed.</li>\n<li><code>expiration_date</code>: the date and time when the coupon expires.</li>\n</ul>\n","type":"text/plain"},"key":"sort[0][field]","value":"claimed_at"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the primary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[0][direction]","value":"asc"},{"disabled":true,"description":{"content":"<p>Specifies the secondary field used to sort results with the same value in the primary sort field.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>claimed_at</code>: the date and time when the coupon was claimed.</li>\n<li><code>redeemed_at</code>: the date and time when the coupon was redeemed.</li>\n<li><code>expiration_date</code>: the date and time when the coupon expires.</li>\n</ul>\n","type":"text/plain"},"key":"sort[1][field]","value":"redeemed_at"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the secondary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[1][direction]","value":"desc"}],"variable":[{"id":"628fff9c-c2e2-4830-9ffe-7163c8ed7388","description":{"content":"<p>Customer identifier. Using an external ID is not supported.</p>\n","type":"text/plain"},"type":"any","value":"55e5d4dc2cf1901e688b45d3","key":"customer_id"}]}},"response":[{"id":"a6ebe3e1-b10f-467d-86e8-ebfbbf4123e4","name":"Success - Coupon data provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/coupons?offset=0&limit=20&filter[status][eq]=claimed&filter[claimed_at][eq]=2026-06-05T14:30:00Z&filter[claimed_at][lt]=2026-07-01T00:00:00Z&filter[claimed_at][lte]=2026-07-01T00:00:00Z&filter[claimed_at][gt]=2026-06-01T00:00:00Z&filter[claimed_at][gte]=2026-06-01T00:00:00Z&filter[redeemed_at][eq]=2026-06-10T09:45:00Z&filter[redeemed_at][lt]=2026-07-01T00:00:00Z&filter[redeemed_at][lte]=2026-07-01T00:00:00Z&filter[redeemed_at][gt]=2026-06-01T00:00:00Z&filter[redeemed_at][gte]=2026-06-01T00:00:00Z&filter[expiration_date][eq]=2026-12-31T23:59:59Z&filter[expiration_date][lt]=2027-01-01T00:00:00Z&filter[expiration_date][lte]=2027-01-01T00:00:00Z&filter[expiration_date][gt]=2026-12-01T00:00:00Z&filter[expiration_date][gte]=2026-12-01T00:00:00Z&sort[0][field]=claimed_at&sort[0][direction]=asc&sort[1][field]=redeemed_at&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","coupons"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"claimed","description":"Filters coupons by their current derived status.\n\nOperator: The coupon status to match. The status is determined from the coupon’s claim, redemption, expiration, invalidation, and balance data."},{"key":"filter[claimed_at][eq]","value":"2026-06-05T14:30:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[claimed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[claimed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[claimed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[claimed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[redeemed_at][eq]","value":"2026-06-10T09:45:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[redeemed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[redeemed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[redeemed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[redeemed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[expiration_date][eq]","value":"2026-12-31T23:59:59Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[expiration_date][lt]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[expiration_date][lte]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[expiration_date][gt]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[expiration_date][gte]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"claimed_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"redeemed_at","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"pagination\": {\n      \"next\": \"/v1/customers/55e5d4dc2cf1901e688b45d3/coupons?offset=0&limit=20\",\n      \"previous\": null\n    }\n  },\n  \"payload\": {\n    \"coupons\": [\n      {\n        \"_id\": \"coupon_01J2X9M7QK5A8F3C6D1E4B7N9P\",\n        \"code\": \"SUMMER-2026-ABCD\",\n        \"name\": \"Summer discount\",\n        \"type\": \"percentage\",\n        \"value\": 20,\n        \"currency\": \"EUR\",\n        \"balance\": 15.5,\n        \"min_amount\": 0,\n        \"min_redemption_value\": 0,\n        \"created_at\": \"2026-06-01T10:15:30Z\",\n        \"claimed_at\": \"2026-06-05T14:30:00Z\",\n        \"redeemed_at\": [\n          \"2026-06-10T09:45:00Z\",\n          \"2026-06-15T16:20:00Z\"\n        ],\n        \"expiration_date\": \"2026-12-31T23:59:59Z\",\n        \"expires_in\": \"2 months\",\n        \"invalidated_at\": \"2026-12-01T23:59:59Z\",\n        \"invalidated_by\": 100012233,\n        \"pool\": \"summer-campaign-2026\",\n        \"parent\": \"679780ec13fa8bdd1d0345c8\",\n        \"original\": \"280e674c-c4ea-4a30-987a-d9267d1a5018\",\n        \"aggregated\": false,\n        \"claims\": 1,\n        \"redeems\": 2,\n        \"transfers\": 0,\n        \"status\": \"claimed\",\n        \"stores\": [\n          \"store-vienna\",\n          \"store-berlin\"\n        ],\n        \"products\": [\n          \"product-1001\",\n          \"product-1002\"\n        ]\n      }\n    ]\n  }\n}"},{"id":"af65fafe-4938-4c8b-b7ca-4baf8446b74b","name":"Error - Escher signature missing or invalid","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/coupons?offset=0&limit=20&filter[status][eq]=claimed&filter[claimed_at][eq]=2026-06-05T14:30:00Z&filter[claimed_at][lt]=2026-07-01T00:00:00Z&filter[claimed_at][lte]=2026-07-01T00:00:00Z&filter[claimed_at][gt]=2026-06-01T00:00:00Z&filter[claimed_at][gte]=2026-06-01T00:00:00Z&filter[redeemed_at][eq]=2026-06-10T09:45:00Z&filter[redeemed_at][lt]=2026-07-01T00:00:00Z&filter[redeemed_at][lte]=2026-07-01T00:00:00Z&filter[redeemed_at][gt]=2026-06-01T00:00:00Z&filter[redeemed_at][gte]=2026-06-01T00:00:00Z&filter[expiration_date][eq]=2026-12-31T23:59:59Z&filter[expiration_date][lt]=2027-01-01T00:00:00Z&filter[expiration_date][lte]=2027-01-01T00:00:00Z&filter[expiration_date][gt]=2026-12-01T00:00:00Z&filter[expiration_date][gte]=2026-12-01T00:00:00Z&sort[0][field]=claimed_at&sort[0][direction]=asc&sort[1][field]=redeemed_at&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","coupons"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"claimed","description":"Filters coupons by their current derived status.\n\nOperator: The coupon status to match. The status is determined from the coupon’s claim, redemption, expiration, invalidation, and balance data."},{"key":"filter[claimed_at][eq]","value":"2026-06-05T14:30:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[claimed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[claimed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[claimed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[claimed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[redeemed_at][eq]","value":"2026-06-10T09:45:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[redeemed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[redeemed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[redeemed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[redeemed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[expiration_date][eq]","value":"2026-12-31T23:59:59Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[expiration_date][lt]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[expiration_date][lte]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[expiration_date][gt]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[expiration_date][gte]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"claimed_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"redeemed_at","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"cf496c45-0fe4-4859-821d-9a33c9c71616","name":"Error - Request validation failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/coupons?offset=0&limit=20&filter[status][eq]=claimed&filter[claimed_at][eq]=2026-06-05T14:30:00Z&filter[claimed_at][lt]=2026-07-01T00:00:00Z&filter[claimed_at][lte]=2026-07-01T00:00:00Z&filter[claimed_at][gt]=2026-06-01T00:00:00Z&filter[claimed_at][gte]=2026-06-01T00:00:00Z&filter[redeemed_at][eq]=2026-06-10T09:45:00Z&filter[redeemed_at][lt]=2026-07-01T00:00:00Z&filter[redeemed_at][lte]=2026-07-01T00:00:00Z&filter[redeemed_at][gt]=2026-06-01T00:00:00Z&filter[redeemed_at][gte]=2026-06-01T00:00:00Z&filter[expiration_date][eq]=2026-12-31T23:59:59Z&filter[expiration_date][lt]=2027-01-01T00:00:00Z&filter[expiration_date][lte]=2027-01-01T00:00:00Z&filter[expiration_date][gt]=2026-12-01T00:00:00Z&filter[expiration_date][gte]=2026-12-01T00:00:00Z&sort[0][field]=claimed_at&sort[0][direction]=asc&sort[1][field]=redeemed_at&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","coupons"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"claimed","description":"Filters coupons by their current derived status.\n\nOperator: The coupon status to match. The status is determined from the coupon’s claim, redemption, expiration, invalidation, and balance data."},{"key":"filter[claimed_at][eq]","value":"2026-06-05T14:30:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[claimed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[claimed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[claimed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[claimed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[redeemed_at][eq]","value":"2026-06-10T09:45:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[redeemed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[redeemed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[redeemed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[redeemed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[expiration_date][eq]","value":"2026-12-31T23:59:59Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[expiration_date][lt]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[expiration_date][lte]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[expiration_date][gt]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[expiration_date][gte]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"claimed_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"redeemed_at","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"7490b8f3-b556-41d0-a67a-d780104556fc","name":"Error - Unexpected server error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/coupons?offset=0&limit=20&filter[status][eq]=claimed&filter[claimed_at][eq]=2026-06-05T14:30:00Z&filter[claimed_at][lt]=2026-07-01T00:00:00Z&filter[claimed_at][lte]=2026-07-01T00:00:00Z&filter[claimed_at][gt]=2026-06-01T00:00:00Z&filter[claimed_at][gte]=2026-06-01T00:00:00Z&filter[redeemed_at][eq]=2026-06-10T09:45:00Z&filter[redeemed_at][lt]=2026-07-01T00:00:00Z&filter[redeemed_at][lte]=2026-07-01T00:00:00Z&filter[redeemed_at][gt]=2026-06-01T00:00:00Z&filter[redeemed_at][gte]=2026-06-01T00:00:00Z&filter[expiration_date][eq]=2026-12-31T23:59:59Z&filter[expiration_date][lt]=2027-01-01T00:00:00Z&filter[expiration_date][lte]=2027-01-01T00:00:00Z&filter[expiration_date][gt]=2026-12-01T00:00:00Z&filter[expiration_date][gte]=2026-12-01T00:00:00Z&sort[0][field]=claimed_at&sort[0][direction]=asc&sort[1][field]=redeemed_at&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","coupons"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"claimed","description":"Filters coupons by their current derived status.\n\nOperator: The coupon status to match. The status is determined from the coupon’s claim, redemption, expiration, invalidation, and balance data."},{"key":"filter[claimed_at][eq]","value":"2026-06-05T14:30:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[claimed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[claimed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[claimed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[claimed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was claimed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[redeemed_at][eq]","value":"2026-06-10T09:45:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[redeemed_at][lt]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[redeemed_at][lte]","value":"2026-07-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[redeemed_at][gt]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[redeemed_at][gte]","value":"2026-06-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon was redeemed.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"filter[expiration_date][eq]","value":"2026-12-31T23:59:59Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Equals."},{"key":"filter[expiration_date][lt]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than."},{"key":"filter[expiration_date][lte]","value":"2027-01-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Less than or equal to."},{"key":"filter[expiration_date][gt]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than."},{"key":"filter[expiration_date][gte]","value":"2026-12-01T00:00:00Z","description":"Filters coupons by the date and time when the coupon expires.\n\nThe following formats are accepted:\n- `YYYY-MM-DD` (interpreted as midnight UTC)\n- `YYYY-MM-DDTHH:MM:SS` (no time zone offset, interpreted as UTC)\n- `YYYY-MM-DDTHH:MM:SSZ`(UTC time)\n- `YYYY-MM-DDTHH:MM:SS±HH:MM` (includes a UTC offset, such as +02:00 or -05:00; converted to UTC for comparison)\n\nInvalid calendar dates (e.g. `2026-02-31`) are rejected.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"claimed_at","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"redeemed_at","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `claimed_at`: the date and time when the coupon was claimed.\n- `redeemed_at`: the date and time when the coupon was redeemed.\n- `expiration_date`: the date and time when the coupon expires."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"}],"_postman_id":"21a4f089-983b-43d4-9c45-d1af7a6116d8"}],"id":"75d19b83-d4ff-451e-be25-64e10b726953","_postman_id":"75d19b83-d4ff-451e-be25-64e10b726953","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}}},{"name":"Events","item":[{"name":"Retrieve the list of a customer's events","id":"eefc0aa5-46e1-4106-831d-68a246db45c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/events","description":"<p>Returns paginated list of events registered in the customer's events history.\nResults can be filtered and sorted by <code>action</code>, <code>date</code>, <code>account</code>, <code>expdate</code> and <code>points</code> event attribute values.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}},"urlObject":{"protocol":"https","path":["v1","customers",":customer_id","events"],"host":["read-api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting position in the sorted result set. Used for pagination together with the <code>limit</code> query parameter.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Sets the maximum number of items to return from the sorted result set. Used for pagination together with the <code>offset</code> query parameter.</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"disabled":true,"description":{"content":"<p>Filters events by the event type.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[action][eq]","value":"checkout"},{"disabled":true,"description":{"content":"<p>Filters events by the event type.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[action][lt]","value":"point_add"},{"disabled":true,"description":{"content":"<p>Filters events by the event type.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[action][lte]","value":"point_add"},{"disabled":true,"description":{"content":"<p>Filters events by the event type.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[action][gt]","value":"checkout_item"},{"disabled":true,"description":{"content":"<p>Filters events by the event type.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[action][gte]","value":"checkout_item"},{"disabled":true,"description":{"content":"<p>Filters events by the date and time when the event occurred.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[date][eq]","value":"2026-06-13"},{"disabled":true,"description":{"content":"<p>Filters events by the date and time when the event occurred.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[date][lt]","value":"2026-07-01"},{"disabled":true,"description":{"content":"<p>Filters events by the date and time when the event occurred.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[date][lte]","value":"2026-07-01"},{"disabled":true,"description":{"content":"<p>Filters events by the date and time when the event occurred.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[date][gt]","value":"2026-06-01"},{"disabled":true,"description":{"content":"<p>Filters events by the date and time when the event occurred.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[date][gte]","value":"2026-06-01"},{"disabled":true,"description":{"content":"<p>Filters events by the ID of the point account affected by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[account][eq]","value":"family_account"},{"disabled":true,"description":{"content":"<p>Filters events by the ID of the point account affected by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[account][lt]","value":"main"},{"disabled":true,"description":{"content":"<p>Filters events by the ID of the point account affected by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[account][lte]","value":"main"},{"disabled":true,"description":{"content":"<p>Filters events by the ID of the point account affected by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[account][gt]","value":"family_account"},{"disabled":true,"description":{"content":"<p>Filters events by the ID of the point account affected by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[account][gte]","value":"family_account"},{"disabled":true,"description":{"content":"<p>Filters events by the number of points added or deducted by the event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[points][eq]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters events by the number of points added or deducted by the event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[points][lt]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters events by the number of points added or deducted by the event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[points][lte]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters events by the number of points added or deducted by the event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[points][gt]","value":"0"},{"disabled":true,"description":{"content":"<p>Filters events by the number of points added or deducted by the event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[points][gte]","value":"0"},{"disabled":true,"description":{"content":"<p>Filters events by the expiration date of the points earned by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[expdate][eq]","value":"2026-12-31"},{"disabled":true,"description":{"content":"<p>Filters events by the expiration date of the points earned by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[expdate][lt]","value":"2027-01-01"},{"disabled":true,"description":{"content":"<p>Filters events by the expiration date of the points earned by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[expdate][lte]","value":"2027-01-01"},{"disabled":true,"description":{"content":"<p>Filters events by the expiration date of the points earned by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[expdate][gt]","value":"2026-12-01"},{"disabled":true,"description":{"content":"<p>Filters events by the expiration date of the points earned by the event.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[expdate][gte]","value":"2026-12-01"},{"disabled":true,"description":{"content":"<p>Specifies the primary field used to sort the results.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>action</code>: the event type.</li>\n<li><code>date</code>: the date and time when the event occurred.</li>\n<li><code>account</code>: the ID of the point account affected by the event.</li>\n<li><code>points</code>: the number of points added or deducted by the event.</li>\n<li><code>expdate</code>: the expiration date of the points earned by the event.</li>\n</ul>\n","type":"text/plain"},"key":"sort[0][field]","value":"action"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the primary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[0][direction]","value":"asc"},{"disabled":true,"description":{"content":"<p>Specifies the secondary field used to sort results with the same value in the primary sort field.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>action</code>: the event type.</li>\n<li><code>date</code>: the date and time when the event occurred.</li>\n<li><code>account</code>: the ID of the point account affected by the event.</li>\n<li><code>points</code>: the number of points added or deducted by the event.</li>\n<li><code>expdate</code>: the expiration date of the points earned by the event.</li>\n</ul>\n","type":"text/plain"},"key":"sort[1][field]","value":"date"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the secondary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[1][direction]","value":"desc"}],"variable":[{"id":"0d7a64a7-cc6c-4136-80fe-8f4d584a790f","description":{"content":"<p>Customer identifier. Using an external ID is not supported.</p>\n","type":"text/plain"},"type":"any","value":"55e5d4dc2cf1901e688b45d3","key":"customer_id"}]}},"response":[{"id":"650e5023-80cf-46b2-a0db-5ee760a0a536","name":"Success - Customer event data provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/events?offset=0&limit=20&filter[action][eq]=checkout&filter[action][lt]=point_add&filter[action][lte]=point_add&filter[action][gt]=checkout_item&filter[action][gte]=checkout_item&filter[date][eq]=2026-06-13&filter[date][lt]=2026-07-01&filter[date][lte]=2026-07-01&filter[date][gt]=2026-06-01&filter[date][gte]=2026-06-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points][eq]=100&filter[points][lt]=100&filter[points][lte]=100&filter[points][gt]=0&filter[points][gte]=0&filter[expdate][eq]=2026-12-31&filter[expdate][lt]=2027-01-01&filter[expdate][lte]=2027-01-01&filter[expdate][gt]=2026-12-01&filter[expdate][gte]=2026-12-01&sort[0][field]=action&sort[0][direction]=asc&sort[1][field]=date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","events"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[action][eq]","value":"checkout","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[action][lt]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[action][lte]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[action][gt]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[action][gte]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[date][eq]","value":"2026-06-13","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[date][lt]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[date][lte]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[date][gt]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[date][gte]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points][eq]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points][lt]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points][lte]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points][gt]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points][gte]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[expdate][eq]","value":"2026-12-31","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[expdate][lt]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[expdate][lte]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[expdate][gt]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[expdate][gte]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"action","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"pagination\": {\n      \"next\": null,\n      \"previous\": null\n    }\n  },\n  \"payload\": {\n    \"events\": [\n      {\n        \"_id\": \"6a57a9681d81297bdc042a6e\",\n        \"timestamp\": \"2026-06-13T15:38:16+00:00\",\n        \"unix_timestamp\": 1784129896,\n        \"process_timestamp\": \"2026-06-13T15:38:16+00:00\",\n        \"date\": \"2026-06-13\",\n        \"ip_address\": \"87.97.9.123\",\n        \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n        \"customer\": \"55e5d4dc2cf1901e688b45d3\",\n        \"action\": \"checkout\",\n        \"points\": 0,\n        \"properties\": {\n          \"transaction_id\": \"txn_8f3c2a91d7b64e5a\",\n          \"total\": 119.96,\n          \"points_burned\": 0,\n          \"currency\": \"GBP\"\n        },\n        \"admin\": false,\n        \"hash\": \"checkout-txn_8f3c2a91d7b64e5a\",\n        \"user_id\": 100012233,\n        \"signed\": false,\n        \"source\": \"Events API\",\n        \"account\": \"family_account\",\n        \"cid\": \"5098a0ea-70e1-8c3b-4e4b-ac585cb9fed2\",\n        \"snapshot\": {\n          \"score\": 34749,\n          \"spent\": 12167,\n          \"pending\": 34521,\n          \"expired\": 0\n        }\n      },\n      {\n        \"_id\": \"6a57dae6998349a15c05813a\",\n        \"timestamp\": \"2026-06-13T15:38:16+00:00\",\n        \"unix_timestamp\": 1784129896,\n        \"process_timestamp\": \"2026-06-13T15:38:16+00:00\",\n        \"date\": \"2026-06-13\",\n        \"ip_address\": \"87.97.9.123\",\n        \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n        \"customer\": \"55e5d4dc2cf1901e688b45d3\",\n        \"action\": \"checkout_item\",\n        \"points\": 60,\n        \"properties\": {\n          \"transaction_id\": \"txn_8f3c2a91d7b64e5a\",\n          \"total\": 59.98,\n          \"product_id\": \"PROD-84721\",\n          \"product_name\": \"Classic Leather Sneakers\",\n          \"product_url\": \"https://example.com/products/prod-84721\",\n          \"quantity\": 2,\n          \"country\": \"GB\",\n          \"points_rewarded\": 60,\n          \"subtotal\": 49.98,\n          \"price\": 29.99,\n          \"discount\": 10,\n          \"unit_burn\": 0,\n          \"currency\": \"GBP\",\n          \"product_category\": \"Footwear > Sneakers\",\n          \"store\": \"london-oxford-street\",\n          \"effective_timestamp\": 1784129896,\n          \"total_quantity\": 2\n        },\n        \"parent\": \"6a57a9681d81297bdc042a6e\",\n        \"change\": {\n          \"id\": \"6a57a9681d81297bdc042a6f\",\n          \"at\": \"2026-07-15T19:09:26+00:00\",\n          \"by\": \"100012233\"\n        },\n        \"admin\": false,\n        \"hash\": \"checkout_item-txn_8f3c2a91d7b64e5a-PROD-84721\",\n        \"signed\": false,\n        \"expdate\": \"2026-07-16\",\n        \"source\": \"Events API\",\n        \"account\": \"family_account\",\n        \"cid\": \"5098a0ea-70e1-8c3b-4e4b-ac585cb9fed2\",\n        \"snapshot\": {\n          \"score\": 34749,\n          \"spent\": 12167,\n          \"pending\": 34521,\n          \"expired\": 0\n        }\n      },\n      {\n        \"_id\": \"69efdcada19262f4a90101f8\",\n        \"timestamp\": \"2026-04-27T22:01:17+00:00\",\n        \"unix_timestamp\": 1777327277,\n        \"process_timestamp\": \"2026-04-27T22:01:17+00:00\",\n        \"date\": \"2026-04-27\",\n        \"ip_address\": \"91.82.30.113\",\n        \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n        \"customer\": \"55e5d4dc2cf1901e688b45d3\",\n        \"action\": \"point_add\",\n        \"points\": 100,\n        \"properties\": {\n          \"points\": 100\n        },\n        \"admin\": false,\n        \"user_id\": 100012233,\n        \"signed\": false,\n        \"source\": \"Platform\",\n        \"cid\": \"d62c732a-a525-96cc-80cc-498889fc1053\",\n        \"snapshot\": {\n          \"score\": 34649,\n          \"spent\": 12167,\n          \"pending\": 34521,\n          \"expired\": 0\n        },\n        \"usages\": {\n          \"652f9bad5924e77e8269be13\": 100\n        },\n        \"used_points\": 100,\n        \"expired\": true,\n        \"original\": \"6a57a9681d81297bdc042a6f\"\n      }\n    ]\n  }\n}"},{"id":"f72a1a85-0bc2-4578-8f7b-b12644584daa","name":"Error - Escher signature missing or invalid","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/events?offset=0&limit=20&filter[action][eq]=checkout&filter[action][lt]=point_add&filter[action][lte]=point_add&filter[action][gt]=checkout_item&filter[action][gte]=checkout_item&filter[date][eq]=2026-06-13&filter[date][lt]=2026-07-01&filter[date][lte]=2026-07-01&filter[date][gt]=2026-06-01&filter[date][gte]=2026-06-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points][eq]=100&filter[points][lt]=100&filter[points][lte]=100&filter[points][gt]=0&filter[points][gte]=0&filter[expdate][eq]=2026-12-31&filter[expdate][lt]=2027-01-01&filter[expdate][lte]=2027-01-01&filter[expdate][gt]=2026-12-01&filter[expdate][gte]=2026-12-01&sort[0][field]=action&sort[0][direction]=asc&sort[1][field]=date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","events"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[action][eq]","value":"checkout","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[action][lt]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[action][lte]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[action][gt]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[action][gte]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[date][eq]","value":"2026-06-13","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[date][lt]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[date][lte]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[date][gt]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[date][gte]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points][eq]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points][lt]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points][lte]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points][gt]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points][gte]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[expdate][eq]","value":"2026-12-31","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[expdate][lt]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[expdate][lte]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[expdate][gt]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[expdate][gte]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"action","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"7c7f5a47-4f99-4242-b245-cc3f8918874f","name":"Error - Request validation failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/events?offset=0&limit=20&filter[action][eq]=checkout&filter[action][lt]=point_add&filter[action][lte]=point_add&filter[action][gt]=checkout_item&filter[action][gte]=checkout_item&filter[date][eq]=2026-06-13&filter[date][lt]=2026-07-01&filter[date][lte]=2026-07-01&filter[date][gt]=2026-06-01&filter[date][gte]=2026-06-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points][eq]=100&filter[points][lt]=100&filter[points][lte]=100&filter[points][gt]=0&filter[points][gte]=0&filter[expdate][eq]=2026-12-31&filter[expdate][lt]=2027-01-01&filter[expdate][lte]=2027-01-01&filter[expdate][gt]=2026-12-01&filter[expdate][gte]=2026-12-01&sort[0][field]=action&sort[0][direction]=asc&sort[1][field]=date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","events"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[action][eq]","value":"checkout","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[action][lt]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[action][lte]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[action][gt]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[action][gte]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[date][eq]","value":"2026-06-13","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[date][lt]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[date][lte]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[date][gt]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[date][gte]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points][eq]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points][lt]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points][lte]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points][gt]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points][gte]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[expdate][eq]","value":"2026-12-31","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[expdate][lt]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[expdate][lte]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[expdate][gt]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[expdate][gte]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"action","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"b4ceedb7-4830-4e3a-a54e-5b3f80747806","name":"Error - Unexpected server error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/events?offset=0&limit=20&filter[action][eq]=checkout&filter[action][lt]=point_add&filter[action][lte]=point_add&filter[action][gt]=checkout_item&filter[action][gte]=checkout_item&filter[date][eq]=2026-06-13&filter[date][lt]=2026-07-01&filter[date][lte]=2026-07-01&filter[date][gt]=2026-06-01&filter[date][gte]=2026-06-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points][eq]=100&filter[points][lt]=100&filter[points][lte]=100&filter[points][gt]=0&filter[points][gte]=0&filter[expdate][eq]=2026-12-31&filter[expdate][lt]=2027-01-01&filter[expdate][lte]=2027-01-01&filter[expdate][gt]=2026-12-01&filter[expdate][gte]=2026-12-01&sort[0][field]=action&sort[0][direction]=asc&sort[1][field]=date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","events"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[action][eq]","value":"checkout","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[action][lt]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[action][lte]","value":"point_add","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[action][gt]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[action][gte]","value":"checkout_item","description":"Filters events by the event type.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[date][eq]","value":"2026-06-13","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[date][lt]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[date][lte]","value":"2026-07-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[date][gt]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[date][gte]","value":"2026-06-01","description":"Filters events by the date and time when the event occurred.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters events by the ID of the point account affected by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points][eq]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points][lt]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points][lte]","value":"100","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points][gt]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points][gte]","value":"0","description":"Filters events by the number of points added or deducted by the event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[expdate][eq]","value":"2026-12-31","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[expdate][lt]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[expdate][lte]","value":"2027-01-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[expdate][gt]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[expdate][gte]","value":"2026-12-01","description":"Filters events by the expiration date of the points earned by the event.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"action","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `action`: the event type.\n- `date`: the date and time when the event occurred.\n- `account`: the ID of the point account affected by the event.\n- `points`: the number of points added or deducted by the event.\n- `expdate`: the expiration date of the points earned by the event."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"}],"_postman_id":"eefc0aa5-46e1-4106-831d-68a246db45c9"}],"id":"8137f63a-2b44-4f90-9b33-b2bfd14d9e42","_postman_id":"8137f63a-2b44-4f90-9b33-b2bfd14d9e42","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}}},{"name":"Transactions","item":[{"name":"Retrieve the list of a customer's transactions","id":"8f78f3ca-eaf0-4e8d-b6f3-574ea8ac7d87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/transactions","description":"<p>Returns a paginated list of transactions registered for the customer, including their items, associated events, point values, and current processing status.\nResults can be filtered and sorted by <code>status</code>, <code>checkout_date</code>, <code>auto_accept</code>, <code>account</code>, <code>points_rewarded</code>, <code>earned</code>, and <code>burned</code> transaction attribute values.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}},"urlObject":{"protocol":"https","path":["v1","customers",":customer_id","transactions"],"host":["read-api","{{environment}}","antavo","com"],"query":[{"disabled":true,"description":{"content":"<p>Offsets the starting position in the sorted result set. Used for pagination together with the <code>limit</code> query parameter.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Sets the maximum number of items to return from the sorted result set. Used for pagination together with the <code>offset</code> query parameter.</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"disabled":true,"description":{"content":"<p>Filters transactions by their current status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[status][eq]","value":"accepted"},{"disabled":true,"description":{"content":"<p>Filters transactions by their current status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[status][lt]","value":"pending"},{"disabled":true,"description":{"content":"<p>Filters transactions by their current status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[status][lte]","value":"pending"},{"disabled":true,"description":{"content":"<p>Filters transactions by their current  status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[status][gt]","value":"draft"},{"disabled":true,"description":{"content":"<p>Filters transactions by their current status.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[status][gte]","value":"draft"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when the checkout transaction was registered.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[checkout_date][eq]","value":"2025-11-13"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when the checkout transaction was registered.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[checkout_date][lt]","value":"2025-12-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when the checkout transaction was registered.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[checkout_date][lte]","value":"2025-12-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when the checkout transaction was registered.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[checkout_date][gt]","value":"2025-11-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when the checkout transaction was registered.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[checkout_date][gte]","value":"2025-11-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[auto_accept][eq]","value":"2025-12-13"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[auto_accept][lt]","value":"2026-01-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[auto_accept][lte]","value":"2026-01-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[auto_accept][gt]","value":"2025-12-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[auto_accept][gte]","value":"2025-12-01"},{"disabled":true,"description":{"content":"<p>Filters transactions by the ID of the point account associated with the transaction.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[account][eq]","value":"family_account"},{"disabled":true,"description":{"content":"<p>Filters transactions by the ID of the point account associated with the transaction.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[account][lt]","value":"main"},{"disabled":true,"description":{"content":"<p>Filters transactions by the ID of the point account associated with the transaction.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[account][lte]","value":"main"},{"disabled":true,"description":{"content":"<p>Filters transactions by the ID of the point account associated with the transaction.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[account][gt]","value":"family_account"},{"disabled":true,"description":{"content":"<p>Filters transactions by the ID of the point account associated with the transaction.</p>\n<p>The comparison operators compare values alphabetically.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[account][gte]","value":"family_account"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[points_rewarded][eq]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[points_rewarded][lt]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[points_rewarded][lte]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[points_rewarded][gt]","value":"0"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[points_rewarded][gte]","value":"0"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[earned][eq]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[earned][lt]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[earned][lte]","value":"100"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[earned][gt]","value":"0"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[earned][gte]","value":"0"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Equals.</p>\n","type":"text/plain"},"key":"filter[burned][eq]","value":"20"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than.</p>\n","type":"text/plain"},"key":"filter[burned][lt]","value":"20"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Less than or equal to.</p>\n","type":"text/plain"},"key":"filter[burned][lte]","value":"20"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than.</p>\n","type":"text/plain"},"key":"filter[burned][gt]","value":"0"},{"disabled":true,"description":{"content":"<p>Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.</p>\n<p>Only whole numbers are accepted, decimal values return a <code>422</code> error.</p>\n<p>Operator: Greater than or equal to.</p>\n","type":"text/plain"},"key":"filter[burned][gte]","value":"0"},{"disabled":true,"description":{"content":"<p>Specifies the primary field used to sort the results.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>status</code>: their current processing status.</li>\n<li><code>checkout_date</code>: the date and time when the checkout transaction was registered.</li>\n<li><code>auto_accept</code>: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.</li>\n<li><code>account</code>: the ID of the point account associated with the transaction.</li>\n<li><code>points_rewarded</code>: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.</li>\n<li><code>earned</code>: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.</li>\n<li><code>burned</code>: the number of points deducted from the customer's balance as part of transaction processing.</li>\n</ul>\n","type":"text/plain"},"key":"sort[0][field]","value":"status"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the primary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[0][direction]","value":"asc"},{"disabled":true,"description":{"content":"<p>Specifies the secondary field used to sort results with the same value in the primary sort field.</p>\n<p>Supported fields:</p>\n<ul>\n<li><code>status</code>: their current processing status.</li>\n<li><code>checkout_date</code>: the date and time when the checkout transaction was registered.</li>\n<li><code>auto_accept</code>: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.</li>\n<li><code>account</code>: the ID of the point account associated with the transaction.</li>\n<li><code>points_rewarded</code>: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.</li>\n<li><code>earned</code>: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.</li>\n<li><code>burned</code>: the number of points deducted from the customer's balance as part of transaction processing.</li>\n</ul>\n","type":"text/plain"},"key":"sort[1][field]","value":"checkout_date"},{"disabled":true,"description":{"content":"<p>Specifies the direction for the secondary sort field. Use <code>asc</code> for ascending order or <code>desc</code> for descending order.</p>\n","type":"text/plain"},"key":"sort[1][direction]","value":"desc"}],"variable":[{"id":"bc89322f-93fe-4849-9ea1-3c69496b1d65","description":{"content":"<p>Customer identifier. Using an external ID is not supported.</p>\n","type":"text/plain"},"type":"any","value":"55e5d4dc2cf1901e688b45d3","key":"customer_id"}]}},"response":[{"id":"bfa55475-361e-46f1-b36f-3ea73816b21e","name":"Success - Transaction data provided","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/transactions?offset=0&limit=20&filter[status][eq]=accepted&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=draft&filter[status][gte]=draft&filter[checkout_date][eq]=2025-11-13&filter[checkout_date][lt]=2025-12-01&filter[checkout_date][lte]=2025-12-01&filter[checkout_date][gt]=2025-11-01&filter[checkout_date][gte]=2025-11-01&filter[auto_accept][eq]=2025-12-13&filter[auto_accept][lt]=2026-01-01&filter[auto_accept][lte]=2026-01-01&filter[auto_accept][gt]=2025-12-01&filter[auto_accept][gte]=2025-12-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points_rewarded][eq]=100&filter[points_rewarded][lt]=100&filter[points_rewarded][lte]=100&filter[points_rewarded][gt]=0&filter[points_rewarded][gte]=0&filter[earned][eq]=100&filter[earned][lt]=100&filter[earned][lte]=100&filter[earned][gt]=0&filter[earned][gte]=0&filter[burned][eq]=20&filter[burned][lt]=20&filter[burned][lte]=20&filter[burned][gt]=0&filter[burned][gte]=0&sort[0][field]=status&sort[0][direction]=asc&sort[1][field]=checkout_date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","transactions"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"accepted","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[checkout_date][eq]","value":"2025-11-13","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[checkout_date][lt]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[checkout_date][lte]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[checkout_date][gt]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[checkout_date][gte]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[auto_accept][eq]","value":"2025-12-13","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Equals."},{"key":"filter[auto_accept][lt]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than."},{"key":"filter[auto_accept][lte]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than or equal to."},{"key":"filter[auto_accept][gt]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than."},{"key":"filter[auto_accept][gte]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points_rewarded][eq]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points_rewarded][lt]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points_rewarded][lte]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points_rewarded][gt]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points_rewarded][gte]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[earned][eq]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[earned][lt]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[earned][lte]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[earned][gt]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[earned][gte]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[burned][eq]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[burned][lt]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[burned][lte]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[burned][gt]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[burned][gte]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"status","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"checkout_date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"metadata\": {\n    \"pagination\": {\n      \"next\": \"/v1/customers/55e5d4dc2cf1901e688b45d3/transactions?offset=0&limit=20\",\n      \"previous\": null\n    }\n  },\n  \"payload\": {\n    \"transactions\": [\n      {\n        \"_id\": \"txn_8f3c2a91d7b64e5a\",\n        \"created_at\": \"2025-11-13T13:10:19+00:00\",\n        \"updated_at\": \"2025-11-13T13:10:20+00:00\",\n        \"customer\": \"55e5d4dc2cf1901e688b45d3\",\n        \"status\": \"accepted\",\n        \"event\": \"6734a53c8bd9da0c85066e1b\",\n        \"items\": [\n          {\n            \"transaction_id\": \"txn_8f3c2a91d7b64e5a\",\n            \"total\": 100,\n            \"product_id\": \"prd_987654\",\n            \"product_name\": \"Vintage Leather Jacket\",\n            \"product_url\": \"https://example.com/products/vintage-leather-jacket\",\n            \"quantity\": 1,\n            \"points_rewarded\": 50,\n            \"subtotal\": 50,\n            \"price\": 50,\n            \"discount\": 0,\n            \"currency\": \"EUR\",\n            \"total_quantity\": 2\n          },\n          {\n            \"transaction_id\": \"txn_8f3c2a91d7b64e5a\",\n            \"total\": 100,\n            \"product_id\": \"prd_123456\",\n            \"product_name\": \"Classic Denim Jeans\",\n            \"product_url\": \"https://example.com/products/classic-denim-jeans\",\n            \"quantity\": 1,\n            \"points_rewarded\": 50,\n            \"subtotal\": 50,\n            \"price\": 50,\n            \"discount\": 0,\n            \"currency\": \"EUR\",\n            \"total_quantity\": 2\n          }\n        ],\n        \"total\": 100,\n        \"earned\": 0,\n        \"burned\": 0,\n        \"events\": [\n          {\n            \"_id\": \"6734a53c8bd9da0c85066e1b\",\n            \"action\": \"checkout\",\n            \"points\": 0\n          },\n          {\n            \"_id\": \"6734a53c8bd9da0c85066e1c\",\n            \"action\": \"checkout_item\",\n            \"points\": 0\n          },\n          {\n            \"_id\": \"6734a53c8bd9da0c85066e1d\",\n            \"action\": \"checkout_item\",\n            \"points\": 0\n          },\n          {\n            \"_id\": \"6734a53c8bd9da0c85066e1e\",\n            \"action\": \"pending_campaign_bonus\",\n            \"points\": 0\n          }\n        ],\n        \"currency\": \"EUR\",\n        \"points_rewarded\": 100,\n        \"account\": \"family_account\",\n        \"auto_accept\": \"2025-12-13\"\n      }\n    ]\n  }\n}"},{"id":"7664dc71-6320-4869-a327-be729c73c549","name":"Error - Escher signature missing or invalid","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/transactions?offset=0&limit=20&filter[status][eq]=accepted&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=draft&filter[status][gte]=draft&filter[checkout_date][eq]=2025-11-13&filter[checkout_date][lt]=2025-12-01&filter[checkout_date][lte]=2025-12-01&filter[checkout_date][gt]=2025-11-01&filter[checkout_date][gte]=2025-11-01&filter[auto_accept][eq]=2025-12-13&filter[auto_accept][lt]=2026-01-01&filter[auto_accept][lte]=2026-01-01&filter[auto_accept][gt]=2025-12-01&filter[auto_accept][gte]=2025-12-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points_rewarded][eq]=100&filter[points_rewarded][lt]=100&filter[points_rewarded][lte]=100&filter[points_rewarded][gt]=0&filter[points_rewarded][gte]=0&filter[earned][eq]=100&filter[earned][lt]=100&filter[earned][lte]=100&filter[earned][gt]=0&filter[earned][gte]=0&filter[burned][eq]=20&filter[burned][lt]=20&filter[burned][lte]=20&filter[burned][gt]=0&filter[burned][gte]=0&sort[0][field]=status&sort[0][direction]=asc&sort[1][field]=checkout_date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","transactions"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"accepted","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[checkout_date][eq]","value":"2025-11-13","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[checkout_date][lt]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[checkout_date][lte]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[checkout_date][gt]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[checkout_date][gte]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[auto_accept][eq]","value":"2025-12-13","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Equals."},{"key":"filter[auto_accept][lt]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than."},{"key":"filter[auto_accept][lte]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than or equal to."},{"key":"filter[auto_accept][gt]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than."},{"key":"filter[auto_accept][gte]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points_rewarded][eq]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points_rewarded][lt]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points_rewarded][lte]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points_rewarded][gt]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points_rewarded][gte]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[earned][eq]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[earned][lt]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[earned][lte]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[earned][gt]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[earned][gte]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[burned][eq]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[burned][lt]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[burned][lte]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[burned][gt]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[burned][gte]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"status","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"checkout_date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"c5fa9695-91c0-4d10-b16c-aaa9897e1ead","name":"Error - Request validation failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/transactions?offset=0&limit=20&filter[status][eq]=accepted&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=draft&filter[status][gte]=draft&filter[checkout_date][eq]=2025-11-13&filter[checkout_date][lt]=2025-12-01&filter[checkout_date][lte]=2025-12-01&filter[checkout_date][gt]=2025-11-01&filter[checkout_date][gte]=2025-11-01&filter[auto_accept][eq]=2025-12-13&filter[auto_accept][lt]=2026-01-01&filter[auto_accept][lte]=2026-01-01&filter[auto_accept][gt]=2025-12-01&filter[auto_accept][gte]=2025-12-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points_rewarded][eq]=100&filter[points_rewarded][lt]=100&filter[points_rewarded][lte]=100&filter[points_rewarded][gt]=0&filter[points_rewarded][gte]=0&filter[earned][eq]=100&filter[earned][lt]=100&filter[earned][lte]=100&filter[earned][gt]=0&filter[earned][gte]=0&filter[burned][eq]=20&filter[burned][lt]=20&filter[burned][lte]=20&filter[burned][gt]=0&filter[burned][gte]=0&sort[0][field]=status&sort[0][direction]=asc&sort[1][field]=checkout_date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","transactions"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"accepted","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[checkout_date][eq]","value":"2025-11-13","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[checkout_date][lt]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[checkout_date][lte]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[checkout_date][gt]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[checkout_date][gte]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[auto_accept][eq]","value":"2025-12-13","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Equals."},{"key":"filter[auto_accept][lt]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than."},{"key":"filter[auto_accept][lte]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than or equal to."},{"key":"filter[auto_accept][gt]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than."},{"key":"filter[auto_accept][gte]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points_rewarded][eq]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points_rewarded][lt]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points_rewarded][lte]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points_rewarded][gt]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points_rewarded][gte]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[earned][eq]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[earned][lt]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[earned][lte]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[earned][gt]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[earned][gte]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[burned][eq]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[burned][lt]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[burned][lte]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[burned][gt]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[burned][gte]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"status","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"checkout_date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"},{"id":"0aa5452c-234e-460b-9cc8-0acb46be54ef","name":"Error - Unexpected server error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://read-api.{{environment}}.antavo.com/v1/customers/:customer_id/transactions?offset=0&limit=20&filter[status][eq]=accepted&filter[status][lt]=pending&filter[status][lte]=pending&filter[status][gt]=draft&filter[status][gte]=draft&filter[checkout_date][eq]=2025-11-13&filter[checkout_date][lt]=2025-12-01&filter[checkout_date][lte]=2025-12-01&filter[checkout_date][gt]=2025-11-01&filter[checkout_date][gte]=2025-11-01&filter[auto_accept][eq]=2025-12-13&filter[auto_accept][lt]=2026-01-01&filter[auto_accept][lte]=2026-01-01&filter[auto_accept][gt]=2025-12-01&filter[auto_accept][gte]=2025-12-01&filter[account][eq]=family_account&filter[account][lt]=main&filter[account][lte]=main&filter[account][gt]=family_account&filter[account][gte]=family_account&filter[points_rewarded][eq]=100&filter[points_rewarded][lt]=100&filter[points_rewarded][lte]=100&filter[points_rewarded][gt]=0&filter[points_rewarded][gte]=0&filter[earned][eq]=100&filter[earned][lt]=100&filter[earned][lte]=100&filter[earned][gt]=0&filter[earned][gte]=0&filter[burned][eq]=20&filter[burned][lt]=20&filter[burned][lte]=20&filter[burned][gt]=0&filter[burned][gte]=0&sort[0][field]=status&sort[0][direction]=asc&sort[1][field]=checkout_date&sort[1][direction]=desc","protocol":"https","host":["read-api","{{environment}}","antavo","com"],"path":["v1","customers",":customer_id","transactions"],"query":[{"key":"offset","value":"0","description":"Offsets the starting position in the sorted result set. Used for pagination together with the `limit` query parameter.\n"},{"key":"limit","value":"20","description":"Sets the maximum number of items to return from the sorted result set. Used for pagination together with the `offset` query parameter.\n"},{"key":"filter[status][eq]","value":"accepted","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[status][lt]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[status][lte]","value":"pending","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[status][gt]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[status][gte]","value":"draft","description":"Filters transactions by their current processing status.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[checkout_date][eq]","value":"2025-11-13","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[checkout_date][lt]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[checkout_date][lte]","value":"2025-12-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[checkout_date][gt]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[checkout_date][gte]","value":"2025-11-01","description":"Filters transactions by the date and time when the checkout transaction was registered.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[auto_accept][eq]","value":"2025-12-13","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Equals."},{"key":"filter[auto_accept][lt]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than."},{"key":"filter[auto_accept][lte]","value":"2026-01-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Less than or equal to."},{"key":"filter[auto_accept][gt]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than."},{"key":"filter[auto_accept][gte]","value":"2025-12-01","description":"Filters transactions by the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n\nOperator: Greater than or equal to."},{"key":"filter[account][eq]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Equals."},{"key":"filter[account][lt]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than."},{"key":"filter[account][lte]","value":"main","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Less than or equal to."},{"key":"filter[account][gt]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than."},{"key":"filter[account][gte]","value":"family_account","description":"Filters transactions by the ID of the point account associated with the transaction.\n\nThe comparison operators compare values alphabetically.\n\nOperator: Greater than or equal to."},{"key":"filter[points_rewarded][eq]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[points_rewarded][lt]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[points_rewarded][lte]","value":"100","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[points_rewarded][gt]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[points_rewarded][gte]","value":"0","description":"Filters transactions by the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[earned][eq]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[earned][lt]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[earned][lte]","value":"100","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[earned][gt]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[earned][gte]","value":"0","description":"Filters transactions by the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"filter[burned][eq]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Equals."},{"key":"filter[burned][lt]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than."},{"key":"filter[burned][lte]","value":"20","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Less than or equal to."},{"key":"filter[burned][gt]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than."},{"key":"filter[burned][gte]","value":"0","description":"Filters transactions by the number of points deducted from the customer's balance as part of transaction processing.\n\nOnly whole numbers are accepted, decimal values return a `422` error.\n\nOperator: Greater than or equal to."},{"key":"sort[0][field]","value":"status","description":"Specifies the primary field used to sort the results.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[0][direction]","value":"asc","description":"Specifies the direction for the primary sort field. Use `asc` for ascending order or `desc` for descending order."},{"key":"sort[1][field]","value":"checkout_date","description":"Specifies the secondary field used to sort results with the same value in the primary sort field.\n\nSupported fields:\n- `status`: their current processing status.\n- `checkout_date`: the date and time when the checkout transaction was registered.\n- `auto_accept`: the date and time when they are scheduled to be automatically accepted. This value is calculated from the pending period configured in the Checkout accept module.\n- `account`: the ID of the point account associated with the transaction.\n- `points_rewarded`: the number of points assigned to the transaction. This value may be calculated from the workspace point calculation settings or provided explicitly in the registered checkout event.\n- `earned`: the number of points actually credited to the customer after transaction processing, based on the workspace configuration and applicable point calculation rules.\n- `burned`: the number of points deducted from the customer's balance as part of transaction processing."},{"key":"sort[1][direction]","value":"desc","description":"Specifies the direction for the secondary sort field. Use `asc` for ascending order or `desc` for descending order."}],"variable":[{"key":"customer_id","value":"55e5d4dc2cf1901e688b45d3","description":"Customer identifier. Using an external ID is not supported."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"code\": 2132,\n    \"resendable\": false\n  }\n}"}],"_postman_id":"8f78f3ca-eaf0-4e8d-b6f3-574ea8ac7d87"}],"id":"87500c5a-01d5-46a8-a9fb-9cbd21abf208","_postman_id":"87500c5a-01d5-46a8-a9fb-9cbd21abf208","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb","id":"84914987-3bca-4b27-8c67-7c8231fee1cb","name":"Loyalty Read API","type":"folder"}}}],"id":"84914987-3bca-4b27-8c67-7c8231fee1cb","description":"<p>The Loyalty Read API is a <strong>high-performance</strong>, <strong>read-only API</strong> that provide<strong>s fast access to loyalty data</strong> stored in the Loyalty Engine.</p>\n<p>The API is i<strong>ntended for use cases where loyalty data needs to be retrieved frequently</strong>, such as customer profile synchronization, reporting, data exports, customer-facing applications, and integrations with external platforms.</p>\n<h2 id=\"retrieving-data\">Retrieving data</h2>\n<p>The Loyalty Read API is optimized specifically for retrieving data.</p>\n<p>Compared with APIs that also process writes and business logic, a dedicated read-only API provides several benefits:</p>\n<ul>\n<li><p>Faster access to loyalty data</p>\n</li>\n<li><p>Better performance for high-volume read operations</p>\n</li>\n<li><p>More predictable response times</p>\n</li>\n<li><p>Safer integration patterns, as requests cannot modify loyalty data</p>\n</li>\n<li><p>Support for filtering, sorting, and paginating large result sets</p>\n</li>\n</ul>\n<blockquote>\n<p>🚧<br />Important<br />The Loyalty Read API is read-only, it cannot be used to create or update customers, register events, modify transactions, trigger workflows, or perform other operations that change loyalty data. Use the relevant write APIs for those operations. </p>\n</blockquote>\n<h2 id=\"available-endpoints\">Available endpoints</h2>\n<ul>\n<li><p>Use the <code>GET</code> <code>/v1/customers</code> or <code>GET /v1/customers/{customer_id}</code> endpoint.</p>\n</li>\n<li><p>Use the <code>GET</code> <code>/v1/customers/{customer_id}/coupons</code> endpoint.</p>\n</li>\n<li><p>Use the <code>GET</code> <code>/v1/customers/{customer_id}/events</code> endpoint.</p>\n</li>\n<li><p>Use the <code>GET</code> <code>/v1/customers/{customer_id}/transactions</code> endpoint.</p>\n</li>\n</ul>\n<h2 id=\"data-returned\">Data returned</h2>\n<p>The fields included in a <strong>response may vary</strong> depending on the workspace configuration, the enabled modules, the data registered for the customer, and the custom attributes configured for the relevant entities or events.</p>\n<p>Some properties are returned only when they contain applicable data. Custom customer attributes and event properties may also appear in the response, and their names and value types depend on the workspace configuration.</p>\n<h3 id=\"api-principles\">API Principles</h3>\n<p>The Loyalty Read API follows RESTful principles, utilizing standard HTTP methods to interact with resources. All responses are formatted in JSON, ensuring easy integration into user interfaces.</p>\n<h3 id=\"security-and-compliance\">Security and Compliance</h3>\n<p>All server-to-server calls must comply with the <a href=\"https://developers.antavo.com/docs/api-security\">API security protocol</a> and <a href=\"https://developers.antavo.com/docs/api-signing\">signing procedure</a> and adhere to the defined <a href=\"https://developers.antavo.com/docs/antavo-apis#rate-limiting\">API rate limits</a>.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"da466b74-9787-4ddc-8cb5-661702b0c023","type":"text/javascript","packages":{},"requests":{},"exec":["const keyId  = pm.environment.get('escherKeyId')  ?? pm.collectionVariables.get('escherKeyId')\r","            ?? pm.environment.get('apiKey')         ?? pm.collectionVariables.get('apiKey');\r","const secret = pm.environment.get('escherSecret') ?? pm.collectionVariables.get('escherSecret')\r","            ?? pm.environment.get('apiSecret')      ?? pm.collectionVariables.get('apiSecret');\r","const region = pm.environment.get('environment')\r","            ?? pm.collectionVariables.get('environment');\r","const service          = pm.environment.get('escherService')          ?? pm.collectionVariables.get('escherService')          ?? 'api';\r","const credentialSuffix = pm.environment.get('escherCredentialSuffix') ?? pm.collectionVariables.get('escherCredentialSuffix') ?? 'antavo_request';\r","\r","if (!keyId)  throw new Error('escherKeyId (or legacy: apiKey) is not set in environment or collection variables');\r","if (!secret) throw new Error('escherSecret (or legacy: apiSecret) is not set in environment or collection variables');\r","if (!region) {throw new Error('environment is not set in environment or collection variables');\r","}\r","\r","const method = pm.request.method.toUpperCase();\r","const url    = pm.request.url;\r","\r","// --- Date ---\r","const now      = new Date();\r","const longDate  = now.toISOString().replace(/[-:]/g, '').replace(/\\.\\d{3}Z$/, 'Z'); // YYYYMMDDTHHMMSSZ\r","const shortDate = longDate.slice(0, 8);                                               // YYYYMMDD\r","\r","// --- Host resolution ---\r","let host = null;\r","\r","// Method 1: resolve host from baseUrl env variable\r","const baseUrl = pm.environment.get('baseUrl') || pm.variables.get('baseUrl');\r","if (baseUrl) {\r","    try {\r","        const normalized = (baseUrl.startsWith('http://') || baseUrl.startsWith('https://')) ? baseUrl : 'http://' + baseUrl;\r","        host = new URL(normalized).hostname;\r","    } catch (e) {\r","        host = baseUrl;\r","    }\r","}\r","\r","// Method 2: resolve host from URL object\r","if (!host || host.includes('{{')) {\r","    const urlHost = url.getHost();\r","    if (urlHost && !urlHost.includes('{{') && urlHost.trim() !== '') {\r","        host = urlHost;\r","    }\r","}\r","\r","// Method 3: resolve host by expanding full URL string\r","if (!host || host.includes('{{')) {\r","    try {\r","        let resolvedUrl = url.toString();\r","        const envVars = pm.environment.toObject();\r","        for (const [k, v] of Object.entries(envVars)) {\r","            resolvedUrl = resolvedUrl.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","        }\r","        if (pm.collectionVariables) {\r","            const collVars = pm.collectionVariables.toObject();\r","            for (const [k, v] of Object.entries(collVars)) {\r","                resolvedUrl = resolvedUrl.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","            }\r","        }\r","        if (!resolvedUrl.includes('{{')) {\r","            host = new URL(resolvedUrl).hostname;\r","        }\r","    } catch (e) {\r","        console.warn('Could not parse URL to extract host:', e.message);\r","    }\r","}\r","\r","if (!host || host.includes('{{') || host.trim() === '') {\r","    console.error('baseUrl value:', pm.environment.get('baseUrl') || pm.variables.get('baseUrl') || 'NOT SET');\r","    throw new Error('Host could not be resolved. Make sure baseUrl is set in environment variables.');\r","}\r","\r","// --- Path ---\r","let path = url.getPath();\r","if (Array.isArray(path)) {\r","    path = path.join('/');\r","    if (!path.startsWith('/')) { path = '/' + path; }\r","} else if (path && typeof path === 'string') {\r","    if (!path.startsWith('/')) { path = '/' + path; }\r","} else {\r","    path = '/';\r","}\r","\r","// Resolve {{variable}} placeholders in path\r","if (path.includes('{{')) {\r","    const envVars = pm.environment.toObject();\r","    for (const [k, v] of Object.entries(envVars)) {\r","        path = path.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","    }\r","    if (pm.collectionVariables) {\r","        const collVars = pm.collectionVariables.toObject();\r","        for (const [k, v] of Object.entries(collVars)) {\r","            path = path.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","        }\r","    }\r","}\r","\r","// --- Query string: decode → re-encode (rawurlencode) → sort alphabetically (Escher requirement) ---\r","let query = url.getQueryString() || '';\r","if (query) {\r","    query = query.split('&').map(pair => {\r","        const [rawKey, ...rest] = pair.split('=');\r","        const k = encodeURIComponent(decodeURIComponent(rawKey.replace(/\\+/g, ' ')));\r","        const v = encodeURIComponent(decodeURIComponent(rest.join('=').replace(/\\+/g, ' ')));\r","        return k + '=' + v;\r","    }).sort().join('&');\r","}\r","\r","// --- Body ---\r","let body = '';\r","if (['POST', 'PUT', 'PATCH'].includes(method) && pm.request.body) {\r","    body = pm.request.body.raw || '';\r","}\r","\r","// --- Escher signing (ANTAVO-HMAC-SHA256, similar to AWS Signature V4) ---\r","const credentialScope = `${region.toLowerCase()}/${service}/${credentialSuffix}`;\r","const credential      = `${keyId}/${shortDate}/${credentialScope}`;\r","\r","// Canonical headers: sorted alphabetically by header name, lowercase\r","const signedHeaders    = 'date;host';\r","const canonicalHeaders = `date:${longDate}\\nhost:${host}\\n`;\r","\r","// Canonical request\r","const bodyHash = CryptoJS.SHA256(body).toString(CryptoJS.enc.Hex);\r","const canonicalRequest = [\r","    method,\r","    path,\r","    query,\r","    canonicalHeaders,\r","    signedHeaders,\r","    bodyHash\r","].join('\\n');\r","\r","console.log('Escher canonical request:\\n', canonicalRequest);\r","\r","// String to sign\r","const stringToSign = [\r","    'ANTAVO-HMAC-SHA256',\r","    longDate,\r","    `${shortDate}/${credentialScope}`,\r","    CryptoJS.SHA256(canonicalRequest).toString(CryptoJS.enc.Hex)\r","].join('\\n');\r","\r","// Signing key: HMAC(HMAC(HMAC(HMAC(\"ANTAVO\" + secret, shortDate), region), service), credentialSuffix)\r","function hmac(key, data) {\r","    return CryptoJS.HmacSHA256(data, key);\r","}\r","\r","const signingKey = hmac(\r","    hmac(\r","        hmac(\r","            hmac(CryptoJS.enc.Utf8.parse('ANTAVO' + secret), shortDate),\r","            region.toLowerCase()\r","        ),\r","        service\r","    ),\r","    credentialSuffix\r",");\r","\r","const signature  = hmac(signingKey, stringToSign).toString(CryptoJS.enc.Hex);\r","const authHeader = `ANTAVO-HMAC-SHA256 Credential=${credential},SignedHeaders=${signedHeaders},Signature=${signature}`;\r","\r","// --- Set request headers ---\r","pm.request.headers.remove('Date');\r","pm.request.headers.remove('Authorization');\r","\r","pm.request.headers.add({ key: 'Date',          value: longDate });\r","pm.request.headers.add({ key: 'Authorization', value: authHeader });"]}},{"listen":"test","script":{"id":"4546d97f-f447-4aa6-9228-77c06d1521bb","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"_postman_id":"84914987-3bca-4b27-8c67-7c8231fee1cb"}],"event":[{"listen":"prerequest","script":{"id":"b8ba9764-0f0c-4341-9536-c05d72884b87","type":"text/javascript","requests":{},"exec":["const keyId =\r","    pm.environment.get('escherKeyId')\r","    ?? pm.collectionVariables.get('escherKeyId')\r","    ?? pm.environment.get('apiKey')\r","    ?? pm.collectionVariables.get('apiKey');\r","\r","const secret =\r","    pm.environment.get('escherSecret')\r","    ?? pm.collectionVariables.get('escherSecret')\r","    ?? pm.environment.get('apiSecret')\r","    ?? pm.collectionVariables.get('apiSecret');\r","\r","const region =\r","    pm.environment.get('environment')\r","    ?? pm.collectionVariables.get('environment');\r","\r","const service =\r","    pm.environment.get('escherService')\r","    ?? pm.collectionVariables.get('escherService')\r","    ?? 'api';\r","\r","const credentialSuffix =\r","    pm.environment.get('escherCredentialSuffix')\r","    ?? pm.collectionVariables.get('escherCredentialSuffix')\r","    ?? 'antavo_request';\r","\r","if (!keyId) {\r","    throw new Error(\r","        'escherKeyId (or legacy: apiKey) is not set in environment or collection variables'\r","    );\r","}\r","\r","if (!secret) {\r","    throw new Error(\r","        'escherSecret (or legacy: apiSecret) is not set in environment or collection variables'\r","    );\r","}\r","\r","if (!region) {\r","    throw new Error(\r","        'environment is not set in environment or collection variables'\r","    );\r","}\r","\r","const method = pm.request.method.toUpperCase();\r","const url = pm.request.url;\r","\r","// --- Date ---\r","const now      = new Date();\r","const longDate  = now.toISOString().replace(/[-:]/g, '').replace(/\\.\\d{3}Z$/, 'Z'); // YYYYMMDDTHHMMSSZ\r","const shortDate = longDate.slice(0, 8);                                               // YYYYMMDD\r","\r","// --- Host resolution ---\r","let host = null;\r","\r","// Method 1: resolve host from baseUrl env variable\r","const baseUrl = pm.environment.get('baseUrl') || pm.variables.get('baseUrl');\r","if (baseUrl) {\r","    try {\r","        const normalized = (baseUrl.startsWith('http://') || baseUrl.startsWith('https://')) ? baseUrl : 'http://' + baseUrl;\r","        host = new URL(normalized).hostname;\r","    } catch (e) {\r","        host = baseUrl;\r","    }\r","}\r","\r","// Method 2: resolve host from URL object\r","if (!host || host.includes('{{')) {\r","    const urlHost = url.getHost();\r","    if (urlHost && !urlHost.includes('{{') && urlHost.trim() !== '') {\r","        host = urlHost;\r","    }\r","}\r","\r","// Method 3: resolve host by expanding full URL string\r","if (!host || host.includes('{{')) {\r","    try {\r","        let resolvedUrl = url.toString();\r","        const envVars = pm.environment.toObject();\r","        for (const [k, v] of Object.entries(envVars)) {\r","            resolvedUrl = resolvedUrl.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","        }\r","        if (pm.collectionVariables) {\r","            const collVars = pm.collectionVariables.toObject();\r","            for (const [k, v] of Object.entries(collVars)) {\r","                resolvedUrl = resolvedUrl.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","            }\r","        }\r","        if (!resolvedUrl.includes('{{')) {\r","            host = new URL(resolvedUrl).hostname;\r","        }\r","    } catch (e) {\r","        console.warn('Could not parse URL to extract host:', e.message);\r","    }\r","}\r","\r","if (!host || host.includes('{{') || host.trim() === '') {\r","    console.error('baseUrl value:', pm.environment.get('baseUrl') || pm.variables.get('baseUrl') || 'NOT SET');\r","    throw new Error('Host could not be resolved. Make sure baseUrl is set in environment variables.');\r","}\r","\r","// --- Path ---\r","let path = url.getPath();\r","if (Array.isArray(path)) {\r","    path = path.join('/');\r","    if (!path.startsWith('/')) { path = '/' + path; }\r","} else if (path && typeof path === 'string') {\r","    if (!path.startsWith('/')) { path = '/' + path; }\r","} else {\r","    path = '/';\r","}\r","\r","// Resolve {{variable}} placeholders in path\r","if (path.includes('{{')) {\r","    const envVars = pm.environment.toObject();\r","    for (const [k, v] of Object.entries(envVars)) {\r","        path = path.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","    }\r","    if (pm.collectionVariables) {\r","        const collVars = pm.collectionVariables.toObject();\r","        for (const [k, v] of Object.entries(collVars)) {\r","            path = path.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), v);\r","        }\r","    }\r","}\r","\r","// --- Query string ---\r","let query = url.getQueryString() || '';\r","\r","// --- Body ---\r","let body = '';\r","if (['POST', 'PUT', 'PATCH'].includes(method) && pm.request.body) {\r","    body = pm.request.body.raw || '';\r","}\r","\r","// --- Escher signing (ANTAVO-HMAC-SHA256, similar to AWS Signature V4) ---\r","const credentialScope = `${region.toLowerCase()}/${service}/${credentialSuffix}`;\r","const credential      = `${keyId}/${shortDate}/${credentialScope}`;\r","\r","// Canonical headers: sorted alphabetically by header name, lowercase\r","const signedHeaders    = 'date;host';\r","const canonicalHeaders = `date:${longDate}\\nhost:${host}\\n`;\r","\r","// Canonical request\r","const bodyHash = CryptoJS.SHA256(body).toString(CryptoJS.enc.Hex);\r","const canonicalRequest = [\r","    method,\r","    path,\r","    query,\r","    canonicalHeaders,\r","    signedHeaders,\r","    bodyHash\r","].join('\\n');\r","\r","console.log('Escher canonical request:\\n', canonicalRequest);\r","\r","// String to sign\r","const stringToSign = [\r","    'ANTAVO-HMAC-SHA256',\r","    longDate,\r","    `${shortDate}/${credentialScope}`,\r","    CryptoJS.SHA256(canonicalRequest).toString(CryptoJS.enc.Hex)\r","].join('\\n');\r","\r","// Signing key: HMAC(HMAC(HMAC(HMAC(\"ANTAVO\" + secret, shortDate), region), service), credentialSuffix)\r","function hmac(key, data) {\r","    return CryptoJS.HmacSHA256(data, key);\r","}\r","\r","const signingKey = hmac(\r","    hmac(\r","        hmac(\r","            hmac(CryptoJS.enc.Utf8.parse('ANTAVO' + secret), shortDate),\r","            region.toLowerCase()\r","        ),\r","        service\r","    ),\r","    credentialSuffix\r",");\r","\r","const signature  = hmac(signingKey, stringToSign).toString(CryptoJS.enc.Hex);\r","const authHeader = `ANTAVO-HMAC-SHA256 Credential=${credential},SignedHeaders=${signedHeaders},Signature=${signature}`;\r","\r","// --- Set request headers ---\r","pm.request.headers.remove('Date');\r","pm.request.headers.remove('Authorization');\r","\r","pm.request.headers.add({ key: 'Date',          value: longDate });\r","pm.request.headers.add({ key: 'Authorization', value: authHeader });"]}},{"listen":"test","script":{"id":"a49f4a51-7ffd-433e-a5b0-3b7de9dc2cfa","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"environment","value":"","disabled":true},{"key":"apiKey","value":"","disabled":true},{"key":"apiSecret","value":"","disabled":true},{"key":"signature","value":"","disabled":true},{"key":"date","value":"","disabled":true}]}