{"info":{"_postman_id":"0c29e6f0-9482-4b75-b24b-7f7605258df8","name":"Partners APIs","description":"<html><head></head><body><p>PushOwl APIs for partners to send push notifications via us.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3351960","collectionId":"0c29e6f0-9482-4b75-b24b-7f7605258df8","publishedId":"TVzVivm2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"1B2427","highlight":"E23067"},"publishDate":"2024-09-14T06:24:40.000Z"},"item":[{"name":"Partner API v3","item":[{"name":"Contact Management","item":[{"name":"list","item":[{"name":"get-list","id":"55b020b6-cb23-4107-ab8a-a2965da785f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/{{list_id}}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>path params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>list_id</td>\n<td>id of the list</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","lists","{{list_id}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"102720ac-265a-49b1-8bfd-57a451ae0897","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 15 Sep 2024 17:05:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"527"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": 4,\n        \"name\": \"pushowl-synced-contacts\",\n        \"startDate\": \"2024-03-15T19:05:25.763+01:00\",\n        \"endDate\": \"2024-09-15T19:05:25.763+02:00\",\n        \"totalBlacklisted\": 66,\n        \"totalSubscribers\": 31,\n        \"uniqueSubscribers\": 97,\n        \"folderId\": 3,\n        \"createdAt\": \"2024-03-12T07:30:47.000+01:00\",\n        \"campaignStats\": [\n            {\n                \"campaignId\": 12,\n                \"stats\": {\n                    \"uniqueClicks\": 0,\n                    \"clickers\": 0,\n                    \"complaints\": 0,\n                    \"delivered\": 15,\n                    \"sent\": 32,\n                    \"softBounces\": 4,\n                    \"hardBounces\": 13,\n                    \"uniqueViews\": 4,\n                    \"trackableViews\": 4,\n                    \"unsubscriptions\": 0,\n                    \"viewed\": 5,\n                    \"deferred\": 2\n                }\n            }\n        ],\n        \"dynamicList\": false\n    }\n}"},{"id":"129a6bd9-bae9-457e-aef0-6cc49502e875","name":"bad request","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 15 Sep 2024 17:06:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"124"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"List ID does not exist\"\n        }\n    ]\n}"}],"_postman_id":"55b020b6-cb23-4107-ab8a-a2965da785f4"},{"name":"create-list","id":"a80064d0-01b8-4840-a71f-b13c2641a323","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"list_name\":\"new_test_list_1\",\n  \"folder_id\":3\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>list_name</td>\n<td>Name of the list</td>\n<td>yes</td>\n</tr>\n<tr>\n<td>folder_id</td>\n<td>id of the parent folder in which this is to be created.</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","lists",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"5023e8d2-5b68-4928-bb26-8ad7481aedf1","name":"bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"list_name\":\"new_test_list_1\",\n  \"folder_id\":2\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 15 Sep 2024 16:55:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"Folder ID does not exist\"\n        }\n    ]\n}"},{"id":"1aec9b08-e080-4536-8964-eb05d9339738","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"list_name\":\"new_test_list_1\",\n  \"folder_id\":3\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 15 Sep 2024 16:56:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {},\n    \"errors\": null\n}"}],"_postman_id":"a80064d0-01b8-4840-a71f-b13c2641a323"},{"name":"get-all-list","id":"15695935-478e-4768-911c-661774db736d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>query params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit (int64  <br />0 to 50  <br />Defaults to 10)</td>\n<td>Number of documents per page</td>\n<td>no</td>\n</tr>\n<tr>\n<td>offset (int64  <br />Defaults to 0)</td>\n<td>Index of the first document of the page</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","lists",""],"host":["{{endpoint}}"],"query":[{"disabled":true,"key":"offset","value":""}],"variable":[]}},"response":[{"id":"cf61067a-118c-4105-b130-ddc9afba9f57","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Sep 2024 07:21:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"963"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"lists\": [\n            {\n                \"id\": 12,\n                \"name\": \"test-meta\",\n                \"folderId\": 7,\n                \"uniqueSubscribers\": 0,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            },\n            {\n                \"id\": 11,\n                \"name\": \"new_test_list_1\",\n                \"folderId\": 3,\n                \"uniqueSubscribers\": 0,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            },\n            {\n                \"id\": 10,\n                \"name\": \"abandoned_checkouts_2024-06-16_to_2024-07-16\",\n                \"folderId\": 3,\n                \"uniqueSubscribers\": 3,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            },\n            {\n                \"id\": 9,\n                \"name\": \"lots\",\n                \"folderId\": 7,\n                \"uniqueSubscribers\": 0,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            },\n            {\n                \"id\": 8,\n                \"name\": \"mfe-list\",\n                \"folderId\": 7,\n                \"uniqueSubscribers\": 1,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            },\n            {\n                \"id\": 6,\n                \"name\": \"identified_contacts\",\n                \"folderId\": 5,\n                \"uniqueSubscribers\": 231,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            },\n            {\n                \"id\": 4,\n                \"name\": \"pushowl-synced-contacts\",\n                \"folderId\": 3,\n                \"uniqueSubscribers\": 100,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Your first list\",\n                \"folderId\": 1,\n                \"uniqueSubscribers\": 100,\n                \"totalBlacklisted\": 0,\n                \"totalSubscribers\": 0\n            }\n        ],\n        \"count\": 8\n    }\n}"},{"id":"621747d3-1ff1-45ee-a831-d8068a14996a","name":"bad request","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":{"raw":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/?limit=60","host":["{{endpoint}}"],"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","lists",""],"query":[{"key":"limit","value":"60","type":"text"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Sep 2024 07:22:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"125"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"Limit exceeds max value\"\n        }\n    ]\n}"}],"_postman_id":"15695935-478e-4768-911c-661774db736d"},{"name":"update-list","id":"c94ac60a-5da1-49ca-9e9f-f4cf98cc7ba2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/subscriber/report/","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","subscriber","report",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"52038af1-c27b-4a78-9dc9-4d46e323da8f","name":"bad request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"list_name\":\"test_meta_2\",\n    \"folder_id\":\"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/12/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Sep 2024 08:00:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"184"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"non_field_errors: Only one of 'list_name' or 'folder_id' can be updated at a time.\"\n        }\n    ]\n}"},{"id":"e3f27b19-1e5f-44ef-9228-732577d9eae1","name":"success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"list_name\":\"test_meta_2\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/lists/12/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Sep 2024 08:01:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"30"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {}\n}"}],"_postman_id":"c94ac60a-5da1-49ca-9e9f-f4cf98cc7ba2"}],"id":"ed73cde7-c0ca-40d7-a2c9-fd6f05b29b9f","_postman_id":"ed73cde7-c0ca-40d7-a2c9-fd6f05b29b9f","description":""},{"name":"contact","item":[{"name":"get-contact","id":"59b9a162-cfce-4bdd-b376-c1ec368a4642","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contact/{{identifier}}","description":"<p><strong>Path Params</strong></p>\n<p><em><strong>identifier</strong></em> (required)</p>\n<p>Email (urlencoded) OR ID of the contact OR its SMS attribute value</p>\n","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contact","{{identifier}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"5ae61654-1e8b-4abd-8e9b-4d04eb24cc20","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contact/partner@pushowl.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 01 Sep 2024 12:37:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"251"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"email\": \"partner@pushowl.com\",\n        \"id\": 324,\n        \"emailBlacklisted\": false,\n        \"smsBlacklisted\": false,\n        \"createdAt\": \"2024-09-01T14:37:10.275+02:00\",\n        \"modifiedAt\": \"2024-09-01T14:37:10.275+02:00\",\n        \"attributes\": {},\n        \"listIds\": [],\n        \"statistics\": {}\n    }\n}"},{"id":"dfd41fef-bba8-42d3-adcf-da533de48b56","name":"bad request","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contact/test@pushowl"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 01 Sep 2024 12:38:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"124"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"Contact does not exist\"\n        }\n    ]\n}"}],"_postman_id":"59b9a162-cfce-4bdd-b376-c1ec368a4642"},{"name":"create-contact","id":"dde24111-11d1-4304-a1e5-b1fa0f9ffa54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contact/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email (string)</td>\n<td>Email address of the user. Mobile Number in SMS field should be passed with proper country code. For example:  <br />{\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}</td>\n<td>Mandatory if \"SMS\" field is not passed in \"attributes\" parameter</td>\n</tr>\n<tr>\n<td>extId (string)</td>\n<td>Pass your own Id to create a contact.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>attributes (object)</td>\n<td>Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. Values that don't match the attribute type (e.g. text or string in a date attribute) will be ignored. These attributes must be present in your Brevo account.. For eg:  <br />{\"FNAME\":\"Elly\", \"LNAME\":\"Roger\", \"COUNTRIES\":[\"India\",\"China\"]}</td>\n<td>no</td>\n</tr>\n<tr>\n<td>emailBlacklisted (boolean)</td>\n<td>Set this field to blacklist the contact for emails (emailBlacklisted = true)</td>\n<td>no</td>\n</tr>\n<tr>\n<td>smsBlacklisted (boolean)</td>\n<td>Set this field to blacklist the contact for SMS (smsBlacklisted = true)</td>\n<td>no</td>\n</tr>\n<tr>\n<td>listIds  <br />(array of int64s)</td>\n<td>Ids of the lists to add the contact to</td>\n<td>no</td>\n</tr>\n<tr>\n<td>updateEnabled  <br />(boolean)</td>\n<td>Defaults to false  <br />Facilitate to update the existing contact in the same request (updateEnabled = true)</td>\n<td>no</td>\n</tr>\n<tr>\n<td>smtpBlacklistSender  <br />(array of strings)</td>\n<td>transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contact",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"a59445de-f203-4d44-a196-760c7e69762f","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"updateEnabled\": false,\n  \"email\": \"example.test@pushowl.com\",\n  \"ext_id\": \"test_123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contact/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 01 Sep 2024 12:06:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"8cfdd159-e036-40bc-a970-a9d9b6445014","name":"bad-request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ext_id\": \"test_123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contact/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 01 Sep 2024 12:08:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"171"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"non_field_errors: Either 'email' or 'SMS' attribute must be provided.\"\n        }\n    ]\n}"}],"_postman_id":"dde24111-11d1-4304-a1e5-b1fa0f9ffa54"},{"name":"get-all-contacts","id":"e85aba6a-5dd1-44d3-9dff-fa156f718f7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>query params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit (int64 Default to 50)</td>\n<td>Number of documents per page</td>\n<td>no</td>\n</tr>\n<tr>\n<td>offset (int64 Default to 0)</td>\n<td>Index of the first document of the page</td>\n<td>no</td>\n</tr>\n<tr>\n<td>modifiedSince (string)</td>\n<td>Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>createdSince (string)</td>\n<td>Filter (urlencoded) the contacts created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>sort (string Default to desc)</td>\n<td>Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed</td>\n<td>no</td>\n</tr>\n<tr>\n<td>segmentId (int64)</td>\n<td>Id of the segment. Either listIds or segmentId can be passed.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>listIds (array of int64s)</td>\n<td>Ids of the list. Either listIds or segmentId can be passed. example for multiple ids [6,5]</td>\n<td>no</td>\n</tr>\n<tr>\n<td>filter (string)</td>\n<td>Filter the contacts on the basis of attributes. Allowed operator: equals. (e.g. filter=equals(FIRSTNAME,\"Antoine\"), filter=equals(B1, true), filter=equals(DOB, \"1989-11-23\"))</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"b33ed453-564b-4018-a012-a693fbc22589","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":{"raw":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/?limit=50&offset=0&modifiedSince=2024-09-07T23:45:16.701+02:00&createdSince=2024-09-07T23:45:16.701+02:00&sort=asc&listIds=6","host":["{{endpoint}}"],"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts",""],"query":[{"key":"limit","value":"50","type":"text"},{"key":"offset","value":"0","type":"text"},{"key":"modifiedSince","value":"2024-09-07T23:45:16.701+02:00","type":"text"},{"key":"createdSince","value":"2024-09-07T23:45:16.701+02:00","type":"text"},{"key":"sort","value":"asc","type":"text"},{"key":"listIds","value":"6","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 08 Sep 2024 10:42:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"290"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"contacts\": [\n            {\n                \"email\": \"ashleighkernutt@gmail.com\",\n                \"id\": 345,\n                \"emailBlacklisted\": false,\n                \"smsBlacklisted\": false,\n                \"createdAt\": \"2024-09-08T01:49:31.390+02:00\",\n                \"modifiedAt\": \"2024-09-08T01:49:33.791+02:00\",\n                \"listIds\": [\n                    6\n                ],\n                \"listUnsubscribed\": null,\n                \"attributes\": {}\n            }\n        ],\n        \"count\": 1\n    }\n}"},{"id":"f9cec650-0e87-4c98-8104-316b4034399a","name":"bad request","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":{"raw":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/?limit=50&offset=0&modifiedSince=2024-09-07T23:45:16.701+02:00&createdSince=2024-09-07T23:45:16.701+02:00&sort=ase&listIds=6","host":["{{endpoint}}"],"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts",""],"query":[{"key":"limit","value":"50","type":"text"},{"key":"offset","value":"0","type":"text"},{"key":"modifiedSince","value":"2024-09-07T23:45:16.701+02:00","type":"text"},{"key":"createdSince","value":"2024-09-07T23:45:16.701+02:00","type":"text"},{"key":"sort","value":"ase","type":"text"},{"key":"listIds","value":"6","type":"text"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 08 Sep 2024 10:42:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"sort: \\\"ase\\\" is not a valid choice.\"\n        }\n    ]\n}"}],"_postman_id":"e85aba6a-5dd1-44d3-9dff-fa156f718f7d"}],"id":"d0efbe7b-9145-462d-8353-f4d3cc3b009e","_postman_id":"d0efbe7b-9145-462d-8353-f4d3cc3b009e","description":""},{"name":"attribute","item":[{"name":"get-all-attributes","id":"47b5c8c6-456d-4167-accf-f3d6fcd03ea3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/attributes/","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","attributes",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"c4025eba-f475-45db-98b4-cd24c7756044","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/attributes/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Sep 2024 07:26:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2377"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"attributes\": [\n            {\n                \"name\": \"BLACKLIST\",\n                \"category\": \"global\",\n                \"type\": \"float\",\n                \"calculatedValue\": \"COUNT[BLACKLISTED,BLACKLISTED,<,NOW()]\"\n            },\n            {\n                \"name\": \"READERS\",\n                \"category\": \"global\",\n                \"type\": \"float\",\n                \"calculatedValue\": \"COUNT[READERS,READERS,<,NOW()]\"\n            },\n            {\n                \"name\": \"CLICKERS\",\n                \"category\": \"global\",\n                \"type\": \"float\",\n                \"calculatedValue\": \"COUNT[CLICKERS,CLICKERS,<,NOW()]\"\n            },\n            {\n                \"name\": \"LASTNAME\",\n                \"category\": \"normal\",\n                \"type\": \"text\",\n                \"field_key\": \"lastname\"\n            },\n            {\n                \"name\": \"FIRSTNAME\",\n                \"category\": \"normal\",\n                \"type\": \"text\",\n                \"field_key\": \"firstname\"\n            },\n            {\n                \"name\": \"SMS\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"CUSTOMER_ID\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"NOTE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"LOCALE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"COUNTRY\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"TAX_EXEMPT\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"MARKET_ID\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"SHOPIFY_GID\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"VERIFIED_EMAIL\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"MARKET_HANDLE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"TAGS\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"PROVINCE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"COUNTRY_CODE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"ORDER_COUNT\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"PROVINCE_CODE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"CURRENCY\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"CITY\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"STATE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"ZIP\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"TOTAL_SPENT\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"DOUBLE_OPT-IN\",\n                \"category\": \"category\",\n                \"enumeration\": [\n                    {\n                        \"value\": 1,\n                        \"label\": \"Yes\"\n                    },\n                    {\n                        \"value\": 2,\n                        \"label\": \"No\"\n                    }\n                ]\n            },\n            {\n                \"name\": \"OPT_IN\",\n                \"category\": \"normal\",\n                \"type\": \"boolean\"\n            },\n            {\n                \"name\": \"BIRTHDAY\",\n                \"category\": \"normal\",\n                \"type\": \"date\"\n            },\n            {\n                \"name\": \"EXT_ID\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"CONTACT_TIMEZONE\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"TEST1\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"COLOR\",\n                \"category\": \"category\",\n                \"enumeration\": [\n                    {\n                        \"value\": 1,\n                        \"label\": \"BLUE\"\n                    },\n                    {\n                        \"value\": 2,\n                        \"label\": \"GREEN\"\n                    },\n                    {\n                        \"value\": 3,\n                        \"label\": \"RED\"\n                    }\n                ]\n            },\n            {\n                \"name\": \"WHATSAPP\",\n                \"category\": \"normal\",\n                \"type\": \"text\"\n            },\n            {\n                \"name\": \"PHONE\",\n                \"category\": \"normal\",\n                \"type\": \"float\"\n            },\n            {\n                \"name\": \"HOW_MANY_FLOWERS_DO_YOU_BUY\",\n                \"category\": \"normal\",\n                \"type\": \"multiple-choice\",\n                \"multiCategoryOptions\": [\n                    \"1-3\",\n                    \"3-5\",\n                    \"6-8\",\n                    \"8+\"\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"47b5c8c6-456d-4167-accf-f3d6fcd03ea3"},{"name":"create-attribute","id":"39a23ec5-4c56-481c-aaec-12624178ccf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"sender\":{\n      \"email\":\"brevo@brevo.com\",\n      \"name\":\"Brevo\"\n   },\n   \"subject\":\"This is my default subject line\",\n   \"htmlContent\":\"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>\",\n   \"messageVersions\":[\n     //Definition for Message Version 1 \n     {\n         \"to\":[\n            {\n               \"email\":\"bob@example.com\",\n               \"name\":\"Bob Anderson\"\n            },\n            {\n               \"email\":\"anne@example.com\",\n               \"name\":\"Anne Smith\"\n            }\n         ],\n         \"htmlContent\":\"<!DOCTYPE html><html><body><h1>Modified header!</h1><p>This is still a paragraph</p></body></html>\",\n         \"subject\":\"We are happy to be working with you\"\n      },\n     \n     // Definition for Message Version 2\n      {\n         \"to\":[\n            {\n               \"email\":\"jim@example.com\",\n               \"name\":\"Jim Stevens\"\n            },\n            {\n               \"email\":\"mark@example.com\",\n               \"name\":\"Mark Payton\"\n            },\n            {\n               \"email\":\"andrea@example.com\",\n               \"name\":\"Andrea Wallace\"\n            }\n         ]\n      }\n   ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/attributes/<attribute_category>/<attribute_name>/","description":"<p>PATH PARAMS</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>path params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attribute_category (string)</td>\n<td>Category of the attribute</td>\n<td>yes</td>\n</tr>\n<tr>\n<td>attribute_name(string)</td>\n<td>Name of the attribute</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div><p>BODY PARAMS</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>value (string)</td>\n<td>Value of the attribute. Use only if the attribute's category is 'calculated' or 'global'</td>\n<td>no</td>\n</tr>\n<tr>\n<td>is_recurring (boolean)</td>\n<td>Type of the attribute. Use only if the attribute's category is 'calculated' or 'global'</td>\n<td>no</td>\n</tr>\n<tr>\n<td>enumeration (array of objects)</td>\n<td>List of values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example:  <br />[{\"value\":1, \"label\":\"male\"}, {\"value\":2, \"label\":\"female\"}]</td>\n<td>no</td>\n</tr>\n<tr>\n<td>multi_category_options (array of strings)</td>\n<td>List of options you want to add for multiple-choice attribute. Use only if the attribute's category is \"normal\" and attribute's type is \"multiple-choice\". For example:  <br />[\"USA\",\"INDIA\"]</td>\n<td>no</td>\n</tr>\n<tr>\n<td>attribute_type  <br />(string)</td>\n<td>Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional'  <br />Type boolean and multiple-choice is only available if the category is normal attribute  <br />Type id is only available if the category is transactional attribute  <br />Type category is only available if the category is category attribute</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","attributes","<attribute_category>","<attribute_name>",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"0044701c-cb13-4638-ab1d-b330441a57be","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"   {\n    \"attribute_type\": \"text\"\n    }","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/attributes/<attribute_category>/<attribute_name>/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Sep 2024 07:35:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"9fcb738e-7720-48b1-8962-aad58baa37ae","name":"bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"   {\n    \"attribute_type\": \"string\"\n    }","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/attributes/<attribute_category>/<attribute_name>/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Sep 2024 07:39:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"151"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"attribute_type: \\\"string\\\" is not a valid choice.\"\n        }\n    ]\n}"}],"_postman_id":"39a23ec5-4c56-481c-aaec-12624178ccf3"}],"id":"4b8059fc-f4fc-4692-9765-fdd7ac0df163","_postman_id":"4b8059fc-f4fc-4692-9765-fdd7ac0df163","description":""},{"name":"folder","item":[{"name":"create-folder","id":"f0c6d9e7-75ea-4b60-b0dd-a4e5dd089ea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"sender\":{\n      \"email\":\"brevo@brevo.com\",\n      \"name\":\"Brevo\"\n   },\n   \"subject\":\"This is my default subject line\",\n   \"htmlContent\":\"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>\",\n   \"messageVersions\":[\n     //Definition for Message Version 1 \n     {\n         \"to\":[\n            {\n               \"email\":\"bob@example.com\",\n               \"name\":\"Bob Anderson\"\n            },\n            {\n               \"email\":\"anne@example.com\",\n               \"name\":\"Anne Smith\"\n            }\n         ],\n         \"htmlContent\":\"<!DOCTYPE html><html><body><h1>Modified header!</h1><p>This is still a paragraph</p></body></html>\",\n         \"subject\":\"We are happy to be working with you\"\n      },\n     \n     // Definition for Message Version 2\n      {\n         \"to\":[\n            {\n               \"email\":\"jim@example.com\",\n               \"name\":\"Jim Stevens\"\n            },\n            {\n               \"email\":\"mark@example.com\",\n               \"name\":\"Mark Payton\"\n            },\n            {\n               \"email\":\"andrea@example.com\",\n               \"name\":\"Andrea Wallace\"\n            }\n         ]\n      }\n   ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/","description":"<p>Body Params</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>folder_name (string)</td>\n<td>name of the folder</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","folders",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"b2c3dca8-c301-4938-af56-8b3107df4d4b","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"folder_name\":\"new_test_folder_001\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 30 Sep 2024 11:36:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"94699aeb-544c-4fa1-9649-df6fb22a5aef","name":"bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 30 Sep 2024 11:36:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"Folder name is required.\"\n        }\n    ]\n}"}],"_postman_id":"f0c6d9e7-75ea-4b60-b0dd-a4e5dd089ea4"},{"name":"get-folder","id":"abf46a85-54d0-48bb-8a34-666fe63190c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/{{folder_id}}/","description":"<p><strong>PATH PARAMS</strong></p>\n<p>folder_id (int64) required<br />id of the folder</p>\n","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","folders","{{folder_id}}",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"a42dbe87-9484-4679-9f5c-74ec7523c9ec","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 06 Oct 2024 15:15:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Your first folder\",\n        \"totalBlacklisted\": 1,\n        \"uniqueSubscribers\": 100,\n        \"totalSubscribers\": 99\n    }\n}"},{"id":"4a50b1dc-e56c-41e1-87da-a3172ced69e8","name":"bad gateway","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/2"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 06 Oct 2024 15:17:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"Folder ID does not exist\"\n        }\n    ]\n}"}],"_postman_id":"abf46a85-54d0-48bb-8a34-666fe63190c2"},{"name":"update-folder","id":"8dad60d5-8c8e-4df7-a04f-01071e51d975","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/{{folder_id}}/","description":"<p>PATH PARAMS</p>\n<p>folder_id (int64) required</p>\n<p>id of the folder</p>\n<p>BODY PARAMS</p>\n<p>folder_name (string)</p>\n<p>name of the folder</p>\n","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","contacts","folders","{{folder_id}}",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"d8f0d8e2-e593-4c54-ae5c-9cd32630d254","name":"success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"\n{\n    \"folder_name\":\"folder first name 1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 06 Oct 2024 15:26:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"30"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {}\n}"},{"id":"3a9a3083-074a-4bad-9f58-ccdd119aaf5b","name":"bad request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"\n{\n    \"folder_name\":\"folder first name 1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/contacts/folders/2/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 06 Oct 2024 15:28:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"Folder ID does not exist\"\n        }\n    ]\n}"}],"_postman_id":"8dad60d5-8c8e-4df7-a04f-01071e51d975"}],"id":"1088c496-5c7c-4725-82c7-1740fe0fbcd7","_postman_id":"1088c496-5c7c-4725-82c7-1740fe0fbcd7","description":""},{"name":"email","item":[{"name":"aggregated-report","id":"85e793fc-806f-4a99-9fa1-ae1704ccb96b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/email/report/aggregate/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>query params</strong></th>\n<th><strong>discription</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date (string)</td>\n<td>Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate</td>\n<td>Mandatory if endDate is used.</td>\n</tr>\n<tr>\n<td>end_date (string)</td>\n<td>Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate</td>\n<td>Mandatory if startDate is used.</td>\n</tr>\n<tr>\n<td>days (int64)</td>\n<td>Number of days in the past including today (positive integer).</td>\n<td>Not compatible with 'startDate' and 'endDate'</td>\n</tr>\n<tr>\n<td>tag (string)</td>\n<td>tag of the emails</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","email","report","aggregate",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"6696178b-8889-4946-86f7-3e5f48c8cc7d","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/email/report/aggregate/?start_date=2024-07-08&end_date=2024-10-06","host":["{{endpoint}}"],"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","email","report","aggregate",""],"query":[{"key":"start_date","value":"2024-07-08","type":"text"},{"key":"end_date","value":"2024-10-06","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 06 Oct 2024 16:02:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"278"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"range\": \"2024-07-08|2024-10-06\",\n        \"requests\": 84,\n        \"delivered\": 39,\n        \"hardBounces\": 10,\n        \"softBounces\": 4,\n        \"clicks\": 6,\n        \"uniqueClicks\": 6,\n        \"opens\": 31,\n        \"uniqueOpens\": 20,\n        \"spamReports\": 0,\n        \"blocked\": 31,\n        \"invalid\": 0,\n        \"unsubscribed\": 0,\n        \"loadedByProxy\": 0,\n        \"deferred\": 0,\n        \"error\": 0\n    }\n}"},{"id":"93778abc-4b58-49d6-b75e-c7acaf3cfcff","name":"bad request","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/email/report/aggregate/?start_date=2024-07-08&end_date=2024-06-06","host":["{{endpoint}}"],"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","email","report","aggregate",""],"query":[{"key":"start_date","value":"2024-07-08","type":"text"},{"key":"end_date","value":"2024-06-06","type":"text"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 06 Oct 2024 16:03:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"174"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"non_field_errors: 'start_date' must be less than or equal to 'end_date'.\"\n        }\n    ]\n}"}],"_postman_id":"85e793fc-806f-4a99-9fa1-ae1704ccb96b"},{"name":"email-activity-unaggregated","id":"5b476e65-42a3-4ef8-89ed-56d1002c26f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/email/activity/unaggregated/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>query params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit (int64)</td>\n<td>Number of documents returned per page  <br />  <br />0 to 30  <br />Defaults to 10</td>\n<td>no</td>\n</tr>\n<tr>\n<td>offset (int64)</td>\n<td>Index of the first document on the page  <br />Defaults to 0</td>\n<td>no</td>\n</tr>\n<tr>\n<td>start_date (string)</td>\n<td>Starting date of the report (YYYY-MM-DD)</td>\n<td>Mandatory if end_date is used.</td>\n</tr>\n<tr>\n<td>end_date (string)</td>\n<td>Ending date of the report (YYYY-MM-DD)</td>\n<td>Mandatory if start_date is used.</td>\n</tr>\n<tr>\n<td>days (int64)</td>\n<td>Number of days in the past including today (positive integer).</td>\n<td>Not compatible with 'start_date' and 'end_date'</td>\n</tr>\n<tr>\n<td>tags (string)</td>\n<td>Tag of the emails</td>\n<td>no</td>\n</tr>\n<tr>\n<td>sort (string)</td>\n<td>Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed  <br />Defaults to desc</td>\n<td>no</td>\n</tr>\n<tr>\n<td>event (string)</td>\n<td>Filter the report for a specific event type</td>\n<td>no</td>\n</tr>\n<tr>\n<td>message_id (string)</td>\n<td>Filter on a specific message id</td>\n<td>no</td>\n</tr>\n<tr>\n<td>template_id (int64)</td>\n<td>Filter on a specific template id</td>\n<td>no</td>\n</tr>\n<tr>\n<td>sort (string)</td>\n<td>Sort the results in the ascending/descending order of record creation.Default order is descending if sort is not passed</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","email","activity","unaggregated",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"735fa850-2a5a-4088-96da-63c0ee2c7f63","name":"success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":{"raw":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/email/activity/unaggregated/?start_date=2024-08-01&end_date=2024-09-02","host":["{{endpoint}}"],"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","email","activity","unaggregated",""],"query":[{"key":"start_date","value":"2024-08-01","type":"text"},{"key":"end_date","value":"2024-09-02","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 20 Oct 2024 19:32:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"17117"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"events\": [\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:55:09.450+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230655.22740136859.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:55:09.450+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230655.22740136859.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:55:09.446+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230655.22740136859.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:55:09.446+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230655.22740136859.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:55:09.445+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230655.22740136859.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:55:09.445+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230655.22740136859.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:55:09.440+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230655.22740136859.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:55:09.440+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230655.22740136859.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:55:09.438+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230655.22740136859.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:55:09.438+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230655.22740136859.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:51:33.569+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230651.90379769109.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:51:33.569+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230651.90379769109.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:51:33.568+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230651.90379769109.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:51:33.568+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230651.90379769109.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:51:33.563+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230651.90379769109.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:51:33.563+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230651.90379769109.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:51:33.561+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230651.90379769109.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:51:33.561+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230651.90379769109.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:51:33.559+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230651.90379769109.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:51:33.559+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230651.90379769109.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:46:21.133+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230646.38427805787.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:46:21.133+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230646.38427805787.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:46:21.130+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230646.38427805787.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:46:21.130+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230646.38427805787.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:46:21.113+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230646.38427805787.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:46:21.113+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230646.38427805787.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:46:21.112+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230646.38427805787.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:46:21.112+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230646.38427805787.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:46:21.110+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230646.38427805787.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:46:21.110+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230646.38427805787.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:45:04.569+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230645.60913580049.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:45:04.569+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230645.60913580049.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:45:04.563+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230645.60913580049.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:45:04.563+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230645.60913580049.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:45:04.562+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230645.60913580049.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:45:04.562+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230645.60913580049.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:45:04.560+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230645.60913580049.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:45:04.560+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230645.60913580049.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:45:04.559+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230645.60913580049.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:45:04.559+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230645.60913580049.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:44:21.225+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230644.23838343558.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:44:21.225+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230644.23838343558.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:44:21.223+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230644.23838343558.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:44:21.223+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230644.23838343558.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:44:21.218+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230644.23838343558.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:44:21.218+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230644.23838343558.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:44:21.216+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230644.23838343558.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:44:21.216+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230644.23838343558.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:44:21.214+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230644.23838343558.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:44:21.214+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230644.23838343558.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:43:41.342+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.60594224959.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:43:41.342+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.60594224959.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:43:41.338+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.60594224959.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:43:41.338+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.60594224959.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:43:41.335+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.60594224959.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:43:41.335+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.60594224959.2@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:43:41.332+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.60594224959.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:43:41.332+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.60594224959.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:43:41.328+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.60594224959.1@smtp-relay.mailin.fr>\",\n                \"event\": \"blocked\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:43:41.328+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.60594224959.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"::\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:43:12.000+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.20265958592.2@smtp-relay.mailin.fr>\",\n                \"event\": \"hardBounces\",\n                \"reason\": \"blocked by Admin\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.109\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:43:12.000+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.20265958592.1@smtp-relay.mailin.fr>\",\n                \"event\": \"hardBounces\",\n                \"reason\": \"blocked by Admin\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.128\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:43:12.000+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.20265958592.1@smtp-relay.mailin.fr>\",\n                \"event\": \"hardBounces\",\n                \"reason\": \"blocked by Admin\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.128\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:43:12.000+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.20265958592.2@smtp-relay.mailin.fr>\",\n                \"event\": \"hardBounces\",\n                \"reason\": \"blocked by Admin\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.109\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:43:12.000+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.20265958592.2@smtp-relay.mailin.fr>\",\n                \"event\": \"hardBounces\",\n                \"reason\": \"blocked by Admin\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.128\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"andrea@example.com\",\n                \"date\": \"2024-08-23T08:43:11.614+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.20265958592.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.128\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"jim@example.com\",\n                \"date\": \"2024-08-23T08:43:11.579+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.20265958592.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.109\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"anne@example.com\",\n                \"date\": \"2024-08-23T08:43:11.578+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.20265958592.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.128\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"bob@example.com\",\n                \"date\": \"2024-08-23T08:43:11.571+02:00\",\n                \"subject\": \"We are happy to be working with you\",\n                \"messageId\": \"<202409230643.20265958592.1@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.128\",\n                \"from\": \"brevo@brevo.com\"\n            },\n            {\n                \"email\": \"mark@example.com\",\n                \"date\": \"2024-08-23T08:43:11.568+02:00\",\n                \"subject\": \"This is my default subject line\",\n                \"messageId\": \"<202409230643.20265958592.2@smtp-relay.mailin.fr>\",\n                \"event\": \"requests\",\n                \"tag\": \"\",\n                \"ip\": \"185.41.28.109\",\n                \"from\": \"brevo@brevo.com\"\n            }\n        ]\n    }\n}"},{"id":"d73228e6-91e4-49b2-a19f-1a85c6538264","name":"bad request","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"url":{"raw":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/email/activity/unaggregated/?start_date=2024-08-01&end_date=2024-07-02","host":["{{endpoint}}"],"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","email","activity","unaggregated",""],"query":[{"key":"start_date","value":"2024-08-01","type":"text"},{"key":"end_date","value":"2024-07-02","type":"text"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 20 Oct 2024 19:34:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"167"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"non_field_errors: 'start_date' cannot be greater than 'end_date'.\"\n        }\n    ]\n}"}],"_postman_id":"5b476e65-42a3-4ef8-89ed-56d1002c26f2"}],"id":"4698a708-4c77-4782-b291-1a28b360181e","_postman_id":"4698a708-4c77-4782-b291-1a28b360181e","description":""}],"id":"1055ecd1-5713-48e1-8655-ff00b8558d41","_postman_id":"1055ecd1-5713-48e1-8655-ff00b8558d41","description":""},{"name":"Event","item":[{"name":"track-event","id":"27f780ed-0dbf-43cc-83d5-b05ebc171223","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"JWT {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"example@pushowl.com\",\n    \"event\": \"cart_updated\",\n    \"event_data\": {\n        \"data\": {\n            \"added_product\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"name\": \"Wrist watch\",\n                    \"type\": \"accessories\",\n                    \"price\": \"50.00\"\n                }\n            ]\n        }\n    },\n    \"properties\": {\n        \"additionalProp\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/track-event/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Example for email is \"email\": \"<a href=\"https://partner@pushowl.com\">partner@pushowl.com</a>\"</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>event</td>\n<td>An example for event is \"event\": \"cart_updated\"</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>properties</td>\n<td>This object will content all your custom fields. Add as many as needed. Keep in mind that those user properties will populate your database on the Marketing Automation platform to create rich scenarios. An example would be \"additionalProp\" : \"string\"</td>\n<td>No</td>\n</tr>\n<tr>\n<td>event_data</td>\n<td>This object will contain all additional data you want to pass. It has three file ids' of type string with a unique number and data which can be later parametrised in a smtp template. An example would be \"eventdata\": { \"data\" : { \"added_product\":[{ \"currency\": \"EUR\", \"name\": \"Wrist watch\", \"type\":\"accessories\", \"price\" : \"50.00\" }] } }</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","track-event",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"3eea0166-9854-48b6-b8b4-e93144864908","name":"success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"JWT {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"example@pushowl.com\",\n    \"event\": \"cart_updated\",\n    \"event_data\": {\n        \"data\": {\n            \"added_product\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"name\": \"Wrist watch\",\n                    \"type\": \"accessories\",\n                    \"price\": \"50.00\"\n                }\n            ]\n        }\n    },\n    \"properties\": {\n        \"additionalProp\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/track-event/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Aug 2024 20:44:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 200,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"489a7d64-2329-4b5f-998b-8d5259f02eaf","name":"bad-request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"JWT {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"example@pushowl.com\",\n    \"event_data\": {\n        \"data\": {\n            \"added_product\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"name\": \"Wrist watch\",\n                    \"type\": \"accessories\",\n                    \"price\": \"50.00\"\n                }\n            ]\n        }\n    },\n    \"properties\": {\n        \"additionalProp\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/track-event/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Aug 2024 20:44:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"event: This field is required.\"\n        }\n    ]\n}"}],"_postman_id":"27f780ed-0dbf-43cc-83d5-b05ebc171223"},{"name":"create-event","id":"bfed00b4-2fa7-453d-9bda-dc3efe66aa37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"JWT {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"identifiers\": {\n        \"email_id\": \"parnter@pushowl.com\"\n    },\n    \"contact_properties\": {\n        \"FIRSTNAME\": \"Jhon\",\n        \"LASTNAME\": \"Wick\",\n        \"TAG\": \"pushowl\"\n    },\n    \"event_properties\": {\n        \"productid\": 7683466,\n        \"category\": \"jeans\",\n        \"price\": \"100\"\n    },\n    \"event_name\": \"order_placed\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/create-event/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>event_name</td>\n<td>The name of the event that occurred. This is how you will find your event in Brevo. Limited to 255 characters, alphanumerical characters and - _ only.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>event_date</td>\n<td>Timestamp of when the event occurred (e.g. \"2024-01-24T17:39:57+01:00\"). If no value is passed, the timestamp of the event creation is used.</td>\n<td>No</td>\n</tr>\n<tr>\n<td>identifiers  <br />- email_id (Email Id associated with the event)  <br />- phone_id (SMS associated with the event)  <br />- ext_id (ext_id associated with the event)</td>\n<td>Identifies the contact associated with the event. At least one identifier is required.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>contact_properties</td>\n<td>Properties defining the state of the contact associated to this event. Useful to update contact attributes defined in your contacts database while passing the event. For example: \"FIRSTNAME\": \"Jane\" , \"AGE\": 37</td>\n<td>No</td>\n</tr>\n<tr>\n<td>event_properties</td>\n<td>Properties of the event. Top level properties and nested properties can be used to better segment contacts and personalise workflow conditions. The following field type are supported: string, number, boolean (true/false), date (Timestamp e.g. \"2024-01-24T17:39:57+01:00\"). Keys are limited to 255 characters, alphanumerical characters and - _ only. Size is limited to 50Kb.</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","create-event",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"2e3b9183-06b8-4069-9367-32a4ab5ba00f","name":"success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"JWT {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"identifiers\": {\n        \"email_id\": \"partner@pushowl.com\"\n    },\n    \"contact_properties\": {\n        \"FIRSTNAME\": \"Jhon\",\n        \"LASTNAME\": \"Wick\",\n        \"TAG\": \"pushowl\"\n    },\n    \"event_properties\": {\n        \"productid\": 7683466,\n        \"category\": \"jeans\",\n        \"price\": \"100\"\n    },\n    \"event_name\": \"order_placed\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/create-event/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Aug 2024 20:21:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"ceda6951-e920-4059-b187-72a51d7844fb","name":"bad-request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"JWT {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"identifiers\": {\n        \"email_id\": \"partner@pushowl.com\"\n    },\n    \"contact_properties\": {\n        \"FIRSTNAME\": \"Jhon\",\n        \"LASTNAME\": \"Wick\",\n        \"TAG\": \"pushowl\"\n    },\n    \"event_properties\": {\n        \"productid\": 7683466,\n        \"category\": \"jeans\",\n        \"price\": \"100\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/create-event/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Aug 2024 20:20:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"event_name: This field is required.\"\n        }\n    ]\n}"}],"_postman_id":"bfed00b4-2fa7-453d-9bda-dc3efe66aa37"}],"id":"9e07648b-f38e-428e-988d-97fb7826a5a1","_postman_id":"9e07648b-f38e-428e-988d-97fb7826a5a1","description":""},{"name":"Authentication","item":[{"name":"authentication","id":"75901421-596f-4db1-a7a6-4b9301f9c74d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"partner@pushowl.com\",\n  \"shopify_plan\": \"basic\"\n}\n\n/*\n\nAccepted shopify_plan values:\n- trial\n- affiliate\n- partner_test\n- basic\n- professional\n- unlimited\n- shopify_plus\n*/","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/authenticate/","description":"<p>API to be used when trying to connect PushOwl from your app.</p>\n","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","authenticate",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"02bb4a63-6a0a-4720-b8e1-843a32177505","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"partner@pushowl.com\",\n    \"shopify_plan\": \"basic\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/authenticate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Aug 2024 20:19:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"414"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 200,\n    \"data\": {\n        \"state\": \"installed\",\n        \"current_plan\": {},\n        \"dashboard_login_url\": \"<dashboard_url>\",\n        \"company_logo\": null,\n        \"auth_token\": \"<authtoken>\"\n    },\n    \"errors\": null\n}"},{"id":"5d460c83-e5e0-463b-b878-b9da88fcf2cc","name":"signup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"partner@pushowl.com\",\n    \"shopify_plan\": \"basic\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/authenticate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Aug 2024 20:29:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"819"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 200,\n    \"data\": {\n        \"permission_url\": \"<permission_url>\",\n        \"state\": \"signup\"\n    },\n    \"errors\": null\n}"}],"_postman_id":"75901421-596f-4db1-a7a6-4b9301f9c74d"},{"name":"log-out","id":"ae130ec6-b094-40d1-b0df-3f103ad8ec2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/partner/logout/","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","partner","logout",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"0986dd9a-09f0-4323-a074-46966a24ee18","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/partner/logout/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 May 2025 10:54:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 200,\n    \"data\": {\n        \"detail\": \"Logged out successfully.\"\n    },\n    \"errors\": null\n}"}],"_postman_id":"ae130ec6-b094-40d1-b0df-3f103ad8ec2e"}],"id":"7c3e25a9-0e40-4206-b0ba-a7aa1bd2d6a6","_postman_id":"7c3e25a9-0e40-4206-b0ba-a7aa1bd2d6a6","description":""},{"name":"Notification Resource","item":[{"name":"send-notification","id":"dc58e6b4-c299-411c-bcaf-c4930549f358","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"notification\": {\n        \"description\": \"Use emails, customer_ids or subscriber token to send personal pushes\",\n        \"redirect_url\": \"https://pushowl.com\",\n        \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n        \"image\": \"https://scontent.fblr2-1.fna.fbcdn.net/v/t31.0-8/23509216_1593049384074612_7490757862762170679_o.jpg?oh=1df8603f59a2d9e5e330a7f1ba67ba47&oe=5A99523B\",\n        \"actions\": [\n            {\n                \"title\": \"Reply\",\n                \"redirect_url\": \"http://google.com\"\n            }\n        ]\n    },\n    \"customer_ids\": [\n        123\n    ],\n    \"emails\": [\n        \"partner@pushowl.com\"\n    ],\n    \"subscriber_tokens\": [\n        \"2484ee01d894fcf47efd92bc37f929ee\",\n        \"sdh3493rdjsfdh\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/notification/","description":"<p>This API allows you to send notification via Shopify customer_ids or pushowl subscriber tokens</p>\n","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","notification",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"498bbdc9-fe4d-4ac1-9a1e-bc61cb9d0ec8","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"notification\": {\n        \"title\": \"Send Push Notification to selected subscribers\",\n        \"description\": \"Use emails, customer_ids or subscriber token to send personal pushes\",\n        \"redirect_url\": \"https://pushowl.com\",\n        \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n        \"image\": \"https://scontent.fblr2-1.fna.fbcdn.net/v/t31.0-8/23509216_1593049384074612_7490757862762170679_o.jpg?oh=1df8603f59a2d9e5e330a7f1ba67ba47&oe=5A99523B\",\n        \"actions\": [\n            {\n                \"title\": \"Reply\",\n                \"redirect_url\": \"http://google.com\"\n            }\n        ]\n    },\n    \"customer_ids\": [\n        123\n    ],\n    \"emails\": [\n        \"partner@pushowl.com\"\n    ],\n    \"subscriber_tokens\": [\n        \"2484ee01d894fcf47efd92bc37f929ee\",\n        \"sdh3493rdjsfdh\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/notification/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Aug 2024 10:55:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 200,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"28199637-99c6-4e7c-b9b1-a7a236169514","name":"bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"notification\": {\n        \"description\": \"Use emails, customer_ids or subscriber token to send personal pushes\",\n        \"redirect_url\": \"https://pushowl.com\",\n        \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n        \"image\": \"https://scontent.fblr2-1.fna.fbcdn.net/v/t31.0-8/23509216_1593049384074612_7490757862762170679_o.jpg?oh=1df8603f59a2d9e5e330a7f1ba67ba47&oe=5A99523B\",\n        \"actions\": [\n            {\n                \"title\": \"Reply\",\n                \"redirect_url\": \"http://google.com\"\n            }\n        ]\n    },\n    \"customer_ids\": [\n        123\n    ],\n    \"emails\": [\n        \"partner@pushowl.com\"\n    ],\n    \"subscriber_tokens\": [\n        \"2484ee01d894fcf47efd92bc37f929ee\",\n        \"sdh3493rdjsfdh\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/notification/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Aug 2024 10:56:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"145"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"notification.title: This field is required.\"\n        }\n    ]\n}"}],"_postman_id":"dc58e6b4-c299-411c-bcaf-c4930549f358"},{"name":"transactional-email","id":"26b769e9-9cfe-44be-9870-88609fb1b490","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"sender\":{\n      \"email\":\"brevo@brevo.com\",\n      \"name\":\"Brevo\"\n   },\n   \"subject\":\"This is my default subject line\",\n   \"htmlContent\":\"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>\",\n   \"messageVersions\":[\n     //Definition for Message Version 1 \n     {\n         \"to\":[\n            {\n               \"email\":\"bob@example.com\",\n               \"name\":\"Bob Anderson\"\n            },\n            {\n               \"email\":\"anne@example.com\",\n               \"name\":\"Anne Smith\"\n            }\n         ],\n         \"htmlContent\":\"<!DOCTYPE html><html><body><h1>Modified header!</h1><p>This is still a paragraph</p></body></html>\",\n         \"subject\":\"We are happy to be working with you\"\n      },\n     \n     // Definition for Message Version 2\n      {\n         \"to\":[\n            {\n               \"email\":\"jim@example.com\",\n               \"name\":\"Jim Stevens\"\n            },\n            {\n               \"email\":\"mark@example.com\",\n               \"name\":\"Mark Payton\"\n            },\n            {\n               \"email\":\"andrea@example.com\",\n               \"name\":\"Andrea Wallace\"\n            }\n         ]\n      }\n   ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/transactional-email/","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sender (object)</td>\n<td>Pass name (optional) and email or id of sender from which emails will be sent. name will be ignored if passed along with sender id. For example,  <br />{\"name\":\"Mary from MyShop\", \"email\":\"<a href=\"mailto:no-reply@myshop.com\">no-reply@myshop.com</a>\"}  <br />{\"id\":2}</td>\n<td>Mandatory if templateId is not passed</td>\n</tr>\n<tr>\n<td>to (array of objects)</td>\n<td>List of email addresses and names (optional) of the recipients. For example,  <br />[{\"name\":\"Jimmy\", \"email\":\"<a href=\"mailto:jimmy98@example.com\">jimmy98@example.com</a>\"}, {\"name\":\"Joe\", \"email\":\"<a href=\"mailto:joe@example.com\">joe@example.com</a>\"}]</td>\n<td>Mandatory if messageVersions are not passed, ignored if messageVersions are passed</td>\n</tr>\n<tr>\n<td>bcc (array of objects)</td>\n<td>List of email addresses and names (optional) of the recipients in bcc</td>\n<td>no</td>\n</tr>\n<tr>\n<td>cc (array of objects)</td>\n<td>List of email addresses and names (optional) of the recipients in cc</td>\n<td>no</td>\n</tr>\n<tr>\n<td>htmlContent (string)</td>\n<td>HTML body of the message.</td>\n<td>Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed</td>\n</tr>\n<tr>\n<td>textContent (string)</td>\n<td>Plain Text body of the message.</td>\n<td>Ignored if 'templateId' is passed</td>\n</tr>\n<tr>\n<td>subject (string)</td>\n<td>Subject of the message.</td>\n<td>Mandatory if 'templateId' is not passed</td>\n</tr>\n<tr>\n<td>replyTo (object)</td>\n<td>on which transactional mail recipients will be able to reply back. For example,  <br />{\"email\":\"<a href=\"mailto:ann6533@example.com\">ann6533@example.com</a>\", \"name\":\"Ann\"}</td>\n<td>Email (required), along with name (optional),</td>\n</tr>\n<tr>\n<td>attachements (array of objects)</td>\n<td>Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name. Mandatory if attachment content is passed. For example,  <br />[{\"url\":\"<a href=\"https://attachment.domain.com/myAttachmentFromUrl.jpg\">https://attachment.domain.com/myAttachmentFromUrl.jpg</a>\", \"name\":\"myAttachmentFromUrl.jpg\"}, {\"content\":\"base64 example content\", \"name\":\"myAttachmentFromBase64.jpg\"}].  <br />Allowed extensions for attachment file:  <br />  <br />xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg, wmv, pkpass and xlsm.  <br />If templateId is passed and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then attachment is ignored</td>\n<td>Mandatory if attachment content is passed</td>\n</tr>\n<tr>\n<td>headers (object)</td>\n<td>Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in This-Case-Only (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example,  <br />{\"sender.ip\":\"1.2.3.4\", \"X-Mailin-custom\":\"some_custom_header\", \"idempotencyKey\":\"abc-123\"}.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>templateId (int64)</td>\n<td>Id of the template.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>params (object)</td>\n<td>Pass the set of attributes to customize the template. For example, {\"FNAME\":\"Joe\", \"LNAME\":\"Doe\"}. It's considered only if template is in New Template Language format.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>messageVersions (array of objects)</td>\n<td>You can customize and send out multiple versions of a mail. templateId can be customized only if global parameter contains templateId. htmlContent and textContent can be customized only if any of the two, htmlContent or textContent, is present in global parameters. Some global parameters such as to(mandatory), bcc, cc, replyTo, subject can also be customized specific to each version.  <br />Total number of recipients in one API request must not exceed 2000. However, you can still pass upto 99 recipients maximum in one message version.  <br />The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB.  <br />You can follow this step-by-step guide on how to use messageVersions to batch send emails - <a href=\"https://developers.brevo.com/docs/batch-send-transactional-emails\">https://developers.brevo.com/docs/batch-send-transactional-emails</a></td>\n<td>no</td>\n</tr>\n<tr>\n<td>tags (array of strings)</td>\n<td>Tag your emails to find them more easily</td>\n<td>no</td>\n</tr>\n<tr>\n<td>scheduledAt (date-time RFC 3339 format)</td>\n<td>UTC date-time on which the email has to schedule (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for scheduling. There can be an expected delay of +5 minutes in scheduled email delivery.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>batchId (string)</td>\n<td>Valid UUIDv4 batch id to identify the scheduled batches transactional email. If not passed we will create a valid UUIDv4 batch id at our end.</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","transactional-email",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"0938f55f-ba91-4ed3-a9a1-efadf47d9e6f","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"sender\":{\n      \"email\":\"brevo@brevo.com\",\n      \"name\":\"Brevo\"\n   },\n   \"subject\":\"This is my default subject line\",\n   \"htmlContent\":\"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>\",\n   \"messageVersions\":[\n     //Definition for Message Version 1 \n     {\n         \"to\":[\n            {\n               \"email\":\"bob@example.com\",\n               \"name\":\"Bob Anderson\"\n            },\n            {\n               \"email\":\"anne@example.com\",\n               \"name\":\"Anne Smith\"\n            }\n         ],\n         \"htmlContent\":\"<!DOCTYPE html><html><body><h1>Modified header!</h1><p>This is still a paragraph</p></body></html>\",\n         \"subject\":\"We are happy to be working with you\"\n      },\n     \n     // Definition for Message Version 2\n      {\n         \"to\":[\n            {\n               \"email\":\"jim@example.com\",\n               \"name\":\"Jim Stevens\"\n            },\n            {\n               \"email\":\"mark@example.com\",\n               \"name\":\"Mark Payton\"\n            },\n            {\n               \"email\":\"andrea@example.com\",\n               \"name\":\"Andrea Wallace\"\n            }\n         ]\n      }\n   ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/transactional-email/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Aug 2024 06:44:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"3378752c-4dab-41f8-85ef-364080f9c1d3","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sender\": {\n        \"email\": \"brevo@brevo.com\",\n        \"name\": \"Brevo\"\n    },\n    \"subject\": \"This is my default subject line\",\n    \"htmlContent\": \"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>\",\n    \"messageVersions\": [\n        //Definition for Message Version 1 \n        {\n            \"to\": [\n                {\n                    \"email\": \"bob@example.com\",\n                    \"name\": \"Bob Anderson\"\n                },\n                {\n                    \"email\": \"anne@example.com\",\n                    \"name\": \"Anne Smith\"\n                }\n            ],\n            \"htmlContent\": \"<!DOCTYPE html><html><body><h1>Modified header!</h1><p>This is still a paragraph</p></body></html>\",\n            \"subject\": \"We are happy to be working with you\"\n        },\n        // Definition for Message Version 2\n        {\n            \"to\": [\n                {\n                    \"email\": \"jim@example.com\",\n                    \"name\": \"Jim Stevens\"\n                },\n                {\n                    \"email\": \"mark@example.com\",\n                    \"name\": \"Mark Payton\"\n                },\n                {\n                    \"email\": \"andrea@example.com\",\n                    \"name\": \"Andrea Wallace\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/transactional-email/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Aug 2024 06:55:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {},\n    \"errors\": null\n}"},{"id":"0e5885d3-1b8c-4134-874b-18d9a26d5b44","name":"bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sender\": {\n        \"email\": \"brevo@brevo.com\",\n        \"name\": \"Brevo\"\n    },\n    \"htmlContent\": \"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>\",\n    \"messageVersions\": [\n        //Definition for Message Version 1 \n        {\n            \"to\": [\n                {\n                    \"email\": \"bob@example.com\",\n                    \"name\": \"Bob Anderson\"\n                },\n                {\n                    \"email\": \"anne@example.com\",\n                    \"name\": \"Anne Smith\"\n                }\n            ],\n            \"htmlContent\": \"<!DOCTYPE html><html><body><h1>Modified header!</h1><p>This is still a paragraph</p></body></html>\",\n            \"subject\": \"We are happy to be working with you\"\n        },\n        // Definition for Message Version 2\n        {\n            \"to\": [\n                {\n                    \"email\": \"jim@example.com\",\n                    \"name\": \"Jim Stevens\"\n                },\n                {\n                    \"email\": \"mark@example.com\",\n                    \"name\": \"Mark Payton\"\n                },\n                {\n                    \"email\": \"andrea@example.com\",\n                    \"name\": \"Andrea Wallace\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/transactional-email/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Aug 2024 06:55:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"175"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"non_field_errors: 'subject' is required if 'template_id' is not provided.\"\n        }\n    ]\n}"}],"_postman_id":"26b769e9-9cfe-44be-9870-88609fb1b490"},{"name":"create-campaign","id":"9ffb3a14-e363-4714-9cc3-069093fc303e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"sender\":{\n      \"email\":\"brevo@brevo.com\",\n      \"name\":\"Brevo\"\n   },\n   \"subject\":\"This is my default subject line\",\n   \"htmlContent\":\"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>\",\n   \"messageVersions\":[\n     //Definition for Message Version 1 \n     {\n         \"to\":[\n            {\n               \"email\":\"bob@example.com\",\n               \"name\":\"Bob Anderson\"\n            },\n            {\n               \"email\":\"anne@example.com\",\n               \"name\":\"Anne Smith\"\n            }\n         ],\n         \"htmlContent\":\"<!DOCTYPE html><html><body><h1>Modified header!</h1><p>This is still a paragraph</p></body></html>\",\n         \"subject\":\"We are happy to be working with you\"\n      },\n     \n     // Definition for Message Version 2\n      {\n         \"to\":[\n            {\n               \"email\":\"jim@example.com\",\n               \"name\":\"Jim Stevens\"\n            },\n            {\n               \"email\":\"mark@example.com\",\n               \"name\":\"Mark Payton\"\n            },\n            {\n               \"email\":\"andrea@example.com\",\n               \"name\":\"Andrea Wallace\"\n            }\n         ]\n      }\n   ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/campaign/","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","campaign",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"9287b269-f411-4e5c-a06b-1df2637e962d","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Great Weekend Deals\",\n    \"description\": \"20% off across all products\",\n    \"redirect_url\": \"https://pushowl.com\",\n    \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n    \"image\": \"https://scontent-bom1-1.xx.fbcdn.net/v/t1.0-9/14732253_1228186940560860_1209250730584975484_n.jpg?oh=ac71244bbbfddab623e51357f7fb24c6&oe=5A13EB1C\",\n    \"offer_wall\": true,\n    \"actions\": [\n      {\"title\": \"Reply\", \"redirect_url\": \"http://google.com\"}\n      ],\n    \"scheduled_time\":null\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/campaign/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Aug 2024 09:18:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1016"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {\n        \"id\": 2850946,\n        \"title\": \"Great Weekend Deals\",\n        \"description\": \"20% off across all products\",\n        \"redirect_url\": \"https://pushowl.com\",\n        \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n        \"image\": \"https://scontent-bom1-1.xx.fbcdn.net/v/t1.0-9/14732253_1228186940560860_1209250730584975484_n.jpg?oh=ac71244bbbfddab623e51357f7fb24c6&oe=5A13EB1C\",\n        \"mobile_image\": null,\n        \"images\": {},\n        \"scheduled_time\": null,\n        \"end_campaign_time\": null,\n        \"ttl\": 2419200,\n        \"actions\": [\n            {\n                \"title\": \"Reply\",\n                \"redirect_url\": \"http://google.com\"\n            }\n        ],\n        \"name\": \"\",\n        \"labels\": [],\n        \"delivered\": 0,\n        \"ctr\": 0,\n        \"closed\": 0,\n        \"clicks\": 0,\n        \"body_clicks\": 0,\n        \"cta1_clicks\": 0,\n        \"cta2_clicks\": 0,\n        \"smart_delivery\": false,\n        \"created_at\": \"2024-08-23T14:48:14\",\n        \"modified_at\": \"2024-08-23T14:48:14\",\n        \"is_sent\": false,\n        \"segment_id\": 370046,\n        \"is_scheduled\": false,\n        \"status\": \"active\",\n        \"total_targeted_subscribers\": null,\n        \"discount_code\": null,\n        \"template_id\": null,\n        \"extras\": {},\n        \"dispatched_at\": \"2024-08-23T09:18:14.418914+00:00\",\n        \"type\": \"regular\"\n    },\n    \"errors\": null\n}"},{"id":"f1f4e571-ad1f-4971-a4e8-09189773abd4","name":"bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"20% off across all products\",\n    \"redirect_url\": \"https://pushowl.com\",\n    \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n    \"image\": \"https://scontent-bom1-1.xx.fbcdn.net/v/t1.0-9/14732253_1228186940560860_1209250730584975484_n.jpg?oh=ac71244bbbfddab623e51357f7fb24c6&oe=5A13EB1C\",\n    \"offer_wall\": true,\n    \"actions\": [\n      {\"title\": \"Reply\", \"redirect_url\": \"http://google.com\"}\n      ],\n    \"scheduled_time\":null\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/campaign/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 23 Aug 2024 09:19:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"174"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"non_field_errors: title cannot be blank or null for non-draft campaigns.\"\n        }\n    ]\n}"}],"_postman_id":"9ffb3a14-e363-4714-9cc3-069093fc303e"},{"name":"transactional-sms","id":"52235e52-48fd-4071-b4ba-0c13088df2cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"transactional\",\n  \"unicodeEnabled\": false,\n  \"sender\": \"pushowl\",\n  \"recipient\": \"6396304091\",\n  \"content\": \"Hi there, welcome to pushowl\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/transactionalSMS/send","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>body params</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sender (string)</td>\n<td>Name of the sender. The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters</td>\n<td>yes</td>\n</tr>\n<tr>\n<td>recipient (string)</td>\n<td>Mobile number to send SMS with the country code.</td>\n<td>yes</td>\n</tr>\n<tr>\n<td>content (string)</td>\n<td>List of email addresses and names (optional) of the recipients in bcc</td>\n<td>yes</td>\n</tr>\n<tr>\n<td>type (string)</td>\n<td>Content of the message. If more than 160 characters long, will be sent as multiple text messages</td>\n<td>yes</td>\n</tr>\n<tr>\n<td>type (string)</td>\n<td>Type of the SMS. Marketing SMS messages are those sent typically with marketing content. Transactional SMS messages are sent to individuals and are triggered in response to some action, such as a sign-up, purchase, etc.</td>\n<td>Defaults to transactional.</td>\n</tr>\n<tr>\n<td>tag (string)</td>\n<td>A tag can have two types of values, either a string or an array of strings.</td>\n<td>no</td>\n</tr>\n<tr>\n<td>webUrl (url)</td>\n<td>Webhook to call for each event triggered by the message (delivered etc.)</td>\n<td>no</td>\n</tr>\n<tr>\n<td>unicodeEnabled  <br />(boolean)</td>\n<td>Format of the message. It indicates whether the content should be treated as unicode or not.</td>\n<td>Defaults to false</td>\n</tr>\n<tr>\n<td>organisationPrefix (string)</td>\n<td>A recognizable prefix will ensure your audience knows who you are. Recommended by U.S. carriers. This will be added as your Brand Name before the message content. Prefer verifying maximum length of 160 characters including this prefix in message content to avoid multiple sending of same sms.</td>\n<td>no</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","transactionalSMS","send"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"d694f5bc-c20e-44f9-86f3-758f0ed615ca","name":"bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/transactionalSMS/send"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 May 2025 09:03:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"303"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"code\": 400,\n    \"data\": {},\n    \"errors\": [\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"sender: This field is required.\"\n        },\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"recipient: This field is required.\"\n        },\n        {\n            \"error_type\": \"invalid_request_error\",\n            \"message\": \"content: This field is required.\"\n        }\n    ]\n}"},{"id":"5be4fb13-3926-4bdb-827b-c614c83ef5ce","name":"success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"},{"key":"Authorization","value":"JWT {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"transactional\",\n  \"unicodeEnabled\": false,\n  \"sender\": \"pushowl\",\n  \"recipient\": \"6396304091\",\n  \"content\": \"Hi there, welcome to pushowl\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/transactionalSMS/send"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 May 2025 10:49:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"58"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"messageId\": 6956626242632274\n    }\n}"}],"_postman_id":"52235e52-48fd-4071-b4ba-0c13088df2cc"}],"id":"2a9a4fb4-a28c-4c4a-9a29-5dc372b011e3","_postman_id":"2a9a4fb4-a28c-4c4a-9a29-5dc372b011e3","description":""},{"name":"Subscribers","item":[{"name":"Add Subscriber","id":"2c0ea2ab-ed53-4b5f-9911-ed7d42bdd791","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}","type":"text"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"test@example.com\",\n    \"attributes\": {\n        \"FIRSTNAME\": \"John\",\n        \"LASTNAME\": \"Doe\"\n    },\n    \"listIds\": [11],\n    \"redirectionUrl\": \"https://www.pushowl.com\",\n    \"doubleOptIn\": true\n}"},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/subscriber/","description":"<p>Creates a subscriber in the system.<br />Note: To use the subscriber API, the <code>store</code> should be onbarded on to email on pushowl.</p>\n<h3 id=\"parameters\">Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>*</td>\n<td>Subscriber's email address</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>*</td>\n<td>Subscriber's phone number</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>object</td>\n<td>No</td>\n<td>Additional attributes for the subscriber</td>\n</tr>\n<tr>\n<td>listIds</td>\n<td>array</td>\n<td>No</td>\n<td>Array of list IDs to subscribe to</td>\n</tr>\n<tr>\n<td>redirectionUrl</td>\n<td>string</td>\n<td>No</td>\n<td>URL to redirect after subscription (Only valid if <code>doubleOptIn</code> is set to <code>true</code>)</td>\n</tr>\n<tr>\n<td>templateId</td>\n<td>integer</td>\n<td>No</td>\n<td>ID of the template to use (Only valid if <code>doubleOptIn</code> is set to <code>true</code>)</td>\n</tr>\n<tr>\n<td>doubleOptIn</td>\n<td>boolean</td>\n<td>No</td>\n<td>Whether double opt-in is required</td>\n</tr>\n<tr>\n<td>emailBlacklisted</td>\n<td>boolean</td>\n<td>No</td>\n<td>Whether email communications are blacklisted</td>\n</tr>\n<tr>\n<td>smsBlacklisted</td>\n<td>boolean</td>\n<td>No</td>\n<td>Whether SMS communications are blacklisted</td>\n</tr>\n<tr>\n<td>token</td>\n<td>string</td>\n<td>No</td>\n<td>This can be used in subsequent API calls in relation to this subscriber</td>\n</tr>\n</tbody>\n</table>\n</div><p>* Either email or phone must be provided</p>\n<h3 id=\"validation-rules\">Validation Rules</h3>\n<ol>\n<li><p>At least one of <code>email</code> or <code>phone</code> must be provided.</p>\n</li>\n<li><p>If provided, <code>attributes</code> must be a valid JSON object.</p>\n</li>\n<li><p>If <code>listIds</code> are not provided, the subscribers are added to the default list.</p>\n</li>\n<li><p><code>templateId</code> and <code>redirectionUrl</code> are only valid if <code>doubleOptIn</code> is set to <code>true.</code></p>\n</li>\n<li><p>If no <code>templateId</code> and <code>redirectionUrl</code> are provided when <code>doubleOptIn</code> is set to <code>true</code>, default values are used.</p>\n</li>\n<li><p><code>doubleOptIn, emailBlacklisted</code> &amp; <code>smsBlacklisted</code> are <code>false</code> by default.</p>\n</li>\n<li><p><code>token</code> for a subscriber is generated after it's added to the system and is sent in the response which can be passed in subsequent requests related to this subscriber.</p>\n</li>\n</ol>\n","urlObject":{"path":["api","v3","app-partner","{{partner_handle}}","shopify","{{subdomain}}","subscriber",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"7afdfdae-c762-40bc-a626-1d81e9700f95","name":"Success - Email Subscription","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}","type":"text"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"test@example.com\",\n    \"phone\": \"+919988776655\",\n    \"attributes\": {\n        \"FIRSTNAME\": \"John\",\n        \"LASTNAME\": \"Doe\"\n    },\n    \"listIds\": [11],\n    \"redirectionUrl\": \"https://www.pushowl.com\",\n    \"doubleOptIn\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/subscriber/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Date","value":"Mon, 16 Dec 2024 07:42:54 GMT","description":"","type":"text"},{"key":"Content-Length","value":"131","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Server","value":"gunicorn","description":"","type":"text"},{"key":"Allow","value":"POST, OPTIONS","description":"","type":"text"},{"key":"X-Frame-Options","value":"DENY","description":"","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload","description":"","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","description":"","type":"text"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"","type":"text"},{"key":"Referrer-Policy","value":"same-origin","description":"","type":"text"},{"key":"Vary","value":"Origin","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": 201,\n    \"data\": {\n        \"id\": 17469265,\n        \"token\": \"64105dbef2fe464a8e56e06e218106a9\",\n        \"consent\": [\n            \"email\"\n        ]\n    },\n    \"errors\": null\n}"},{"id":"86a19cfe-e7d9-4bd3-bbc6-cd9d7c3879b2","name":"Success - Phone Subscription","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}","type":"text"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"+919944556677\",\n    \"attributes\": {\n        \"FIRSTNAME\": \"John\",\n        \"LASTNAME\": \"Doe\"\n    },\n    \"listIds\": [11],\n    \"doubleOptIn\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/subscriber/"},"_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    \"code\": 201,\n    \"data\": {\n        \"id\": 17469265,\n        \"token\": \"64105dbef2fe464a8e56e06e218106a9\",\n        \"consent\": [\n            \"sms\"\n        ]\n    },\n    \"errors\": null\n}"},{"id":"8ab37d2f-9779-47df-9daf-5b02e4a6fa75","name":"Error - Missing Required Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}","type":"text"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"FIRSTNAME\": \"John\",\n        \"LASTNAME\": \"Doe\"\n    },\n    \"listIds\": [11]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/subscriber/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"ValidationError\",\n    \"message\": \"Either email or phone must be provided\"\n}"},{"id":"c33790fc-2507-4ada-b390-95e925922d73","name":"Add Subscriber","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partnerkey}}","type":"text"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"test@example.com\",\n    \"attributes\": {\n        \"FIRSTNAME\": \"John\",\n        \"LASTNAME\": \"Doe\"\n    },\n    \"listIds\": [11],\n    \"redirectionUrl\": \"https://www.pushowl.com\",\n    \"doubleOptIn\": true\n}"},"url":"{{endpoint}}/api/v3/app-partner/{{partner_handle}}/shopify/{{subdomain}}/subscriber/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2c0ea2ab-ed53-4b5f-9911-ed7d42bdd791"}],"id":"dc4f69f6-c5e2-4ee5-8b9c-7284468e66cf","_postman_id":"dc4f69f6-c5e2-4ee5-8b9c-7284468e66cf","description":""}],"id":"3cfeae75-9533-4feb-a4d0-1db9b2b6a949","_postman_id":"3cfeae75-9533-4feb-a4d0-1db9b2b6a949","description":""},{"name":"Partner API v2","item":[{"name":"Authentication","item":[{"name":"Connect with PushOwl V2","id":"a25a8f73-92a7-4dc2-8bf8-b4a049edafba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": {{merchant_email}},\n    \"shopify_plan\": {{merchant_shopify_plan}}\n}\n\n/*\n\nAccepted shopify_plan values:\n\n- trial\n- affiliate\n- partner_test\n- basic\n- professional\n- unlimited\n- shopify_plus\n\n*/\n"},"url":"{{endpoint}}/api/v2/partners/{{partner_handle}}/shopify/{{subdomain}}/authenticate/","description":"<p>API to be used when trying to connect PushOwl from your app.</p>\n","urlObject":{"path":["api","v2","partners","{{partner_handle}}","shopify","{{subdomain}}","authenticate",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"5f54d4b0-5ec3-41fa-899a-40751f35d721","name":"Partner Install Merchant has PushOwl Installed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"test@pushowl.com\",\n    \"shopify_plan\": \"shopify_plus\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v2/partners/{{partner_handle}}/shopify/{{subdomain}}/authenticate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Jul 2021 09:59:52 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.9"},{"key":"Content-Type","value":"application/json"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Content-Length","value":"393"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"result\": {\n        \"state\": \"installed\",\n        \"data\": {\n            \"auth_token\": \"<auth_token>\",\n            \"current_plan\": {\n                \"enable_big_image\": false,\n                \"plan_name\": \"Free Plan\",\n                \"impressions_remaining\": 9,\n                \"impressions_consumed\": 4,\n                \"impressions_limit\": 13\n            },\n            \"dashboard_login_url\": \"<dashboard_login_url>\",\n            \"company_logo\": \"https://s3.amazonaws.com/static.pushowl.com/media/logo/pushowl_red_512.png\"\n        }\n    }\n}"},{"id":"b04fc865-6247-488c-ace1-b7f1a2631207","name":"Partner Install Merchant Not Installed PushOwl","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"test@pushowl.com\",\n    \"shopify_plan\": \"shopify_plus\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v2/partners/{{partner_handle}}/shopify/{{subdomain}}/authenticate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Jul 2021 10:03:35 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.9"},{"key":"Content-Type","value":"application/json"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Content-Length","value":"678"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"result\": {\n        \"state\": \"signup\",\n        \"data\": {\n            \"permission_url\": \"https://<merchant-subdomain>.myshopify.com/admin/oauth/authorize?client_id=62a4f829cd277d0296259f678226ae19&redirect_uri=https%3A%2F%2Fapi.pushowl.com%2Fapi%2Fv1%2Fauth%2Fshopify%2Fcallback%2F&scope=read_content%2Cwrite_content%2Cread_content%2Cread_products%2Cread_customers%2Cread_orders%2Cread_script_tags%2Cwrite_script_tags%2Cread_fulfillments%2Cread_shipping%2Cread_checkouts%2Cwrite_marketing_events%2Cread_marketing_events\"\n        }\n    }\n}"},{"id":"efa0362d-5190-4be3-80d7-a3512a360cd3","name":"Bad Request when required parameters are not received","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"url":"{{endpoint}}/api/v2/partners/{{partner_handle}}/shopify/{{subdomain}}/authenticate/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Jul 2021 10:06:58 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.9"},{"key":"Content-Type","value":"application/json"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Content-Length","value":"80"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": [\n        \"This field is required.\"\n    ],\n    \"shopify_plan\": [\n        \"This field is required.\"\n    ]\n}"}],"_postman_id":"a25a8f73-92a7-4dc2-8bf8-b4a049edafba"},{"name":"Connect with PushOwl [Valid till: March 31, 2022]","id":"9bb6d0f3-cae1-4147-9361-89251ba3fc46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/authenticate/","description":"<p>API to be used when trying to connect PushOwl from your app.</p>\n<p><strong>Note: This API is only valid till 31<em>st March 2022</em>. Please use</strong> <strong><code>Connect With PushOwl V2</code></strong> <strong>to avoid any deprecation issues</strong></p>\n","urlObject":{"path":["api","v1","partners","{{partner_handle}}","shopify","{{subdomain}}","authenticate",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"86c6079b-3271-4330-96ac-230d188222b0","name":"Partner Install Merchant has PushOwl Installed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/authenticate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\n    \"status\": 200,\n    \"result\": {\n        \"state\": \"installed\",\n        \"data\": {\n            \"auth_token\": \"<auth_token>\",\n            \"current_plan\": {\n                \"enable_big_image\": false,\n                \"plan_name\": \"Free Plan\",\n                \"impressions_remaining\": 9,\n                \"impressions_consumed\": 4,\n                \"impressions_limit\": 13\n            },\n            \"dashboard_login_url\": \"<dashboard_login_url>\",\n            \"company_logo\": \"https://s3.amazonaws.com/static.pushowl.com/media/logo/pushowl_red_512.png\"\n        }\n    }\n}"},{"id":"cfe20412-0781-4ca1-af40-a46dd62e91b8","name":"Partner Install Merchant Not Installed PushOwl","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/authenticate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\n    \"result\": {\n        \"state\": \"not_found\",\n        \"data\": {\n            \"permission_url\": \"https://<merchant-subdomain>.myshopify.com/admin/oauth/authorize?client_id=62a4f829cd277d0296259f678226ae19&redirect_uri=https%3A%2F%2Fapi.pushowl.com%2Fapi%2Fv1%2Fauth%2Fshopify%2Fcallback%2F&scope=read_content%2Cwrite_content%2Cread_content%2Cread_products%2Cread_customers%2Cread_orders%2Cread_script_tags%2Cwrite_script_tags%2Cread_fulfillments%2Cread_shipping%2Cread_checkouts%2Cwrite_marketing_events%2Cread_marketing_events\"\n        }\n    },\n    \"status\": 200\n}"}],"_postman_id":"9bb6d0f3-cae1-4147-9361-89251ba3fc46"}],"id":"aee235c3-ccc8-4122-b5a5-43e292fa9fa9","_postman_id":"aee235c3-ccc8-4122-b5a5-43e292fa9fa9","description":""},{"name":"Core","item":[{"name":"Get Subscriber Report","id":"10ac3dbf-b3d4-4071-a40b-c3fd03d7808c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"JWT {{token}}"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_key\": {{partner_key}}\n}"},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/subscriber/report/","description":"<p>Fetch Subscriber Report in case you want to show PushOwl subscriber data in your app.</p>\n","urlObject":{"path":["api","v1","partners","{{partner_handle}}","shopify","{{subdomain}}","subscriber","report",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"bf4458c0-487f-4da7-a907-ebde809f7f07","name":"Example Subscriber Report","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"JWT {{token}}"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_key\": {{partner_key}}\n}"},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/subscriber/report/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\n    \"status\": 200,\n    \"result\": {\n        \"subscribers\": {\n            \"summary\": {\n                \"total\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"10ac3dbf-b3d4-4071-a40b-c3fd03d7808c"},{"name":"Create Campaign","id":"eeed1c20-530e-47e8-8251-e94736ee1814","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"JWT {{token}}"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Great Weekend Deals\",\n    \"description\": \"20% off across all products\",\n    \"redirect_url\": \"https://pushowl.com\",\n    \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n    \"image\": \"https://scontent-bom1-1.xx.fbcdn.net/v/t1.0-9/14732253_1228186940560860_1209250730584975484_n.jpg?oh=ac71244bbbfddab623e51357f7fb24c6&oe=5A13EB1C\",\n    \"offer_wall\": true,\n    \"actions\": [\n      {\"title\": \"Reply\", \"redirect_url\": \"http://google.com\"}\n      ],\n    \"scheduled_time\":null\n}"},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/campaign/","description":"<p>When you create a campaign, the notifications are sent to all users.</p>\n<p>Be careful with broadcasts. </p>\n","urlObject":{"path":["api","v1","partners","{{partner_handle}}","shopify","{{subdomain}}","campaign",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eeed1c20-530e-47e8-8251-e94736ee1814"},{"name":"Send Notification via Shopify Customer Ids or Subscriber Tokens or Emails","id":"0f4000b1-3666-4471-8adc-1e255d690c5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"JWT {{token}}"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n  \"notification\": {\n    \"title\": \"Send Push Notification to selected subscribers\",\n    \"description\": \"Use emails, customer_ids or subscriber token to send personal pushes\",\n    \"redirect_url\": \"https://pushowl.com\",\n    \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n    \"image\": \"https://scontent.fblr2-1.fna.fbcdn.net/v/t31.0-8/23509216_1593049384074612_7490757862762170679_o.jpg?oh=1df8603f59a2d9e5e330a7f1ba67ba47&oe=5A99523B\",\n    \"actions\": [\n      {\n        \"title\": \"Reply\",\n        \"redirect_url\": \"http://google.com\"\n      }\n    ]\n  },\n  \"customer_ids\": [123],\n  \"emails\": [\"shashank@pushowl.com\"],\n  \"subscriber_tokens\": [\"2484ee01d894fcf47efd92bc37f929ee\", \"sdh3493rdjsfdh\"]\n}"},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/notification/","description":"<p>This API allows you to send notification via Shopify customer_ids or pushowl subscriber tokens</p>\n","urlObject":{"path":["api","v1","partners","{{partner_handle}}","shopify","{{subdomain}}","notification",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"fa043b64-5c17-4b95-85f0-a58e97d0e619","name":"Send Notification via Shopify Customer Ids or Subscriber Tokens","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"JWT {{token}}"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n  \"notification\": {\n    \"title\": \"Send Notification to selected subscribers\",\n    \"description\": \"Use emails, customer_ids or subscriber token to send personal pushes\",\n    \"redirect_url\": \"https://pushowl.com\",\n    \"icon\": \"https://static.pushowl.com/landing-page/notification-icons/your-logo-here.png\",\n    \"image\": \"https://scontent.fblr2-1.fna.fbcdn.net/v/t31.0-8/23509216_1593049384074612_7490757862762170679_o.jpg?oh=1df8603f59a2d9e5e330a7f1ba67ba47&oe=5A99523B\",\n    \"actions\": [\n      {\n        \"title\": \"Reply\",\n        \"redirect_url\": \"http://google.com\"\n      }\n    ]\n  },\n  \"customer_ids\": [123],\n  \"emails\": [\"abc@xyz.com\"],\n  \"subscriber_tokens\": [\"aeeb18ab9fc8d32fd03dfc6493e990a2\", \"sdh3493rdjsfdh\"]\n}"},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/notification/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\n\t\"status\": 200\n}"}],"_postman_id":"0f4000b1-3666-4471-8adc-1e255d690c5c"},{"name":"Get subscribers via emails","id":"1632f49a-2aac-432c-a30e-1d4cd4736049","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"JWT {{token}}"},{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"emails\": [\"shashank@pushowl.com\", \"xyz@pushowl.com\"]\n}"},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/subscriber/email-check/","description":"<p>This API allows you to check if the customers have also subscribed to push notifications via PushOwl using email as identifier</p>\n","urlObject":{"path":["api","v1","partners","{{partner_handle}}","shopify","{{subdomain}}","subscriber","email-check",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1632f49a-2aac-432c-a30e-1d4cd4736049"},{"name":"Get Notification Report","id":"9ef3b55d-f99b-4c94-b57a-2be71be17604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{endpoint}}/api/v2/partners/{{partner_handle}}/shopify/reports/notifications/?start_time={{start_time}}&end_time={{end_time}}","urlObject":{"path":["api","v2","partners","{{partner_handle}}","shopify","reports","notifications",""],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>Format: yyyymmdd (ex: 20220301 -&gt; 1st March 2022)</p>\n","type":"text/plain"},"key":"start_time","value":"{{start_time}}"},{"description":{"content":"<p>Format: yyyymmdd (ex: 20220331 -&gt; 31st March 2022)</p>\n","type":"text/plain"},"key":"end_time","value":"{{end_time}}"}],"variable":[]}},"response":[{"id":"fb3ece92-ce11-425c-bbdc-916fbb57fcae","name":"Get Notification Report","originalRequest":{"method":"GET","header":[{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{endpoint}}/api/v2/partners/{{partner_handle}}/shopify/reports/notifications/?start_time={{start_time}}&end_time={{end_time}}","host":["{{endpoint}}"],"path":["api","v2","partners","{{partner_handle}}","shopify","reports","notifications",""],"query":[{"key":"start_time","value":"{{start_time}}","description":"Format: yyyymmdd"},{"key":"end_time","value":"{{end_time}}","description":"Format: yyyymmdd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Apr 2022 06:05:24 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.9"},{"key":"Content-Type","value":"text/html"},{"key":"Content-Length","value":"13306"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"result\": [\n        {\n            \"name\": \"partner_impressions_consumed\",\n            \"report\": [\n                {\n                    \"impressions_consumed\": 4\n                }\n            ],\n            \"status\": \"success\"\n        },\n        {\n            \"name\": \"partner_notifications_clicked\",\n            \"report\": [\n                {\n                    \"notifications_clicked\": 1\n                }\n            ],\n            \"status\": \"success\"\n        }\n    ]\n}"}],"_postman_id":"9ef3b55d-f99b-4c94-b57a-2be71be17604"}],"id":"7720f385-8798-44f7-8721-5e51cc2408d6","_postman_id":"7720f385-8798-44f7-8721-5e51cc2408d6","description":""},{"name":"Preferences","item":[{"name":"Set preferences for a merchant","id":"d2792430-a2c6-4aae-9ad2-005b7521a992","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enabled\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/partners/{{partner_handle}}/shopify/{{subdomain}}/preferences/","description":"<p>Set preferences for a merchant relevant to the integration.</p>\n","urlObject":{"path":["api","v1","partners","{{partner_handle}}","shopify","{{subdomain}}","preferences",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2792430-a2c6-4aae-9ad2-005b7521a992"},{"name":"Set preferences for a merchant","id":"b57d2c20-d5fc-4fca-aeae-1c247750f843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-PushOwl-Partner-Key","value":"{{partner_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"store_url\": \"https://shop.edgemesh.com\",\n    \"service_worker_url\": \"/sw.js\",\n    \"enabled\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v2/partners/{{partner_handle}}/preferences/","description":"<p>Set preferences for a merchant relevant to the integration. You can use this API if you don't have subdomain information on the merchant.</p>\n","urlObject":{"path":["api","v2","partners","{{partner_handle}}","preferences",""],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b57d2c20-d5fc-4fca-aeae-1c247750f843"}],"id":"44cd0ba2-5216-4f56-9c59-2a63f16071ce","_postman_id":"44cd0ba2-5216-4f56-9c59-2a63f16071ce","description":""}],"id":"3f4c63ba-3d3d-458f-9099-136c94fc972f","_postman_id":"3f4c63ba-3d3d-458f-9099-136c94fc972f","description":""}]}