{"item":[{"id":"3b836c3a-d62c-4bc2-80d0-5cf3349623ae","name":"Promotions","description":{"content":"","type":"text/plain"},"item":[{"id":"474cc926-0854-4fee-b551-d999d4ff81dd","name":"Get a Profile's promotions as Profile","request":{"name":"Get a Profile's promotions as Profile","description":{"content":"A Profile can retrieve a list of all its promotions, assigned or activated. By default, only non-expired promotions are retrieved.\n\n**IMPORTANT**: \n- As a result of this request, the `targetSegments` of all the matching promotions are checked. If this results in checking more than 30 unique segments, any segments above this limit may be ignored.\n- The endpoint is limited to 25000 requests per minute (per workspace).\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"sort","value":"requireRedeemedPoints,desc","description":"The sorting order of the response.\n\n\n  You can sort by any combination of the following attributes:\n  * `headerName`: promotion header name\n  * `name`: promotion name\n  * `code`: promotion code\n  * `startAt`: time when the promotion starts\n  * `createdAt`: time when the promotion was created\n  * `updatedAt`: time when the promotion was last updated\n  * `expireAt`: time when the promotion expires\n  * `requireRedeemedPoints`: how many loyalty points are needed to redeem the promotion\n  * `type`: type of the promotion\n  * `priority`: priority of the promotion\n  * `status` : status of the promotion for the Profile\n\n  Additionally, you can add the following attributes:\n  * `ai` : enables ai sorting, should be only combined with `status` sorting (direction of sorting is not needed)\n\n  You can sort ascending (default) or descending by adding `asc` or `desc` after the parameter, separated by a comma.\n\n  **Example**: `sort=requireRedeemedPoints&sort=expireAt,asc&sort=status,desc`\n"},{"disabled":false,"key":"status","value":"ASSIGNED,ACTIVE","description":"Filter by promotion status"},{"disabled":false,"key":"presentOnly","value":"true","description":"When set to:\n- `true`, the response includes only promotions that are currently active (startAt later than now or null, expireAt later than now or null)\n- `false`, the response includes the above and also promotions that are expired or will become active in the future.\n"},{"disabled":false,"key":"displayableOnly","value":"true","description":"When set to `true`, promotions which are not currently active are included in response, according to date range defined in promotion fields `displayFrom` and `displayTo`."},{"disabled":false,"key":"tagNames","value":"string,string","description":"Filter the response to promotions with a certain tag or tags"},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"checkGlobalActivationLimits","value":"true","description":"Flag to indicate if global limits should be checked"},{"disabled":false,"key":"includeVouchers","value":"false","description":"\nWhen `true`, promotion with defined vouchers will also have list of assigned vouchers.\n\nWhen `false`, vouchers will not be fetched.\n"},{"disabled":false,"key":"storeIds","value":"string","description":"Limits the response to data from particular stores, identified by IDs."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"c7e8bcda-d501-46cd-969c-21c71ca46b46","name":"An array of promotions","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a161b491-abd0-4186-b34c-ce80757ca85c","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4a7875b8-20ff-4fff-ab3f-e77c887a09b0","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"22d63b67-828d-4560-8c08-ce582ec1f4c0","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a5144758-c654-49ca-a4b5-4702d049d004","name":"Duplicate existing promotion","request":{"name":"Duplicate existing promotion","description":{"content":"You can duplicate an existing promotion.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `PROMOTIONS_DUPLICATE_PROMOTIONS_CREATE`\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d373843b-d4dc-4831-94d9-dd9550d0741e","name":"Promotion duplicated","originalRequest":{"url":{"path":["v4","promotions","promotion","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"status\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 6488543,\n  \"redeemLimitGlobal\": 0,\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1132982626,\n  \"activationLimitGlobalCounter\": 5002,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"activationLimitGlobalReached\": null,\n  \"redeemType\": \"PARTIAL\",\n  \"discountType\": \"NONE\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 6959.154187536395,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"createdAt\": \"1987-10-22T13:36:29.120Z\",\n  \"startAt\": \"1973-06-03T17:48:03.962Z\",\n  \"expireAt\": \"1988-08-22T14:22:28.506Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": true,\n    \"key_1\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"metric\": \"string\",\n  \"importHash\": \"9af6eed7-1a55-b20c-f624-cb26f4e770dc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a40eebfc-ee6a-44b9-9c48-b43db6582946","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9728ef24-4171-46bf-abc0-3076f99d332e","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f1f01bbb-6d13-474f-96e1-72717c4efa5e","name":"Promotion not found","originalRequest":{"url":{"path":["v4","promotions","promotion","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"274ea7b1-8fe5-41a1-aedf-de9fd0fbaa36","name":"Internal Server Error","originalRequest":{"url":{"path":["v4","promotions","promotion","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1c65778b-3c16-40d9-aa56-19b3f445abff","name":"Activate a promotion","request":{"name":"Activate a promotion","description":{"content":"A Profile can change the status of a promotion from `assigned` to `active`, the promotion can now be applied to a purchase.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9b7328ad-d875-41b9-b0fc-7fc38059c906","name":"Promotion activated","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"status\": \"ASSIGNED\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 5422260,\n  \"currentRedeemedQuantity\": 4237,\n  \"currentRedeemedLimit\": 1569,\n  \"activationCounter\": 7858,\n  \"possibleRedeems\": 9817,\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requireRedeemedPoints\": 3236.9580390460737,\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"2022-12-04T21:07:41.633Z\",\n  \"expireAt\": \"1970-09-15T09:04:54.866Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"assignedAt\": \"1999-04-24T02:17:52.164Z\",\n  \"lastingTime\": 0,\n  \"lastingAt\": \"1960-05-06T19:09:07.298Z\",\n  \"params\": {\n    \"key_0\": 4064.0283430854074\n  },\n  \"price\": 0,\n  \"priority\": 250,\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"vouchers\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3dca99b7-4579-4c4f-90c3-2073cbadae3f","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e2b9796b-8573-4d43-b3d9-514f90e94248","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"20648988-6784-4e61-a292-1ffe9b9ec01b","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4063a58c-2678-46d9-ac88-d4b0f56f6016","name":"Profile, promotion, or related resource not found","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7bd94ca4-8501-46c1-896b-9a6c49266a0a","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4771e2d2-8295-4dee-954a-7035fc8af7ae","name":"Already activated/Already redeemed/Activation limit reached/Promotion not started/Promotion expired","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Precondition Failed","code":412,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"37469bdd-5336-4655-aaa5-14ee7f85518e","name":"Global Activation limit reached","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"66df7ce3-b859-4f20-9675-c52fa7d67222","name":"Profile promotions blocked","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Locked (WebDAV) (RFC 4918)","code":423,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5369ff24-a841-47ce-aee1-d2d8221dbf93","name":"General error","originalRequest":{"url":{"path":["v4","promotions","promotion","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b51cc5b8-62ef-47bd-b816-8c7d059c843d","name":"Batch activate promotions","request":{"name":"Batch activate promotions","description":{"content":"A Profile can change the status of a number of promotions from `assigned` to `active`, the promotion can now be applied to a purchase.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"c5d56093-5755-41c7-8c8a-a7dae212dcf7","name":"Promotions activated","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2104af67-76f3-430f-ab15-2acb398461cd","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3fd8e777-7d8f-44dc-8b67-4e63d60fb95c","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9368dad2-7337-47e7-a00a-e708d248ce8e","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f73406fb-c06d-4aad-9314-159015e02954","name":"Profile, promotion, or related resource not found","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2c86cac7-c61d-4966-9941-63f48ed34b5f","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f5f90308-2a2d-4a86-b982-56590df42240","name":"Already activated/Already redeemed/Activation limit reached/Promotion not started/Promotion expired","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Precondition Failed","code":412,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f282692c-1878-405c-ac1b-4d3fa192b376","name":"Profile promotions blocked","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Locked (WebDAV) (RFC 4918)","code":423,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e6004baf-b26f-40ae-a896-21f047cccca4","name":"General error","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d51c51cc-aa44-4234-adc6-14615904fb57","name":"Deactivate a promotion","request":{"name":"Deactivate a promotion","description":{"content":"A Profile can change the status of an activated promotion back to `assigned`.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"04e68ff8-0911-4acd-aa80-d7b65b1688c3","name":"Promotion deactivated","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"status\": \"ACTIVE\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 1812072,\n  \"currentRedeemedQuantity\": 5644,\n  \"currentRedeemedLimit\": 5970,\n  \"activationCounter\": 9979,\n  \"possibleRedeems\": 5031,\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requireRedeemedPoints\": 9876.22351084273,\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"2013-04-19T08:55:28.953Z\",\n  \"expireAt\": \"1959-02-09T23:27:09.063Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"assignedAt\": \"2024-12-04T08:14:51.579Z\",\n  \"lastingTime\": 0,\n  \"lastingAt\": \"1999-03-21T08:15:45.501Z\",\n  \"params\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\",\n    \"key_2\": false\n  },\n  \"price\": 0,\n  \"priority\": 250,\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"vouchers\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e2ffd33a-7ced-4e15-97bd-808276d181d8","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dbd49b6d-58e1-4ecb-bafb-f1f258d309ce","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1849cb34-c838-4094-b89e-85873e67eee8","name":"Promotion deactivation is forbidden due to promotion setup.","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8fdd5224-4a5e-4ae2-a23e-6161ba55b715","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion for profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f3528c5-5872-42da-83cc-6429e84ff16b","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8f88c83a-e546-4b5d-bf1b-ae4a1f52b8e4","name":"Batch deactivate promotions","request":{"name":"Batch deactivate promotions","description":{"content":"A Profile can change the status of a number of activated promotions back to `assigned`.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","batch-deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"3a2bbefb-3a27-49f5-800e-1cb98568bfb7","name":"Promotions deactivated","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6d00d5b7-aa7a-468d-b846-9be1a865a0a7","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2dd248c4-5fb5-45b6-9906-173f463f550d","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8ff97f8-e1dc-493e-8c3a-4fda7f36632c","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c311d853-f568-46c1-bd34-3e86a7d6085e","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotions for profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8e98ea9a-cf33-4387-ae22-c75523e86a38","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fb625385-fa4e-40bc-912c-e3aa15065bb3","name":"Deactivate all promotions for a Profile as Workspace","request":{"name":"Deactivate all promotions for a Profile as Workspace","description":{"content":"You can deactivate all promotions assigned to a Profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_DEACTIVATE_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","deactivate-all-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"returnCodes","value":"true","description":"Return deactivated codes"},{"disabled":false,"key":"lockPoints","value":"true","description":"Lock profile points during the deactivation process"},{"disabled":false,"key":"excludeTags","value":"string,string","description":"Promotions with the tags included in this list will not be deactivated"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"d18e4fe9-9d7c-4cc6-9ee8-ecc84009ff63","name":"All promotions deactivated","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-all-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"returnCodes","value":"true"},{"key":"lockPoints","value":"true"},{"key":"excludeTags","value":"string,string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d61c7d0-1c4b-4a58-9be1-e06bc9687ff8","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-all-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"returnCodes","value":"true"},{"key":"lockPoints","value":"true"},{"key":"excludeTags","value":"string,string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a121d564-a705-4a36-a842-58b7f6e7b633","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-all-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"returnCodes","value":"true"},{"key":"lockPoints","value":"true"},{"key":"excludeTags","value":"string,string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7ebb1809-ce8d-42cf-9fdc-fd9aa97802a8","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-all-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"returnCodes","value":"true"},{"key":"lockPoints","value":"true"},{"key":"excludeTags","value":"string,string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"85ec4195-5b88-4613-ab74-62992341987f","name":"Profile not found","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-all-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"returnCodes","value":"true"},{"key":"lockPoints","value":"true"},{"key":"excludeTags","value":"string,string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e1b6cfff-70ed-459f-b85d-9f59e8eae196","name":"Redeem a promotion","request":{"name":"Redeem a promotion","description":{"content":"You can redeem a promotion and loyalty points.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_REDEEM_PROMOTIONS_CREATE`\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"523a37ed-6ce4-4471-a1ba-902180700939","name":"Promotion redeemed successfully","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion redeemed successfully\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9fb1d601-9dcb-40bb-aa16-96bbb53b82b9","name":"Promotion is already redeemed","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"code":209,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion is already redeemed\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c6fc45c7-f1e5-40a8-a24a-bfdb8a9e1c47","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0021c671-100e-4022-897e-c46e2d3b25c7","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b6caa04-bb21-4845-89ed-5a8f5ace98b3","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bf03ca0e-428a-4df5-a8fd-30d3605e1c23","name":"Not found error","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ecb6875-4a33-49c3-be17-900892e55ae7","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b7f47cc8-3996-4bd8-a59b-9ca67a57af3e","name":"Unprocessable redemption","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Precondition Failed","code":412,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion not activated\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b91c7205-ac9c-4160-98b2-a5ffd8fc208f","name":"Profile promotions blocked","originalRequest":{"url":{"path":["v4","promotions","promotion","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n  \"clientKey\": \"clientId\",\n  \"clientKeyValue\": \"434428563\"\n}","options":{"raw":{"language":"json"}}}},"status":"Locked (WebDAV) (RFC 4918)","code":423,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a9f1d0ca-4079-48e8-96e6-29ca224a2e49","name":"Batch redeem promotions","request":{"name":"Batch redeem promotions","description":{"content":"You can redeem up to 100 promotions and loyalty points relevant to them.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_BATCH_REDEEM_PROMOTIONS_CREATE`\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"7f169ddd-52ab-4ff1-b3ef-2cde22db7815","name":"Promotion redeemed successfully","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion redeemed successfully\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"138302b0-d351-45c8-8881-66820925adb5","name":"Promotion is already redeemed","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"code":209,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion is already redeemed\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b6061af5-b3ba-4ec6-b7e3-04e20fc69d6d","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0839d6f1-afe4-4202-9076-6908ee66748d","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6103307b-e844-4cef-af17-57ac0816eedd","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e64e6dc-5275-46cb-9abf-ab7ed560f8ab","name":"Not found error","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c2ce34a9-b69d-44c6-8ed2-63b63c0f40c9","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"09e40626-96ea-4a01-9875-c1d65809d92b","name":"Unprocessable redemption","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Precondition Failed","code":412,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion not activated\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8714b9e1-61e8-452f-8a53-94d315873d04","name":"Profile promotions blocked","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  },\n  {\n    \"code\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"clientKey\": \"clientId\",\n    \"clientKeyValue\": \"434428563\"\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Locked (WebDAV) (RFC 4918)","code":423,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"63b8fde8-e98d-425c-924d-8c09db20515e","name":"Get a Profile's promotions as Workspace (v2)","request":{"name":"Get a Profile's promotions as Workspace (v2)","description":{"content":"A Workspace can retrieve a list of a profile's promotions. By default, only non-expired promotions are retrieved.\n\n**IMPORTANT**: \n- As a result of this request, the `targetSegments` of all the matching promotions are checked. If this results in checking more than 30 unique segments, any segments above this limit may be ignored.\n- The endpoint is limited to 25000 requests per minute (per workspace).\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_LIST_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"sort","value":"requireRedeemedPoints,desc","description":"The sorting order of the response.\n\n\n  You can sort by any combination of the following attributes:\n  * `headerName`: promotion header name\n  * `name`: promotion name\n  * `code`: promotion code\n  * `startAt`: time when the promotion starts\n  * `createdAt`: time when the promotion was created\n  * `updatedAt`: time when the promotion was last updated\n  * `expireAt`: time when the promotion expires\n  * `requireRedeemedPoints`: how many loyalty points are needed to redeem the promotion\n  * `type`: type of the promotion\n  * `priority`: priority of the promotion\n  * `status` : status of the promotion for the Profile\n\n  Additionally, you can add the following attributes:\n  * `ai` : enables ai sorting, should be only combined with `status` sorting (direction of sorting is not needed)\n\n  You can sort ascending (default) or descending by adding `asc` or `desc` after the parameter, separated by a comma.\n\n  **Example**: `sort=requireRedeemedPoints&sort=expireAt,asc&sort=status,desc`\n"},{"disabled":false,"key":"status","value":"ASSIGNED,ACTIVE","description":"Filter by promotion status"},{"disabled":false,"key":"presentOnly","value":"true","description":"When set to:\n- `true`, the response includes only promotions that are currently active (startAt later than now or null, expireAt later than now or null)\n- `false`, the response includes the above and also promotions that are expired or will become active in the future.\n"},{"disabled":false,"key":"displayableOnly","value":"true","description":"When set to `true`, promotions which are not currently active are included in response, according to date range defined in promotion fields `displayFrom` and `displayTo`."},{"disabled":false,"key":"tagNames","value":"string,string","description":"Filter the response to promotions with a certain tag or tags"},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"fields","value":"status,code","description":"Return only specified promotion fields. If `fields` is not specified, all fields are returned."},{"disabled":false,"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe","description":"Filters the response data by a list of promotion UUIDs."},{"disabled":false,"key":"checkGlobalActivationLimits","value":"true","description":"Flag to indicate if global limits should be checked"},{"disabled":false,"key":"includeVouchers","value":"false","description":"\nWhen `true`, promotion with defined vouchers will also have list of assigned vouchers.\n\nWhen `false`, vouchers will not be fetched.\n"},{"disabled":false,"key":"storeIds","value":"string","description":"Limits the response to data from particular stores, identified by IDs."}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"b6ceb13b-6d05-462e-b0ab-645241d5f0a7","name":"An array of promotions","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"58805269-05c2-41da-8bd1-41845900841a","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b4eab5fb-e06a-4ab8-aa8c-556cd0380708","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f014c698-13fe-4018-bf82-c6a9a74fcdb9","name":"Profile not found","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"presentOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"tagNames","value":"string,string"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"checkGlobalActivationLimits","value":"true"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7916757d-fa6b-45aa-9c75-e5624a66ec84","name":"View promotion details as Profile","request":{"name":"View promotion details as Profile","description":{"content":"A Profile can view all the details of an assigned or activated promotion.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-item-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"lastingOnly","value":"true","description":"When set to `true`, shows promotions/vouchers that are currently active and those that are still inactivated. (lastingAt set to null or lastingAt in future)"}],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"281cae57-3db6-4bde-a0f0-1efbf1451599","name":"Details of a promotion","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lastingOnly","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemQuantityPerActivation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currentRedeemedQuantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currentRedeemedLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationCounter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"possibleRedeems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountModeDetails\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requireRedeemedPoints\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headline\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"images\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"tags\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"params\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogIndexItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"itemScope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"minBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vouchers\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2c49b54a-9219-4556-96d8-69e8efaafc56","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lastingOnly","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"755bd9fe-0c5d-48b7-a135-9a94a4deeb27","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lastingOnly","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"497aba53-b791-4233-8e1c-04e6dad7f790","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lastingOnly","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"09bac47b-9599-401c-a6e7-4e27ac11b400","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lastingOnly","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Object not found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dbca40c4-9c6a-4020-8520-01d642e9e22b","name":"View promotion details as Profile","request":{"name":"View promotion details as Profile","description":{"content":"A Profile can view all the details of an assigned or activated promotion.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-item-for-client-no-data",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"d98f1e19-0056-455f-b258-aa6a87746135","name":"Details of a promotion","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client-no-data",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemQuantityPerActivation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currentRedeemedQuantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currentRedeemedLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationCounter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"possibleRedeems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountModeDetails\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requireRedeemedPoints\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headline\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"images\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"tags\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"params\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogIndexItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"itemScope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"minBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vouchers\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"daed274c-960a-4512-b678-896ff55f3396","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client-no-data",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"226155b1-f818-48cf-b462-401141ed5cfa","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client-no-data",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f003c7ab-4c73-4e2e-99d3-351d7d00be3f","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client-no-data",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"acdd76c1-c110-4022-a235-1e0a8029fbd4","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","get-item-for-client-no-data",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Object not found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fdf9a0ad-03ae-4a0e-b761-6521f05b6478","name":"View Workspace promotions","request":{"name":"View Workspace promotions","description":{"content":"You can retrieve a list of all promotions defined in your Workspaces. It includes configured promotions, ready to be used or already in use.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_LIST_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","list"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"storeCatalog","value":"string","description":"Limits the response to data from stores included in a catalog."},{"disabled":false,"key":"storeIds","value":"string","description":"Limits the response to data from particular stores, identified by IDs."},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"orderFieldName","value":"createdAt","description":"Name of the parameter used for sorting"},{"disabled":false,"key":"order","value":"asc","description":"Sorting order"},{"disabled":false,"key":"query","value":"string","description":"A string to search for in the `headerName` parameter or fragment of UUID."},{"disabled":false,"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe","description":"Filters the response data by a list of promotion UUIDs."},{"disabled":false,"key":"targetByType","value":"[SEGMENT]=ACTIVE","description":"A combination of target and type, for example `[SEGMENT]=ACTIVE`"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"bbe1d39c-56e6-49a0-8fb2-bae8a9cfa766","name":"An array of promotions","originalRequest":{"url":{"path":["v4","promotions","promotion","list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"includeMeta","value":"false"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ee8b26a-da79-4a9f-a60a-f0c42d44c0ff","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"includeMeta","value":"false"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40d1d4d1-0a90-46f3-9b37-3b52e2c7e509","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"includeMeta","value":"false"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dd1a05bb-cc6f-4719-af2d-865d20a3a424","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"includeMeta","value":"false"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"},{"key":"promotionUuids","value":"fc1ee5bf-ad97-47a8-a474-e1b6e755ff38,aabaed4e-4ee7-44d5-b079-445a017ec6fe"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1943bbbc-fd8e-4abd-8b51-1b117cd9403e","name":"View recently updated promotions","request":{"name":"View recently updated promotions","description":{"content":"You can retrieve a list of promotions that were updated. You can filter, sort, and paginate the results.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_DIFF_LIST_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","diff-list"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"storeCatalog","value":"string","description":"Limits the response to data from stores included in a catalog."},{"disabled":false,"key":"storeIds","value":"string","description":"Limits the response to data from particular stores, identified by IDs."},{"disabled":false,"key":"target","value":"ALL,ALL","description":"The target of the promotion"},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"presentOnly","value":"true","description":"When set to:\n- `true`, the response includes only promotions that are currently active (startAt later than now or null, expireAt later than now or null)\n- `false`, the response includes the above and also promotions that are expired or will become active in the future.\n"},{"disabled":false,"key":"visibilityStatus","value":"HIDDEN","description":"Visibility status"},{"disabled":false,"key":"visibilityStatus","value":"PUBLISH","description":"Visibility status"},{"disabled":false,"key":"upsertTimestamp","value":"1996-12-31T00:00:29.676Z","description":"Defines the date since which the differences are shown. If not defined, defaults to infinity."},{"disabled":false,"key":"orderFieldName","value":"createdAt","description":"Name of the parameter used for sorting"},{"disabled":false,"key":"order","value":"asc","description":"Sorting order"},{"disabled":false,"key":"query","value":"string","description":"A string to search for in the `headerName` parameter or fragment of UUID."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"3da24cf0-e048-4cb7-8db5-e73ca7f708d5","name":"An array of promotions. If a promotion was deleted, the `deletedAt` field is included","originalRequest":{"url":{"path":["v4","promotions","promotion","diff-list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"target","value":"ALL,ALL"},{"key":"includeMeta","value":"false"},{"key":"presentOnly","value":"true"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"upsertTimestamp","value":"1996-12-31T00:00:29.676Z"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b03849d0-af14-418c-bd40-2afce437af61","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","diff-list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"target","value":"ALL,ALL"},{"key":"includeMeta","value":"false"},{"key":"presentOnly","value":"true"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"upsertTimestamp","value":"1996-12-31T00:00:29.676Z"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"491bfa13-be64-4493-9cd0-79e1b6e11e76","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","diff-list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"target","value":"ALL,ALL"},{"key":"includeMeta","value":"false"},{"key":"presentOnly","value":"true"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"upsertTimestamp","value":"1996-12-31T00:00:29.676Z"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df02b9fb-43d4-4014-89bc-ff3176736bd3","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","diff-list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"storeCatalog","value":"string"},{"key":"storeIds","value":"string"},{"key":"target","value":"ALL,ALL"},{"key":"includeMeta","value":"false"},{"key":"presentOnly","value":"true"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"upsertTimestamp","value":"1996-12-31T00:00:29.676Z"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"82be5371-b2ff-4437-93e4-5a4f0214e95c","name":"Get a Profile's promotions as Workspace","request":{"name":"Get a Profile's promotions as Workspace","description":{"content":"A Workspace can retrieve a list of all promotions assigned to a Profile.\n\n**IMPORTANT**: \n- As a result of this request, the `targetSegments` of all the matching promotions are checked. If this results in checking more than 30 unique segments, any segments above this limit may be ignored.\n- The endpoint does not support redemption limits per client for Multi-buy promotions (promotions with redeemQuantityPerActivation greater than 1). For redemption limits, please use [/v2/promotion/get-for-client/{identifierType}/{identifierValue}](#operation/GetAllClientPromotionsV2).\n- The endpoint is limited to 25000 requests per minute (per workspace).\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_LIST_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"sort","value":"requireRedeemedPoints,desc","description":"The sorting order of the response.\n\n\n  You can sort by any combination of the following attributes:\n  * `headerName`: promotion header name\n  * `name`: promotion name\n  * `code`: promotion code\n  * `startAt`: time when the promotion starts\n  * `createdAt`: time when the promotion was created\n  * `updatedAt`: time when the promotion was last updated\n  * `expireAt`: time when the promotion expires\n  * `requireRedeemedPoints`: how many loyalty points are needed to redeem the promotion\n  * `type`: type of the promotion\n  * `priority`: priority of the promotion\n  * `status` : status of the promotion for the Profile\n\n  Additionally, you can add the following attributes:\n  * `ai` : enables ai sorting, should be only combined with `status` sorting (direction of sorting is not needed)\n\n  You can sort ascending (default) or descending by adding `asc` or `desc` after the parameter, separated by a comma.\n\n  **Example**: `sort=requireRedeemedPoints&sort=expireAt,asc&sort=status,desc`\n"},{"disabled":false,"key":"status","value":"ACTIVE,ACTIVE","description":"Filter by promotion status. If not provided, defaults to ACTIVE. If status is not provided and no promotions are active, the response is an empty array."},{"disabled":false,"key":"tagNames","value":"string,string","description":"Filter the response to promotions with a certain tag or tags"},{"disabled":false,"key":"target","value":"ALL,ALL","description":"The target of the promotion"},{"disabled":false,"key":"type","value":"MEMBERS_ONLY,HANDBILL","description":"Promotion type"},{"disabled":false,"key":"presentOnly","value":"true","description":"When set to:\n- `true`, the response includes only promotions that are currently active (startAt later than now or null, expireAt later than now or null)\n- `false`, the response includes the above and also promotions that are expired or will become active in the future.\n"},{"disabled":false,"key":"lastingOnly","value":"true","description":"When set to `true`, shows promotions/vouchers that are currently active and those that are still inactivated. (lastingAt set to null or lastingAt in future)"},{"disabled":false,"key":"displayableOnly","value":"true","description":"When set to `true`, promotions which are not currently active are included in response, according to date range defined in promotion fields `displayFrom` and `displayTo`."},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"includeVouchers","value":"false","description":"\nWhen `true`, promotion with defined vouchers will also have list of assigned vouchers.\n\nWhen `false`, vouchers will not be fetched.\n"},{"disabled":false,"key":"storeIds","value":"string","description":"Limits the response to data from particular stores, identified by IDs."}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"04d009c3-8893-4dd2-b7c7-05dbe7fcaee9","name":"An array of promotions","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ACTIVE,ACTIVE"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c8da556-3fd7-46a6-94e0-6225bfa0e39c","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ACTIVE,ACTIVE"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4743ca01-42a1-4ec7-b629-708fb43c0e47","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ACTIVE,ACTIVE"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9be93835-0a7a-4a45-9b51-f4eeec725b5d","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"status","value":"ACTIVE,ACTIVE"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"},{"key":"includeVouchers","value":"false"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3597a550-e569-4f64-b053-6a15ca2afa79","name":"Get redeemable promotions of a Profile","request":{"name":"Get redeemable promotions of a Profile","description":{"content":"Retrieve all redeemable promotions related to a Profile.\n\n**IMPORTANT**: \n- As a result of this request, the `targetSegments` of all the matching promotions are checked. If this results in checking more than 30 unique segments, any segments above this limit may be ignored.\n- The endpoint is limited to 25000 requests per minute (per workspace).\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_REDEEM_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client-possible-to-redeem",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"sort","value":"requireRedeemedPoints,desc","description":"The sorting order of the response.\n\n\n  You can sort by any combination of the following attributes:\n  * `headerName`: promotion header name\n  * `name`: promotion name\n  * `code`: promotion code\n  * `startAt`: time when the promotion starts\n  * `createdAt`: time when the promotion was created\n  * `updatedAt`: time when the promotion was last updated\n  * `expireAt`: time when the promotion expires\n  * `requireRedeemedPoints`: how many loyalty points are needed to redeem the promotion\n  * `type`: type of the promotion\n  * `priority`: priority of the promotion\n  * `status` : status of the promotion for the Profile\n\n  Additionally, you can add the following attributes:\n  * `ai` : enables ai sorting, should be only combined with `status` sorting (direction of sorting is not needed)\n\n  You can sort ascending (default) or descending by adding `asc` or `desc` after the parameter, separated by a comma.\n\n  **Example**: `sort=requireRedeemedPoints&sort=expireAt,asc&sort=status,desc`\n"},{"disabled":false,"key":"presentOnly","value":"true","description":"When set to:\n- `true`, the response includes only promotions that are currently active (startAt later than now or null, expireAt later than now or null)\n- `false`, the response includes the above and also promotions that are expired or will become active in the future.\n"},{"disabled":false,"key":"lastingOnly","value":"true","description":"When set to `true`, shows promotions/vouchers that are currently active and those that are still inactivated. (lastingAt set to null or lastingAt in future)"},{"disabled":false,"key":"displayableOnly","value":"true","description":"When set to `true`, promotions which are not currently active are included in response, according to date range defined in promotion fields `displayFrom` and `displayTo`."},{"disabled":false,"key":"status","value":"ASSIGNED,ACTIVE","description":"Filter by promotion status"},{"disabled":false,"key":"type","value":"MEMBERS_ONLY,HANDBILL","description":"Promotion type"},{"disabled":false,"key":"statusByType","value":"[CUSTOM]=ACTIVE","description":"A combination of status and type, for example `[CUSTOM]=ACTIVE`"},{"disabled":false,"key":"targetByType","value":"[SEGMENT]=ACTIVE","description":"A combination of target and type, for example `[SEGMENT]=ACTIVE`"},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"target","value":"ALL,ALL","description":"The target of the promotion"},{"disabled":false,"key":"storeIds","value":"string","description":"Limits the response to data from particular stores, identified by IDs."}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"680b27e8-eb8f-4cf4-afce-5281c98f6ad3","name":"An array of promotions","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-possible-to-redeem",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"statusByType","value":"[CUSTOM]=ACTIVE"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"},{"key":"includeMeta","value":"false"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"target","value":"ALL,ALL"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff72a1cf-e670-4854-bd8d-c742302e54d1","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-possible-to-redeem",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"statusByType","value":"[CUSTOM]=ACTIVE"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"},{"key":"includeMeta","value":"false"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"target","value":"ALL,ALL"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9bcb4fa9-6332-4cd0-8464-74926e5f95e6","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-possible-to-redeem",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"statusByType","value":"[CUSTOM]=ACTIVE"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"},{"key":"includeMeta","value":"false"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"target","value":"ALL,ALL"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"272a8040-bc5e-4e78-99ea-d7d58545ba37","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-possible-to-redeem",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"sort","value":"requireRedeemedPoints,desc"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"displayableOnly","value":"true"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"statusByType","value":"[CUSTOM]=ACTIVE"},{"key":"targetByType","value":"[SEGMENT]=ACTIVE"},{"key":"includeMeta","value":"false"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"target","value":"ALL,ALL"},{"key":"storeIds","value":"string"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"958cfd64-a588-476e-a276-23c96fc65ff0","name":"Get promotion details as Workspace","request":{"name":"Get promotion details as Workspace","description":{"content":"Retrieve the details of a promotion by its code.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_DETAILS_FOR_PROFILE_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"88c7ee73-1fa1-4c78-9d45-27065f1a402f","name":"Details of a promotion","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemQuantityPerActivation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitGlobal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalCounter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalRelativeMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalReached\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountModeDetails\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"preDiscountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requireRedeemedPoints\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headline\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"images\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"tags\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"params\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"itemScope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"minBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogIndexItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogFilterIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeCatalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetSegment\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"metric\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"importHash\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40e30ad3-9189-46ba-bdc9-d93e6a159e63","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f17e6fc3-8a84-4258-bccf-0c70a96cee97","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ca56448c-cb4d-49d9-abed-605e63899a5b","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"22cf5ccf-56b7-4be7-a17e-8ff47e6f48de","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Object not found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a282a09c-09eb-4fc5-8f6c-1954750063c0","name":"Update a promotion","request":{"name":"Update a promotion","description":{"content":"You can update an existing promotion. Include only the fields that you want to change. Inserting a null value overwrites an existing value.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_DETAILS_FOR_PROFILE_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 804167,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 7302.349312156619,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1990-04-03T12:31:50.404Z\",\n  \"expireAt\": \"1969-03-14T07:24:04.482Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": 4277.097847118437\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1870921644,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"04632024-7520-1846-e9a7-778a137193bf\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"04144013-8572-437e-afec-8169bfd9641e","name":"Promotion updated","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemQuantityPerActivation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitGlobal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalCounter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalRelativeMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalReached\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountModeDetails\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"preDiscountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requireRedeemedPoints\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headline\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"images\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"tags\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"params\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"itemScope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"minBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogIndexItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogFilterIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeCatalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetSegment\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"metric\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"importHash\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2aafd15a-bba2-4fa8-b063-c2ae05c28b31","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"486942bf-4dbb-4b6f-9f09-a5749cc457dd","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90a2a07a-39e8-4f32-a77d-77967966b376","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"identifierType","description":"(Required) The promotion identifier to use for the request"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"62157faa-172c-4e55-ad0f-dcfbb8700516","name":"Get Profile promotions by a custom filter","request":{"name":"Get Profile promotions by a custom filter","description":{"content":"Retrieve a list of promotions related to a Profile by a custom,\npre-defined filter.\n\nThe filter is maintained by your backend administrator.\n\n**IMPORTANT**: \n- As a result of this request, the `targetSegments` of all the matching promotions are checked. If this results in checking more than 30 unique segments, any segments above this limit may be ignored.\n- The endpoint is limited to 25000 requests per minute (per workspace).\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_GET_FOR_CLIENT_BY_CUSTOM_SETTINGS_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client-by-custom-settings",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"lockIdentifier","value":"6561d87b-2697-46ad-8f9a-0550736b86e3","description":"Identifier of the lock which will be created with this request. The lock disables the profile's possibility to fetch promotion lists.\n\nThis lock will be active until one of those conditions is met:\n\n- the TTL (configured with the [settings](#operation/endpointSettingsUpdateSettingsPUT) endpoint) expires.\n- it is removed using the [Release \"promotion requested\" lock](#operation/endpointLockReleasePromotionRequestedLockForClientPOST) endpoint.\n- a promotion is redeemed and this lock's identifier is provided with the redemption request."}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"3232e294-98b0-4778-986e-e46baf1e8dd8","name":"An array of promotions","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-by-custom-settings",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"lockIdentifier","value":"6561d87b-2697-46ad-8f9a-0550736b86e3"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8684f713-7c5e-47ca-8720-b8e79971473f","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-by-custom-settings",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"lockIdentifier","value":"6561d87b-2697-46ad-8f9a-0550736b86e3"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0d6ecc07-b06a-4907-9337-2a33763d2ef9","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-by-custom-settings",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"lockIdentifier","value":"6561d87b-2697-46ad-8f9a-0550736b86e3"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cfae3110-fcda-4c1a-b035-333d04285495","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-by-custom-settings",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"lockIdentifier","value":"6561d87b-2697-46ad-8f9a-0550736b86e3"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e517d172-3ce8-4088-b890-c403f02a46ef","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client-by-custom-settings",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"lockIdentifier","value":"6561d87b-2697-46ad-8f9a-0550736b86e3"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"46034c3d-e49c-4a79-9dd3-af021c5d9f98","name":"Activate a promotion as Workspace","request":{"name":"Activate a promotion as Workspace","description":{"content":"You can change the status of a Profile's promotion from `assigned` to `active`, the promotion can now be applied to a purchase.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_ACTIVATE_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7a99b0b4-a2c9-47f5-8cc1-a1bf2724c101","name":"Promotion activated","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"status\": \"ACTIVE\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 1812072,\n  \"currentRedeemedQuantity\": 5644,\n  \"currentRedeemedLimit\": 5970,\n  \"activationCounter\": 9979,\n  \"possibleRedeems\": 5031,\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requireRedeemedPoints\": 9876.22351084273,\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"2013-04-19T08:55:28.953Z\",\n  \"expireAt\": \"1959-02-09T23:27:09.063Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"assignedAt\": \"2024-12-04T08:14:51.579Z\",\n  \"lastingTime\": 0,\n  \"lastingAt\": \"1999-03-21T08:15:45.501Z\",\n  \"params\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\",\n    \"key_2\": false\n  },\n  \"price\": 0,\n  \"priority\": 250,\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"vouchers\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44f8fdfb-94ac-446a-8004-7514a5ef3d75","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b9abfa5-0632-422f-90e5-3937a2244de5","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a8658e36-9fa8-4767-8ca8-a9d8ab7a7c7d","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"77ac377a-187c-443c-adc2-36e9dea46ba8","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion for profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e4442b2a-4372-43e6-afe4-0538768f45fd","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"01fe2236-8ad9-4137-a43a-c8f762afe41d","name":"Already activated/Already redeemed/Activation limit reached/Promotion not started/Promotion expired","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Precondition Failed","code":412,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"52b7a056-2b87-4829-beeb-85f7ab7c8d64","name":"Global Activation limit reached","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"275e3ef4-a7e7-4a64-a448-bc142579ee50","name":"Profile promotions blocked","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Locked (WebDAV) (RFC 4918)","code":423,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d6e8d62-8cb5-4e00-a1e0-44cddfccaddd","name":"General error","originalRequest":{"url":{"path":["v4","promotions","promotion","activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"12d36119-7b47-475a-95f5-b045155b94f5","name":"Batch activate promotions as Workspace","request":{"name":"Batch activate promotions as Workspace","description":{"content":"You can change the status of a number of Profile's promotions promotion from `assigned` to `active`, the promotion can now be applied to a purchase.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_BATCH_ACTIVATE_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"ed98da8e-5a90-4c4f-a69a-350e295f977f","name":"Promotions activated","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88c173a5-7d58-450e-8cb7-80914dbbf1b6","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d70d2acd-9acc-4ded-ac82-0141a9944677","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53266d84-771a-4edf-82d1-b79f7ab50ab7","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9cc8609b-cdfa-45f5-8c9a-9e1e6db67083","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotions for profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f257e00a-ddfa-474b-bde2-a46a49e5596d","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a83d5cd-212d-4cdc-9573-bbfd8e891433","name":"Already activated/Already redeemed/Activation limit reached/Promotion not started/Promotion expired","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Precondition Failed","code":412,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba904bdc-2ca9-4b78-be11-72399b95ae36","name":"General error","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-activate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fac5dad7-e9af-405b-81d1-c0f6f474eb2a","name":"Deactivate a promotion as Workspace","request":{"name":"Deactivate a promotion as Workspace","description":{"content":"You can change the status of a Profile's activated promotion back to `assigned`.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_DEACTIVATE_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c08abd3e-aaba-4962-b5eb-8f45f0c98c20","name":"Promotion deactivated","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"status\": \"ACTIVE\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 1812072,\n  \"currentRedeemedQuantity\": 5644,\n  \"currentRedeemedLimit\": 5970,\n  \"activationCounter\": 9979,\n  \"possibleRedeems\": 5031,\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requireRedeemedPoints\": 9876.22351084273,\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"2013-04-19T08:55:28.953Z\",\n  \"expireAt\": \"1959-02-09T23:27:09.063Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"assignedAt\": \"2024-12-04T08:14:51.579Z\",\n  \"lastingTime\": 0,\n  \"lastingAt\": \"1999-03-21T08:15:45.501Z\",\n  \"params\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\",\n    \"key_2\": false\n  },\n  \"price\": 0,\n  \"priority\": 250,\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"vouchers\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"363f3561-4d0b-4c21-9492-a3e144edd91e","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e59cb4c1-9825-469c-b331-288fa6181a44","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1fd4b4e9-f3a5-445e-bd18-4424ce192c4a","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d0c8e59-a9fc-4953-b0ca-8a4e8a56e386","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotion for profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"99efc55c-36c4-48a5-bdec-225ab0c189e4","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key\": \"code\",\n  \"value\": \"7893467834GG\",\n  \"pointsToUse\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"968de4e5-3bbd-4bcd-8d75-5f2ac145ea9d","name":"Batch deactivate promotions","request":{"name":"Batch deactivate promotions","description":{"content":"You can change the status of a number of Profile's activated promotions back to `assigned`.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_BATCH_DEACTIVATE_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","batch-deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"ddf881eb-2aea-496f-b4b2-13ef4fe48c67","name":"Promotions deactivated","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"\"{}\"","cookie":[],"_postman_previewlanguage":"json"},{"id":"2067e8a3-8f41-4f4c-9d5d-c5212df4996b","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"51edec7b-02e3-4d48-b0e4-b12b24464ac4","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7ba2fa06-d8c0-40b4-a175-03d459d9a59f","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"19c33039-beb6-48fe-89b7-829ca276edfa","name":"Not Found","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Promotions for profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9dd7d5b2-0be7-4a54-9fc8-a2897fef4f11","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion","batch-deactivate-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  },\n  {\n    \"key\": \"code\",\n    \"value\": \"7893467834GG\",\n    \"pointsToUse\": 100\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2a55ba01-8af8-41f8-b0da-ea0213c4a774","name":"Create a promotion","request":{"name":"Create a promotion","description":{"content":"You can create a new promotion in the Synerise application.\n\n\nIf you don't enter a code or UUID, they are generated automatically.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_PROMOTIONS_CREATE`\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0095a8dd-1951-4ac7-87be-b513d2fada67","name":"Promotion created","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemQuantityPerActivation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitGlobal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalCounter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalRelativeMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalReached\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountModeDetails\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"preDiscountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requireRedeemedPoints\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headline\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"images\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"tags\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"params\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"itemScope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"minBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogIndexItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogFilterIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeCatalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetSegment\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"metric\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"importHash\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8d24c3a9-7773-42c9-a16e-aeb2000f2637","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1abde700-60cb-409c-bf48-977998c6ae93","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e9ede21d-3a1a-4ccc-b2e0-47923b209e2d","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 3793275,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountType\": \"NONE\",\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 72.80104604452498,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1955-10-20T17:30:43.022Z\",\n  \"expireAt\": \"1972-06-24T05:29:21.780Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"activationLimitGlobalType\": \"LIFETIME\",\n  \"activationLimitGlobalLimit\": 1429992470,\n  \"activationLimitGlobalRelativeMinutes\": null,\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8bd69c78-1444-6072-24b3-924d8f2fa756\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f1618272-3bd7-4676-b8a6-4569232347c0","name":"Delete a promotion","request":{"name":"Delete a promotion","description":{"content":"This method is used to delete an existing promotion. It can be used by a backend business administrator.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_PROMOTIONS_DELETE`\n\n**User role permission required:** `campaigns_promotions: delete`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"value\": \"8f3457075b2769d039\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"691319e4-2381-49db-9149-1ca9f7e5398b","name":"Promotion deleted","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"value\": \"8f3457075b2769d039\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemQuantityPerActivation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemLimitGlobal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalCounter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalRelativeMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activationLimitGlobalReached\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountModeDetails\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"preDiscountValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requireRedeemedPoints\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headline\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"images\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"tags\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"displayTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"params\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"itemScope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"minBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxBasketValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogIndexItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"catalogFilterIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeCatalog\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeItemType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"storeIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetSegment\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"metric\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"importHash\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f3106088-b115-4d01-9a40-bb8eeaef3662","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"value\": \"8f3457075b2769d039\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"56f49a74-0baa-4a74-b404-c8057a8b7f06","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"value\": \"8f3457075b2769d039\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fefd2a6a-25f2-496f-87ed-795d83482831","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"value\": \"8f3457075b2769d039\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0b758d31-00c2-46cf-88da-1f05ba42f7db","name":"Profile, promotion, or related resource not found","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"value\": \"8f3457075b2769d039\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"520c504b-fcaf-4652-b9b5-3a4751f836c4","name":"Waiting for profile lock release","originalRequest":{"url":{"path":["v4","promotions","promotion"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"value\": \"8f3457075b2769d039\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"95c4ee40-165f-469c-97ce-be47a766dfba","name":"Create or update a promotion","request":{"name":"Create or update a promotion","description":{"content":"You can use this endpoint to create a new promotion or update an existing one that matches the UUID or promotion code that you send.\n\n\nWhen updating an existing promotion include only the fields that you want to change. Inserting a null value overwrites an existing value.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permissions required (at least one):** `PROMOTIONS_PROMOTIONS_CREATE`, `PROMOTIONS_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","create-or-update"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 5565970,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"discountType\": \"NONE\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 8453.118275225368,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1973-09-07T02:44:11.086Z\",\n  \"expireAt\": \"1969-10-01T10:28:37.690Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8ffce19e-c80a-2cf4-c21a-092e4230d6c1\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"00c7edb2-a5e7-47da-8acd-fd092532c313","name":"Promotion updated","originalRequest":{"url":{"path":["v4","promotions","promotion","create-or-update"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 5565970,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"discountType\": \"NONE\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 8453.118275225368,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1973-09-07T02:44:11.086Z\",\n  \"expireAt\": \"1969-10-01T10:28:37.690Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8ffce19e-c80a-2cf4-c21a-092e4230d6c1\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5a85e9f4-3597-4131-8c54-21763a434151","name":"Promotion created","originalRequest":{"url":{"path":["v4","promotions","promotion","create-or-update"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 5565970,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"discountType\": \"NONE\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 8453.118275225368,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1973-09-07T02:44:11.086Z\",\n  \"expireAt\": \"1969-10-01T10:28:37.690Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8ffce19e-c80a-2cf4-c21a-092e4230d6c1\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5807c59c-5ad3-4679-8a52-9c565b3c22ab","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","create-or-update"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 5565970,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"discountType\": \"NONE\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 8453.118275225368,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1973-09-07T02:44:11.086Z\",\n  \"expireAt\": \"1969-10-01T10:28:37.690Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8ffce19e-c80a-2cf4-c21a-092e4230d6c1\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e56a70a7-3a7a-4788-820b-434bfd246838","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","create-or-update"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 5565970,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"discountType\": \"NONE\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 8453.118275225368,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1973-09-07T02:44:11.086Z\",\n  \"expireAt\": \"1969-10-01T10:28:37.690Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8ffce19e-c80a-2cf4-c21a-092e4230d6c1\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2d5e5dd9-9c7d-4cf3-b33a-637804ccb00e","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","create-or-update"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"uuid\": \"string\",\n  \"code\": \"string\",\n  \"visibilityStatus\": \"DRAFT\",\n  \"type\": \"GENERAL\",\n  \"redeemLimitPerClient\": 0,\n  \"redeemQuantityPerActivation\": 5565970,\n  \"redeemLimitGlobal\": 0,\n  \"redeemType\": \"PARTIAL\",\n  \"discountType\": \"NONE\",\n  \"details\": {\n    \"discountType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashbackSettings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"discountValue\": 0,\n  \"discountMode\": \"STATIC\",\n  \"discountModeDetails\": {\n    \"discountSteps\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountUsageTrigger\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"preDiscountValue\": 0,\n  \"requireRedeemedPoints\": 8453.118275225368,\n  \"headerName\": \"string\",\n  \"headerDescription\": \"string\",\n  \"name\": \"string\",\n  \"headline\": \"string\",\n  \"description\": \"string\",\n  \"images\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"tags\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"startAt\": \"1973-09-07T02:44:11.086Z\",\n  \"expireAt\": \"1969-10-01T10:28:37.690Z\",\n  \"displayFrom\": \"string\",\n  \"displayTo\": \"string\",\n  \"lastingTime\": 0,\n  \"params\": {\n    \"key_0\": \"string\"\n  },\n  \"itemScope\": \"LINE_ITEM\",\n  \"minBasketValue\": null,\n  \"maxBasketValue\": null,\n  \"catalog\": \"221\",\n  \"catalogItemType\": \"FILTERED\",\n  \"catalogFilterIds\": [\n    \"f978b20f-7156-40ed-99c2-3af62b76af12\"\n  ],\n  \"excludeCatalog\": \"string\",\n  \"excludeCatalogItemType\": \"SELECTED\",\n  \"excludeCatalogIndexItems\": [\n    \"29727276\"\n  ],\n  \"storeCatalog\": \"string\",\n  \"storeItemType\": \"ALL\",\n  \"storeIds\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"targetType\": \"ALL\",\n  \"targetSegment\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"price\": 0,\n  \"priority\": 250,\n  \"voucherPool\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"transferable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"importHash\": \"8ffce19e-c80a-2cf4-c21a-092e4230d6c1\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"129c7551-ccb1-4e37-a41d-885aa7793bf2","name":"Batch redeem vouchers","request":{"name":"Batch redeem vouchers","description":{"content":"You can redeem up to 100 vouchers.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","voucher","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"voucherKey\": \"code\",\n    \"voucherValue\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"options\": {\n      \"quantity\": 1,\n      \"sourceId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"orderId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"lockIdentifier\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\"\n    }\n  },\n  {\n    \"voucherKey\": \"code\",\n    \"voucherValue\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"options\": {\n      \"quantity\": 1,\n      \"sourceId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"orderId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"lockIdentifier\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"ae6b2694-c238-47b5-8017-c045d1d3160c","name":"Vouchers redeemed","originalRequest":{"url":{"path":["v4","promotions","voucher","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"voucherKey\": \"code\",\n    \"voucherValue\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"options\": {\n      \"quantity\": 1,\n      \"sourceId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"orderId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"lockIdentifier\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\"\n    }\n  },\n  {\n    \"voucherKey\": \"code\",\n    \"voucherValue\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"options\": {\n      \"quantity\": 1,\n      \"sourceId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"orderId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"lockIdentifier\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8a1368a7-d36f-466b-b0a2-0d399dd60bc4","name":"Some vouchers couldn't be redeemed","originalRequest":{"url":{"path":["v4","promotions","voucher","batch-redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"voucherKey\": \"code\",\n    \"voucherValue\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"options\": {\n      \"quantity\": 1,\n      \"sourceId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"orderId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"lockIdentifier\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\"\n    }\n  },\n  {\n    \"voucherKey\": \"code\",\n    \"voucherValue\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\",\n    \"options\": {\n      \"quantity\": 1,\n      \"sourceId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"orderId\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9-1\",\n      \"lockIdentifier\": \"75d9090f-06ac-46a2-a0ce-4b8eb287efb9\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Multi-Status (WebDAV) (RFC 4918)","code":207,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"httpStatus\": 207,\n  \"traceId\": \"c72d530fd1b813ae\",\n  \"timestamp\": \"2021-12-28T08:27:54.549Z\",\n  \"errorCode\": \"ERR-003\",\n  \"message\": \"Batch operation failed\",\n  \"errors\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0cfe6472-10aa-4758-89f1-0b750ed54703","name":"Batch redeem vouchers for profiles","request":{"name":"Batch redeem vouchers for profiles","description":{"content":"You can redeem up to 100 vouchers.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_BATCH_REDEEM_VOUCHERS_PROMOTIONS_CREATE`\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","voucher","batch-redeem-for-profile"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"profileKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profileValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"options\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"profileKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profileValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"options\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"0a21cf7a-54ea-4f39-b82e-4be4c837b77b","name":"Vouchers redeemed","originalRequest":{"url":{"path":["v4","promotions","voucher","batch-redeem-for-profile"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"profileKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profileValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"options\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"profileKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profileValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"options\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"647e85fd-0485-4f6f-b0ec-41bcb498ca33","name":"Some vouchers couldn't be redeemed","originalRequest":{"url":{"path":["v4","promotions","voucher","batch-redeem-for-profile"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  {\n    \"profileKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profileValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"options\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"profileKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profileValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"options\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Multi-Status (WebDAV) (RFC 4918)","code":207,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"httpStatus\": 207,\n  \"traceId\": \"c72d530fd1b813ae\",\n  \"timestamp\": \"2021-12-28T08:27:54.549Z\",\n  \"errorCode\": \"ERR-003\",\n  \"message\": \"Batch operation failed\",\n  \"errors\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"48787cf1-e9d6-4869-a7ee-77da629413eb","name":"Batch import promotions","request":{"name":"Batch import promotions","description":{"content":"Submit a batch of promotions for asynchronous import (upsert). Items are validated individually and queued for processing. Returns 202 if all items are valid, or 207 if some fail validation.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_IMPORT_PROMOTIONS_CREATE`\n\n**User role permission required:** `campaigns_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6096fb23-b7f1-4d37-9c33-e1f7d743b470","name":"All items accepted for processing","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6231d896-93da-4c21-8ee8-41fad49048a0","name":"Some items failed validation","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Multi-Status (WebDAV) (RFC 4918)","code":207,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"httpStatus\": 500,\n  \"errorCode\": \"ERR-001\",\n  \"message\": \"Internal Error\",\n  \"help\": \"string\",\n  \"data\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"errors\": [\n    {\n      \"source\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errorCode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"message\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"help\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"httpStatus\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errors\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"source\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errorCode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"message\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"help\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"httpStatus\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errors\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d23bc2b9-690a-4954-97f1-1cb3b2d8e53b","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0210a843-f55a-40d9-95fd-ae6b87cdfcd1","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3feea020-5bbf-4ca8-9cec-4143f93a8d3b","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"25edcb7c-8f62-4cd2-8eee-9af1523910ab","name":"Batch delete promotions","request":{"name":"Batch delete promotions","description":{"content":"Submit a batch of promotion codes for asynchronous deletion. Items are validated individually and queued for processing . Returns 202 if all items are valid, or 207 if some fail validation.  \nThis method doesn't check if a promotion with the provide code exists.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_IMPORT_PROMOTIONS_DELETE`\n\n**User role permission required:** `campaigns_promotions: delete`\n","type":"text/plain"},"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4b9cfd38-1f27-4ae0-b324-baeaffb61f06","name":"All items accepted for processing","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"code\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6edc3574-0de8-4fb4-9c09-edf5f284443b","name":"Some items failed validation","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Multi-Status (WebDAV) (RFC 4918)","code":207,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"httpStatus\": 500,\n  \"errorCode\": \"ERR-001\",\n  \"message\": \"Internal Error\",\n  \"help\": \"string\",\n  \"data\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"errors\": [\n    {\n      \"source\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errorCode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"message\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"help\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"httpStatus\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errors\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"source\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errorCode\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"message\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"help\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"httpStatus\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"errors\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b402cf1-718e-4a97-ba64-c90a971c259f","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"33ce4395-ec03-4f02-87aa-eeb69df28735","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e687c84-228c-4095-9055-98770a5cfdfd","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","batch"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"extra\": {\n    \"importHash\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ea52e8be-c8f2-40ab-96b5-bbcd4cce384f","name":"Process basket","request":{"name":"Process basket","description":{"content":"Assign promotions to a basket and recalculate item values after discount.\n\nThis method DOES NOT redeem any promotions or create a transaction.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_SALE_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","v2","sale","process-sale",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"operationId\": 5032,\n  \"clientDateTime\": \"1953-01-11T03:55:07.790Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"648d0d2c-5b0a-4267-9e86-7207cf213b81","name":"Basket processed","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-sale",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"responseCode\": 3084.0946308900175,\n  \"responseDescription\": \"string\",\n  \"operationId\": 5131,\n  \"clientDateTime\": \"1957-09-23T20:01:38.560Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"promotionErrors\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItem\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c43655cd-3ccd-45c7-a498-d9c271c59354","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-sale",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"37be0865-f2ee-4d11-be06-1b6daab8c5cf","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-sale",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2164efd8-08e8-49a7-8a0c-0588783c5b42","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-sale",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c5cf5d47-a7a1-4d4c-8744-eb60cece03cc","name":"Process checkout on POS","request":{"name":"Process checkout on POS","description":{"content":"Assign checkout handbill coupons for a profile, based on items in the basket and historical transactions.\n\nThis method DOES NOT redeem any promotions or create a transaction.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_SALE_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","sale","process-checkout",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"operationId\": 9226,\n  \"clientDateTime\": \"1986-03-12T00:57:21.711Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d851838e-2742-4632-8010-40411e3ae5c9","name":"POS checkout processed","originalRequest":{"url":{"path":["v4","promotions","sale","process-checkout",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"responseCode\": 3828.4094804081838,\n  \"responseDescription\": \"string\",\n  \"operationId\": 5492,\n  \"clientDateTime\": \"2011-07-10T14:33:51.213Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionGrantReport\": {\n    \"printouts\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"590ab661-6cc5-431f-aefd-673faed37bc9","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","sale","process-checkout",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b308a57-b80e-49fb-ac11-1429d01af0ef","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","sale","process-checkout",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cf3b64e4-2cb6-40c7-bef5-24dd1ef421f2","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","sale","process-checkout",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8bb492b1-01b5-4674-890d-5c524fafb1ec","name":"Process anonymous Profile's basket","request":{"name":"Process anonymous Profile's basket","description":{"content":"Assign promotions to a basket and recalculate item values after discount.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_SALE_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","v2","sale","process-anonymous-sale"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"523d33dc-221e-4dc3-ab72-bf774bf521be","name":"Basket processed","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-anonymous-sale"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"responseCode\": 5444.934791012756,\n  \"responseDescription\": \"string\",\n  \"operationId\": 5725,\n  \"clientDateTime\": \"2012-06-25T08:29:47.583Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"promotionErrors\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItem\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"250289e9-9207-4954-bbaa-57164640ce9a","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-anonymous-sale"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b747a0ac-678f-4d72-a505-aff4a6b9dc7d","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-anonymous-sale"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d76c04d-b49d-4f28-be1f-deabab3005b5","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-anonymous-sale"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"01406ec6-260b-4c97-92ee-d321deb3f66c","name":"Property discountSourceType in sale settings is not defined","originalRequest":{"url":{"path":["v4","promotions","v2","sale","process-anonymous-sale"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 2367,\n  \"clientDateTime\": \"1960-02-12T03:07:03.050Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"promotionsToActivate\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Precondition Required","code":428,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"string\",\n  \"error\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eb23f1be-2848-4bca-8304-d74b340f82ed","name":"Process anonymous Profile's checkout on POS","request":{"name":"Process anonymous Profile's checkout on POS","description":{"content":"Assign checkout handbill coupons for anonymous profile, based on items in basket and historical transactions.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_SALE_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","sale","process-anonymous-checkout"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c3850d9a-143d-4b7f-b053-61626efd2d73","name":"POS checkout processed","originalRequest":{"url":{"path":["v4","promotions","sale","process-anonymous-checkout"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"responseCode\": 7280.18967029161,\n  \"responseDescription\": \"string\",\n  \"operationId\": 7291,\n  \"clientDateTime\": \"1990-08-03T19:15:15.048Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionGrantReport\": {\n    \"printouts\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5736ad8-70fc-42a9-bf1d-b297c5a585d2","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","sale","process-anonymous-checkout"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"71ade004-93d6-4a5c-b2d7-809cd8b5c48c","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","sale","process-anonymous-checkout"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c1a128f4-e7c1-4335-bf96-151cc8c26676","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","sale","process-anonymous-checkout"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"operationId\": 8230,\n  \"clientDateTime\": \"2011-08-02T17:00:10.937Z\",\n  \"terminal\": {\n    \"storeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"posId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transactionMetric\": {\n    \"posTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"beginDateTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"globalTransactionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"finalValue\": \"string\",\n  \"transactionItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"transactionAdditionalItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentsReport\": {\n    \"paymentItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"397049a5-a8ed-463d-bb35-c0b4abe17fe0","name":"Vouchers","description":{"content":"","type":"text/plain"},"item":[{"id":"47af11f2-acd1-4d0a-9f2e-e75bd0e047c4","name":"Assign a voucher from a pool to Profile","request":{"name":"Assign a voucher from a pool to Profile","description":{"content":"Assign a voucher code from an existing pool to a Profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>, <span title=\"Available only on mobile SDKs\">Incognito Profile</span>\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","assign"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"17243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0fd1434b-9a45-4758-9d7d-40b1c0d98607","name":"Code assigned","originalRequest":{"url":{"path":["v4","vouchers","item","assign"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"17243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Code assigned with success\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"poolUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a29567d4-bde0-4524-a97b-b51f9ef0f53e","name":"Range Not Satisfiable","originalRequest":{"url":{"path":["v4","vouchers","item","assign"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"17243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"Requested Range Not Satisfiable","code":416,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Out of scope. Pool is empty.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cb5ec97d-5bde-4c16-b455-707f14dcb311","name":"Get assigned vouchers","request":{"name":"Get assigned vouchers","description":{"content":"Retrieve all vouchers assigned to a Profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>, <span title=\"Available only on mobile SDKs\">Incognito Profile</span>\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","get-assigned"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"3d473158-c1d2-48dd-acd3-c79b9d48b1b7","name":"An array of vouchers","originalRequest":{"url":{"path":["v4","vouchers","item","get-assigned"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f4273cab-60ea-4a29-a5df-3852172a7e94","name":"Get or assign and get voucher as Profile","request":{"name":"Get or assign and get voucher as Profile","description":{"content":"Retrieve the code assigned to a Profile. If no code was assigned earlier, the method assigns one.\n\n\nFor each Profile, the same code is retrieved every time. This can be used, for example, to retrieve unique codes used to identify a Profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>, <span title=\"Available only on mobile SDKs\">Incognito Profile</span>\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","get-or-assign"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"17243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"97d40313-e5f3-4da8-a52d-05b109946709","name":"Details of the code","originalRequest":{"url":{"path":["v4","vouchers","item","get-or-assign"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"17243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Code found with success\",\n  \"data\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24472f1e-4def-43a6-bdbd-bcc268496a37","name":"Range Not Satisfiable","originalRequest":{"url":{"path":["v4","vouchers","item","get-or-assign"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"17243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"Requested Range Not Satisfiable","code":416,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Out of scope. Pool is empty.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7a74977e-87ee-49d1-a8ef-f2fb3a9af453","name":"Create a voucher","request":{"name":"Create a voucher","description":{"content":"Create a single code and store it in a pool.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\",\n  \"clientId\": 9215,\n  \"code\": \"code123\",\n  \"expireIn\": \"2024-12-27T12:44:23.995Z\",\n  \"redeemAt\": \"1980-07-29T16:59:29.028Z\",\n  \"assignedAt\": \"1956-07-02T06:09:20.939Z\",\n  \"status\": \"ASSIGNED\",\n  \"createdAt\": \"1996-05-14T16:03:38.680Z\",\n  \"updatedAt\": \"2024-12-27T19:16:17.076Z\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8101ae3e-54fc-499f-9751-16a4f3303062","name":"Voucher created","originalRequest":{"url":{"path":["v4","vouchers","item"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\",\n  \"clientId\": 9215,\n  \"code\": \"code123\",\n  \"expireIn\": \"2024-12-27T12:44:23.995Z\",\n  \"redeemAt\": \"1980-07-29T16:59:29.028Z\",\n  \"assignedAt\": \"1956-07-02T06:09:20.939Z\",\n  \"status\": \"ASSIGNED\",\n  \"createdAt\": \"1996-05-14T16:03:38.680Z\",\n  \"updatedAt\": \"2024-12-27T19:16:17.076Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Create object with success\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"poolUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5f16f27a-f4bd-4fc7-91b8-7e6ecd83137c","name":"Bulk create vouchers","request":{"name":"Bulk create vouchers","description":{"content":"Create a number of codes and add them to a pool.\n\n<span style=\"color:red\"><strong>WARNING:</strong></span> The request body cannot contain more than 10 000 items or exceed 10 MB in size.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_BULK_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","bulk-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"codeList\": \"3845734682364756454534;384574634564545456;567868678345234346748\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3c3de5ad-8fe6-4ed2-8f4c-4ad2f9620183","name":"Vouchers created","originalRequest":{"url":{"path":["v4","vouchers","item","bulk-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"codeList\": \"3845734682364756454534;384574634564545456;567868678345234346748\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"message\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4742be77-ee23-4fc3-8e2a-771c77d1ce9c","name":"Bad Request","originalRequest":{"url":{"path":["v4","vouchers","item","bulk-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"codeList\": \"3845734682364756454534;384574634564545456;567868678345234346748\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Data format is not valid\",\n  \"error\": [\n    {\n      \"field\": \"code\",\n      \"message\": \"code must be unique\",\n      \"validatorKey\": \"not_unique\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"95ace97f-3aad-4d27-b444-427a06475393","name":"List all vouchers","request":{"name":"List all vouchers","description":{"content":"Retrieve all vouchers for a Workspace. You can customize the search.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_LIST_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","list"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"}],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"f21a9cdf-9fa4-4ea5-8cc1-67c6f0ea6916","name":"An array of vouchers","originalRequest":{"url":{"path":["v4","vouchers","item","list"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cca47141-c886-4277-9468-af3afa3b1979","name":"View voucher details","request":{"name":"View voucher details","description":{"content":"Retrieve all details of a single code.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item",":voucherUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"voucherUuid","description":"(Required) UUID of the voucher"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"ee26b7ce-14b5-47cc-a32f-78d392109aec","name":"Details of a voucher","originalRequest":{"url":{"path":["v4","vouchers","item",":voucherUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"voucherUuid","description":"(Required) UUID of the voucher"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"poolUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b4f07b9d-e421-4f8d-afbb-dd132b92ce91","name":"Update a voucher","request":{"name":"Update a voucher","description":{"content":"Update an existing code.\n\n\nIf you don't want to change a field, omit it entirely. Sending a null-value field replaces an existing value.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_UPDATE`\n\n**User role permission required:** `assets_code_pool: update`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item",":voucherUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"voucherUuid","description":"(Required) UUID of the voucher"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\",\n  \"clientId\": 9215,\n  \"code\": \"code123\",\n  \"expireIn\": \"2024-12-27T12:44:23.995Z\",\n  \"redeemAt\": \"1980-07-29T16:59:29.028Z\",\n  \"assignedAt\": \"1956-07-02T06:09:20.939Z\",\n  \"status\": \"ASSIGNED\",\n  \"createdAt\": \"1996-05-14T16:03:38.680Z\",\n  \"updatedAt\": \"2024-12-27T19:16:17.076Z\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"bbe31568-95fc-43b2-81ec-6c13a5744070","originalRequest":{"url":{"path":["v4","vouchers","item",":voucherUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"voucherUuid","description":"(Required) UUID of the voucher"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\",\n  \"clientId\": 9215,\n  \"code\": \"code123\",\n  \"expireIn\": \"2024-12-27T12:44:23.995Z\",\n  \"redeemAt\": \"1980-07-29T16:59:29.028Z\",\n  \"assignedAt\": \"1956-07-02T06:09:20.939Z\",\n  \"status\": \"ASSIGNED\",\n  \"createdAt\": \"1996-05-14T16:03:38.680Z\",\n  \"updatedAt\": \"2024-12-27T19:16:17.076Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Update object with success\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"poolUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"956ad5f9-1ac3-4b22-b939-153d65021cd3","name":"Bad Request","originalRequest":{"url":{"path":["v4","vouchers","item",":voucherUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"voucherUuid","description":"(Required) UUID of the voucher"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\",\n  \"clientId\": 9215,\n  \"code\": \"code123\",\n  \"expireIn\": \"2024-12-27T12:44:23.995Z\",\n  \"redeemAt\": \"1980-07-29T16:59:29.028Z\",\n  \"assignedAt\": \"1956-07-02T06:09:20.939Z\",\n  \"status\": \"ASSIGNED\",\n  \"createdAt\": \"1996-05-14T16:03:38.680Z\",\n  \"updatedAt\": \"2024-12-27T19:16:17.076Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Data format is not valid\",\n  \"error\": [\n    {\n      \"field\": \"status\",\n      \"message\": \"Validation isIn on status failed\",\n      \"validatorKey\": \"isIn\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"762f8c37-85c9-4dfa-8d92-2457561aa0f3","name":"Delete a voucher","request":{"name":"Delete a voucher","description":{"content":"Delete an existing code.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_DELETE`\n\n**User role permission required:** `assets_code_pool: delete`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item",":voucherUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"voucherUuid","description":"(Required) UUID of the voucher"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"47580b5f-aa85-4bd6-8693-b3a3f0a3d87b","name":"Voucher deleted","originalRequest":{"url":{"path":["v4","vouchers","item",":voucherUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"voucherUuid","description":"(Required) UUID of the voucher"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Delete object with success\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"31eb7e3a-6aab-4ec6-ae8d-6c5373054a45","name":"View voucher details by search key","request":{"name":"View voucher details by search key","description":{"content":"Retrieve all details of a single voucher. As the key (identifier), you can use the promotion's code or UUID.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_BY_SEARCH_KEY_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item",":searchKey",":searchValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"searchKey","description":"(Required) The key type to search by"},{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"searchValue","description":"(Required) The value to search for"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"4d53fd14-204a-46ed-a3a1-4565c28e2bcd","name":"Details of a voucher","originalRequest":{"url":{"path":["v4","vouchers","item",":searchKey",":searchValue"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"code","key":"searchKey","description":"(Required) The key type to search by"},{"disabled":false,"type":"any","value":"29392878-d43f-402e-8297-f63d465cf173","key":"searchValue","description":"(Required) The value to search for"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"poolUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"00f10315-a1be-49a3-8933-2f4554c588ad","name":"Assign a voucher to a Profile","request":{"name":"Assign a voucher to a Profile","description":{"content":"Assign a code to a Profile and retrieve it. Every time this method is used, a different code is assigned.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_ASSIGN_FOR_CLIENT_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","assign-for-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ad83147d-bba4-4ad8-b120-cca15fd591dd","name":"Voucher assigned","originalRequest":{"url":{"path":["v4","vouchers","item","assign-for-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Code assigned with success\",\n  \"data\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9258a7da-1a01-4e68-b751-ea4b24a097c4","name":"Pool empty, expired, not found, or Profile not found","originalRequest":{"url":{"path":["v4","vouchers","item","assign-for-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"Requested Range Not Satisfiable","code":416,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Pool does not exist or expired\",\n  \"error\": {\n    \"message\": \"Pool does not exist or expired\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"704a477a-498a-431e-af56-a898f61fc14f","name":"Get vouchers assigned to a Profile","request":{"name":"Get vouchers assigned to a Profile","description":{"content":"Get all codes assigned to a Profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_ASSIGN_FOR_CLIENT_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","get-assigned-for-client",":clientUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"e9e6840b-b9d4-4c7b-8191-9c4f9e751c76","key":"clientUuid","description":"(Required) UUID of the Profile"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"5a3739b3-b34b-4c70-b5b3-0a3176d4d2cb","name":"An array of vouchers","originalRequest":{"url":{"path":["v4","vouchers","item","get-assigned-for-client",":clientUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"e9e6840b-b9d4-4c7b-8191-9c4f9e751c76","key":"clientUuid","description":"(Required) UUID of the Profile"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5c50aa3d-02b4-4937-90bc-7f4ec6f03612","name":"Get or assign and get voucher as Workspace","request":{"name":"Get or assign and get voucher as Workspace","description":{"content":"Retrieve the code assigned to a profile. If no code was assigned earlier, the method assigns one.\n\n\nFor each profile, the same code is retrieved every time. This can be used, for example, to retrieve unique codes used to identify a profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_ASSIGN_FOR_CLIENT_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","get-or-assign-for-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c6a104a1-8e01-4cad-b197-30fa1303ee68","name":"Details of a voucher","originalRequest":{"url":{"path":["v4","vouchers","item","get-or-assign-for-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"73891f0f-cbe5-4c26-b61b-0370cb836933","name":"Pool empty, expired, not found, or Profile not found","originalRequest":{"url":{"path":["v4","vouchers","item","get-or-assign-for-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientUuid\": \"07243772-008a-42e1-ba37-c3807cebde8f\"\n}","options":{"raw":{"language":"json"}}}},"status":"Requested Range Not Satisfiable","code":416,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Pool does not exist or expired\",\n  \"error\": {\n    \"message\": \"Pool does not exist or expired\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fd5deefd-2712-4d9d-bbea-79a8d35c32e4","name":"Get vouchers assigned to a Profile by identifier","request":{"name":"Get vouchers assigned to a Profile by identifier","description":{"content":"Get all codes assigned to a Profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_ASSIGN_FOR_CLIENT_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","get-assigned-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"clientIdentifierName","value":"custom_identify","description":"(Required) The Profile identifier to use for the request."},{"disabled":false,"key":"clientIdentifierValue","value":"custom_identify_123456","description":"(Required) The value of the selected profile identifier"}],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"8ce713d3-e2f3-4e1e-974e-7cd5e02be785","name":"An array of vouchers","originalRequest":{"url":{"path":["v4","vouchers","item","get-assigned-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"key":"clientIdentifierName","value":"custom_identify"},{"key":"clientIdentifierValue","value":"custom_identify_123456"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ee6f8b16-9a16-4ff7-b230-9c21691583d8","name":"Bad Request","originalRequest":{"url":{"path":["v4","vouchers","item","get-assigned-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"key":"clientIdentifierName","value":"custom_identify"},{"key":"clientIdentifierValue","value":"custom_identify_123456"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Query params are not valid\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"412488af-25e5-47d3-8d45-8716ebf292b5","name":"Invalid parameter","originalRequest":{"url":{"path":["v4","vouchers","item","get-assigned-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"key":"clientIdentifierName","value":"custom_identify"},{"key":"clientIdentifierValue","value":"custom_identify_123456"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Requested Range Not Satisfiable","code":416,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Invalid parameter\",\n  \"error\": {\n    \"message\": \"Invalid parameter\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"54812cb6-d01a-4d90-8959-382c5e0d7e48","name":"Get or assign and get voucher as Workspace","request":{"name":"Get or assign and get voucher as Workspace","description":{"content":"Retrieve the code assigned to a profile. If no code was assigned earlier, the method assigns one (it uses the provided profile identifier).\n\nFor each profile, the same code is retrieved every time. This can be used, for example, to retrieve unique codes used to identify a profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_ASSIGN_FOR_CLIENT_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","get-or-assign-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"clientIdentifierName","value":"custom_identify","description":"(Required) The Profile identifier to use for the request."}],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientIdentifierValue\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c01b5ae0-2db3-47c2-8995-a0cca1bbc48f","name":"Details of a voucher","originalRequest":{"url":{"path":["v4","vouchers","item","get-or-assign-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"key":"clientIdentifierName","value":"custom_identify"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientIdentifierValue\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"94c89809-4634-4979-acef-b14efb6dd4c0","name":"Pool empty, expired, not found, or Profile not found","originalRequest":{"url":{"path":["v4","vouchers","item","get-or-assign-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"key":"clientIdentifierName","value":"custom_identify"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientIdentifierValue\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Requested Range Not Satisfiable","code":416,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Pool does not exist or expired\",\n  \"error\": {\n    \"message\": \"Pool does not exist or expired\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"31f1dc3b-f3b5-4ade-8830-b62fe7101b60","name":"Assign and get voucher as Workspace","request":{"name":"Assign and get voucher as Workspace","description":{"content":"Assign a code to a profile and retrieve it. Every time this method is used, a different code is assigned.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_ASSIGN_FOR_CLIENT_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","assign-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"clientIdentifierName","value":"custom_identify","description":"(Required) The Profile identifier to use for the request."}],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientIdentifierValue\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"270f60cb-5f51-4b6d-9244-50913f4f5b86","name":"Voucher assigned","originalRequest":{"url":{"path":["v4","vouchers","item","assign-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"key":"clientIdentifierName","value":"custom_identify"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientIdentifierValue\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"01a4bc7d-6853-4faa-9e18-c9b1530c6b4e","name":"Pool empty, expired, not found, or Profile not found","originalRequest":{"url":{"path":["v4","vouchers","item","assign-for-client","by-identifier"],"host":["{{baseUrl}}"],"query":[{"key":"clientIdentifierName","value":"custom_identify"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"poolUuid\": \"faec32b0-c343-4362-ba32-c6148c649da4\",\n  \"clientIdentifierValue\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Requested Range Not Satisfiable","code":416,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Pool does not exist or expired\",\n  \"error\": {\n    \"message\": \"Pool does not exist or expired\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7d6cc683-0cf9-4669-bfbf-6d2f6eb27666","name":"Redeem a voucher","request":{"name":"Redeem a voucher","description":{"content":"Redeem a code.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_REDEEM_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"code\": \"code123\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"23ef979e-1142-4453-a9e1-05f0d1b1653f","name":"Voucher redeemed","originalRequest":{"url":{"path":["v4","vouchers","item","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"code123\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Code redeemed with success\",\n  \"data\": {\n    \"poolUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientUuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"686be041-fb16-4b45-b8bb-5c5dc0135108","name":"Data format is not valid.","originalRequest":{"url":{"path":["v4","vouchers","item","redeem"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"code123\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Param code is required\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0d6a0799-4ba7-4587-81e2-ffc62a3a6ef7","name":"List pools","request":{"name":"List pools","description":{"content":"Retrieve a list of voucher pools.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_POOL_LIST_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","pool","list"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"orderFieldName","value":"createdAt","description":"Name of the parameter used for sorting. If you include this parameter, you **must** also send the `order` parameter."},{"disabled":false,"key":"order","value":"asc","description":"Sorting order. If you include this parameter, you **must** also send the `orderFieldName` parameter."},{"disabled":false,"key":"query","value":"string","description":"Filter by phrase in pool name."},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."}],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"3aeddccb-3bdb-495a-9b4b-60bb803cdd92","name":"An array of voucher pools","originalRequest":{"url":{"path":["v4","vouchers","pool","list"],"host":["{{baseUrl}}"],"query":[{"key":"includeMeta","value":"false"},{"key":"orderFieldName","value":"createdAt"},{"key":"order","value":"asc"},{"key":"query","value":"string"},{"key":"limit","value":"100"},{"key":"page","value":"4"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ad4a7fca-9dbf-47e3-8158-8e2ccd9f7fe3","name":"Create a voucher pool","request":{"name":"Create a voucher pool","description":{"content":"Create a pool for voucher storage.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_POOL_CREATE`\n\n**User role permission required:** `assets_code_pool: create`\n","type":"text/plain"},"url":{"path":["v4","vouchers","pool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"barcodeType\": \"NONE\",\n  \"description\": \"string\",\n  \"voucherPrefix\": \"0\",\n  \"poolLimit\": 0,\n  \"redeemedLimitPerClient\": 0,\n  \"startAt\": \"1991-04-14T04:18:57.561Z\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"032f74a6-562e-41df-ac9f-2eaafc047a86","name":"Pool created","originalRequest":{"url":{"path":["v4","vouchers","pool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"barcodeType\": \"NONE\",\n  \"description\": \"string\",\n  \"voucherPrefix\": \"0\",\n  \"poolLimit\": 0,\n  \"redeemedLimitPerClient\": 0,\n  \"startAt\": \"1991-04-14T04:18:57.561Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Create object with success\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"barcodeType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherPrefix\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"poolLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemedLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activeCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"60c9c1a4-cc32-4588-919a-1278a5ba04c0","name":"Get pool details","request":{"name":"Get pool details","description":{"content":"Retrieve the details of a single voucher pool.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_POOL_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","pool",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"dc1e62d6-76fd-4075-b401-29ef1cc2f0c2","name":"Details of a voucher pool","originalRequest":{"url":{"path":["v4","vouchers","pool",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"barcodeType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherPrefix\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"poolLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemedLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activeCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a058b46f-b985-4b03-962e-03e5a6081352","name":"Update a voucher pool","request":{"name":"Update a voucher pool","description":{"content":"Update an existing pool of vouchers. If you don't want to change a parameter, omit it entirely.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_POOL_UPDATE`\n\n**User role permission required:** `assets_code_pool: update`\n","type":"text/plain"},"url":{"path":["v4","vouchers","pool",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"barcodeType\": \"NONE\",\n  \"description\": \"string\",\n  \"voucherPrefix\": \"0\",\n  \"poolLimit\": 0,\n  \"redeemedLimitPerClient\": 0,\n  \"startAt\": \"1991-04-14T04:18:57.561Z\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"83ae8117-23fb-4f21-a0e3-a39ef5870eb4","name":"Voucher pool","originalRequest":{"url":{"path":["v4","vouchers","pool",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"barcodeType\": \"NONE\",\n  \"description\": \"string\",\n  \"voucherPrefix\": \"0\",\n  \"poolLimit\": 0,\n  \"redeemedLimitPerClient\": 0,\n  \"startAt\": \"1991-04-14T04:18:57.561Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Update object with success\",\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"barcodeType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"voucherPrefix\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"poolLimit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"redeemedLimitPerClient\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"expireIn\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"assignedCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"activeCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastingTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e11c95c9-0299-419b-9cf2-cc1a881742ce","name":"Delete a voucher pool","request":{"name":"Delete a voucher pool","description":{"content":"Delete an existing pool of vouchers.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_POOL_DELETE`\n\n**User role permission required:** `assets_code_pool: delete`\n","type":"text/plain"},"url":{"path":["v4","vouchers","pool",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"4b89335d-669a-4e06-9b67-5664b6a2d85b","name":"Voucher pool deleted","originalRequest":{"url":{"path":["v4","vouchers","pool",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Delete object with success\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0840198c-6eee-45d3-86fa-369b34fbe41b","name":"List vouchers from a pool","request":{"name":"List vouchers from a pool","description":{"content":"Retrieve vouchers from a single pool.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_LIST_BY_POOL_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","list",":poolUuid"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"}],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"64a4f293-4112-41fa-8497-a83d3d2d4a11","name":"An array of vouchers in the pool","originalRequest":{"url":{"path":["v4","vouchers","item","list",":poolUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"includeMeta","value":"false"}],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2e7badf6-4ac4-464c-89fc-c2ed1017d59d","name":"Delete vouchers by poolUuid","request":{"name":"Delete vouchers by poolUuid","description":{"content":"Delete vouchers assigned to pool.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_BY_POOL_DELETE`\n\n**User role permission required:** `assets_code_pool: delete`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","list",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"b72197da-4862-4196-ba98-d13e45d2a622","name":"Vouchers deleted","originalRequest":{"url":{"path":["v4","vouchers","item","list",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Delete object with success\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0ff6fc67-1b79-4dd5-8af6-027867274add","name":"Count vouchers","request":{"name":"Count vouchers","description":{"content":"Count (re-calculate) vouchers in a pool, group the results by status.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `VOUCHERS_ITEM_LIST_BY_POOL_READ`\n\n**User role permission required:** `assets_code_pool: read`\n","type":"text/plain"},"url":{"path":["v4","vouchers","item","count",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"c68010dd-9b8a-4d76-8128-452739d53b2d","name":"Set of counters","originalRequest":{"url":{"path":["v4","vouchers","item","count",":poolUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"8465c240-d38e-42f8-af29-b9fa1ed05115","key":"poolUuid","description":"(Required) UUID of the voucher pool"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"disabled":false,"description":"(Required) ","key":"Accept","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Content-Type","value":"application/json"},{"disabled":false,"description":"(Required) ","key":"Api-Version","value":"4.4"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"assignedCount\": 130,\n    \"activeCount\": 130,\n    \"countAt\": \"1992-01-11T03:57:38.238Z\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"a10ed97b-1423-4b13-906a-d2202021ff29","name":"Handbills","description":{"content":"","type":"text/plain"},"item":[{"id":"6d3c86f2-7045-4f47-a842-6425568f7192","name":"Get all handbill configurations","request":{"name":"Get all handbill configurations","description":{"content":"Retrieve a list of all handbill configurations available in the current Workspace.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_HANDBILL_READ`\n\n**User role permission required:** `campaigns_personalised_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"sort","value":"createdAt,desc","description":"The sorting order of the response.\n\n\nYou can sort by any combination of the following attributes:\n\n* `createdAt`: time when the configuration was created\n\n* `updatedAt`: time when the configuration was last updated\n\n\nYou can sort ascending (default) or descending by adding `asc` or `desc` after the parameter, separated by a comma.\"\n"},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"640a5362-56f5-4f96-b336-6c1db711e185","name":"List of handbill configurations","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a8c2ab4b-e13f-44ce-b24a-375c7c9ebd53","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"409347ac-799d-4b56-93e1-69935e76abc1","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5944324c-e740-45ac-b1cb-5f31fbbef949","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d9cd3157-4b42-403f-97c6-8608ec38aefd","name":"Create handbill configuration","request":{"name":"Create handbill configuration","description":{"content":"Create a new handbill configuration for use in handbill-type promotions.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_HANDBILL_CREATE`\n\n**User role permission required:** `campaigns_personalised_promotions: create`\n","type":"text/plain"},"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"channel\": \"MOBILE\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"50114187-4bb6-4424-a422-8c6d74fa6e2f","name":"Configuration created","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"channel\": \"MOBILE\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"channel\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"origin\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"controlGroup\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"variants\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"358ef62f-2787-4cbc-9e7d-86260391e8f9","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"channel\": \"MOBILE\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"efabb636-667b-44d9-8c97-95183a738de0","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"channel\": \"MOBILE\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6fb1385c-680a-4ef8-a81c-ba4fa5f5d194","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","handbill"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"channel\": \"MOBILE\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8771bb8f-9f44-4ad7-8124-ba1240671102","name":"Get handbill configuration","request":{"name":"Get handbill configuration","description":{"content":"Retrieve the details of a single handbill configuration.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_HANDBILL_READ`\n\n**User role permission required:** `campaigns_personalised_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"24748ba2-5c1c-4a6c-9f1c-5c4c1fec5f98","name":"Handbill configuration","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"channel\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"origin\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"controlGroup\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"variants\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fef92179-8103-4571-a63c-b5cf81e268b6","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5938d2df-8330-40e7-86e9-75f56777ee78","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c51f38d4-2e0d-4991-8a94-77a961c60033","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"35bca0c9-97b9-486f-8cfc-42c300ccb8f1","name":"Update handbill configuration","request":{"name":"Update handbill configuration","description":{"content":"Update an existing handbill configuration.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_HANDBILL_UPDATE`\n\n**User role permission required:** `campaigns_personalised_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"channel\": \"CHECK_OUT\",\n  \"status\": \"INACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"80e3f901-d615-4627-9170-7e0d1a9c3835","name":"Configuration updated","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"channel\": \"CHECK_OUT\",\n  \"status\": \"INACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"uuid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"channel\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"origin\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"controlGroup\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"variants\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d6d6554-b442-46aa-862d-8b2a569d3a87","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"channel\": \"CHECK_OUT\",\n  \"status\": \"INACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b513e6e-e404-4d82-8ec7-4b9260b9f116","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"channel\": \"CHECK_OUT\",\n  \"status\": \"INACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b217383b-edfb-401c-b2f7-21118413d63f","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"channel\": \"CHECK_OUT\",\n  \"status\": \"INACTIVE\",\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"controlGroup\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentage\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"variants\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"888dccfa-0e36-41f7-bcbe-168c2554547a","name":"Generate handbill for Profile","request":{"name":"Generate handbill for Profile","description":{"content":"Assign handbill promotions to a Profile. They can be randomized or suggested by the AI engine.\n\n**IMPORTANT**: \n- The endpoint is limited to 1000 requests per minute (per workspace).\n- The algorithm that selects promotions for assignment candidates applies all the following filters:\n    - Promotions must be of the specified type, assigned to a handbill campaign, and with the `PUBLISH` or `HIDDEN` status.\n    - Promotions must be available for the entire duration of the handbill assignment, considering `startAt` and `expireAt` dates. For example, when generating assignments on May 1, 2024 at 9:00 a.m. that are expected to last 3 hours, the algorithm will consider promotions whose `startAt` date is equal to or earlier than May 1, 2024 9:00 a.m. and `expireAt` date is equal to or later than May 1, 2024 12:00 p.m. \n    - Promotions can't currently be assigned within another handbill campaign.\n    - Promotions must match the filter for the slot (if applicable). Promotions are handled by the `binoculars` service and identified by UUID.\n    - Promotions are deduplicated. First they are sorted by priority, then the algorithm rejects promotions with at least one product that occurred earlier. In a special case, if a promotion with a high priority has an extensive catalog of products covering other promotions, it could exclude all promotions with a lower priority.\n    - If `excludeByAvailableProducts` is set to `true`, the algorithm rejects promotions for items that are available as part of other promotions (regardless of their type)\n    - After sorting promotions by priority, the algorithm rejects promotions for segments that occur after the 100th unique segment is encountered. (only 100 segments can be checked per handbill assignment, consider limiting the number of segments and reusing them).\n    - After checking the first 100 unique segments, the algorithm rejects promotions for segments that don't match the user.\n    - To ensure the correctness of promotion usage and redemption, the algorithm rejects promotions that are currently in the `ACTIVE` or `REDEEMED` status.\n    - When using AI engine, the promotion candidate list is sorted by priority and truncated to 2500 items before applying the recommendation engine.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"fields","value":"handbillUuid,images","description":"Return only specified promotion fields. If `fields` is not specified, all fields are returned."}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"75088f44-6ec0-4442-96dc-032e01accdcf","name":"A list of handbill-type promotions assigned to this profile","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"54e98cc1-98ab-4b2a-a06a-d656bdeb4363","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"07844853-d56f-4f1d-bcf2-00b178e517ef","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ac909416-2555-4066-ad0e-b1a8ebc3a6c9","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9a5df478-9025-425b-a76f-9dbe0297e0f6","name":"Generate batch of handbills for Profile","request":{"name":"Generate batch of handbills for Profile","description":{"content":"Assign a batch of handbill promotions to a Profile. They can be randomized or suggested by the AI engine.\n\n**IMPORTANT**: \n- The endpoint is limited to 1000 requests per minute (per workspace).\n- The algorithm that selects promotions for assignment candidates applies all the following filters:\n    - Promotions must be of the specified type, assigned to a handbill campaign, and with the `PUBLISH` or `HIDDEN` status.\n    - Promotions must be available for the entire duration of the handbill assignment, considering `startAt` and `expireAt` dates. For example, when generating assignments on May 1, 2024 at 9:00 a.m. that are expected to last 3 hours, the algorithm will consider promotions whose `startAt` date is equal to or earlier than May 1, 2024 9:00 a.m. and `expireAt` date is equal to or later than May 1, 2024 12:00 p.m. \n    - Promotions can't currently be assigned within another handbill campaign.\n    - Promotions must match the filter for the slot (if applicable). Promotions are handled by the `binoculars` service and identified by UUID.\n    - Promotions are deduplicated. First they are sorted by priority, then the algorithm rejects promotions with at least one product that occurred earlier. In a special case, if a promotion with a high priority has an extensive catalog of products covering other promotions, it could exclude all promotions with a lower priority.\n    - If `excludeByAvailableProducts` is set to `true`, the algorithm rejects promotions for items that are available as part of other promotions (regardless of their type)\n    - After sorting promotions by priority, the algorithm rejects promotions for segments that occur after the 100th unique segment is encountered. (only 100 segments can be checked per handbill assignment, consider limiting the number of segments and reusing them).\n    - After checking the first 100 unique segments, the algorithm rejects promotions for segments that don't match the user.\n    - To ensure the correctness of promotion usage and redemption, the algorithm rejects promotions that are currently in the `ACTIVE` or `REDEEMED` status.\n    - When using AI engine, the promotion candidate list is sorted by priority and truncated to 2500 items before applying the recommendation engine.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client","handbills"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"handbillUuid","value":"string","description":"(Required) "},{"disabled":false,"key":"handbillUuid","value":"string","description":"(Required) "},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"fields","value":"status,code","description":"Return only specified promotion fields. If `fields` is not specified, all fields are returned."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"a65d6afb-77b3-4057-bf12-f69ca9d64249","name":"A list of handbill-type promotions assigned to this profile","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f2551d5f-9388-40d5-8446-8d63618a8e8c","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f501dcd7-bc89-4c0a-98cd-470713ef5527","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"305ed752-7f71-4512-93b6-8ec9fd46bc6f","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client","handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"12602644-fb8c-4558-89b6-a72f9a2b0d08","name":"Generate handbill for Profile and get Profile promotions","request":{"name":"Generate handbill for Profile and get Profile promotions","description":{"content":"\nAssign a handbill to a Profile and retrieve a list of promotions assigned to the Profile.\n\n**IMPORTANT**:  \n- The endpoint is limited to 1000 requests per minute (per workspace).\n- The algorithm that selects promotions for assignment candidates applies all the following filters:\n    - Promotions must be of the specified type, assigned to a handbill campaign, and with the `PUBLISH` or `HIDDEN` status.\n    - Promotions must be available for the entire duration of the handbill assignment, considering `startAt` and `expireAt` dates. For example, when generating assignments on May 1, 2024 at 9:00 a.m. that are expected to last 3 hours, the algorithm will consider promotions whose `startAt` date is equal to or earlier than May 1, 2024 9:00 a.m. and `expireAt` date is equal to or later than May 1, 2024 12:00 p.m. \n    - Promotions can't currently be assigned within another handbill campaign.\n    - Promotions must match the filter for the slot (if applicable). Promotions are handled by the `binoculars` service and identified by UUID.\n    - Promotions are deduplicated. First they are sorted by priority, then the algorithm rejects promotions with at least one product that occurred earlier. In a special case, if a promotion with a high priority has an extensive catalog of products covering other promotions, it could exclude all promotions with a lower priority.\n    - If `excludeByAvailableProducts` is set to `true`, the algorithm rejects promotions for items that are available as part of other promotions (regardless of their type)\n    - After sorting promotions by priority, the algorithm rejects promotions for segments that occur after the 100th unique segment is encountered. (only 100 segments can be checked per handbill assignment, consider limiting the number of segments and reusing them).\n    - After checking the first 100 unique segments, the algorithm rejects promotions for segments that don't match the user.\n    - To ensure the correctness of promotion usage and redemption, the algorithm rejects promotions that are currently in the `ACTIVE` or `REDEEMED` status.\n    - When using AI engine, the promotion candidate list is sorted by priority and truncated to 2500 items before applying the recommendation engine.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_FOR_CLIENT_HANDBILL_READ`\n\n**User role permission required:** `campaigns_personalised_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"type","value":"GENERAL,CUSTOM","description":"Promotion type"},{"disabled":false,"key":"status","value":"REDEEMED,REDEEMED","description":"Filter by promotion status"},{"disabled":false,"key":"visibilityStatus","value":"HIDDEN","description":"Visibility status"},{"disabled":false,"key":"visibilityStatus","value":"PUBLISH","description":"Visibility status"},{"disabled":false,"key":"tagNames","value":"string,string","description":"Filter the response to promotions with a certain tag or tags"},{"disabled":false,"key":"target","value":"ALL,ALL","description":"The target of the promotion"},{"disabled":false,"key":"presentOnly","value":"true","description":"When set to:\n- `true`, the response includes only promotions that are currently active (startAt later than now or null, expireAt later than now or null)\n- `false`, the response includes the above and also promotions that are expired or will become active in the future.\n"},{"disabled":false,"key":"lastingOnly","value":"true","description":"When set to `true`, shows promotions/vouchers that are currently active and those that are still inactivated. (lastingAt set to null or lastingAt in future)"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"sort","value":"createdAt,desc","description":"The sorting order of the response.\n\n\nYou can sort by any combination of the following attributes:\n\n* `createdAt`: time when the configuration was created\n\n* `updatedAt`: time when the configuration was last updated\n\n\nYou can sort ascending (default) or descending by adding `asc` or `desc` after the parameter, separated by a comma.\"\n"},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"fields","value":"status,code","description":"Return only specified promotion fields. If `fields` is not specified, all fields are returned."}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"4d0a6d56-268f-4bd0-9772-adfeceb31007","name":"A list of promotions assigned to this profile","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a9e8b6f-6610-4004-ab74-26e7f7af88a6","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e0ad5f52-6e99-474d-a789-5ce2f3589453","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"401857a2-f26f-40fb-910d-f09ba31eeb57","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"visibilityStatus","value":"HIDDEN"},{"key":"visibilityStatus","value":"PUBLISH"},{"key":"tagNames","value":"string,string"},{"key":"target","value":"ALL,ALL"},{"key":"presentOnly","value":"true"},{"key":"lastingOnly","value":"true"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"sort","value":"createdAt,desc"},{"key":"includeMeta","value":"false"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"55d10ae9-7ec5-4e0f-a99d-a3cf816f4e1b","name":"Generate handbill for Profile (v2)","request":{"name":"Generate handbill for Profile (v2)","description":{"content":"Assign handbill promotions to a Profile. They can be randomized or suggested by the AI engine.\n\n**IMPORTANT**: \n- The endpoint is limited to 1000 requests per minute (per workspace).\n- The algorithm that selects promotions for assignment candidates applies all the following filters:\n    - Promotions must be of the specified type, assigned to a handbill campaign, and with the `PUBLISH` or `HIDDEN` status.\n    - Promotions must be available for the entire duration of the handbill assignment, considering `startAt` and `expireAt` dates. For example, when generating assignments on May 1, 2024 at 9:00 a.m. that are expected to last 3 hours, the algorithm will consider promotions whose `startAt` date is equal to or earlier than May 1, 2024 9:00 a.m. and `expireAt` date is equal to or later than May 1, 2024 12:00 p.m. \n    - Promotions can't currently be assigned within another handbill campaign.\n    - Promotions must match the filter for the slot (if applicable). Promotions are handled by the `binoculars` service and identified by UUID.\n    - Promotions are deduplicated. First they are sorted by priority, then the algorithm rejects promotions with at least one product that occurred earlier. In a special case, if a promotion with a high priority has an extensive catalog of products covering other promotions, it could exclude all promotions with a lower priority.\n    - If `excludeByAvailableProducts` is set to `true`, the algorithm rejects promotions for items that are available as part of other promotions (regardless of their type)\n    - After sorting promotions by priority, the algorithm rejects promotions for segments that occur after the 100th unique segment is encountered. (only 100 segments can be checked per handbill assignment, consider limiting the number of segments and reusing them).\n    - After checking the first 100 unique segments, the algorithm rejects promotions for segments that don't match the user.\n    - To ensure the correctness of promotion usage and redemption, the algorithm rejects promotions that are currently in the `ACTIVE` or `REDEEMED` status.\n    - When using AI engine, the promotion candidate list is sorted by priority and truncated to 2500 items before applying the recommendation engine.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_FOR_CLIENT_HANDBILL_READ`\n\n**User role permission required:** `campaigns_personalised_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"ef32d901-859d-4e92-b633-0100f6bc08a0","name":"A list of handbill-type promotions assigned to this profile","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8b486742-6717-4f06-9988-2ef546a7a5bb","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5067b9c5-da7e-4861-bddf-52689f9ac406","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fd0702ed-21cc-4bf7-9ebf-1786e4004324","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","v2","promotion","get-for-client",":identifierType",":identifierValue","handbill",":handbillUuid"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"4"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"handbillUuid","description":"(Required) UUID of the handbill configuration"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"66c9f774-9b5c-4204-aba3-4c66d76e8fbb","name":"Generate batch handbill for Profile and get Profile promotions","request":{"name":"Generate batch handbill for Profile and get Profile promotions","description":{"content":"\nAssign a batch handbill to a Profile and retrieve a list of promotions assigned to the Profile.\n\n**IMPORTANT**: \n- The endpoint is limited to 1000 requests per minute (per workspace).\n- The algorithm that selects promotions for assignment candidates applies all the following filters:\n    - Promotions must be of the specified type, assigned to a handbill campaign, and with the `PUBLISH` or `HIDDEN` status.\n    - Promotions must be available for the entire duration of the handbill assignment, considering `startAt` and `expireAt` dates. For example, when generating assignments on May 1, 2024 at 9:00 a.m. that are expected to last 3 hours, the algorithm will consider promotions whose `startAt` date is equal to or earlier than May 1, 2024 9:00 a.m. and `expireAt` date is equal to or later than May 1, 2024 12:00 p.m. \n    - Promotions can't currently be assigned within another handbill campaign.\n    - Promotions must match the filter for the slot (if applicable). Promotions are handled by the `binoculars` service and identified by UUID.\n    - Promotions are deduplicated. First they are sorted by priority, then the algorithm rejects promotions with at least one product that occurred earlier. In a special case, if a promotion with a high priority has an extensive catalog of products covering other promotions, it could exclude all promotions with a lower priority.\n    - If `excludeByAvailableProducts` is set to `true`, the algorithm rejects promotions for items that are available as part of other promotions (regardless of their type)\n    - After sorting promotions by priority, the algorithm rejects promotions for segments that occur after the 100th unique segment is encountered. (only 100 segments can be checked per handbill assignment, consider limiting the number of segments and reusing them).\n    - After checking the first 100 unique segments, the algorithm rejects promotions for segments that don't match the user.\n    - To ensure the correctness of promotion usage and redemption, the algorithm rejects promotions that are currently in the `ACTIVE` or `REDEEMED` status.\n    - When using AI engine, the promotion candidate list is sorted by priority and truncated to 2500 items before applying the recommendation engine.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_FOR_CLIENT_HANDBILL_READ`\n\n**User role permission required:** `campaigns_personalised_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","with-handbills"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"handbillUuid","value":"string","description":"(Required) "},{"disabled":false,"key":"handbillUuid","value":"string","description":"(Required) "},{"disabled":false,"key":"type","value":"MEMBERS_ONLY,HANDBILL","description":"Promotion type"},{"disabled":false,"key":"page","value":"4","description":"Page number to return for pagination. The first page has the index `1`."},{"disabled":false,"key":"limit","value":"100","description":"The number of items to return per page"},{"disabled":false,"key":"includeMeta","value":"false","description":"\nWhen `true`, pagination metadata is included in the response body.\n\nWhen `false`, the data is included in the response headers:\n\n- Link: links to neighbors, first, and last pages in pagination.\n\n- X-Pagination-Total-Count: total number of items on all pages\n\n- X-Pagination-Total-Pages: total number of pages\n\n- X-Pagination-Page: current page\n\n- X-Pagination-Limit: maximum number of items on a page\n"},{"disabled":false,"key":"status","value":"ASSIGNED,ACTIVE","description":"Filter by promotion status"},{"disabled":false,"key":"fields","value":"status,code","description":"Return only specified promotion fields. If `fields` is not specified, all fields are returned."}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"97e3c757-8bca-4f0b-b7a2-6565df9afe57","name":"A list of promotions assigned to this profile","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","with-handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"meta\": {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"link\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b455a2d2-7d0f-4f41-bbd7-5335b3d6f3a5","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","with-handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1088bcfc-0ee7-4c06-8586-7b0e8f1df4ac","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","with-handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"29408745-ed9c-46b6-869d-d13088e5c41e","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","get-for-client",":identifierType",":identifierValue","with-handbills"],"host":["{{baseUrl}}"],"query":[{"key":"handbillUuid","value":"string"},{"key":"handbillUuid","value":"string"},{"key":"type","value":"MEMBERS_ONLY,HANDBILL"},{"key":"page","value":"4"},{"key":"limit","value":"100"},{"key":"includeMeta","value":"false"},{"key":"status","value":"ASSIGNED,ACTIVE"},{"key":"fields","value":"status,code"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"34cad08c-56e2-443c-a96d-a8b707521c4d","name":"Screen views","description":{"content":"","type":"text/plain"},"item":[{"id":"da0f4018-99f1-41ee-a978-acef998848eb","name":"Generate screen view from feed","request":{"name":"Generate screen view from feed","description":{"content":"When this method is called, the Synerise backend finds all screen view campaigns applicable to the JWT context and returns the screen view with the highest priority (1). Inserts are processed. If an insert can't be processed, the returned `data` is empty.\n\n**IMPORTANT**: When the request's context is a Workspace or Synerise User JWT, only screen views with the audience set to `ALL` (\"Everyone\" in the Synerise Web Application) can be generated.\n\nIf the feed doesn't contain any screen views whose audience matches the JWT context of the request, the response is error 404.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>, <span title=\"Available only on mobile SDKs\">Incognito Profile</span>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"9346c28c-d569-4a26-b1fe-a1a7e836c363","name":"Processed JSON content","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"5865dd71-89a3-ad3b-6577-1e9d5fc3cca9\",\n  \"hash\": \"fbb2d91c-d75b-0168-1611-81495d7b216e\",\n  \"priority\": 99,\n  \"name\": \"string\",\n  \"createdAt\": \"2012-12-13T03:26:13.367Z\",\n  \"updatedAt\": \"1978-08-17T10:46:24.019Z\",\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"data\": {\n    \"collection\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"key_0\": {},\n    \"key_1\": {}\n  },\n  \"path\": \"/v2/screen-views/f9215cb9-4a7e-410b-88cb-8bc40363cc10\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b90b9dde-6694-4968-8bba-d01a327ca2f1","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d5ed779-dd9c-4577-8264-12aed5777ee7","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9c7d8738-d34d-415e-a158-510de8e93cf1","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"af356d8d-389e-4256-9fc0-6196f4a36120","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bc390d88-6489-415d-820b-340ad31631de","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e2f93509-b221-42e0-b741-330cfe34b9b3","name":"Generate screen view from feed","request":{"name":"Generate screen view from feed","description":{"content":"When this method is called, the Synerise backend finds all screen view campaigns applicable to the JWT context and returns the screen view with the highest priority (1). Inserts are processed. If an insert can't be processed, the returned `data` is empty.\n\n**IMPORTANT**: When the request's context is a Workspace or Synerise User JWT, only screen views with the audience set to `ALL` (\"Everyone\" in the Synerise Web Application) can be generated.\n\nIf the feed doesn't contain any screen views whose audience matches the JWT context of the request, the response is error 404.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>, <span title=\"Available only on mobile SDKs\">Incognito Profile</span>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"key_0\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"key_1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d767693f-87dd-43ef-8cef-cbfa8c2b19d0","name":"Processed JSON content","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key_0\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"key_1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"6619afbe-524b-bc0a-92bb-3f3f4b7d802d\",\n  \"hash\": \"056d5ec1-4b9f-ce13-06f5-a16bcfcf54e4\",\n  \"priority\": 99,\n  \"name\": \"string\",\n  \"createdAt\": \"1950-01-05T23:01:38.491Z\",\n  \"updatedAt\": \"1969-05-19T08:24:43.686Z\",\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"data\": {\n    \"collection\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"key_0\": {},\n    \"key_1\": {},\n    \"key_2\": {}\n  },\n  \"path\": \"/v2/screen-views/f9215cb9-4a7e-410b-88cb-8bc40363cc10\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6987e532-e961-4fd8-ace6-ce03f0c6bfd4","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key_0\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"key_1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"97b56598-5238-4e09-8689-0b121ed4cb05","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key_0\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"key_1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa8e83fa-54e8-48ab-8584-2843603f45e6","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key_0\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"key_1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a6a6b6e9-4ff8-45e6-bb87-d1b26a2d9619","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key_0\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"key_1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78d15fef-82e1-4a22-953e-35d865ddb646","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v3","screen-views",":feedSlug","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"key_0\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"key_1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"987d27a3-c083-485c-88ff-6f7a68d1a677","name":"Create screen view","request":{"name":"Create screen view","description":{"content":"Create a screen view.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screen-views","create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"priority\": 99,\n  \"directoryId\": \"52d63573-d395-7b39-2596-4a8fe6ba6133\",\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"feedId\": \"7fdf1840-2c96-0541-6cc9-5c727fe88413\",\n  \"name\": \"string\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"23d770fe-ce74-4e73-8987-c741984c3699","name":"Success","originalRequest":{"url":{"path":["schema-service","screen-views","create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"priority\": 99,\n  \"directoryId\": \"52d63573-d395-7b39-2596-4a8fe6ba6133\",\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"feedId\": \"7fdf1840-2c96-0541-6cc9-5c727fe88413\",\n  \"name\": \"string\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"450a3643-e16a-e5a1-536e-f8b07e4e2402\",\n  \"businessProfileId\": 3455,\n  \"name\": \"string\",\n  \"status\": \"PAUSED\",\n  \"priority\": 99,\n  \"scheduled\": true,\n  \"author\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"avatar\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdAt\": \"1949-09-26T15:45:02.301Z\",\n  \"updatedAt\": \"1959-07-14T11:12:06.978Z\",\n  \"directory\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"feed\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"description\": \"string\",\n  \"deletedAt\": \"1985-12-19T13:28:51.927Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"45aa6dbb-f85c-4008-8527-54d252c058b5","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screen-views","create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"priority\": 99,\n  \"directoryId\": \"52d63573-d395-7b39-2596-4a8fe6ba6133\",\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"feedId\": \"7fdf1840-2c96-0541-6cc9-5c727fe88413\",\n  \"name\": \"string\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5503564c-1269-4571-8933-28bfabb1193c","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screen-views","create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"priority\": 99,\n  \"directoryId\": \"52d63573-d395-7b39-2596-4a8fe6ba6133\",\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"feedId\": \"7fdf1840-2c96-0541-6cc9-5c727fe88413\",\n  \"name\": \"string\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c5a476c1-33ad-41ad-aa91-8de36a4e32f1","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screen-views","create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"priority\": 99,\n  \"directoryId\": \"52d63573-d395-7b39-2596-4a8fe6ba6133\",\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"feedId\": \"7fdf1840-2c96-0541-6cc9-5c727fe88413\",\n  \"name\": \"string\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b66f6805-cf5c-4e03-a6b2-abce57c5b314","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screen-views","create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"priority\": 99,\n  \"directoryId\": \"52d63573-d395-7b39-2596-4a8fe6ba6133\",\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"feedId\": \"7fdf1840-2c96-0541-6cc9-5c727fe88413\",\n  \"name\": \"string\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dbc43305-7c03-4834-aec9-7c879bf04341","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screen-views","create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"priority\": 99,\n  \"directoryId\": \"52d63573-d395-7b39-2596-4a8fe6ba6133\",\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"feedId\": \"7fdf1840-2c96-0541-6cc9-5c727fe88413\",\n  \"name\": \"string\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1b9207db-d7a8-43ab-80a9-9099bd6a3220","name":"Initialize screen view","request":{"name":"Initialize screen view","description":{"content":"Create a screen view. It is created as a blank, without any conditions.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"directory\": \"e7102028-6fbe-e1e2-6657-e5ec92fc50da\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"5eba8962-bfc9-4bd9-a1e8-6bcf7527e805","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"directory\": \"e7102028-6fbe-e1e2-6657-e5ec92fc50da\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"450a3643-e16a-e5a1-536e-f8b07e4e2402\",\n  \"businessProfileId\": 3455,\n  \"name\": \"string\",\n  \"status\": \"PAUSED\",\n  \"priority\": 99,\n  \"scheduled\": true,\n  \"author\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"avatar\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdAt\": \"1949-09-26T15:45:02.301Z\",\n  \"updatedAt\": \"1959-07-14T11:12:06.978Z\",\n  \"directory\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"feed\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"description\": \"string\",\n  \"deletedAt\": \"1985-12-19T13:28:51.927Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8d4bbcad-23af-4421-a288-52eb8b9ffdae","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"directory\": \"e7102028-6fbe-e1e2-6657-e5ec92fc50da\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"424982de-2079-4cf9-bdbf-5e588d48ad19","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"directory\": \"e7102028-6fbe-e1e2-6657-e5ec92fc50da\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"49038de8-e778-47df-99da-f9689e506951","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"directory\": \"e7102028-6fbe-e1e2-6657-e5ec92fc50da\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15458c9a-fa2a-4e44-ab82-eb374f8a399a","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"directory\": \"e7102028-6fbe-e1e2-6657-e5ec92fc50da\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aeefe87b-1210-4a0e-b05d-243981d25c4e","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"directory\": \"e7102028-6fbe-e1e2-6657-e5ec92fc50da\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c2103fb8-b2ec-4835-b995-453f296dfe47","name":"Add content to screen view","request":{"name":"Add content to screen view","description":{"content":"Add content to a screen view. This overwrites any existing content.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","content"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3981fb8d-0c08-462d-8634-afecf43d9f21","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","content"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bcfb1b3c-c63f-4516-84e9-649c5bfec2e9","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","content"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ad09e50-f6e9-4a30-b8e5-33d27e5c4fbc","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","content"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c3ba53ff-2603-4e12-b1ad-8d5d298767b0","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","content"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e7d7a9db-9653-4e9f-80b8-39673fc1cd80","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","content"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a84b5cde-8b9b-4bc5-9623-bd457cb1f5d8","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","content"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"de8797be-affa-47b5-bd2f-9f40f68c2b27","name":"Add audience to screen view","request":{"name":"Add audience to screen view","description":{"content":"Define the audience for a screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","audience"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"cfe6df47-2447-45ac-bc6b-848c58788f1c","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","audience"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c413d62-7857-4454-ba64-c42777feb207","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","audience"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8f062385-c9e2-4e47-9bf5-2305a84ecdb4","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","audience"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9759f9b0-1ce7-4005-8e80-36afe590b52f","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","audience"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e50eca4e-9f30-43bd-b1bf-6134d4250d62","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","audience"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f733ee62-d536-48dd-a62c-4de4e7c4a3c4","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","audience"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"33570561-d42f-4ad9-aaaf-4e53c3221957","name":"Update screen view priority","request":{"name":"Update screen view priority","description":{"content":"Update priority in a screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"99","options":{"raw":{"language":"json"}}}},"response":[{"id":"db16fd3c-be34-4d68-9cbd-67bfd8817275","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"99","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"532f729e-1a0e-452f-b025-1b507ec392c7","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"99","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b24321b2-e790-4290-836f-4f5d8af8e490","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"99","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d773f3cc-0c50-49b9-8752-bf9988d9e8cd","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"99","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8637df36-8dab-479e-83e2-2b51efd1ed34","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"99","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"267f9141-a192-4f89-83cc-f21e8d0be66e","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"99","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1a406e43-6a57-4dde-bcd7-ae178f817d35","name":"Rename screen view","request":{"name":"Rename screen view","description":{"content":"Update the name of a screen view. You can update the names of active screen views.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"response":[{"id":"057e0821-6097-4310-a96d-03124aa28ffc","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e3d0d72-48dc-42af-92bb-f111697fa826","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3f49ec53-f216-4561-bb56-2f474ffa776c","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1079f9c3-38c5-464e-b4d4-a83ecf9c63df","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e3d2596-ac08-49c8-a23b-2eb2b3f4c26b","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f345f02f-c3df-4b77-aa34-586d2dfa6e54","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1a479cab-f1e9-46ee-9163-da5e7976b22a","name":"Preview screen view with a profile context","request":{"name":"Preview screen view with a profile context","description":{"content":"This endpoint can be used to preview a generated document as a Workspace or Synerise User. To generate the output as a profile (client), use one of the following methods:\n- [POST `/v3/screen-views/{feedSlug}/generate`](#operation/generateScreenViewByFeedPostV2)\n- [GET `/v3/screen-views/{feedSlug}/generate`](#operation/generateScreenViewByFeedGetV2)\n\n\nWhen this method is called, the Synerise backend finds all screen view campaigns in the requested feed which are applicable to the profile and returns the screen view with the highest priority (1). Inserts are processed. If an insert can't be processed, the returned `data` is empty.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":feedSlug","generate","by",":identifierType"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"},{"disabled":false,"type":"any","value":"custom_identify","key":"identifierType","description":"(Required) Type of the profile identifier. The value is sent in `identifierValue` in the request body."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"identifierValue\": \"string\",\n  \"params\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3b6cd683-cd6e-4b03-a63f-5d2e5026bd69","name":"Processed JSON content","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":feedSlug","generate","by",":identifierType"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"},{"disabled":false,"type":"any","value":"custom_identify","key":"identifierType","description":"(Required) Type of the profile identifier. The value is sent in `identifierValue` in the request body."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"identifierValue\": \"string\",\n  \"params\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"6619afbe-524b-bc0a-92bb-3f3f4b7d802d\",\n  \"hash\": \"056d5ec1-4b9f-ce13-06f5-a16bcfcf54e4\",\n  \"priority\": 99,\n  \"name\": \"string\",\n  \"createdAt\": \"1950-01-05T23:01:38.491Z\",\n  \"updatedAt\": \"1969-05-19T08:24:43.686Z\",\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"data\": {\n    \"collection\": [\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    ],\n    \"key_0\": {},\n    \"key_1\": {},\n    \"key_2\": {}\n  },\n  \"path\": \"/v2/screen-views/f9215cb9-4a7e-410b-88cb-8bc40363cc10\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"232e09a4-10c9-4d49-8955-00db392865d2","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":feedSlug","generate","by",":identifierType"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"},{"disabled":false,"type":"any","value":"custom_identify","key":"identifierType","description":"(Required) Type of the profile identifier. The value is sent in `identifierValue` in the request body."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"identifierValue\": \"string\",\n  \"params\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fbda3e68-4a3f-4fa2-ae34-297f030c9201","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":feedSlug","generate","by",":identifierType"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"},{"disabled":false,"type":"any","value":"custom_identify","key":"identifierType","description":"(Required) Type of the profile identifier. The value is sent in `identifierValue` in the request body."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"identifierValue\": \"string\",\n  \"params\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8cce0714-ae75-4b20-8f14-b496f82fe9f5","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":feedSlug","generate","by",":identifierType"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"},{"disabled":false,"type":"any","value":"custom_identify","key":"identifierType","description":"(Required) Type of the profile identifier. The value is sent in `identifierValue` in the request body."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"identifierValue\": \"string\",\n  \"params\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fdeec9ff-78c1-4960-a701-9ab1984139dc","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":feedSlug","generate","by",":identifierType"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"},{"disabled":false,"type":"any","value":"custom_identify","key":"identifierType","description":"(Required) Type of the profile identifier. The value is sent in `identifierValue` in the request body."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"identifierValue\": \"string\",\n  \"params\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8dc4ef74-0f62-4f8b-a349-6cf37124b810","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":feedSlug","generate","by",":identifierType"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"feedSlug","description":"(Required) Slug of the screen view feed"},{"disabled":false,"type":"any","value":"custom_identify","key":"identifierType","description":"(Required) Type of the profile identifier. The value is sent in `identifierValue` in the request body."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"identifierValue\": \"string\",\n  \"params\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"73f73a55-e2b1-4a6d-874e-fc8dcbf5d554","name":"List screen view feeds","request":{"name":"List screen view feeds","description":{"content":"Returns a list of screen view feeds.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"f0292a3b-5563-4764-b5fa-4a04892bd29c","name":"List of feeds","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"e321075b-16bb-47a7-914a-ce85de384a1a","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"71a2a34d-988b-4375-8f38-d0dffff3d099","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be08b2f4-82b9-4a52-ae27-3c44d4312576","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0c6d944c-3936-4a31-9fa0-e577d78e3da5","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"532ddbb1-7042-4ac9-933d-6fe20e466b55","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b04513b0-2c7d-47c2-bfad-cdb6954081c4","name":"Create screen view feed","request":{"name":"Create screen view feed","description":{"content":"Create a new screen view feed.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"slug\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"f3845fe6-be82-45cb-8a64-7ecc11c68c9f","name":"Feed created","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"slug\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"7957fcb1-73c3-d6b1-f779-c8e322b038c8\",\n  \"slug\": \"string\",\n  \"name\": \"string\",\n  \"createdAt\": \"1988-10-28T17:54:25.522Z\",\n  \"default\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d206d70-1913-407d-9adf-74c077555127","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"slug\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e78b754d-9b14-48a1-b881-fffb421881be","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"slug\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23fc9cbc-d29c-4ea3-b2dc-3bc9d367a997","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"slug\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"74b7ef30-8a2a-4d0d-a3c1-d66345c53c88","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"slug\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eb74e4ba-3315-429f-859f-858d1878c54b","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"slug\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5549d059-8b2d-4166-910b-03b83c0bc015","name":"List screen views","request":{"name":"List screen views","description":{"content":"Returns a paginated list of screen views.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"1"},{"disabled":false,"key":"limit","value":"25","description":"Limit of items per page"},{"disabled":false,"key":"search","value":"string","description":"A string to search for in resource names"},{"disabled":false,"key":"directoryId","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","description":"UUID of the directory for filtering the results"},{"disabled":false,"key":"status","value":"FINISHED"},{"disabled":false,"key":"feedId","value":"90796514-3fa2-9b42-aba7-e49a46eba62b"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"e1510466-3caf-450f-a0c2-e94e4ba39381","name":"List of screen views","originalRequest":{"url":{"path":["schema-service","v2","screen-views"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"25"},{"key":"search","value":"string"},{"key":"directoryId","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c"},{"key":"status","value":"FINISHED"},{"key":"feedId","value":"90796514-3fa2-9b42-aba7-e49a46eba62b"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"meta\": {\n    \"links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"count\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2223323f-ee7b-45c4-a11c-293c78a06a82","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"25"},{"key":"search","value":"string"},{"key":"directoryId","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c"},{"key":"status","value":"FINISHED"},{"key":"feedId","value":"90796514-3fa2-9b42-aba7-e49a46eba62b"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7bcf113a-9dc3-4e47-a12c-ee72000b4098","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"25"},{"key":"search","value":"string"},{"key":"directoryId","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c"},{"key":"status","value":"FINISHED"},{"key":"feedId","value":"90796514-3fa2-9b42-aba7-e49a46eba62b"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e7649a5f-3a46-46d2-a590-0a5356527434","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"25"},{"key":"search","value":"string"},{"key":"directoryId","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c"},{"key":"status","value":"FINISHED"},{"key":"feedId","value":"90796514-3fa2-9b42-aba7-e49a46eba62b"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6dd10abb-b50b-4089-afdc-a8a71b9383d4","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"25"},{"key":"search","value":"string"},{"key":"directoryId","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c"},{"key":"status","value":"FINISHED"},{"key":"feedId","value":"90796514-3fa2-9b42-aba7-e49a46eba62b"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d82dfef2-78c6-4efb-864a-0d09f6845110","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"25"},{"key":"search","value":"string"},{"key":"directoryId","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c"},{"key":"status","value":"FINISHED"},{"key":"feedId","value":"90796514-3fa2-9b42-aba7-e49a46eba62b"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"319ae5ff-8e93-40fc-9afe-eaa40eeca9d6","name":"Get screen view","request":{"name":"Get screen view","description":{"content":"Retrieve the details of a screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"fbb527e5-8e10-4e29-a684-0cc756ee397b","name":"Details of the screen view","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"450a3643-e16a-e5a1-536e-f8b07e4e2402\",\n  \"businessProfileId\": 3455,\n  \"name\": \"string\",\n  \"status\": \"PAUSED\",\n  \"priority\": 99,\n  \"scheduled\": true,\n  \"author\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"avatar\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdAt\": \"1949-09-26T15:45:02.301Z\",\n  \"updatedAt\": \"1959-07-14T11:12:06.978Z\",\n  \"directory\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"feed\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"description\": \"string\",\n  \"deletedAt\": \"1985-12-19T13:28:51.927Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e52157a2-9861-4d34-8a75-a17cda5678cd","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90e30c6b-91f2-4321-b0ea-58b18ac8b138","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a8045cb6-0c3a-4371-bd4c-478bd94e1a22","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00caee5b-a896-4d9c-8e40-8b54c3bc2d93","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a7fc0be-dc77-4e4a-8ec2-c902d2866b26","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1d910b01-35b3-41ae-adbd-38ad01acfe77","name":"Delete screen view","request":{"name":"Delete screen view","description":{"content":"Delete a screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_DELETE`\n\n**User role permission required:** `assets_docs: delete`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"7d7ba750-2b3c-4471-bd05-04f72e90ee85","name":"Screen view deleted","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ca9431d3-b4c1-4d7d-80d9-493377336ae8","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fc7113fc-2895-4f32-ae25-9ba1e72dcd8d","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3306b358-66a7-48f7-a5c6-a96daf4fe172","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9f80eaf4-01a7-4bbe-be07-289131bd824f","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04fffc69-af99-4b70-a496-d194ab97567b","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f14e2ac7-4343-4e37-97f4-c63da82ec570","name":"Copy screen view","request":{"name":"Copy screen view","description":{"content":"Copy a screen view. The copy receives the DRAFT status, regardless of the status of the original screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","copy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"383fd2b4-1629-4193-8b9a-232c528d357e","name":"Data of the created copy","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","copy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"f4109649-2d04-50f8-1bec-958f4e458570\",\n  \"version\": \"string\",\n  \"status\": \"FINISHED\",\n  \"hash\": \"bb6639b2-a98e-49d9-804f-ed6c0e2a0d2f:2019-12-05T08:22:10.094\",\n  \"parentVersion\": \"string\",\n  \"authorId\": \"string\",\n  \"businessProfileId\": 6040,\n  \"priority\": 99,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"isActive\": false,\n  \"createdAt\": \"2003-03-23T21:48:49.317Z\",\n  \"updatedAt\": \"2019-06-11T00:18:13.241Z\",\n  \"deletedAt\": \"2005-06-22T10:23:04.045Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"956e0f54-4aa5-4dc4-bdcc-a6bf7beb8307","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","copy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad425423-764e-4bac-88f4-ee9ecfe38487","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","copy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"833e7618-9a50-413b-9315-388ca477a3c3","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","copy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b97b673-93a6-44c6-bb95-bfb59002547d","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","copy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cf817317-faeb-48b9-97e9-6f9f75142318","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","copy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"80db036f-03f2-43ff-bd86-ca9ba468fd9c","name":"Get predecessors for screen view","request":{"name":"Get predecessors for screen view","description":{"content":"Retrieve information about documents or screen views that refer **to** the requested screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","predecessors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"a81ef277-9025-49ce-8412-cd4ba5474b35","name":"Entities which refer to the requested screen view","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","predecessors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"children\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"children\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"91edd1d0-231b-4f40-9f23-d59e1a0c1039","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","predecessors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"05bf8009-d014-4837-bd99-3e1410fe44bc","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","predecessors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1aa057e-d4d4-48ec-86aa-ed2b7425a03e","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","predecessors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78a13ed3-db31-4fff-8e9c-adb8f1e80eb4","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","predecessors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40ba013c-53a1-4d04-80c3-c7725bfb7acf","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","predecessors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4d13ec60-e0eb-43af-ae5e-84836fb2e8d2","name":"Get successors for screen view","request":{"name":"Get successors for screen view","description":{"content":"Retrieve information about documents referenced **from** the requested screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","successors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"4d3c393c-e90f-42e7-98a3-857e7ac18838","name":"Documents referenced from the requested screen view","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","successors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"children\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"children\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"b125d409-342c-4d5f-b79e-3ce514756c91","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","successors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1cb2ca39-245a-4147-b88e-46618be7c51a","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","successors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d74eacf1-877c-4ef4-a956-cbbeac18f2bd","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","successors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a77f7a3d-e7c0-42d9-a955-4f35aa691aeb","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","successors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ec2dd1c5-9bc7-4f49-a971-21670dd4f835","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","successors"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"993416ce-15f6-4839-a678-fff8fe21e5ac","name":"List screen view directories","request":{"name":"List screen view directories","description":{"content":"Returns a list of screen view directories.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"0e6a7e7e-0847-43dd-b477-63d30a30c993","name":"List of directories","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"224fcd63-4668-4c54-b60b-63dad93d6a6f","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f9d56f17-22a9-4727-beb8-dac1e5adfbd9","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d162d3d-e771-41c2-b2b0-f829f5029397","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"35cbe743-a2bb-4859-8a7d-e7dfa185e12e","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4536ab5c-96b3-407a-ae2d-906485940de9","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"140e3c58-bf61-430b-87d4-454f49dfcb1f","name":"Add screen view directory","request":{"name":"Add screen view directory","description":{"content":"Create a directory for screen views.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d9d68767-da61-4319-b486-2e1a2aed21ff","name":"Directory created","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"9db66b7e-c5a0-77b4-5b58-38e0308ce853\",\n  \"name\": \"string\",\n  \"createdAt\": \"1997-03-14T18:21:26.510Z\",\n  \"default\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"17141554-5df6-4952-9232-2fd9b8d7dca4","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b3094c0-6aab-4b75-9e16-301a5734770e","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28f60be6-985a-4af3-a9f5-a8332f77e62d","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6a449c24-0a28-45eb-98d2-e90fbe19637e","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"780742b6-c728-41a3-9856-ba00810a8132","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a605393e-ee91-4ce0-8c76-6160b3419fdd","name":"Rename screen view directory","request":{"name":"Rename screen view directory","description":{"content":"Update the name of a screen view directory.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_DELETE`\n\n**User role permission required:** `assets_docs: delete`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"debf8db9-7e6f-40fa-8ac0-ff4d123e2b33","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"9db66b7e-c5a0-77b4-5b58-38e0308ce853\",\n  \"name\": \"string\",\n  \"createdAt\": \"1997-03-14T18:21:26.510Z\",\n  \"default\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9f0c1266-2a28-4136-95cf-ee33dd0d5b05","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e72180fb-22d1-4411-8636-e81ca50ea789","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a5d1295-fbc8-4cc1-bf7e-52b2a2fb46c8","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fe9d8669-7b60-4a33-81aa-d10db1694af2","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ceb3827-1a26-4fe5-b95d-c8b047343a1a","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"719a528f-a31c-4d0b-827f-ffdff29a4cde","name":"Delete screen view directory","request":{"name":"Delete screen view directory","description":{"content":"Delete a screen view directory. The contents are moved into the default directory.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_DELETE`\n\n**User role permission required:** `assets_docs: delete`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"dd1e0511-7ce0-4023-bbe2-8f4e10a3ca76","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"9db66b7e-c5a0-77b4-5b58-38e0308ce853\",\n  \"name\": \"string\",\n  \"createdAt\": \"1997-03-14T18:21:26.510Z\",\n  \"default\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"342d42fe-7067-4768-8dfb-df309f4748f7","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"48606348-3d8f-4a12-9050-1c3c2c059cd9","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e5f0a850-fb79-4b32-b741-5bc092d73514","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18c39432-22c1-4315-9fcd-5928e415453f","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"91f4a67d-e783-45ec-8312-d83a89c6e34c","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","directory",":directoryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ed0b4015-c66d-46ca-adc7-b4007d09e6e7","name":"Assign screen view to directory","request":{"name":"Assign screen view to directory","description":{"content":"Assign a screen view to a directory. A screen view can only belong to one directory and using this endpoint overwrites the current assignment.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_DELETE`\n\n**User role permission required:** `assets_docs: delete`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","directory",":directoryId","attach"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"dee830d7-81eb-4c91-b4ab-6dd7f217ca37","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","directory",":directoryId","attach"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"docId\": \"cb31d138-627b-745b-08f7-920c0f5262b0\",\n  \"name\": \"string\",\n  \"status\": \"SCHEDULED\",\n  \"scheduled\": false,\n  \"authorId\": 4159,\n  \"directoryId\": \"c80c8903-f506-caa6-8955-7f3baba07208\",\n  \"createdAt\": \"2001-01-11T08:57:26.002Z\",\n  \"updatedAt\": \"2004-08-13T16:20:11.022Z\",\n  \"deletedAt\": \"1988-07-22T06:02:03.986Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bf0421ac-7954-47fe-a69f-d605e5f95162","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","directory",":directoryId","attach"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"41d1a795-090f-48ce-8299-fe5744123e6b","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","directory",":directoryId","attach"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"09c99e7d-001c-4b2c-9b73-0bc8161a7ebb","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","directory",":directoryId","attach"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dbb6c1c5-0122-45f9-95ae-a9888ce0c6e1","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","directory",":directoryId","attach"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"68d4ecf7-9f17-4d06-a1e8-8342aaa2af7a","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","directory",":directoryId","attach"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"directoryId","description":"(Required) UUID of the directory"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c6c4ea08-9fa0-458a-b7c6-0ace6c47df0f","name":"Assign screen view to feed","request":{"name":"Assign screen view to feed","description":{"content":"Assign a screen view to a feed.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","feed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"a3beec3e-ff2a-4f1c-85fa-442f8f81e232","options":{"raw":{"language":"json"}}}},"response":[{"id":"63022729-f554-4a33-89e2-44aedb7a77f9","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","feed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"a3beec3e-ff2a-4f1c-85fa-442f8f81e232","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ec206377-43a7-4c19-9409-89b9ab6fd70a","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","feed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"a3beec3e-ff2a-4f1c-85fa-442f8f81e232","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a94741d7-4795-4d33-adb0-9cf1793d08ed","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","feed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"a3beec3e-ff2a-4f1c-85fa-442f8f81e232","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18bc2898-d4be-4d84-8773-39f595b5916b","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","feed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"a3beec3e-ff2a-4f1c-85fa-442f8f81e232","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f04574c7-ccd2-4011-a8ea-5b9cb20bbae4","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","feed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"a3beec3e-ff2a-4f1c-85fa-442f8f81e232","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0f294748-3896-425d-81d0-8603c5ae2cdb","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","feed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"a3beec3e-ff2a-4f1c-85fa-442f8f81e232","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c1c1125a-e46a-4920-bb58-3f6df0397b98","name":"Rename screen view feed","request":{"name":"Rename screen view feed","description":{"content":"Update the name of a screen view feed.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e0b82a7d-9a2d-4ebf-a8d6-ab9ea7663e9e","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"9db66b7e-c5a0-77b4-5b58-38e0308ce853\",\n  \"name\": \"string\",\n  \"createdAt\": \"1997-03-14T18:21:26.510Z\",\n  \"default\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d0471864-be60-41f9-86d7-9aeaca554c2e","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"de6957d0-2516-4090-953a-d31bd7df670c","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d756ae7-8345-49fa-8998-f656a479e202","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4294ace7-9a4f-442f-8ba7-63cc26608066","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d7f6235-bb75-45b4-9c22-125ec7429e6c","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1dadc1c1-9e7b-4451-a929-78fcd5b23da6","name":"Delete screen view feed","request":{"name":"Delete screen view feed","description":{"content":"Delete a screen view feed. The screen views currently in this feed are moved to the default feed.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_DELETE`\n\n**User role permission required:** `assets_docs: delete`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"0f2cdf5e-b1f0-486d-9015-208017b9f80c","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"7957fcb1-73c3-d6b1-f779-c8e322b038c8\",\n  \"slug\": \"string\",\n  \"name\": \"string\",\n  \"createdAt\": \"1988-10-28T17:54:25.522Z\",\n  \"default\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a982d67a-1053-4802-aa06-088c29dea942","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a4df35b-2402-43af-8751-35bd1d59ca5d","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a01cd963-d826-4a90-885b-8a222069013b","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"07e8e8e8-075a-4973-b8e4-43c7d27c9dce","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5a5279c-290c-45c7-9635-7ac574e5876c","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views","feeds",":feedId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"feedId","description":"(Required) UUID of a screen view feed"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"21e81822-2800-475a-9663-c8ef5f090665","name":"Schedule object","request":{"name":"Schedule object","description":{"content":"Add a schedule to a document or screen view.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","scheduler","entry"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"externalId\": \"3f7f2483-bccf-573d-f992-142da33691ba\",\n  \"type\": \"SCREENVIEW\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"07d9f76d-ef9b-4f00-b870-b88f230e4cb4","name":"Schedule added","originalRequest":{"url":{"path":["schema-service","scheduler","entry"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"externalId\": \"3f7f2483-bccf-573d-f992-142da33691ba\",\n  \"type\": \"SCREENVIEW\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"active\": false,\n  \"externalId\": \"06a7e4a6-87f2-aa86-4a0c-761eef7f2115\",\n  \"type\": \"DOCUMENT\",\n  \"finished\": true,\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"74d21bd7-f10a-4037-ae8c-1ecd4c1f3caf","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","scheduler","entry"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"externalId\": \"3f7f2483-bccf-573d-f992-142da33691ba\",\n  \"type\": \"SCREENVIEW\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"776dff1f-e5d7-4b1e-a4a0-13dbf8dd307f","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","scheduler","entry"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"externalId\": \"3f7f2483-bccf-573d-f992-142da33691ba\",\n  \"type\": \"SCREENVIEW\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f09a993c-286a-4c3c-b204-5e8244ec1e00","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","scheduler","entry"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"externalId\": \"3f7f2483-bccf-573d-f992-142da33691ba\",\n  \"type\": \"SCREENVIEW\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"adf383e3-f847-4610-91e5-a47e207bff86","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","scheduler","entry"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"externalId\": \"3f7f2483-bccf-573d-f992-142da33691ba\",\n  \"type\": \"SCREENVIEW\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7bae7ff8-71c9-4034-a7f6-c20986ab77c8","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","scheduler","entry"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"externalId\": \"3f7f2483-bccf-573d-f992-142da33691ba\",\n  \"type\": \"SCREENVIEW\",\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8a33ec4e-c3ff-424b-9cb4-08f66fe51436","name":"Get schedule the schedule of an object","request":{"name":"Get schedule the schedule of an object","description":{"content":"Get schedule object.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","scheduler","entry",":objectType",":objectId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"objectId","description":"(Required) Screen view or document ID"},{"disabled":false,"type":"any","value":"SCREENVIEW","key":"objectType","description":"(Required) Object type"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"988860af-2cff-4bb2-b70a-9d49849f412d","name":"Schedule details","originalRequest":{"url":{"path":["schema-service","scheduler","entry",":objectType",":objectId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"objectId","description":"(Required) Screen view or document ID"},{"disabled":false,"type":"any","value":"SCREENVIEW","key":"objectType","description":"(Required) Object type"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"active\": false,\n  \"externalId\": \"06a7e4a6-87f2-aa86-4a0c-761eef7f2115\",\n  \"type\": \"DOCUMENT\",\n  \"finished\": true,\n  \"schedule\": {\n    \"enabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dabcc27d-eb03-4134-be32-72189c0dd336","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","scheduler","entry",":objectType",":objectId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"objectId","description":"(Required) Screen view or document ID"},{"disabled":false,"type":"any","value":"SCREENVIEW","key":"objectType","description":"(Required) Object type"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a9c29275-e396-4dcd-9ae7-f54cedaffa4c","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","scheduler","entry",":objectType",":objectId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"objectId","description":"(Required) Screen view or document ID"},{"disabled":false,"type":"any","value":"SCREENVIEW","key":"objectType","description":"(Required) Object type"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d7e51f2-2482-4e1f-9ab2-0057115d36bc","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","scheduler","entry",":objectType",":objectId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"objectId","description":"(Required) Screen view or document ID"},{"disabled":false,"type":"any","value":"SCREENVIEW","key":"objectType","description":"(Required) Object type"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"85d4dd7a-510b-47ec-9609-cdbc7695b08d","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","scheduler","entry",":objectType",":objectId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"objectId","description":"(Required) Screen view or document ID"},{"disabled":false,"type":"any","value":"SCREENVIEW","key":"objectType","description":"(Required) Object type"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cf0a912a-1cd0-4cb8-ae22-859373c4eacf","name":"Object has no schedule; or an exception occurred.","originalRequest":{"url":{"path":["schema-service","scheduler","entry",":objectType",":objectId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"objectId","description":"(Required) Screen view or document ID"},{"disabled":false,"type":"any","value":"SCREENVIEW","key":"objectType","description":"(Required) Object type"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6580b6ca-1c7f-4634-8cfd-0bf74921b3df","name":"Finish screen view","request":{"name":"Finish screen view","description":{"content":"Finish a screen view. A finished document is no longer displayed.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","finish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"87ecea07-7dc4-4733-8c50-b449dd7ea59c","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","finish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8a3e233b-f255-4f68-a0bb-c5f60e43b1c7","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","finish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"62fd0622-ba22-4b11-9f9c-951e01e3e544","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","finish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d2d284f0-bcc5-452b-b201-24b95cc6d001","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","finish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"01345c69-d3fa-41e6-944c-6d4108e9c127","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","finish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e28c09f-daf2-41d0-a3c1-25f895905e51","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","finish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9c74c07d-e574-450d-bbef-e85a6c2178d9","name":"Resume screen view","request":{"name":"Resume screen view","description":{"content":"Resume a screen view that was paused.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"84c2c9bf-1b2e-4b70-a75b-a3ebd191cf32","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"30c32d41-cc2b-4a16-a983-c931a95b0a54","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c5fd6e5c-c2cf-44de-8cde-e02262233956","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c51978a-77b4-4316-85b3-59b2d7276e50","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c5d77312-4fc7-4c86-8a8c-12c6980fee2c","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ac818ed5-06dd-4c79-8a05-7163390ac645","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4b4c275d-c0be-47a7-8739-e80e795b8b75","name":"Activate screen view","request":{"name":"Activate screen view","description":{"content":"Activate a screen view. It can be displayed to customers.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"f66e3bc9-6baf-4551-b2fd-027f4ddbb369","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"581089c3-71f4-46b6-a89d-50abc2446d01","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"39ffa284-ca42-484f-9f51-3ffa9613f2e5","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b4a0d7d-281e-4bd4-aa02-75f18402228a","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dc88f99e-2e72-4516-99aa-c22308b9fe25","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d04b2683-8bc2-4f97-869a-fb499a007ca6","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","activate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b23b7592-cf29-4673-99a8-cf61026882c3","name":"Pause screen view","request":{"name":"Pause screen view","description":{"content":"Pause a screen view. Until resumed, it can't be displayed to customers.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"6f5147b1-5b43-42f2-b8a2-54d58cea493b","name":"Success","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"de25661d-abec-4c36-be93-4614a3d1b4e7","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9f31101a-050f-4a71-8a85-7fe1766f5b8f","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a2867177-3309-45bb-9547-66d183a19532","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6f24f74e-81a4-4489-af26-9582817c7704","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3038ec40-1d5f-4f9c-9423-0888448902b3","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screen-views",":screenViewId","status","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"ea00350e-49c8-42ee-b07b-00845d227f99","name":"Promotions points","description":{"content":"","type":"text/plain"},"item":[{"id":"fbb5aa3e-5dcf-4eb4-ac06-ce7b08709d46","name":"Transfer points to another profile","request":{"name":"Transfer points to another profile","description":{"content":"With this method, a profile can send some of their points to another profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","v2","points","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"pointsAmount\": 2187,\n  \"recipient\": {\n    \"clientKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientKeyValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"sender\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"83fad915-e494-4954-b301-61c201cd8ba3","name":"Point transfer scheduled","originalRequest":{"url":{"path":["v4","promotions","v2","points","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"pointsAmount\": 2187,\n  \"recipient\": {\n    \"clientKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientKeyValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"sender\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Point transfer scheduled\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"84272495-2333-4f24-8430-f9c4ba810fa7","name":"Bad request","originalRequest":{"url":{"path":["v4","promotions","v2","points","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"pointsAmount\": 2187,\n  \"recipient\": {\n    \"clientKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientKeyValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"sender\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"ERR-042\",\n  \"httpStatus\": 400,\n  \"message\": \"Invalid data\",\n  \"timestamp\": \"2020-10-05T10:59:21.000Z\",\n  \"traceId\": \"8705651679b203e7\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"49485944-1f3d-4113-b130-2e147ac08943","name":"Profile not found","originalRequest":{"url":{"path":["v4","promotions","v2","points","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"pointsAmount\": 2187,\n  \"recipient\": {\n    \"clientKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientKeyValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"sender\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"CLI-001\",\n  \"httpStatus\": 404,\n  \"message\": \"Profile not found\",\n  \"timestamp\": \"2020-10-05T10:59:21.000Z\",\n  \"traceId\": \"8705651679b203e7\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5f4b04d0-6c3b-4551-a7ab-ed7efea2d6d9","name":"Unprocessable point transfer","originalRequest":{"url":{"path":["v4","promotions","v2","points","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"pointsAmount\": 2187,\n  \"recipient\": {\n    \"clientKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientKeyValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"sender\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b4d18578-db97-48ef-9517-0fdccc11b83e","name":"Profile points lock error","originalRequest":{"url":{"path":["v4","promotions","v2","points","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"pointsAmount\": 2187,\n  \"recipient\": {\n    \"clientKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientKeyValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"sender\": {\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"message\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Locked (WebDAV) (RFC 4918)","code":423,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"PRO-016\",\n  \"httpStatus\": 423,\n  \"message\": \"Profile points are locked. Waiting for releasing lock for the profile.\",\n  \"timestamp\": \"2020-10-05T10:59:21.000Z\",\n  \"traceId\": \"8705651679b203e7\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"7d6209f1-b764-4657-a30e-5c2a818d3f85","name":"Promotion settings","description":{"content":"","type":"text/plain"},"item":[{"id":"bdae7199-4b3d-4930-b003-b233e894c492","name":"Get settings for current Workspace","request":{"name":"Get settings for current Workspace","description":{"content":"\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_SETTINGS_PROMOTIONS_READ`\n\n**User role permission required:** `campaigns_personalised_promotions: read`\n","type":"text/plain"},"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"afe08a91-5cd7-435c-94cf-532345afdd19","name":"OK","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"expression\": \"xxxxxxx-d047-40fd-99c8-yyyyxxxxyyy\",\n    \"blockTag\": \"BLOCK_PROMOTIONS\",\n    \"checkoutSettings\": {\n      \"handbilUuids\": [\n        \"1eb6c8f0-dc7a-4d9c-9e0e-bb995ee87699\"\n      ]\n    },\n    \"cashbackSettings\": {\n      \"exchangeRate\": 10,\n      \"limits\": {\n        \"minPoints\": 10,\n        \"maxPoints\": 100,\n        \"maxTransactionAmount\": 80,\n        \"maxTransactionPercentage\": 60\n      }\n    },\n    \"promotionListSettings\": {\n      \"fields\": [\n        \"code\",\n        \"possibleRedeems\",\n        \"lastingAt\",\n        \"vouchers\"\n      ],\n      \"sort\": \"NONE\",\n      \"limit\": 200,\n      \"where\": {\n        \"status\": [\n          \"ASSIGNED\",\n          \"ACTIVE\"\n        ],\n        \"type\": [\n          \"CUSTOM\",\n          \"MEMBERS_ONLY\",\n          \"HANDBILL\"\n        ],\n        \"target\": [\n          \"ALL\",\n          \"SEGMENT\"\n        ],\n        \"tagNames\": null,\n        \"lastingOnly\": true,\n        \"presentOnly\": true,\n        \"statusByType\": {\n          \"CUSTOM\": [\n            \"ACTIVE\"\n          ],\n          \"HANDBILL\": [\n            \"ASSIGNED\"\n          ]\n        },\n        \"targetByType\": {\n          \"CUSTOM\": [\n            \"ALL\"\n          ],\n          \"HANDBILL\": [\n            \"ALL\"\n          ],\n          \"MEMBERS_ONLY\": [\n            \"SEGMENT\"\n          ]\n        },\n        \"visibilityStatus\": [\n          \"PUBLISH\",\n          \"HIDDEN\"\n        ]\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"db5395b8-5896-4c0c-b566-4d5f223ef4c1","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cc8d1efe-0046-4ebd-a7cd-e3efadff71c1","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2e313348-198c-4da6-b16b-9425387da0fb","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"55420f2d-c940-4115-acef-87fde35a9022","name":"Update settings for current Workspace","request":{"name":"Update settings for current Workspace","description":{"content":"This method overrides all current settings. If you do not send a setting that currently exists, it will be reverted to default value.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_SETTINGS_PROMOTIONS_UPDATE`\n\n**User role permission required:** `campaigns_personalised_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"checkoutSettings\": {\n    \"handbillUuidsForCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"codeGeneration\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"enableCodeGeneration\": true,\n  \"codePrefix\": \"SYN\",\n  \"blockTag\": \"BLOCKED\",\n  \"expression\": \"c49ee441-d8c1-8cb2-c3a1-7a4a9ceddf9e\",\n  \"promotionListSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"promotionAssignmentSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"restorePointsOnProfileDeactivation\": true,\n  \"allowRedeemCompletionWhenBlocked\": false,\n  \"saleSettings\": {\n    \"discountSourceType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientIdCardType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"handbillCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceValueBaseStrategy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"combineBasketDiscounts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"returnFields\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"lockSettings\": {\n    \"lockPromotionRequestByIdentifier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"promotionRequestedLockTtl\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"processSalePromotionActivationLockWaitTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transferSettings\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"cashbackSettings\": {\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limits\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8da6ecce-de99-4d4c-a94e-241c3b244852","name":"OK","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"checkoutSettings\": {\n    \"handbillUuidsForCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"codeGeneration\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"enableCodeGeneration\": true,\n  \"codePrefix\": \"SYN\",\n  \"blockTag\": \"BLOCKED\",\n  \"expression\": \"c49ee441-d8c1-8cb2-c3a1-7a4a9ceddf9e\",\n  \"promotionListSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"promotionAssignmentSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"restorePointsOnProfileDeactivation\": true,\n  \"allowRedeemCompletionWhenBlocked\": false,\n  \"saleSettings\": {\n    \"discountSourceType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientIdCardType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"handbillCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceValueBaseStrategy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"combineBasketDiscounts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"returnFields\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"lockSettings\": {\n    \"lockPromotionRequestByIdentifier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"promotionRequestedLockTtl\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"processSalePromotionActivationLockWaitTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transferSettings\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"cashbackSettings\": {\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limits\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"application/json\": {\n    \"data\": {\n      \"expression\": \"xxxxxxx-d047-40fd-99c8-yyyyxxxxyyy\",\n      \"blockTag\": \"BLOCK_PROMOTIONS\",\n      \"promotionListSettings\": {\n        \"fields\": [\n          \"code\",\n          \"possibleRedeems\",\n          \"lastingAt\",\n          \"vouchers\"\n        ],\n        \"sort\": \"NONE\",\n        \"limit\": 200,\n        \"where\": {\n          \"status\": [\n            \"ASSIGNED\",\n            \"ACTIVE\"\n          ],\n          \"type\": [\n            \"CUSTOM\",\n            \"MEMBERS_ONLY\",\n            \"HANDBILL\"\n          ],\n          \"target\": [\n            \"ALL\",\n            \"SEGMENT\"\n          ],\n          \"tagNames\": null,\n          \"lastingOnly\": true,\n          \"presentOnly\": true,\n          \"statusByType\": {\n            \"CUSTOM\": [\n              \"ACTIVE\"\n            ],\n            \"HANDBILL\": [\n              \"ASSIGNED\"\n            ]\n          },\n          \"targetByType\": {\n            \"CUSTOM\": [\n              \"ALL\"\n            ],\n            \"HANDBILL\": [\n              \"ALL\"\n            ],\n            \"MEMBERS_ONLY\": [\n              \"SEGMENT\"\n            ]\n          },\n          \"visibilityStatus\": [\n            \"PUBLISH\",\n            \"HIDDEN\"\n          ]\n        }\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f0fd9d38-9b33-4dc6-af9c-a9a0261b4422","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"checkoutSettings\": {\n    \"handbillUuidsForCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"codeGeneration\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"enableCodeGeneration\": true,\n  \"codePrefix\": \"SYN\",\n  \"blockTag\": \"BLOCKED\",\n  \"expression\": \"c49ee441-d8c1-8cb2-c3a1-7a4a9ceddf9e\",\n  \"promotionListSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"promotionAssignmentSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"restorePointsOnProfileDeactivation\": true,\n  \"allowRedeemCompletionWhenBlocked\": false,\n  \"saleSettings\": {\n    \"discountSourceType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientIdCardType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"handbillCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceValueBaseStrategy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"combineBasketDiscounts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"returnFields\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"lockSettings\": {\n    \"lockPromotionRequestByIdentifier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"promotionRequestedLockTtl\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"processSalePromotionActivationLockWaitTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transferSettings\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"cashbackSettings\": {\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limits\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ac57ed78-c541-40e9-81d9-024084206a2c","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"checkoutSettings\": {\n    \"handbillUuidsForCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"codeGeneration\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"enableCodeGeneration\": true,\n  \"codePrefix\": \"SYN\",\n  \"blockTag\": \"BLOCKED\",\n  \"expression\": \"c49ee441-d8c1-8cb2-c3a1-7a4a9ceddf9e\",\n  \"promotionListSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"promotionAssignmentSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"restorePointsOnProfileDeactivation\": true,\n  \"allowRedeemCompletionWhenBlocked\": false,\n  \"saleSettings\": {\n    \"discountSourceType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientIdCardType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"handbillCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceValueBaseStrategy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"combineBasketDiscounts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"returnFields\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"lockSettings\": {\n    \"lockPromotionRequestByIdentifier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"promotionRequestedLockTtl\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"processSalePromotionActivationLockWaitTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transferSettings\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"cashbackSettings\": {\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limits\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e1120283-0189-477b-9d20-a896c3e30871","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"checkoutSettings\": {\n    \"handbillUuidsForCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"codeGeneration\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"enableCodeGeneration\": true,\n  \"codePrefix\": \"SYN\",\n  \"blockTag\": \"BLOCKED\",\n  \"expression\": \"c49ee441-d8c1-8cb2-c3a1-7a4a9ceddf9e\",\n  \"promotionListSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"promotionAssignmentSettings\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"restorePointsOnProfileDeactivation\": true,\n  \"allowRedeemCompletionWhenBlocked\": false,\n  \"saleSettings\": {\n    \"discountSourceType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientIdCardType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"handbillCheckout\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceValueBaseStrategy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"combineBasketDiscounts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"returnFields\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"lockSettings\": {\n    \"lockPromotionRequestByIdentifier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"promotionRequestedLockTtl\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"processSalePromotionActivationLockWaitTime\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"transferSettings\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"cashbackSettings\": {\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limits\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e43cd08e-e0e9-4399-a455-d79394bc0104","name":"Promotion locks","description":{"content":"","type":"text/plain"},"item":[{"id":"bf70be9c-f1c4-4d22-9fb8-771e9df02a6b","name":"Check account lock","request":{"name":"Check account lock","description":{"content":"You can check if a Profile account is locked due to processing of batch promotion/voucher activations or deactivations.\n\n\nYou must be logged in as the Profile.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n","type":"text/plain"},"url":{"path":["v4","promotions","promotion","locking","check-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"28a5886b-f5c3-4cb4-9347-f004e34a0ec8","name":"Information about Profile lock","originalRequest":{"url":{"path":["v4","promotions","promotion","locking","check-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile is unlocked and ready for traffic\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ab3acfa-eb4c-43c7-852b-d446fd9abd7c","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","promotion","locking","check-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a6b1484-818c-4df8-bb67-1828fd518469","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","promotion","locking","check-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59b78311-209a-48b0-937b-8c2a7d15db94","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","promotion","locking","check-client"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a9286f7f-ac44-4cdb-890c-6c0acdcfbca3","name":"Create point lock for profile","request":{"name":"Create point lock for profile","description":{"content":"Create a point lock for a profile. That profile cannot activate or de-activate promotions based on loyalty points until the lock is released. The profile can still redeem promotions.  \nThis lock is released with the [\"Release point lock for profile\" endpoint](#operation/endpointLockReleaseLockForClientPOST) or when its TTL (defined in the query parameters) expires.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_LOCK_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","lock","create-points-lock-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"lockTtlSec","value":"900","description":"Lock duration in seconds"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"4849e37f-82e7-4cd1-b68c-9dfe0d158504","name":"Lock created","originalRequest":{"url":{"path":["v4","promotions","lock","create-points-lock-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lockTtlSec","value":"900"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"callback\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b544cb9e-98eb-46c4-a798-6fdb6c4016e7","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","lock","create-points-lock-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lockTtlSec","value":"900"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8b6d763c-ccbc-4560-bb11-75a26bb39b65","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","lock","create-points-lock-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lockTtlSec","value":"900"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"80fa5494-2470-4154-80d2-b1e87d344269","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","lock","create-points-lock-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lockTtlSec","value":"900"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b90832d0-0e12-4d81-b8a3-ed0d01b8d5b3","name":"Profile not found","originalRequest":{"url":{"path":["v4","promotions","lock","create-points-lock-for-client",":identifierType",":identifierValue"],"host":["{{baseUrl}}"],"query":[{"key":"lockTtlSec","value":"900"}],"variable":[{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3e4d88f8-40d2-4d42-94a1-434caf1488ec","name":"Release point lock for profile","request":{"name":"Release point lock for profile","description":{"content":"Release a [point lock](#operation/endpointLockCreateLockForClientPOST) from a profile. That profile can now activate and de-activate promotions based on loyalty points.\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_LOCK_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","lock","release-points-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"0ca3169d-ef6d-4251-a638-03eba76b4c18","name":"Lock released","originalRequest":{"url":{"path":["v4","promotions","lock","release-points-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Lock release succeeded\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6154ffe9-2952-4573-b205-4d95e115f195","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","lock","release-points-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a146a1b-6477-42f7-8554-2318947f07f4","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","lock","release-points-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bea4c656-ad5d-4267-97f5-6ffadc685a72","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","lock","release-points-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3121d095-caa1-4c7b-8d94-c2ca14bcce95","name":"Profile not found","originalRequest":{"url":{"path":["v4","promotions","lock","release-points-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"475bd20f-0e67-46e7-9a46-67736f89b671","name":"Lock already exists","originalRequest":{"url":{"path":["v4","promotions","lock","release-points-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Lock already exits\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d36264db-fb21-423d-825d-9bb0a0a5158b","name":"Release \"promotion requested\" lock from profile","request":{"name":"Release \"promotion requested\" lock from profile","description":{"content":"Release a \"promotion requested\" lock from a profile. That profile can now fetch promotion lists. This kind of lock can be applied when using the [Get Profile promotions by a custom filter](#operation/GetClientPromotionsByACustomFilter) endpoint.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**API key permission required:** `PROMOTIONS_LOCK_UPDATE`\n\n**User role permission required:** `campaigns_promotions: update`\n","type":"text/plain"},"url":{"path":["v4","promotions","lock","release-promotion-requested-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"0d810c84-f4f1-4d12-99ad-a9866de4fca3","name":"Lock released","originalRequest":{"url":{"path":["v4","promotions","lock","release-promotion-requested-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Lock release succeeded\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"74dc0c08-9402-4c9e-badc-c45c579c3944","name":"Request body invalid/malformed/missing elements","originalRequest":{"url":{"path":["v4","promotions","lock","release-promotion-requested-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"error\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"938592b1-a4b3-4250-b2a4-c174696d5b20","name":"Unauthorized","originalRequest":{"url":{"path":["v4","promotions","lock","release-promotion-requested-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b1b63ed-4034-4fca-ab87-27786f5893cc","name":"Forbidden","originalRequest":{"url":{"path":["v4","promotions","lock","release-promotion-requested-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": 8531,\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"timestamp\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0b55c612-2f75-45db-8eb7-75d6bbf2c2c2","name":"Not found","originalRequest":{"url":{"path":["v4","promotions","lock","release-promotion-requested-lock-for-client",":identifierType",":identifierValue",":lockIdentifier"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"2f01c1b4-4266-41cb-b8d9-fd00457eedef.1640081408119","key":"lockIdentifier","description":"(Required) Lock identifier"},{"disabled":false,"type":"any","value":"email","key":"identifierType","description":"(Required) The Profile identifier to use for the request.\n\n`externalId` is known as `customId` or `custom_identify` in other Synerise services.\n"},{"disabled":false,"type":"any","value":"string","key":"identifierValue","description":"(Required) The value of the selected identifier"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Profile not found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"be77488c-089a-486a-b55c-624187379a4c","name":"Screen views (legacy)","description":{"content":"","type":"text/plain"},"item":[{"id":"2c6d78fc-b105-402e-96fa-02eb36b1c761","name":"Get all screen views","request":{"name":"Get all screen views","description":{"content":"Retrieve a paginated list of all screen view campaigns in the workspace.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"string","description":"(Required) The maximum number of items to retrieve for pagination"},{"disabled":false,"key":"page","value":"3292","description":"(Required) The number of the page to retrieve"},{"disabled":false,"key":"status","value":"DRAFT","description":"Filter the results by screen view status"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"ce5d0c67-98c9-4da9-85eb-21fcd4ebfbef","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"},{"key":"status","value":"DRAFT"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cf7d6f71-dd67-4220-b302-13258e58c3fd","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"},{"key":"status","value":"DRAFT"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b75836d-8e45-49a5-a9b0-9842e3ea3af7","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"},{"key":"status","value":"DRAFT"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"82d0982c-e217-42da-a281-012cf3c33bb9","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"},{"key":"status","value":"DRAFT"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"36ef9f49-08cf-4e29-abaf-4c8032b8bd3a","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"},{"key":"status","value":"DRAFT"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be766525-b922-4653-bdab-d2160f81fa05","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"},{"key":"status","value":"DRAFT"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"33ee1110-72b6-4f55-8796-80b0ebb0a6fa","name":"Get screen views by keys","request":{"name":"Get screen views by keys","description":{"content":"Retrieve list of screen view campaigns by keys in the workspace.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","byKeys"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"82c1ba08-d618-4328-bd40-7de69e9213fd","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","byKeys"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"page\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pages\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"56412626-2401-4d99-916c-dc216961f00e","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","byKeys"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"940fde1f-0b5c-4b6d-91f4-724175f50349","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","byKeys"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5531542e-9d22-4d97-b6b4-ee6a02d3358e","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","byKeys"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e37c5870-fa2d-4fbc-97ae-0086957ffe89","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","byKeys"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9d9ae982-e4f2-440e-8a27-60f99df47be1","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","byKeys"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b19041b5-23c6-4dfa-830e-5cadb004c609","name":"Get screen view","request":{"name":"Get screen view","description":{"content":"Retrieve the details of a single screen view campaign.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"d17ae04f-4959-410f-ba63-26515f6d1336","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"5f67dad2-4133-9750-d995-de82a8e318c4\",\n  \"businessProfileId\": 9699,\n  \"name\": \"string\",\n  \"status\": \"DRAFT\",\n  \"priority\": 99,\n  \"scheduled\": true,\n  \"author\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"avatar\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdAt\": \"2017-04-05T23:49:02.904Z\",\n  \"updatedAt\": \"2014-01-14T08:25:34.112Z\",\n  \"directory\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"feed\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"version\": \"string\",\n  \"parentVersion\": \"string\",\n  \"description\": \"string\",\n  \"deletedAt\": \"1989-07-03T03:54:26.840Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f28e7908-6c4a-4259-afee-362047e1e5cd","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"faa13e92-5a42-458f-ae61-dec02a1910e3","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e0f215d4-b448-4589-a5c8-7ed63c067954","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f051442f-418f-4d53-a021-4afb1e3eff1c","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f99cd998-b94f-4f51-828a-44f6f4f5621c","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6f6182e7-c336-4ff5-a253-0877e0dfa681","name":"Get screen view versions","request":{"name":"Get screen view versions","description":{"content":"Retrieve all versions of a screen view campaign.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_READ`\n\n**User role permission required:** `assets_docs: read`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","versions",":screenViewId"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"string","description":"(Required) The maximum number of items to retrieve for pagination"},{"disabled":false,"key":"page","value":"3292","description":"(Required) The number of the page to retrieve"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"731771f5-410c-43c4-ae12-1125fe05494c","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","versions",":screenViewId"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"draft\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"version\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hash\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parentVersion\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"authorId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"businessProfileId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"currentlyPublished\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"version\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hash\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parentVersion\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"authorId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"businessProfileId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"previouslyPublished\": {\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pagination\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d6168afb-8a48-471e-ab9b-aea4c0941091","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","versions",":screenViewId"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ccd6f35-563a-4c71-b56d-d0b1210340f1","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","versions",":screenViewId"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d0c64dc6-f8d0-421c-aa37-d6d3a4c5509d","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","versions",":screenViewId"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2eb7dcb6-54f4-47ea-ab59-978c02b720ea","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","versions",":screenViewId"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9773b28a-07c0-477a-84e1-90bde73d94b6","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","versions",":screenViewId"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"string"},{"key":"page","value":"3292"}],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"70e06cb1-4e54-4b07-9e25-626c71bc3688","name":"Generate screen view","request":{"name":"Generate screen view","description":{"content":"When this method is called, the Synerise backend finds all screen view campaigns applicable to the profile and returns the screen view with the highest priority (1).\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"ab24400b-8662-4cf8-ad68-ca77b93b8e2d","name":"Processed JSON content","originalRequest":{"url":{"path":["schema-service","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{}","cookie":[],"_postman_previewlanguage":"json"},{"id":"03f08103-61bb-4882-8bb2-ec30a1870fe0","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"57fa1ac7-438b-4b2d-bbb1-8d1c0799b6b5","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"852d552d-7380-48e8-9c26-c9e2cb0f3c30","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"edd18dca-09d4-4cfe-af45-098c3efbce26","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8d18173d-eca1-49db-94cb-52a189830e86","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"36c1329b-6dbc-49bb-96f0-570f32fb2cc6","name":"Generate screen view","request":{"name":"Generate screen view","description":{"content":"When this method is called, the Synerise backend finds all screen view campaigns applicable to the profile and returns the screen view with the highest priority (1).\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=authenticateUsingPOST_v3\" target=\"_blank\" rel=\"noopener\">Profile (Client)</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=LogInAnonymouslyV3\" target=\"_blank\" rel=\"noopener\">Anonymous Profile</a>\n\n**API key permission required:** `SCHEMA_SERVICE_SCHEMA_CREATE`\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","v2","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"87d88fb0-ffb9-4e1c-b692-5a9e3a4b8549","name":"Processed JSON content","originalRequest":{"url":{"path":["schema-service","v2","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"d5d7b280-d894-5e45-ef03-49ac3b0c5b01\",\n  \"version\": \"string\",\n  \"hash\": \"bb6639b2-a98e-49d9-804f-ed6c0e2a0d2f:2019-12-05T08:22:10.094\",\n  \"name\": \"string\",\n  \"priority\": 99,\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdAt\": \"1960-12-01T12:11:19.889Z\",\n  \"updatedAt\": \"1949-04-20T20:39:27.098Z\",\n  \"path\": \"/screenView\",\n  \"data\": {},\n  \"parentVersion\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"19ef449e-9964-4257-9eb0-0e7c7d17593a","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5163600-fb15-4eef-a4da-b760f2b52a71","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","v2","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cf3f470f-d6fc-4f22-aaf6-a6083191ce09","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","v2","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"54020d8d-632b-4c8c-806a-63a10519e5b6","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","v2","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23d5e853-6938-49c7-9cd6-70719da23009","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","v2","screenViews","generate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0f146218-e3d5-4682-b28e-186f9e1f763f","name":"Initialize screen view","request":{"name":"Initialize screen view","description":{"content":"Create a new screen view campaign. It is created as a blank, without any conditions.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"67d48984-6dc9-46a2-b0e5-972773471dfc","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"f4109649-2d04-50f8-1bec-958f4e458570\",\n  \"version\": \"string\",\n  \"status\": \"FINISHED\",\n  \"hash\": \"bb6639b2-a98e-49d9-804f-ed6c0e2a0d2f:2019-12-05T08:22:10.094\",\n  \"parentVersion\": \"string\",\n  \"authorId\": \"string\",\n  \"businessProfileId\": 6040,\n  \"priority\": 99,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"isActive\": false,\n  \"createdAt\": \"2003-03-23T21:48:49.317Z\",\n  \"updatedAt\": \"2019-06-11T00:18:13.241Z\",\n  \"deletedAt\": \"2005-06-22T10:23:04.045Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"60a9e121-ca19-4fb6-a713-c788d152d9f3","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53c28659-af3e-4a36-b172-42a7386814ea","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"76ccd98f-6cdc-4d34-8a5e-2565b3d4b042","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"286dce68-a19b-4961-87e3-60336038cf65","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b6d923e-1762-47d2-904b-2e33a8fc88b6","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","createNew"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"27e638fb-224d-4b1d-8eb7-cade8a18049a","name":"Copy content","request":{"name":"Copy content","description":{"content":"Copy content to a screen view draft from another screen view.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion","copyFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ad6206af-548c-4856-b955-f32ce937f1a2","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion","copyFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e85132a1-3629-44ed-b70b-34254c653556","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion","copyFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18f7d1fb-3e1f-4918-8729-c3254ea62439","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion","copyFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c2bd7c5-84fa-4db8-9b1a-f8724520e0f1","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion","copyFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a7c230d4-7b34-4a19-bb71-cdd93f1d9e48","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion","copyFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9320af7c-f085-48dd-a50b-2455ab317f08","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion","copyFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ce58e65a-18f6-4f6a-a1aa-924324a8d64c","name":"Add content","request":{"name":"Add content","description":{"content":"Add content to a screen view draft.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"dd02d6a4-9f4a-40ca-a66e-ef3d0a3801a8","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5be75efa-1023-4cc8-8318-901e13bf9041","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c919d625-fe68-4c54-ab10-fcf3ffa78155","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6192730d-431a-4ec2-90e5-b0974ae20b33","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e238e6a-8a80-4994-ba7b-7f9f11476590","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"daa108b4-8cc1-4936-9bed-ad245e07acb9","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","content",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"json\": {\n    \"key_0\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"key_1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"documents\": [\n    \"string\",\n    \"string\"\n  ],\n  \"groups\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupsOrder\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"10863742-6c1d-4b67-9166-955fbde40087","name":"Add audience","request":{"name":"Add audience","description":{"content":"Define the audience for a screen view draft.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","audience",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"targetType\": \"ALL\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6b3a9b87-edd0-4de7-af45-31a13164dc6e","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","audience",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"876cf913-1291-48a6-b309-35417db30995","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","audience",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ee828670-2c9f-4368-bf2f-964e5e569d9b","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","audience",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a63843a3-ef27-48a1-8c4e-2684a833a66a","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","audience",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2710b455-7c2c-4aaa-8304-9cf526db217d","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","audience",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b12942a7-6c83-4575-9ed8-95d5a4efbd47","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","audience",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"targetType\": \"QUERY\",\n  \"segments\": [\n    \"string\",\n    \"string\"\n  ],\n  \"query\": \"{\\\"analysis\\\":{\\\"title\\\":\\\"Unnamed segmentation\\\",\\\"description\\\":\\\"\\\",\\\"unique\\\":true,\\\"segments\\\":[{\\\"title\\\":\\\"Segmentation A\\\",\\\"description\\\":\\\"\\\",\\\"filter\\\":{\\\"matching\\\":true,\\\"expressions\\\":[{\\\"_id\\\":\\\"a9b76c8e-34bd-4ac3-be8f-f37041d126bd\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"FUNNEL\\\",\\\"matching\\\":true,\\\"funnel\\\":{\\\"_id\\\":\\\"5c759d73-49c6-409f-96a3-b569dff8f8ff\\\",\\\"title\\\":\\\"Unnamed\\\",\\\"completedWithin\\\":null,\\\"dateFilter\\\":{\\\"type\\\":\\\"RELATIVE\\\",\\\"offset\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":0},\\\"duration\\\":{\\\"type\\\":\\\"DAYS\\\",\\\"value\\\":30}},\\\"steps\\\":[{\\\"_id\\\":\\\"78b97ae0-1bc5-45fb-82a4-4f1280cfbdff\\\",\\\"title\\\":\\\"\\\",\\\"action\\\":{\\\"id\\\":944,\\\"name\\\":\\\"page.visit\\\"},\\\"eventName\\\":\\\"page.visit\\\",\\\"expressions\\\":[]}],\\\"exact\\\":false}}]}}]}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b0f1525f-9c1f-472d-a78c-b38ee8224449","name":"Publish screen view","request":{"name":"Publish screen view","description":{"content":"Make the screen view accessible to customers.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","publish",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"overwrite\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a3dc904b-6b2b-49c2-a728-741a0f9e9b76","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","publish",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"overwrite\": false\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f11a20eb-9045-4ba1-9f0c-cffa3e422071","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","publish",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"overwrite\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7f8e6caa-ae43-4083-89a2-c9dcdfec935b","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","publish",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"overwrite\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00918eab-d6bc-4ff0-84da-940af8c37f11","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","publish",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"overwrite\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c45e6e81-3ad7-4e2d-bc4b-15e55788ab4a","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","publish",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"overwrite\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"755cb081-697f-4276-bdb9-29192930703f","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","publish",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"overwrite\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0838c978-d0e6-405c-bf85-b8e567b4654c","name":"Copy draft from existing screen view","request":{"name":"Copy draft from existing screen view","description":{"content":"Copy a duplicate of an active screen view. The duplicate is in draft status.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","copyDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3178f583-1bcd-480f-9ae2-3efeafe307c9","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","copyDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"f4109649-2d04-50f8-1bec-958f4e458570\",\n  \"version\": \"string\",\n  \"status\": \"FINISHED\",\n  \"hash\": \"bb6639b2-a98e-49d9-804f-ed6c0e2a0d2f:2019-12-05T08:22:10.094\",\n  \"parentVersion\": \"string\",\n  \"authorId\": \"string\",\n  \"businessProfileId\": 6040,\n  \"priority\": 99,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"isActive\": false,\n  \"createdAt\": \"2003-03-23T21:48:49.317Z\",\n  \"updatedAt\": \"2019-06-11T00:18:13.241Z\",\n  \"deletedAt\": \"2005-06-22T10:23:04.045Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c2b54566-1ad6-4051-b202-0b0a921bacd8","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","copyDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"96c0d98a-4038-4d21-8649-a3ffbe58ae85","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","copyDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0ea05217-afc8-4938-93da-4f3db709b4b3","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","copyDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"174b8c7d-4aca-42ca-b35b-b14b9f8f5ebd","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","copyDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a535e700-eed3-451d-9d85-b5e6fdbbc7c4","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","copyDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f09e9698-2331-40be-858d-c620fa553f03","name":"Create draft from existing screen view","request":{"name":"Create draft from existing screen view","description":{"content":"Create a duplicate of an active screen view. The duplicate is in draft status.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","createDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8d9852c2-147f-4559-89f5-3bd21a26a6e9","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","createDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"f4109649-2d04-50f8-1bec-958f4e458570\",\n  \"version\": \"string\",\n  \"status\": \"FINISHED\",\n  \"hash\": \"bb6639b2-a98e-49d9-804f-ed6c0e2a0d2f:2019-12-05T08:22:10.094\",\n  \"parentVersion\": \"string\",\n  \"authorId\": \"string\",\n  \"businessProfileId\": 6040,\n  \"priority\": 99,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"isActive\": false,\n  \"createdAt\": \"2003-03-23T21:48:49.317Z\",\n  \"updatedAt\": \"2019-06-11T00:18:13.241Z\",\n  \"deletedAt\": \"2005-06-22T10:23:04.045Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"afddf8b9-73d4-4da4-a2fe-03109463a02e","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","createDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"824f3f66-ddae-4b79-a939-f1ef501914e0","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","createDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1898cf27-aea6-4f2d-a1c4-5bff350acb72","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","createDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1971fa98-4c0c-47cb-83f1-b083815e0020","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","createDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd2f1b1d-2a76-4b86-84e0-6618ea04056d","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","createDraftFromExistingScreenView"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"screenViewId\": \"2e93d80b-fe69-1c27-0487-f325500ea311\",\n  \"screenViewVersion\": \"string\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"827f1d5e-dcec-473e-9354-6a042426ead3","name":"Update screen view description","request":{"name":"Update screen view description","description":{"content":"Update the description of a screen view. You can update the descriptions of active screen views.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","description"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"response":[{"id":"bdaeff51-753b-4d5c-9b44-bd9e8a245cb9","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","description"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"729d0a8d-47c8-4398-9976-fe289cef1d09","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","description"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e749532-7ab7-462e-9dbd-deeff7541afe","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","description"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f1b44bf4-4d06-4bfc-bec2-15ca9cf183f0","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","description"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5644faaf-4cf2-49bc-9cfd-6388f259c7c2","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","description"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5e0a7f9-156a-4d3a-baf6-a957b8c863fd","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","description"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8cf5332c-e9f7-437b-9ac5-69c332ad0fb6","name":"Update screen view priority","request":{"name":"Update screen view priority","description":{"content":"Update the priority of a screen view. You can update the priorities of active screen views.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"622","options":{"raw":{"language":"json"}}}},"response":[{"id":"12a6978f-e2cc-4ad8-903b-33e26da0eb5a","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"622","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2fc14e2e-046c-4cf2-8de0-50a00da84b02","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"622","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ffc867b3-3f1c-427c-ae79-dee02f9ff095","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"622","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4604d739-4396-4049-b984-720957d4619f","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"622","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed745ff3-3d7f-43f2-84e9-00122424b5f0","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"622","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"046e94e7-57d9-431a-a9c2-2064a93847c8","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single",":screenViewId",":screenViewVersion","priority"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"622","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"41463816-d23d-473c-9dea-9e755329fa52","name":"Discard changes","request":{"name":"Discard changes","description":{"content":"Discard the changes made in a version of a screen view.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: create`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","discardChanges",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"bf3f2201-60f5-42ba-b033-d7e04d010699","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","discardChanges",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"5f67dad2-4133-9750-d995-de82a8e318c4\",\n  \"businessProfileId\": 9699,\n  \"name\": \"string\",\n  \"status\": \"DRAFT\",\n  \"priority\": 99,\n  \"scheduled\": true,\n  \"author\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"avatar\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"content\": {\n    \"json\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documents\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groups\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupsOrder\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"audience\": {\n    \"targetType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"segments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"query\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdAt\": \"2017-04-05T23:49:02.904Z\",\n  \"updatedAt\": \"2014-01-14T08:25:34.112Z\",\n  \"directory\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"feed\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"version\": \"string\",\n  \"parentVersion\": \"string\",\n  \"description\": \"string\",\n  \"deletedAt\": \"1989-07-03T03:54:26.840Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ceeb0d24-ac04-4c44-ac52-add223e15a75","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","discardChanges",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e68f666-262d-4e49-86c1-700fcd437712","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","discardChanges",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8535d05b-4d02-4100-b4eb-fe11c7533e39","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","discardChanges",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5d30bfa-1069-4361-bbf4-fe42d981b76e","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","discardChanges",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53f668cb-99ec-4c7a-88f0-9e240051a1b4","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","discardChanges",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"697f7572-5862-414c-b247-9c7c9a3ee692","name":"Delete screen view","request":{"name":"Delete screen view","description":{"content":"Delete a screen view and all its versions. This operation is irreversible.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: delete`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","delete",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"5ac5ea1e-5144-4fed-8fb2-d41b67034aa0","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","delete",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5f87b2fe-56fd-4231-aa85-53eb94ca1c3f","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","delete",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7f6f9ea-5500-4b88-b174-1c73f84a9e6b","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","delete",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d66e365a-72f5-427f-be39-3a703bc0736e","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","delete",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c58b4343-9088-401b-aece-3cbaeea316ed","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","delete",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bb6444e0-785a-491a-8b2e-18c3e63a56fd","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","delete",":screenViewId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"08b5fee8-071f-4567-91fa-c9cc4c4fb2ee","name":"Delete screen view version","request":{"name":"Delete screen view version","description":{"content":"Delete a version of a screen view.\n\n---\n\n**API consumer:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>\n\n**User role permission required:** `assets_docs: delete`\n","type":"text/plain"},"url":{"path":["schema-service","screenViews","single","delete",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"55bed871-9f50-4a8f-b604-f5c63cd41a94","name":"Success","originalRequest":{"url":{"path":["schema-service","screenViews","single","delete",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"body\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8bdaafb1-260f-403e-a040-202ca03a97be","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single","delete",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2c210bd8-ec6e-450e-b566-df8668dcea1d","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["schema-service","screenViews","single","delete",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"99688468-6e6e-4676-a8f6-a33b503eb10f","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["schema-service","screenViews","single","delete",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"string\",\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"status\": 3258\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9d4bfce1-cf1c-4b69-8d14-ee432f142fa7","name":"Resource not found","originalRequest":{"url":{"path":["schema-service","screenViews","single","delete",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"060b300d-6ff6-4a6a-9cb5-737587931db5","name":"See error message for details","originalRequest":{"url":{"path":["schema-service","screenViews","single","delete",":screenViewId",":screenViewVersion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"3caee238-c18e-ed90-939e-cf6ba380ea7c","key":"screenViewId","description":"(Required) UUID of the screen view"},{"disabled":false,"type":"any","value":"string","key":"screenViewVersion","description":"(Required) Version of the screen view"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"timestamp\": \"2023-12-14T19:40:18.200Z\",\n  \"errorCode\": \"string\",\n  \"status\": 2000,\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]}],"event":[],"variable":[{"type":"string","value":"https://api.synerise.com","key":"baseUrl"}],"info":{"_postman_id":"6d4d0688-7a73-4a44-aa5e-9cc716e34654","name":"Loyalty and Engagement - Synerise Public API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"","type":"text/plain"}}}