{"item":[{"name":"addons","description":"","item":[{"id":"a695517d-4ba5-4987-a089-4067581cf472","name":"List the account's available Addons","request":{"name":"List the account's available Addons","description":{"content":"Returns the Addons your account can run, each with its inputs, displayed price in credits, output types and titled steps.\n\n- **Inputs:** each names whether it is required, its default and its allowed values.\n- **Credits:** none.\n\nNeeds an API key with the permission `addons:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","addons"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/addons"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ddf94419-e90b-4d37-8b00-43222e025552","name":"The Addons","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","addons"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/addons"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"addons\": [\n    {\n      \"id\": \"string\",\n      \"title\": \"string\",\n      \"description\": \"string\",\n      \"inputs\": [\n        {\n          \"id\": \"jkzq69x-3ui84z9yq-ghy19i7g-3f8nu\",\n          \"type\": \"product\",\n          \"headline\": \"string\",\n          \"hint\": \"string\",\n          \"optional\": false,\n          \"default\": \"string\",\n          \"attachments\": {\n            \"types\": [\n              \"asset/json\"\n            ],\n            \"max\": 4040326611768919\n          },\n          \"maxLength\": 2083217582986347,\n          \"options\": [\n            \"string\"\n          ],\n          \"optionLabels\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"suggestions\": [\n            {\n              \"label\": \"string\",\n              \"text\": \"string\"\n            }\n          ],\n          \"format\": \"duration\",\n          \"fills\": \"czb92e-mbb0zjcr4-kv-r7nehl-vt3gd\",\n          \"include\": [\n            \"price\"\n          ]\n        },\n        {\n          \"id\": \"mvq-d962-him8-llknsbzzze-q7oh4to\",\n          \"type\": \"asset/image\",\n          \"headline\": \"string\",\n          \"hint\": \"string\",\n          \"optional\": true,\n          \"default\": \"string\",\n          \"attachments\": {\n            \"types\": [\n              \"asset/video\"\n            ],\n            \"max\": 6629762610909856\n          },\n          \"maxLength\": 448092217935601,\n          \"options\": [\n            \"string\"\n          ],\n          \"optionLabels\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"suggestions\": [\n            {\n              \"label\": \"string\",\n              \"text\": \"string\"\n            }\n          ],\n          \"format\": \"aspect-ratio\",\n          \"fills\": \"cs-6oa960-3edcnx5m1\",\n          \"include\": [\n            \"images\"\n          ]\n        }\n      ],\n      \"pricing\": {\n        \"credits\": 3329233030472581\n      },\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"composition\",\n          \"step\": \"string\"\n        },\n        \"key_1\": {\n          \"type\": \"asset/image\",\n          \"step\": \"string\"\n        }\n      },\n      \"steps\": [\n        {\n          \"id\": \"string\",\n          \"title\": \"string\",\n          \"after\": [\n            \"string\",\n            \"string\"\n          ],\n          \"when\": {\n            \"key_0\": \"string\"\n          }\n        },\n        {\n          \"id\": \"string\",\n          \"title\": \"string\",\n          \"after\": [\n            \"string\",\n            \"string\"\n          ],\n          \"when\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\",\n            \"key_2\": \"string\"\n          }\n        }\n      ],\n      \"ui\": {\n        \"template\": \"string\",\n        \"output\": \"string\"\n      },\n      \"examples\": [\n        {\n          \"type\": \"asset/video\",\n          \"url\": \"https://JGkWXzKRdbsNtUDxRy.zgdwB.DswaMjjNPDaHGN\",\n          \"label\": \"string\"\n        },\n        {\n          \"type\": \"asset/video\",\n          \"url\": \"https://qseJJWRsjTXdzHnuQjaGsckM.hdwzoPbtstSBrYolvFrf3DxiPrRrOq-mxdL4Ly\",\n          \"label\": \"string\"\n        }\n      ]\n    },\n    {\n      \"id\": \"string\",\n      \"title\": \"string\",\n      \"description\": \"string\",\n      \"inputs\": [\n        {\n          \"id\": \"wth\",\n          \"type\": \"asset/image\",\n          \"headline\": \"string\",\n          \"hint\": \"string\",\n          \"optional\": false,\n          \"default\": \"string\",\n          \"attachments\": {\n            \"types\": [\n              \"asset/vector\"\n            ],\n            \"max\": 9003038274749484\n          },\n          \"maxLength\": 448563923442747,\n          \"options\": [\n            \"string\"\n          ],\n          \"optionLabels\": {\n            \"key_0\": \"string\"\n          },\n          \"suggestions\": [\n            {\n              \"label\": \"string\",\n              \"text\": \"string\"\n            }\n          ],\n          \"format\": \"duration\",\n          \"fills\": \"pts83apxf68-pm-1s34ee1d-cdbnbwq4\",\n          \"include\": [\n            \"price\"\n          ]\n        },\n        {\n          \"id\": \"vt5zi5-zxnuge52gs-9r1-6gggcqxdm8\",\n          \"type\": \"product\",\n          \"headline\": \"string\",\n          \"hint\": \"string\",\n          \"optional\": false,\n          \"default\": \"string\",\n          \"attachments\": {\n            \"types\": [\n              \"asset/vector\"\n            ],\n            \"max\": 8028340069809156\n          },\n          \"maxLength\": 5677818158128515,\n          \"options\": [\n            \"string\"\n          ],\n          \"optionLabels\": {\n            \"key_0\": \"string\"\n          },\n          \"suggestions\": [\n            {\n              \"label\": \"string\",\n              \"text\": \"string\"\n            }\n          ],\n          \"format\": \"color\",\n          \"fills\": \"ub0nitdu5h-mhkwewmgyv1-b-2ewv2t3\",\n          \"include\": [\n            \"images\"\n          ]\n        }\n      ],\n      \"pricing\": {\n        \"credits\": 437420609702838\n      },\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"step\": \"string\"\n        },\n        \"key_1\": {\n          \"type\": \"json\",\n          \"step\": \"string\"\n        }\n      },\n      \"steps\": [\n        {\n          \"id\": \"string\",\n          \"title\": \"string\",\n          \"after\": [\n            \"string\",\n            \"string\"\n          ],\n          \"when\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\",\n            \"key_2\": \"string\"\n          }\n        },\n        {\n          \"id\": \"string\",\n          \"title\": \"string\",\n          \"after\": [\n            \"string\",\n            \"string\"\n          ],\n          \"when\": {\n            \"key_0\": \"string\"\n          }\n        }\n      ],\n      \"ui\": {\n        \"template\": \"string\",\n        \"output\": \"stri\"\n      },\n      \"examples\": [\n        {\n          \"type\": \"asset/image\",\n          \"url\": \"http://gSZHAHYidZ.feuJjNn94I8TFH8OwdW1N1udEtLkmf\",\n          \"label\": \"string\"\n        },\n        {\n          \"type\": \"asset/video\",\n          \"url\": \"http://xEKkNYSuBGGRfOaMasmvRsr.tyajLhxlokPfyY1RGoGbusMtDwol20NbxSlfwaXvRoup.uln+.6uaAdtD47.CteLuLR1o-4x\",\n          \"label\": \"string\"\n        }\n      ]\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d900e5af-975f-47ab-9a21-d9150ccbb5b1","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","addons"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/addons"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"66d9d1bd-18ff-41ce-a387-0e289243bc04","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","addons"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/addons"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission addons:read.\",\n  \"details\": {\n    \"permission\": \"addons:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c0cdb95b-3a70-4d96-b619-261f6be9bab0","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","addons"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/addons"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d71fe1e-b47d-4f99-a5ca-351385cf010c","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","addons"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/addons"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"media","description":"","item":[{"id":"c604b134-5c7f-4487-9ff3-3553131a0d45","name":"List the media library","request":{"name":"List the media library","description":{"content":"Returns the account's media library, uploaded or generated, newest first, each asset with its current version.\n\n- **Pages:** `limit` at a time (default 50, at most 100); pass `nextCursor` as `cursor` for the next page.\n- **Search:** `q` keeps the assets whose file name contains it, ignoring case.\n- **File URLs:** signed and expire; call again for fresh ones.\n\nNeeds an API key with the permission `media:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[{"disabled":false,"description":{"content":"The maximum number of assets to return, newest first.","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"The previous response's nextCursor. Leave it out for the first page.","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Keep file names containing this text, ignoring case.","type":"text/plain"},"key":"q","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&q=string"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"face8acd-2717-4334-821d-b4248117d9ac","name":"The library","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[{"disabled":false,"description":{"content":"The maximum number of assets to return, newest first.","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"The previous response's nextCursor. Leave it out for the first page.","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Keep file names containing this text, ignoring case.","type":"text/plain"},"key":"q","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&q=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"assets\": [\n    {\n      \"id\": \"00000000-0000-0000-0000-000000000000\",\n      \"version\": 7635305061318463,\n      \"visibility\": \"kept\",\n      \"asset\": {\n        \"type\": \"string\",\n        \"url\": \"string\",\n        \"key\": \"fnPO-r0fyKY\",\n        \"name\": \"string\",\n        \"width\": 4522821571307356,\n        \"height\": 6136974448768628,\n        \"mediaType\": \"image/png\",\n        \"srcSet\": [\n          {\n            \"url\": \"string\",\n            \"width\": 1492585812900394\n          }\n        ]\n      },\n      \"editable\": true,\n      \"composition\": {\n        \"version\": 6101.061721481591,\n        \"width\": 651,\n        \"height\": 7218,\n        \"duration\": 1056.9619619357875,\n        \"layers\": [\n          {\n            \"id\": \"string\",\n            \"kind\": \"string\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"url\": \"string\",\n              \"key\": \"vEabc7IOYN\",\n              \"name\": \"string\",\n              \"width\": 3764597651987737,\n              \"height\": 3727895635742391,\n              \"mediaType\": \"image/svg+xml\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 3645621016146499\n                }\n              ]\n            },\n            \"role\": \"background\",\n            \"name\": \"string\",\n            \"hidden\": true,\n            \"start\": 7973.486579518384,\n            \"duration\": 3120.663778396489,\n            \"x\": 2564.53786572307,\n            \"y\": 2430.090636952401,\n            \"width\": 104.63775654917994,\n            \"height\": 2903.575930539559,\n            \"rotation\": 5369.50542310688,\n            \"opacity\": 0.8225994257983549,\n            \"scale\": 9132.151407939733,\n            \"fit\": \"cover\",\n            \"cutoutOf\": \"product\",\n            \"animate\": {\n              \"key_0\": [\n                {\n                  \"time\": 2665.5151540614843,\n                  \"value\": 7152.886813031882,\n                  \"easing\": \"step\"\n                }\n              ]\n            }\n          },\n          {\n            \"id\": \"string\",\n            \"kind\": \"string\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"url\": \"string\",\n              \"key\": \"hDFdDlnm\",\n              \"name\": \"string\",\n              \"width\": 466439388268703,\n              \"height\": 4695576667000939,\n              \"mediaType\": \"image/webp\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 6717887944232445\n                }\n              ]\n            },\n            \"role\": \"pointer\",\n            \"name\": \"string\",\n            \"hidden\": false,\n            \"start\": 5550.6872094485025,\n            \"duration\": 3970.9454092572973,\n            \"x\": 596.3550240493565,\n            \"y\": 6083.218723087233,\n            \"width\": 297.243100821394,\n            \"height\": 9042.970704983009,\n            \"rotation\": 75.87728097458223,\n            \"opacity\": 0.8247970254828562,\n            \"scale\": 2542.4265136571357,\n            \"fit\": \"cover\",\n            \"cutoutOf\": \"person\",\n            \"animate\": {\n              \"key_0\": [\n                {\n                  \"time\": 8375.68764544764,\n                  \"value\": 3451.480687239814,\n                  \"easing\": \"ease-out\"\n                }\n              ],\n              \"key_1\": [\n                {\n                  \"time\": 1008.3724546576045,\n                  \"value\": 5196.2198674591455,\n                  \"easing\": \"ease-in\"\n                }\n              ]\n            }\n          }\n        ],\n        \"name\": \"string\",\n        \"fps\": 27,\n        \"loop\": false,\n        \"background\": \"string\",\n        \"fonts\": [\n          {\n            \"family\": \"string\",\n            \"weight\": 289,\n            \"style\": \"normal\",\n            \"file\": \"d-0l5ps.ttf\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"key\": \"ih2hGEs\",\n              \"mediaType\": \"font/otf\",\n              \"url\": \"string\"\n            }\n          },\n          {\n            \"family\": \"string\",\n            \"weight\": 655,\n            \"style\": \"italic\",\n            \"file\": \"779fbg.otf\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"key\": \"t6gt/\",\n              \"mediaType\": \"font/otf\",\n              \"url\": \"string\"\n            }\n          }\n        ],\n        \"masks\": [\n          {\n            \"subject\": \"person\",\n            \"label\": \"string\",\n            \"src\": {\n              \"type\": \"string\",\n              \"url\": \"string\",\n              \"key\": \"5BSl9KkEaq\",\n              \"name\": \"string\",\n              \"width\": 8617463532582021,\n              \"height\": 2597677970945091,\n              \"mediaType\": \"image/png\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 4213306996577699\n                }\n              ]\n            }\n          },\n          {\n            \"subject\": \"person\",\n            \"label\": \"string\",\n            \"src\": {\n              \"type\": \"string\",\n              \"url\": \"string\",\n              \"key\": \"Ip5Y7i9b/pT\",\n              \"name\": \"string\",\n              \"width\": 1148269231810504,\n              \"height\": 7252197120413799,\n              \"mediaType\": \"image/webp\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 1200495385863144\n                }\n              ]\n            }\n          }\n        ],\n        \"src\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"sU\",\n          \"name\": \"string\",\n          \"width\": 3674428181712308,\n          \"height\": 3315783541543635,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5397517036445417\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"id\": \"00000000-0000-0000-0000-000000000000\",\n      \"version\": 6108703156572033,\n      \"visibility\": \"job\",\n      \"asset\": {\n        \"type\": \"string\",\n        \"url\": \"string\",\n        \"key\": \"69l.fDJ5\",\n        \"name\": \"string\",\n        \"width\": 5261526281662272,\n        \"height\": 2425824643045756,\n        \"mediaType\": \"image/gif\",\n        \"srcSet\": [\n          {\n            \"url\": \"string\",\n            \"width\": 4835301082573573\n          }\n        ]\n      },\n      \"editable\": true,\n      \"composition\": {\n        \"version\": 147.73033178540064,\n        \"width\": 5212,\n        \"height\": 5219,\n        \"duration\": 1282.4889095709996,\n        \"layers\": [\n          {\n            \"id\": \"string\",\n            \"kind\": \"string\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"url\": \"string\",\n              \"key\": \"6cC\",\n              \"name\": \"string\",\n              \"width\": 1435612745089764,\n              \"height\": 1358612002908608,\n              \"mediaType\": \"image/gif\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 7700753979736027\n                }\n              ]\n            },\n            \"role\": \"area\",\n            \"name\": \"string\",\n            \"hidden\": false,\n            \"start\": 1007.5258378471308,\n            \"duration\": 709.3582955417585,\n            \"x\": 5648.930246990142,\n            \"y\": 2989.923596973897,\n            \"width\": 6306.558008044506,\n            \"height\": 8824.894759612485,\n            \"rotation\": 4911.779580255058,\n            \"opacity\": 0.5196884571880145,\n            \"scale\": 201.80808468563848,\n            \"fit\": \"cover\",\n            \"cutoutOf\": \"person\",\n            \"animate\": {\n              \"key_0\": [\n                {\n                  \"time\": 9606.463627885196,\n                  \"value\": 3660.7666248673722,\n                  \"easing\": \"ease-in-out\"\n                }\n              ]\n            }\n          },\n          {\n            \"id\": \"string\",\n            \"kind\": \"string\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"url\": \"strin\",\n              \"key\": \"3lIfjB4J\",\n              \"name\": \"string\",\n              \"width\": 4602081619212063,\n              \"height\": 8822034366837410,\n              \"mediaType\": \"image/webp\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 7972768219582033\n                }\n              ]\n            },\n            \"role\": \"headline\",\n            \"name\": \"string\",\n            \"hidden\": true,\n            \"start\": 4802.308566489652,\n            \"duration\": 4006.7146367766704,\n            \"x\": 5932.31871747345,\n            \"y\": 6871.788696247184,\n            \"width\": 8707.612728601427,\n            \"height\": 145.5324126030342,\n            \"rotation\": 9325.024875705602,\n            \"opacity\": 0.12571455791142316,\n            \"scale\": 4285.69495566787,\n            \"fit\": \"cover\",\n            \"cutoutOf\": \"person\",\n            \"animate\": {\n              \"key_0\": [\n                {\n                  \"time\": 7146.375379540257,\n                  \"value\": 3879.8082437497283,\n                  \"easing\": \"ease-out\"\n                }\n              ]\n            }\n          }\n        ],\n        \"name\": \"string\",\n        \"fps\": 22,\n        \"loop\": false,\n        \"background\": \"string\",\n        \"fonts\": [\n          {\n            \"family\": \"string\",\n            \"weight\": 495,\n            \"style\": \"italic\",\n            \"file\": \"pf6z.ttf\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"key\": \"Gs\",\n              \"mediaType\": \"font/otf\",\n              \"url\": \"string\"\n            }\n          },\n          {\n            \"family\": \"string\",\n            \"weight\": 544,\n            \"style\": \"normal\",\n            \"file\": \"sx8e.otf\",\n            \"asset\": {\n              \"type\": \"string\",\n              \"key\": \"hz4P/.BXApw\",\n              \"mediaType\": \"font/ttf\",\n              \"url\": \"string\"\n            }\n          }\n        ],\n        \"masks\": [\n          {\n            \"subject\": \"object\",\n            \"label\": \"string\",\n            \"src\": {\n              \"type\": \"string\",\n              \"url\": \"string\",\n              \"key\": \"SI/2FW\",\n              \"name\": \"string\",\n              \"width\": 5446525571314806,\n              \"height\": 4434967332859137,\n              \"mediaType\": \"image/gif\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 8530382746569713\n                }\n              ]\n            }\n          },\n          {\n            \"subject\": \"person\",\n            \"label\": \"string\",\n            \"src\": {\n              \"type\": \"string\",\n              \"url\": \"string\",\n              \"key\": \"r_xxJ3w\",\n              \"name\": \"string\",\n              \"width\": 2845679975663267,\n              \"height\": 3324501351437521,\n              \"mediaType\": \"image/svg+xml\",\n              \"srcSet\": [\n                {\n                  \"url\": \"string\",\n                  \"width\": 3385268819498484\n                }\n              ]\n            }\n          }\n        ],\n        \"src\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"qEXci44qr\",\n          \"name\": \"string\",\n          \"width\": 8190074917190137,\n          \"height\": 2642707254338712,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 4933984031350466\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"nextCursor\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d859777-1b4c-4122-859a-0b6be53f1508","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[{"disabled":false,"description":{"content":"The maximum number of assets to return, newest first.","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"The previous response's nextCursor. Leave it out for the first page.","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Keep file names containing this text, ignoring case.","type":"text/plain"},"key":"q","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&q=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f016345-d11b-4910-8869-66a4e3aed33e","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[{"disabled":false,"description":{"content":"The maximum number of assets to return, newest first.","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"The previous response's nextCursor. Leave it out for the first page.","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Keep file names containing this text, ignoring case.","type":"text/plain"},"key":"q","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&q=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f39fd153-5224-45b3-940f-8c85c28df13a","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[{"disabled":false,"description":{"content":"The maximum number of assets to return, newest first.","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"The previous response's nextCursor. Leave it out for the first page.","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Keep file names containing this text, ignoring case.","type":"text/plain"},"key":"q","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&q=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission media:read.\",\n  \"details\": {\n    \"permission\": \"media:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"87bf3d67-98d6-4239-84e9-54010901d789","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[{"disabled":false,"description":{"content":"The maximum number of assets to return, newest first.","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"The previous response's nextCursor. Leave it out for the first page.","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Keep file names containing this text, ignoring case.","type":"text/plain"},"key":"q","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&q=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0ab1269d-a7e1-47c6-aed8-88f611d7fefd","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[{"disabled":false,"description":{"content":"The maximum number of assets to return, newest first.","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"The previous response's nextCursor. Leave it out for the first page.","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Keep file names containing this text, ignoring case.","type":"text/plain"},"key":"q","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&q=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9bd168df-5c82-4635-a522-8d0617e6f8b7","name":"Start uploading a file to the media library","request":{"name":"Start uploading a file to the media library","description":{"content":"Creates a pending asset and returns where to upload its file.\n\n- **Supported files:** asset/image: image/png, image/jpeg, image/gif, image/webp (at most 52428800 bytes); asset/video: video/mp4, video/webm, video/quicktime (at most 2147483648 bytes); asset/3d: model/gltf-binary, model/gltf+json (at most 209715200 bytes); asset/json:  (at most 10485760 bytes).\n- **Fonts:** font/ttf, font/otf (at most 10485760 bytes), for a brand's ads: kept, never listed in the library. A font upload is refused without `licenceConfirmed: true`, which confirms that the font's licence allows use in ads. An agent asks the user in the chat whether it does and sends it only after an explicit yes.\n- **Then:** PUT the file to `upload.url` with every header in `upload.headers` and no API key, then call `completeMediaUpload` with `versionId`. A library asset is listed only after completion.\n- **Size:** `sizeBytes` must be the file's exact length; the URL signs it, and storage refuses a file of any other size.\n- **Upload URL:** valid for one hour. Storage refuses an overwrite; its errors are not the API's JSON errors.\n- **Pending:** an account may have at most 100 uploads or 10737418240 bytes waiting for completion; uncompleted ones end after a day.\n- **Retries:** not idempotent: a repeated call creates another asset, so keep the answer before uploading.\n- **Credits:** none.\n\nEach user or API key may call it 60 times a minute and 2,000 times a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n\nNeeds an API key with the permission `media:upload`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"481ed7f6-88a0-4e8a-ab28-758610fa52d5","name":"The asset; upload the bytes next","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"assetId\": \"00000000-0000-0000-0000-000000000000\",\n  \"versionId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"upload\": {\n    \"url\": \"https://kkjZnAMLFsnhjQDMGKTFVDGrJKcO.gwM4E3zisHBeZA6cEIm2igjlNCU4zyx\",\n    \"headers\": {\n      \"key_0\": \"string\",\n      \"key_1\": \"string\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b81fdb9c-5d9f-47f1-ae1b-901ddc6728e4","name":"Invalid input: `media.unsupported_media_type`, `media.vector_upload_refused`, `media.font_licence_required`, `media.file_too_large`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"media.unsupported_media_type\",\n  \"error\": \"text/plain is not an asset media type\",\n  \"details\": {\n    \"contentType\": \"text/plain\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"449c4e9f-f04f-400b-baa9-7decedcaba85","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2a1fd2ca-c96f-408b-ab27-299a504fd7bb","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission media:upload.\",\n  \"details\": {\n    \"permission\": \"media:upload\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c32a6bf7-5a7f-4d74-8574-57acd603ccae","name":"Conflict: `media.too_many_pending_uploads`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"media.too_many_pending_uploads\",\n  \"error\": \"An account may have at most 100 uploads or 10737418240 bytes waiting for completion; complete them or wait a day until they expire\",\n  \"details\": {\n    \"maxUploads\": 100,\n    \"maxBytes\": 10737418240\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"67801b56-7852-487f-99c5-150bbfab5013","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c6fd720-1bf5-4ae7-b5cf-2d1bd4d3c86b","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/media/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"mediaType\": \"string\",\n  \"sizeBytes\": 1679654517672398,\n  \"licenceConfirmed\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f1014f45-1b53-41d6-ae73-1aca3bd99d96","name":"Get one asset","request":{"name":"Get one asset","description":{"content":"Returns one asset of the media library with its current version.\n\n- **File URLs:** signed and expire; call again for fresh ones.\n\nNeeds an API key with the permission `media:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"cbfcbe29-4696-4f3c-aca1-510e07d99041","name":"The asset","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"version\": 4009636285740402,\n  \"visibility\": \"kept\",\n  \"asset\": {\n    \"type\": \"string\",\n    \"url\": \"string\",\n    \"key\": \"u0eAKOUjlo\",\n    \"name\": \"string\",\n    \"width\": 7144090069199459,\n    \"height\": 5657927822115056,\n    \"mediaType\": \"image/png\",\n    \"srcSet\": [\n      {\n        \"url\": \"string\",\n        \"width\": 4074074948678699\n      }\n    ]\n  },\n  \"editable\": false,\n  \"composition\": {\n    \"version\": 5856.774636884064,\n    \"width\": 5631,\n    \"height\": 6731,\n    \"duration\": 3374.0436304839586,\n    \"layers\": [\n      {\n        \"id\": \"string\",\n        \"kind\": \"string\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"H5ZoT\",\n          \"name\": \"string\",\n          \"width\": 1132152246609138,\n          \"height\": 8291590034596951,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 598341085060907\n            }\n          ]\n        },\n        \"role\": \"logo\",\n        \"name\": \"string\",\n        \"hidden\": false,\n        \"start\": 9853.941632085121,\n        \"duration\": 4785.433995614075,\n        \"x\": 9248.058991561837,\n        \"y\": 6733.82848366034,\n        \"width\": 4327.012551069606,\n        \"height\": 7750.542218887669,\n        \"rotation\": 6384.250412252711,\n        \"opacity\": 0.6891177106608133,\n        \"scale\": 7907.3958236492535,\n        \"fit\": \"contain\",\n        \"cutoutOf\": \"product\",\n        \"animate\": {\n          \"key_0\": [\n            {\n              \"time\": 1708.9739904065693,\n              \"value\": 5263.032462074419,\n              \"easing\": \"ease-out\"\n            }\n          ],\n          \"key_1\": [\n            {\n              \"time\": 289.4799152823868,\n              \"value\": 2811.785123221684,\n              \"easing\": \"ease-in\"\n            }\n          ],\n          \"key_2\": [\n            {\n              \"time\": 5543.85099597937,\n              \"value\": 416.05056712303855,\n              \"easing\": \"ease-in\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"string\",\n        \"kind\": \"string\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"2Z8Jvdtx\",\n          \"name\": \"stri\",\n          \"width\": 174646752761575,\n          \"height\": 8359198471192874,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"st\",\n              \"width\": 5890065434206001\n            }\n          ]\n        },\n        \"role\": \"subject\",\n        \"name\": \"string\",\n        \"hidden\": true,\n        \"start\": 8505.514755056725,\n        \"duration\": 8368.418649478934,\n        \"x\": 6489.831209732811,\n        \"y\": 8018.458877664928,\n        \"width\": 8677.616460282192,\n        \"height\": 6095.107341010388,\n        \"rotation\": 7195.213452033393,\n        \"opacity\": 0.6459576374447766,\n        \"scale\": 6580.141627880042,\n        \"fit\": \"contain\",\n        \"cutoutOf\": \"person\",\n        \"animate\": {\n          \"key_0\": [\n            {\n              \"time\": 2162.2725101848027,\n              \"value\": 427.1355088739082,\n              \"easing\": \"linear\"\n            }\n          ],\n          \"key_1\": [\n            {\n              \"time\": 7347.648813026647,\n              \"value\": 2975.788627182171,\n              \"easing\": \"ease-in\"\n            }\n          ]\n        }\n      }\n    ],\n    \"name\": \"strin\",\n    \"fps\": 24,\n    \"loop\": false,\n    \"background\": \"string\",\n    \"fonts\": [\n      {\n        \"family\": \"string\",\n        \"weight\": 610,\n        \"style\": \"normal\",\n        \"file\": \"f4g83ut.ttf\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"key\": \"4ymEuWyTa\",\n          \"mediaType\": \"font/otf\",\n          \"url\": \"string\"\n        }\n      },\n      {\n        \"family\": \"string\",\n        \"weight\": 559,\n        \"style\": \"italic\",\n        \"file\": \"5.ttf\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"key\": \"Or0fWF9oYBw\",\n          \"mediaType\": \"font/ttf\",\n          \"url\": \"string\"\n        }\n      }\n    ],\n    \"masks\": [\n      {\n        \"subject\": \"object\",\n        \"label\": \"string\",\n        \"src\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"2N6iA\",\n          \"name\": \"string\",\n          \"width\": 4217519855022069,\n          \"height\": 2311830456184919,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3884156153700761\n            }\n          ]\n        }\n      },\n      {\n        \"subject\": \"object\",\n        \"label\": \"string\",\n        \"src\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"rX2ca\",\n          \"name\": \"string\",\n          \"width\": 5635837654572379,\n          \"height\": 3494968101587096,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3166763177311310\n            }\n          ]\n        }\n      }\n    ],\n    \"src\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"jsK3.nkKqs\",\n      \"name\": \"string\",\n      \"width\": 3377631233362141,\n      \"height\": 5856622383692245,\n      \"mediaType\": \"image/svg+xml\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 5998080500648362\n        }\n      ]\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78ef1cd5-bb7e-4164-84ea-27a1b68c3694","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"81ae6365-7f4a-4ebf-a83e-1d02506dbec8","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"39a55102-80aa-4c93-b63a-956b8f5e27cb","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission media:read.\",\n  \"details\": {\n    \"permission\": \"media:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"024b9959-9b53-45f4-9771-405b06618a82","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Asset not found\",\n  \"details\": {\n    \"resource\": \"Asset\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"57e1e424-1521-4f99-930e-17e6d275f4a8","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0375990a-b2cc-466b-898b-057fdf7c6349","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cc035029-7de1-4468-a235-a19a936f32fa","name":"Finish an upload to the media library","request":{"name":"Finish an upload to the media library","description":{"content":"Checks the uploaded file of a version from `startMediaUpload` and makes it ready; returns the asset at that version.\n\n- **Before:** PUT the file to the version's `upload.url`.\n- **Retries:** a rejected file fails its version for good: correct the file or its declared size and start a new upload.\n- **Lost answer:** call `getMediaAsset` with the original `assetId` to check whether it became ready.\n- **File URLs:** signed and expire; call again for fresh ones.\n- **Credits:** none.\n\nNeeds an API key with the permission `media:upload`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4b094113-11fc-4230-b61c-be14345f51b2","name":"The asset at this version","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"version\": 4009636285740402,\n  \"visibility\": \"kept\",\n  \"asset\": {\n    \"type\": \"string\",\n    \"url\": \"string\",\n    \"key\": \"u0eAKOUjlo\",\n    \"name\": \"string\",\n    \"width\": 7144090069199459,\n    \"height\": 5657927822115056,\n    \"mediaType\": \"image/png\",\n    \"srcSet\": [\n      {\n        \"url\": \"string\",\n        \"width\": 4074074948678699\n      }\n    ]\n  },\n  \"editable\": false,\n  \"composition\": {\n    \"version\": 5856.774636884064,\n    \"width\": 5631,\n    \"height\": 6731,\n    \"duration\": 3374.0436304839586,\n    \"layers\": [\n      {\n        \"id\": \"string\",\n        \"kind\": \"string\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"H5ZoT\",\n          \"name\": \"string\",\n          \"width\": 1132152246609138,\n          \"height\": 8291590034596951,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 598341085060907\n            }\n          ]\n        },\n        \"role\": \"logo\",\n        \"name\": \"string\",\n        \"hidden\": false,\n        \"start\": 9853.941632085121,\n        \"duration\": 4785.433995614075,\n        \"x\": 9248.058991561837,\n        \"y\": 6733.82848366034,\n        \"width\": 4327.012551069606,\n        \"height\": 7750.542218887669,\n        \"rotation\": 6384.250412252711,\n        \"opacity\": 0.6891177106608133,\n        \"scale\": 7907.3958236492535,\n        \"fit\": \"contain\",\n        \"cutoutOf\": \"product\",\n        \"animate\": {\n          \"key_0\": [\n            {\n              \"time\": 1708.9739904065693,\n              \"value\": 5263.032462074419,\n              \"easing\": \"ease-out\"\n            }\n          ],\n          \"key_1\": [\n            {\n              \"time\": 289.4799152823868,\n              \"value\": 2811.785123221684,\n              \"easing\": \"ease-in\"\n            }\n          ],\n          \"key_2\": [\n            {\n              \"time\": 5543.85099597937,\n              \"value\": 416.05056712303855,\n              \"easing\": \"ease-in\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"string\",\n        \"kind\": \"string\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"2Z8Jvdtx\",\n          \"name\": \"stri\",\n          \"width\": 174646752761575,\n          \"height\": 8359198471192874,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"st\",\n              \"width\": 5890065434206001\n            }\n          ]\n        },\n        \"role\": \"subject\",\n        \"name\": \"string\",\n        \"hidden\": true,\n        \"start\": 8505.514755056725,\n        \"duration\": 8368.418649478934,\n        \"x\": 6489.831209732811,\n        \"y\": 8018.458877664928,\n        \"width\": 8677.616460282192,\n        \"height\": 6095.107341010388,\n        \"rotation\": 7195.213452033393,\n        \"opacity\": 0.6459576374447766,\n        \"scale\": 6580.141627880042,\n        \"fit\": \"contain\",\n        \"cutoutOf\": \"person\",\n        \"animate\": {\n          \"key_0\": [\n            {\n              \"time\": 2162.2725101848027,\n              \"value\": 427.1355088739082,\n              \"easing\": \"linear\"\n            }\n          ],\n          \"key_1\": [\n            {\n              \"time\": 7347.648813026647,\n              \"value\": 2975.788627182171,\n              \"easing\": \"ease-in\"\n            }\n          ]\n        }\n      }\n    ],\n    \"name\": \"strin\",\n    \"fps\": 24,\n    \"loop\": false,\n    \"background\": \"string\",\n    \"fonts\": [\n      {\n        \"family\": \"string\",\n        \"weight\": 610,\n        \"style\": \"normal\",\n        \"file\": \"f4g83ut.ttf\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"key\": \"4ymEuWyTa\",\n          \"mediaType\": \"font/otf\",\n          \"url\": \"string\"\n        }\n      },\n      {\n        \"family\": \"string\",\n        \"weight\": 559,\n        \"style\": \"italic\",\n        \"file\": \"5.ttf\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"key\": \"Or0fWF9oYBw\",\n          \"mediaType\": \"font/ttf\",\n          \"url\": \"string\"\n        }\n      }\n    ],\n    \"masks\": [\n      {\n        \"subject\": \"object\",\n        \"label\": \"string\",\n        \"src\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"2N6iA\",\n          \"name\": \"string\",\n          \"width\": 4217519855022069,\n          \"height\": 2311830456184919,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3884156153700761\n            }\n          ]\n        }\n      },\n      {\n        \"subject\": \"object\",\n        \"label\": \"string\",\n        \"src\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"rX2ca\",\n          \"name\": \"string\",\n          \"width\": 5635837654572379,\n          \"height\": 3494968101587096,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3166763177311310\n            }\n          ]\n        }\n      }\n    ],\n    \"src\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"jsK3.nkKqs\",\n      \"name\": \"string\",\n      \"width\": 3377631233362141,\n      \"height\": 5856622383692245,\n      \"mediaType\": \"image/svg+xml\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 5998080500648362\n        }\n      ]\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c83b1781-2776-4c70-b5f8-013bf91c03ad","name":"Invalid input: `media.upload_rejected`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"media.upload_rejected\",\n  \"error\": \"The file has 48213 bytes, more than the 40000 declared\",\n  \"details\": {\n    \"reason\": \"larger_than_declared\",\n    \"bytes\": 48213,\n    \"declaredBytes\": 40000\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d6e7a4f1-5bb4-4b8b-8a96-34ec73cbf8c9","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5b64d8d6-d606-438c-9dfc-1bdd85198170","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission media:upload.\",\n  \"details\": {\n    \"permission\": \"media:upload\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa281939-3b29-4315-9dca-e1cb22cf2c9a","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Version not found\",\n  \"details\": {\n    \"resource\": \"Version\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ca005da-301e-4cf7-ae75-6bb98f9633a7","name":"Conflict: `media.upload_missing`, `media.version_not_pending`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"media.upload_missing\",\n  \"error\": \"Upload the file to its upload URL before completing it\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6cb1b282-5036-4e23-b7df-94e83f1f0cc4","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5f400b39-d55b-40d5-b495-f502a44986f9","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","versions",":versionId","complete"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"versionId"}],"raw":"{{baseUrl}}/api/v1/media/versions/:versionId/complete"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6c905260-800b-4c27-99cb-39709465a02a","name":"Get a download link for a file","request":{"name":"Get a download link for a file","description":{"content":"Returns a fresh signed URL, not the file itself, for the current ready version of an asset in your media library. GET the URL directly to download the original file as an attachment with its file name. Whoever has the URL can download the file until it expires after 15 minutes, so do not share or store it; request another when needed. Deleted assets are not available. For a bulk download, request each selected asset and package the files in your client. File bytes go directly from storage to your client.\n\nNeeds an API key with the permission `media:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5c74edf5-6f0a-4a33-97f3-4eebfbae3f28","name":"The attachment URL, file name and size","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"url\": \"http://kuMdZVOfXUIzHEiRhiKvMMP.agaNMW0hi.LEqCcGeSW9NdMimsW6lyk4pxYNhMzE6CIyQfcT+BIl,DCaJEP4x3kZbtEOTaaM\",\n  \"name\": \"string\",\n  \"sizeBytes\": 1544728291002522\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3ac8b20a-2d5e-4181-bf20-5c48b7010915","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"74272499-789e-4719-927a-049bcd89ce49","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9a987fe4-ac4a-4990-9dbc-a20fe47ce6e2","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission media:read.\",\n  \"details\": {\n    \"permission\": \"media:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"41d510fe-097b-47e5-842d-913544fe98e1","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Asset not found\",\n  \"details\": {\n    \"resource\": \"Asset\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e6630104-11a2-4456-9f31-5583ab94c2e2","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a056317c-62e6-42ca-a3f1-e8c1f3841bca","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","media","assets",":assetId","download-url"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/media/assets/:assetId/download-url"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"commerce","description":"","item":[{"id":"d40ae0bc-ef88-4fd2-9e3f-3208f24a4472","name":"List the account's product catalogs","request":{"name":"List the account's product catalogs","description":{"content":"Returns the account's catalogs, oldest first, each with its shop system, the currency of its prices and how many products it holds.\n\n- **Then:** `listProducts` with a catalog's `id` as `catalogId`.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"335d4f93-2c7d-4f71-8d9f-4ab483b69d1c","name":"The catalogs","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"catalogs\": [\n    {\n      \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"name\": \"string\",\n      \"shopSystem\": \"woocommerce\",\n      \"currency\": \"NKO\",\n      \"productCount\": 3568649900424306,\n      \"createdAt\": \"1286-10-06T21:54:21Z\",\n      \"images\": {\n        \"total\": 5103446300109828,\n        \"loaded\": 4556464026990952,\n        \"failed\": 7626982390851659\n      }\n    },\n    {\n      \"id\": \"8B9b00b6-F67B-2AFe-BE4e-bd0C8eE012c6\",\n      \"name\": \"string\",\n      \"shopSystem\": \"shopware\",\n      \"currency\": \"SBM\",\n      \"productCount\": 6738492843986012,\n      \"createdAt\": \"1316-02-29T00:36:56.1200Z\",\n      \"images\": {\n        \"total\": 8068895185858173,\n        \"loaded\": 4305481460315900,\n        \"failed\": 4359331527161561\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6c2f896a-a5fb-47e1-bcad-d4a2fb169f4f","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"92790620-1e6a-45ab-93bd-3eb25ecd951e","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:read.\",\n  \"details\": {\n    \"permission\": \"products:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d89dbf6-3d12-4907-9627-48c06529bcf6","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f3bafda8-58f8-4c35-91dd-ffc166887dd0","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7f7e4ecb-2855-4ff1-b1a6-f2e4800f4eb6","name":"Create a product catalog","request":{"name":"Create a product catalog","description":{"content":"Creates an empty catalog with its name and the ISO 4217 currency of its prices: with a shop system for the products of one shop, imported from its exports, or without one for products made in Ghostpull one by one. An account has at most 20 catalogs.\n\n- **Then:** with a shop system, `startProductImport` imports a product file into it, or `importCatalogProducts` sends products in batches; without one, `createProduct` makes its products.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"882f45df-a305-4e63-8da1-166866f7cc3a","name":"The new catalog","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"name\": \"string\",\n  \"shopSystem\": \"woocommerce\",\n  \"currency\": \"GXP\",\n  \"productCount\": 7956178121454038,\n  \"createdAt\": \"9837-02-21T20:51:21Z\",\n  \"images\": {\n    \"total\": 7193298278295616,\n    \"loaded\": 1299202680478301,\n    \"failed\": 2586745002833034\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d207ba2e-749a-4e4a-ab29-0123394e293e","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b61aa13c-d520-48c0-a343-e000a58e1c96","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"746a38e3-b8eb-4751-8e89-71b7c6b52bf0","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ae45626-e730-4ce9-9e4f-ba53bc62e2fc","name":"Conflict: `commerce.too_many_catalogs`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.too_many_catalogs\",\n  \"error\": \"An account has at most 20 catalogs.\",\n  \"details\": {\n    \"max\": 20\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b8a0e07-8b1d-449f-8b48-b4762df1b180","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ded38b0-8587-4ad6-b468-97e7b66407a7","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/catalogs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"WVB\",\n  \"shopSystem\": \"woocommerce\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"45f69856-983d-4946-ae3d-92658f54bd68","name":"Rename a catalog or correct its currency","request":{"name":"Rename a catalog or correct its currency","description":{"content":"Changes a catalog's name, the currency of its prices, or both, and answers the catalog; its shop system stays. Changing the currency does not convert prices.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dc6b3003-5400-4fa8-9014-7be3da51a1d1","name":"The changed catalog","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"name\": \"string\",\n  \"shopSystem\": \"woocommerce\",\n  \"currency\": \"GXP\",\n  \"productCount\": 7956178121454038,\n  \"createdAt\": \"9837-02-21T20:51:21Z\",\n  \"images\": {\n    \"total\": 7193298278295616,\n    \"loaded\": 1299202680478301,\n    \"failed\": 2586745002833034\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d423362e-c200-4c85-981a-93b9080a2ca3","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b1259c3f-b1d2-4d6e-99ad-281d996b7282","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd2a81c1-2411-41bb-a16f-6de62e5a3b31","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18020a7a-b849-4c3c-aeba-f9adede1e866","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Catalog not found\",\n  \"details\": {\n    \"resource\": \"Catalog\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"62d9c48f-79c7-4493-9df3-77b52eec0be0","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"33d6570c-aa90-441b-871d-61bd3915777b","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"currency\": \"IEZ\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ade8a5c2-cf56-4883-9cb9-db7a5c41ae13","name":"Delete a catalog with its products","request":{"name":"Delete a catalog with its products","description":{"content":"Deletes the catalog with all its products, variants and images. Images already imported into the media library stay there.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ec911f2d-4c60-4c54-be99-3893588167d9","name":"Deleted","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"51625ccd-bb1b-4a12-86d8-b390c86aa4e8","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"247add07-d3c7-44c7-beb9-220e98d48e81","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"11088b7b-a45f-42a1-9163-2d06c3814f91","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9c506d60-6ad7-4b5e-b572-ec8be256f960","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Catalog not found\",\n  \"details\": {\n    \"resource\": \"Catalog\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"43fd02ad-e1d2-4e96-bc87-640ca0a7fdc6","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9dafc102-a350-49d0-9658-5fcbb7fb0a23","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7fb52b21-3e4b-4a3f-a2d2-c2d95d41e5c5","name":"Import a batch of products into a catalog","request":{"name":"Import a batch of products into a catalog","description":{"content":"Inserts new products into the catalog and updates changed ones by their `externalId`, replacing a product's variants and images with the batch's; a product sent unchanged is only counted. Answers how many products were created, updated and unchanged.\n\n- **Before:** make one `importId` (a UUID) for the import and send it with each of its batches, at most 200 products and 2 MB a batch.\n- **Then:** after the last batch, `getCatalogImport` counts the catalog's products the import did not send, and `removeMissingProducts` removes them.\n- **Retries:** sending a batch again is safe; products are matched by `externalId`.\n- **Limits:** 50000 products per catalog; one invalid product refuses the whole batch, naming its index. Each user or API key may call it 600 times a minute; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ebb75587-b778-419f-ba73-8c58bd990698","name":"What the batch did","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"created\": 2346372382583702,\n  \"updated\": 6795526724549581,\n  \"unchanged\": 8410058636674629\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"80ff7482-9488-46a4-ac2e-86e3a3d74729","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d5cd92b-950e-4b13-a345-215cf8d0e6d4","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b67a4285-348e-4e82-be94-4a5d2229e92f","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f22849d0-2af7-4480-b972-a553c6594f15","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Catalog not found\",\n  \"details\": {\n    \"resource\": \"Catalog\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bdf3f38d-6d17-4007-9db7-38adcf3401d2","name":"Conflict: `commerce.catalog_full`, `commerce.catalog_without_shop_system`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.catalog_full\",\n  \"error\": \"A catalog holds at most 50000 products.\",\n  \"details\": {\n    \"max\": 50000\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d58203f-f313-4494-ae2f-5debb6b0ca18","name":"Request body too large: `request_too_large`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Request Entity Too Large","code":413,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"request_too_large\",\n  \"error\": \"The request body exceeds 2097152 bytes\",\n  \"details\": {\n    \"maxBytes\": 2097152\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8d23a488-869a-48e3-b5d5-97418ddb5369","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea4fd3ad-c41d-40bc-ace7-51c6805dd258","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"importId\": \"bbF0E6dF-4f4C-8DAF-8c3f-3b26DC3C24Fb\",\n  \"products\": [\n    {\n      \"externalId\": \"string\",\n      \"title\": \"string\",\n      \"categories\": [\n        \"string\",\n        \"string\"\n      ],\n      \"tags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"status\": \"active\",\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"strin\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"variants\": [\n        {\n          \"externalId\": \"string\",\n          \"optionValues\": {\n            \"key_0\": \"string\",\n            \"key_1\": \"string\"\n          },\n          \"title\": \"string\",\n          \"sku\": \"string\",\n          \"barcode\": \"string\",\n          \"price\": \"41503779832714089.877\",\n          \"compareAtPrice\": \"873142645932.031\",\n          \"attributes\": [\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            },\n            {\n              \"name\": \"string\",\n              \"values\": [\n                \"string\",\n                \"string\"\n              ]\n            }\n          ],\n          \"imagePositions\": [\n            937655449,\n            628800771\n          ]\n        }\n      ],\n      \"images\": [\n        {\n          \"url\": \"http://iDKHMPscgxlDJBppSFBzInBIRDYMPf.jhoisugGeej0MhQta-A\",\n          \"position\": 369606845,\n          \"alt\": \"string\"\n        },\n        {\n          \"url\": \"https://RbrAmJMyDvHVetqfUyuCxMKebmigTZtLZ.eciQO7Z1UF\",\n          \"position\": 994206433,\n          \"alt\": \"string\"\n        }\n      ],\n      \"handle\": \"string\",\n      \"descriptionHtml\": \"string\",\n      \"brand\": \"string\",\n      \"productType\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4172f7b9-7f28-4b9c-98e7-e65c11cf5398","name":"Count the products an import did not send","request":{"name":"Count the products an import did not send","description":{"content":"Answers how many of the catalog's products the import with this `importId` did not send: the products `removeMissingProducts` would remove.\n\n- **Before:** every batch of the import is stored. An import that stored no product of the catalog answers 0.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"cc97da5d-d27f-4f3d-be65-cd6661fdd91c","name":"The import's missing products","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"missing\": 6986783180328039\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d315a46-6bf0-4ff3-b6cc-1c8485aee2ea","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"495d5197-2012-4155-b7ac-6dfdf0271fee","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53c9990e-5d2c-41a1-9956-44c4b518a31a","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:read.\",\n  \"details\": {\n    \"permission\": \"products:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"98d5c809-4f1e-4a8b-be22-7532ffcfac0e","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Catalog not found\",\n  \"details\": {\n    \"resource\": \"Catalog\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"57c5df8b-d36e-4842-b6de-a40e0026dd17","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7425adff-5b4f-46ac-b601-ec6ddec069cf","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8276cb07-8dd4-49f4-a624-badcfe41edfa","name":"Remove the products an import did not send","request":{"name":"Remove the products an import did not send","description":{"content":"Deletes the catalog's products, with their variants and images, that the import with this `importId` did not send, and answers how many it removed.\n\n- **Before:** every batch of the import is stored, or the file import is `done`, and the file was a full export: a selection or a search lacks products the shop still has. Refused while an import of the catalog runs. A product another import sent into the catalog meanwhile is removed too. An import that stored no product of the catalog answers 404 and removes nothing.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"493945ab-a95a-42bb-ba7d-8ddc7eb5b869","name":"How many were removed","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"removed\": 4464116561042787\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"67a208ca-aaa1-44b6-956d-5d7b48f679e2","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e3f66177-ee78-4391-8973-db9036cc081a","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e3dad52d-92a5-4934-b1e4-d15628e4d87e","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e7aeb8b-41b0-447a-aaff-c72345a06a29","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Catalog not found\",\n  \"details\": {\n    \"resource\": \"Catalog\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9e0dcd78-4611-4ca2-be98-6781f44b8fc3","name":"Conflict: `commerce.import_running`, `commerce.import_state`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.import_running\",\n  \"error\": \"Another import of this catalog is running.\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"adef1c93-1241-4d71-a634-21778045edeb","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"504c6efa-69ac-402a-8b97-d6850fd26402","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","catalogs",":catalogId","imports",":importId","missing"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"catalogId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/catalogs/:catalogId/imports/:importId/missing"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ff368627-a2d4-4b55-a1c9-edb62ac73b70","name":"List running product imports","request":{"name":"List running product imports","description":{"content":"Answers the account's imports that are being read or import products, newest first.\n\n- **Polling:** every few seconds while one runs.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d51f4945-e6a9-4bbf-b40d-e9b79c88d607","name":"The running imports","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"imports\": [\n    {\n      \"id\": \"00000000-0000-0000-0000-000000000000\",\n      \"catalogId\": \"00000000-0000-0000-0000-000000000000\",\n      \"fileName\": \"string\",\n      \"bytes\": 2237489270795431,\n      \"shopSystem\": \"shopify\",\n      \"state\": \"reading\",\n      \"preview\": {\n        \"products\": 7459382493193136,\n        \"variants\": 1777798780897128,\n        \"images\": 7021231493789731,\n        \"titles\": [\n          \"string\",\n          \"string\"\n        ],\n        \"skipped\": [\n          {\n            \"row\": 4775628138648476,\n            \"reason\": \"orphan_variant\",\n            \"field\": \"descriptionHtml\"\n          },\n          {\n            \"row\": 1922260084423609,\n            \"reason\": \"missing_title\",\n            \"field\": \"attributes\"\n          }\n        ],\n        \"skippedCount\": 3649156055588497\n      },\n      \"written\": 230037535472446,\n      \"created\": 4990527802763051,\n      \"updated\": 8434867170398762,\n      \"unchanged\": 7908943765134517,\n      \"error\": {\n        \"code\": \"string\",\n        \"details\": {\n          \"key_0\": 90.95504697050228,\n          \"key_1\": 188\n        }\n      },\n      \"createdAt\": \"1508-02-29T23:30:35Z\",\n      \"updatedAt\": \"6997-10-09T04:49:51Z\"\n    },\n    {\n      \"id\": \"4373DA9B-006a-25bD-BB7B-CECaf39ed2FC\",\n      \"catalogId\": \"dFa46De5-d902-3AaC-862c-A91ecdC184CF\",\n      \"fileName\": \"string\",\n      \"bytes\": 810938435624138,\n      \"shopSystem\": \"shopware\",\n      \"state\": \"reading\",\n      \"preview\": {\n        \"products\": 864499648144645,\n        \"variants\": 5400821309743283,\n        \"images\": 3035368445694895,\n        \"titles\": [\n          \"string\",\n          \"string\"\n        ],\n        \"skipped\": [\n          {\n            \"row\": 4350973519121443,\n            \"reason\": \"orphan_variant\",\n            \"field\": \"brand\"\n          },\n          {\n            \"row\": 632775912941013,\n            \"reason\": \"unreadable_price\",\n            \"field\": \"brand\"\n          }\n        ],\n        \"skippedCount\": 5659088794178519\n      },\n      \"written\": 1595480466920512,\n      \"created\": 8937427383850123,\n      \"updated\": 2739890376707861,\n      \"unchanged\": 4084188199462613,\n      \"error\": {\n        \"code\": \"string\",\n        \"details\": {\n          \"key_0\": \"string\",\n          \"key_1\": \"string\"\n        }\n      },\n      \"createdAt\": \"9356-02-26T22:22:15Z\",\n      \"updatedAt\": \"2919-02-05T23:53:17.385628Z\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4760df5e-717a-4f02-baac-4a459a4f7295","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1a5228da-c6e5-4895-80ae-098f8c4c9bc4","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:read.\",\n  \"details\": {\n    \"permission\": \"products:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0331f6ef-19bd-43a2-a9b5-9c7212a93f46","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bb77705a-bd04-4b67-bed4-14c75a73c394","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c8078728-3014-43e6-b83d-24be148e85f6","name":"Create a product file import","request":{"name":"Create a product file import","description":{"content":"Creates an import for one product export of Shopify, Shopware or WooCommerce, as CSV of at most 50 MB, and answers where to upload the file.\n\n- **Then:** PUT the file to `upload.url` with `upload.headers`, then `readProductImport`.\n- **Limits:** Each user or API key may call it 30 times an hour; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fileName\": \"string\",\n  \"bytes\": 22307540\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"379a58dc-3ffe-4c6b-aeba-dbb766263408","name":"The import and its upload","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fileName\": \"string\",\n  \"bytes\": 22307540\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"import\": {\n    \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n    \"catalogId\": \"00000000-0000-0000-0000-000000000000\",\n    \"fileName\": \"string\",\n    \"bytes\": 3153568888109782,\n    \"shopSystem\": \"shopify\",\n    \"state\": \"failed\",\n    \"preview\": {\n      \"products\": 5340182358988881,\n      \"variants\": 5095238272192500,\n      \"images\": 3228221458996837,\n      \"titles\": [\n        \"string\",\n        \"string\"\n      ],\n      \"skipped\": [\n        {\n          \"row\": 17952200466756,\n          \"reason\": \"missing_title\",\n          \"field\": \"title\"\n        },\n        {\n          \"row\": 2431277326920920,\n          \"reason\": \"missing_id\",\n          \"field\": \"tags\"\n        }\n      ],\n      \"skippedCount\": 5439877468262468\n    },\n    \"written\": 4969994335925220,\n    \"created\": 5987719837453123,\n    \"updated\": 3408020872648556,\n    \"unchanged\": 7456903290131581,\n    \"error\": {\n      \"code\": \"string\",\n      \"details\": {\n        \"key_0\": 9421.33418917249,\n        \"key_1\": true\n      }\n    },\n    \"createdAt\": \"8080-12-31T10:42:41Z\",\n    \"updatedAt\": \"0394-06-22T21:10:18Z\"\n  },\n  \"upload\": {\n    \"url\": \"https://JoVGNBXkTZtDXHddZ.szyeBEWINmPdEzfvylghD3,H0A8LthpRiWlwpgR,79vraIHHErJhCtbzIc\",\n    \"headers\": {\n      \"key_0\": \"string\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"94165b93-44fe-41a8-98e3-230226a80ce0","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fileName\": \"string\",\n  \"bytes\": 22307540\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24b1c5d1-293b-4009-aaf0-3ba04c4a2095","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fileName\": \"string\",\n  \"bytes\": 22307540\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"684a6c58-aab9-42c0-847e-a2191f0025b1","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fileName\": \"string\",\n  \"bytes\": 22307540\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"437893d2-ff12-4367-b6ce-2b42004b52ce","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fileName\": \"string\",\n  \"bytes\": 22307540\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a828e52c-b767-4581-8df2-6d706896569b","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fileName\": \"string\",\n  \"bytes\": 22307540\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b6453bf3-c21f-49f3-8f2f-b56499fe004a","name":"Import a product file from a URL","request":{"name":"Import a product file from a URL","description":{"content":"Downloads a product export of Shopify, Shopware or WooCommerce from a public https URL, as CSV of at most 50 MB, and reads it as the shop system its header row names; answers the import as `reading`. Nothing is stored in a catalog yet.\n\n- **Polling:** `getProductImport` until it is `ready` with its preview, or `failed`.\n- **Then:** `startProductImport`.\n- **Limits:** the download must finish within 45 seconds; for slower sources, upload the file with `createProductImport`. Each user or API key may call it 30 times an hour; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports","from-url"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports/from-url"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"https://ZvrNEJEGI.igJW9Ud2yMXsdpVSA0dLyMJdmSDH5I52x6JjROl.P0j9eszGjm,0bP0UKRI5fT1cVyKTw1LR1Wk-GlyY\",\n  \"fileName\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0f860f2f-2a5f-4100-bad9-edaa29f59f8c","name":"The import, reading","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports","from-url"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports/from-url"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"https://ZvrNEJEGI.igJW9Ud2yMXsdpVSA0dLyMJdmSDH5I52x6JjROl.P0j9eszGjm,0bP0UKRI5fT1cVyKTw1LR1Wk-GlyY\",\n  \"fileName\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"fileName\": \"string\",\n  \"bytes\": 2295542488629378,\n  \"shopSystem\": \"woocommerce\",\n  \"state\": \"uploading\",\n  \"preview\": {\n    \"products\": 6090726556490821,\n    \"variants\": 1896905656635447,\n    \"images\": 3133748230023343,\n    \"titles\": [\n      \"string\",\n      \"string\"\n    ],\n    \"skipped\": [\n      {\n        \"row\": 2800465446125347,\n        \"reason\": \"no_readable_variant\",\n        \"field\": \"handle\"\n      },\n      {\n        \"row\": 6053175647080765,\n        \"reason\": \"missing_id\",\n        \"field\": \"title\"\n      }\n    ],\n    \"skippedCount\": 5905341805663617\n  },\n  \"written\": 1816855595930011,\n  \"created\": 5430026689621563,\n  \"updated\": 793367767274861,\n  \"unchanged\": 605906640219657,\n  \"error\": {\n    \"code\": \"string\",\n    \"details\": {\n      \"key_0\": \"string\",\n      \"key_1\": 5488,\n      \"key_2\": 2905,\n      \"key_3\": 5354.652927534797\n    }\n  },\n  \"createdAt\": \"4660-02-29T16:51:53.4Z\",\n  \"updatedAt\": \"1708-02-29T18:02:58Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59b0d931-56ef-4426-b433-19966592d724","name":"Invalid input: `media.public_file_rejected`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports","from-url"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports/from-url"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"https://ZvrNEJEGI.igJW9Ud2yMXsdpVSA0dLyMJdmSDH5I52x6JjROl.P0j9eszGjm,0bP0UKRI5fT1cVyKTw1LR1Wk-GlyY\",\n  \"fileName\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"media.public_file_rejected\",\n  \"error\": \"Files must be on a public host\",\n  \"details\": {\n    \"reason\": \"private_host\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0c0140b9-2496-4b61-ad83-06fa926b16e0","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports","from-url"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports/from-url"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"https://ZvrNEJEGI.igJW9Ud2yMXsdpVSA0dLyMJdmSDH5I52x6JjROl.P0j9eszGjm,0bP0UKRI5fT1cVyKTw1LR1Wk-GlyY\",\n  \"fileName\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ae3bc1bf-4e64-48d4-bb90-72cdbb96eac1","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports","from-url"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports/from-url"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"https://ZvrNEJEGI.igJW9Ud2yMXsdpVSA0dLyMJdmSDH5I52x6JjROl.P0j9eszGjm,0bP0UKRI5fT1cVyKTw1LR1Wk-GlyY\",\n  \"fileName\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"62e52df1-a828-4641-82a1-0e78f893bf67","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports","from-url"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports/from-url"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"https://ZvrNEJEGI.igJW9Ud2yMXsdpVSA0dLyMJdmSDH5I52x6JjROl.P0j9eszGjm,0bP0UKRI5fT1cVyKTw1LR1Wk-GlyY\",\n  \"fileName\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e6a17dbb-beeb-478f-afc7-6d19a025f545","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports","from-url"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/imports/from-url"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"https://ZvrNEJEGI.igJW9Ud2yMXsdpVSA0dLyMJdmSDH5I52x6JjROl.P0j9eszGjm,0bP0UKRI5fT1cVyKTw1LR1Wk-GlyY\",\n  \"fileName\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e151cd87-1a7e-40ef-af3d-acc8327c9074","name":"Get a product import","request":{"name":"Get a product import","description":{"content":"Answers where the import stands: `reading` its file, `ready` with its preview (products, variants, images, the first titles and the rows it leaves out), `importing` with the products written so far, `done` with how many were created, updated and unchanged, or `failed` with an error code.\n\n- **Polling:** every few seconds while it is `reading` or `importing`.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"774c2085-4645-4de1-9840-cbf1f822f96e","name":"The import","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"fileName\": \"string\",\n  \"bytes\": 2295542488629378,\n  \"shopSystem\": \"woocommerce\",\n  \"state\": \"uploading\",\n  \"preview\": {\n    \"products\": 6090726556490821,\n    \"variants\": 1896905656635447,\n    \"images\": 3133748230023343,\n    \"titles\": [\n      \"string\",\n      \"string\"\n    ],\n    \"skipped\": [\n      {\n        \"row\": 2800465446125347,\n        \"reason\": \"no_readable_variant\",\n        \"field\": \"handle\"\n      },\n      {\n        \"row\": 6053175647080765,\n        \"reason\": \"missing_id\",\n        \"field\": \"title\"\n      }\n    ],\n    \"skippedCount\": 5905341805663617\n  },\n  \"written\": 1816855595930011,\n  \"created\": 5430026689621563,\n  \"updated\": 793367767274861,\n  \"unchanged\": 605906640219657,\n  \"error\": {\n    \"code\": \"string\",\n    \"details\": {\n      \"key_0\": \"string\",\n      \"key_1\": 5488,\n      \"key_2\": 2905,\n      \"key_3\": 5354.652927534797\n    }\n  },\n  \"createdAt\": \"4660-02-29T16:51:53.4Z\",\n  \"updatedAt\": \"1708-02-29T18:02:58Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"106b33a3-ede7-429f-b44c-1ad43c8920a9","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"188c58cc-d524-4a0e-9c9b-6fa4b2b18f22","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d25fedc0-fbb7-41e4-aca2-1718c2494337","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:read.\",\n  \"details\": {\n    \"permission\": \"products:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"003cc61c-6f16-4fa7-9cea-af2a044907ab","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Import not found\",\n  \"details\": {\n    \"resource\": \"Import\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b0ccd36-cb73-47ab-9f92-48c6b40589cf","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea36e6ee-4525-4edc-9d2a-3f162103064b","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"035507fc-2d01-4e0f-911a-1363014a5d58","name":"Read an uploaded product file","request":{"name":"Read an uploaded product file","description":{"content":"Reads the uploaded file as the shop system's export its header row names, or as `shopSystem`, and answers the import as `reading`. Nothing is stored yet.\n\n- **Before:** the file is uploaded.\n- **Polling:** `getProductImport` until it is `ready` with its preview, or `failed`.\n- **Then:** `startProductImport`.\n- **Retries:** reading again is safe, also with another `shopSystem`.\n- **Limits:** Each user or API key may call it 30 times an hour; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c57370e1-803d-4218-8dd6-79ff113b85e4","name":"The import, reading","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"fileName\": \"string\",\n  \"bytes\": 2295542488629378,\n  \"shopSystem\": \"woocommerce\",\n  \"state\": \"uploading\",\n  \"preview\": {\n    \"products\": 6090726556490821,\n    \"variants\": 1896905656635447,\n    \"images\": 3133748230023343,\n    \"titles\": [\n      \"string\",\n      \"string\"\n    ],\n    \"skipped\": [\n      {\n        \"row\": 2800465446125347,\n        \"reason\": \"no_readable_variant\",\n        \"field\": \"handle\"\n      },\n      {\n        \"row\": 6053175647080765,\n        \"reason\": \"missing_id\",\n        \"field\": \"title\"\n      }\n    ],\n    \"skippedCount\": 5905341805663617\n  },\n  \"written\": 1816855595930011,\n  \"created\": 5430026689621563,\n  \"updated\": 793367767274861,\n  \"unchanged\": 605906640219657,\n  \"error\": {\n    \"code\": \"string\",\n    \"details\": {\n      \"key_0\": \"string\",\n      \"key_1\": 5488,\n      \"key_2\": 2905,\n      \"key_3\": 5354.652927534797\n    }\n  },\n  \"createdAt\": \"4660-02-29T16:51:53.4Z\",\n  \"updatedAt\": \"1708-02-29T18:02:58Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d9218fc-6679-47da-bfaf-df95989cfb44","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c5b2064-c57d-4c4a-a20a-d5ed3943e258","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"373f5687-8512-45b2-898d-e29ada739e2a","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ae72027d-1375-4d8b-aac1-789af28ea972","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Import not found\",\n  \"details\": {\n    \"resource\": \"Import\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5918d71e-3b26-4931-a979-41d746d0c94b","name":"Conflict: `commerce.import_state`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.import_state\",\n  \"error\": \"The import is importing; this step is not possible now.\",\n  \"details\": {\n    \"state\": \"importing\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b6449a60-499b-4da6-afde-13419a23ae3f","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"027e1abf-4333-4288-b3ce-9381d7bdbbaa","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","read"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/read"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"shopSystem\": \"shopware\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b34ecf9b-43a3-4614-b7b7-92dda4ad1168","name":"Import a read file's products into a catalog","request":{"name":"Import a read file's products into a catalog","description":{"content":"Writes the read file's products into the catalog: new products are created, changed ones updated by their `externalId`, unchanged ones only counted. Products of the catalog the file does not hold stay. A catalog runs one import at a time.\n\n- **Before:** the import is `ready`; `createCatalog` makes a catalog for a new shop.\n- **Polling:** `getProductImport` until it is `done` or `failed`.\n- **Then:** `getCatalogImport` counts the catalog's products the file did not hold, and `removeMissingProducts` removes them.\n- **Retries:** starting again is safe; a `failed` import starts over and skips unchanged products.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7500bf51-fac5-46b0-85e8-b957dbdfd4d7","name":"The import, importing","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"fileName\": \"string\",\n  \"bytes\": 2295542488629378,\n  \"shopSystem\": \"woocommerce\",\n  \"state\": \"uploading\",\n  \"preview\": {\n    \"products\": 6090726556490821,\n    \"variants\": 1896905656635447,\n    \"images\": 3133748230023343,\n    \"titles\": [\n      \"string\",\n      \"string\"\n    ],\n    \"skipped\": [\n      {\n        \"row\": 2800465446125347,\n        \"reason\": \"no_readable_variant\",\n        \"field\": \"handle\"\n      },\n      {\n        \"row\": 6053175647080765,\n        \"reason\": \"missing_id\",\n        \"field\": \"title\"\n      }\n    ],\n    \"skippedCount\": 5905341805663617\n  },\n  \"written\": 1816855595930011,\n  \"created\": 5430026689621563,\n  \"updated\": 793367767274861,\n  \"unchanged\": 605906640219657,\n  \"error\": {\n    \"code\": \"string\",\n    \"details\": {\n      \"key_0\": \"string\",\n      \"key_1\": 5488,\n      \"key_2\": 2905,\n      \"key_3\": 5354.652927534797\n    }\n  },\n  \"createdAt\": \"4660-02-29T16:51:53.4Z\",\n  \"updatedAt\": \"1708-02-29T18:02:58Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f6c9b144-8830-48ca-8d69-10f0ed9acf9e","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2dbc3ed-482f-4fb8-aaa4-f6d0d6c07ea0","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23885291-eff5-4afe-86bd-2a846cd21878","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7578532a-a74e-433a-9937-4cf1c7b3a2fa","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Import not found\",\n  \"details\": {\n    \"resource\": \"Import\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8537bf7d-92f1-4205-bd3d-ec15f7020e17","name":"Conflict: `commerce.import_state`, `commerce.import_running`, `commerce.shop_system_mismatch`, `commerce.catalog_without_shop_system`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.import_state\",\n  \"error\": \"The import is importing; this step is not possible now.\",\n  \"details\": {\n    \"state\": \"importing\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a7b10eb9-1fad-49ab-8071-743da736eec7","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed986e8d-0647-4c9f-af3b-edd8ab106795","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","imports",":importId","start"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"importId"}],"raw":"{{baseUrl}}/api/v1/commerce/imports/:importId/start"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"807706bf-bced-4cc1-b9b2-7ce0ffd9903a","name":"List and search the account's products","request":{"name":"List and search the account's products","description":{"content":"Returns the account's products, newest first, each with its main image, number of variants and lowest price.\n\n- **Pages:** `limit` at a time (default 50, at most 100); pass `nextCursor` as `cursor` for the next page.\n- **Search:** `catalogId` keeps one catalog; `query` matches title, brand and SKU, ignoring case.\n- **Then:** `getProduct` for one product's variants and images.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[{"disabled":false,"description":{"content":"Only this catalog's products","type":"text/plain"},"key":"catalogId","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Matches title, brand and SKU, ignoring case","type":"text/plain"},"key":"query","value":"string"},{"disabled":false,"description":{"content":"The previous page's `nextCursor`","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Products per page, 50 unless set","type":"text/plain"},"key":"limit","value":"50"}],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products?catalogId=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&query=string&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&limit=50"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5270dd32-a865-4f2a-a825-8cb85588f709","name":"One page of products","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[{"disabled":false,"description":{"content":"Only this catalog's products","type":"text/plain"},"key":"catalogId","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Matches title, brand and SKU, ignoring case","type":"text/plain"},"key":"query","value":"string"},{"disabled":false,"description":{"content":"The previous page's `nextCursor`","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Products per page, 50 unless set","type":"text/plain"},"key":"limit","value":"50"}],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products?catalogId=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&query=string&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&limit=50"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"products\": [\n    {\n      \"id\": \"3D73551d-dBCf-75c1-a7bB-4EaBEa8Da6aa\",\n      \"catalogId\": \"266cd8A1-0a99-4Ade-b872-f00e64D501dd\",\n      \"title\": \"string\",\n      \"status\": \"archived\",\n      \"imagesLoading\": false,\n      \"variantCount\": 7660520964813722,\n      \"currency\": \"PUX\",\n      \"generatedImages\": 2099024567636407,\n      \"brand\": \"string\",\n      \"mainImageUrl\": \"string\",\n      \"priceFrom\": \"7098231331465724477\"\n    },\n    {\n      \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"catalogId\": \"Fa08CfFb-C2BA-3d47-aBEB-c5BdaA478ee6\",\n      \"title\": \"string\",\n      \"status\": \"archived\",\n      \"imagesLoading\": true,\n      \"variantCount\": 5899923462576990,\n      \"currency\": \"JGO\",\n      \"generatedImages\": 8239238821935634,\n      \"brand\": \"string\",\n      \"mainImageUrl\": \"string\",\n      \"priceFrom\": \"33\"\n    }\n  ],\n  \"nextCursor\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4a07f37e-bfa2-413d-ae91-98ab22209099","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[{"disabled":false,"description":{"content":"Only this catalog's products","type":"text/plain"},"key":"catalogId","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Matches title, brand and SKU, ignoring case","type":"text/plain"},"key":"query","value":"string"},{"disabled":false,"description":{"content":"The previous page's `nextCursor`","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Products per page, 50 unless set","type":"text/plain"},"key":"limit","value":"50"}],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products?catalogId=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&query=string&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&limit=50"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e1e953b4-0ab0-404b-bfcd-f8ffd3f5ed53","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[{"disabled":false,"description":{"content":"Only this catalog's products","type":"text/plain"},"key":"catalogId","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Matches title, brand and SKU, ignoring case","type":"text/plain"},"key":"query","value":"string"},{"disabled":false,"description":{"content":"The previous page's `nextCursor`","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Products per page, 50 unless set","type":"text/plain"},"key":"limit","value":"50"}],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products?catalogId=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&query=string&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&limit=50"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d9217d88-e1c9-4627-a5ef-b8d135ed2793","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[{"disabled":false,"description":{"content":"Only this catalog's products","type":"text/plain"},"key":"catalogId","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Matches title, brand and SKU, ignoring case","type":"text/plain"},"key":"query","value":"string"},{"disabled":false,"description":{"content":"The previous page's `nextCursor`","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Products per page, 50 unless set","type":"text/plain"},"key":"limit","value":"50"}],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products?catalogId=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&query=string&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&limit=50"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:read.\",\n  \"details\": {\n    \"permission\": \"products:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b831e3c-722b-4ff8-9e0e-294e626acfd1","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[{"disabled":false,"description":{"content":"Only this catalog's products","type":"text/plain"},"key":"catalogId","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Matches title, brand and SKU, ignoring case","type":"text/plain"},"key":"query","value":"string"},{"disabled":false,"description":{"content":"The previous page's `nextCursor`","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Products per page, 50 unless set","type":"text/plain"},"key":"limit","value":"50"}],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products?catalogId=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&query=string&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&limit=50"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1b781ddc-0dd2-4946-8c9c-c117b82e79a2","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[{"disabled":false,"description":{"content":"Only this catalog's products","type":"text/plain"},"key":"catalogId","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Matches title, brand and SKU, ignoring case","type":"text/plain"},"key":"query","value":"string"},{"disabled":false,"description":{"content":"The previous page's `nextCursor`","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Products per page, 50 unless set","type":"text/plain"},"key":"limit","value":"50"}],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products?catalogId=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&query=string&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&limit=50"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a64758d3-1773-43ef-965b-b7ff0a9bb726","name":"Make a product in a catalog without a shop system","request":{"name":"Make a product in a catalog without a shop system","description":{"content":"Makes a product by hand: its title, optionally a description, brand, type and status, and either a SKU or options with one variant per combination of their values (each with SKU and price). Ghostpull gives the product and its variants their IDs. Answers the product as `getProduct` does.\n\n- **Before:** a catalog without a shop system (`createCatalog` without `shopSystem`); a shop's catalog takes only its imports.\n- **Then:** `linkProductAsset` adds images from the media library.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f195dc1a-3ae7-4e1b-8011-34684090824c","name":"The new product","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"catalogId\": \"00000000-0000-0000-0000-000000000000\",\n  \"title\": \"string\",\n  \"status\": \"draft\",\n  \"imagesLoading\": false,\n  \"variantCount\": 6524416489172245,\n  \"currency\": \"ZBT\",\n  \"generatedImages\": 3896949868121980,\n  \"externalId\": \"string\",\n  \"categories\": [\n    \"string\",\n    \"string\"\n  ],\n  \"tags\": [\n    \"string\",\n    \"string\"\n  ],\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"attributes\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"optionValues\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"title\": \"string\",\n      \"sku\": \"string\",\n      \"barcode\": \"string\",\n      \"price\": \"4670444544795631329.37\",\n      \"compareAtPrice\": \"4451813557037268.534\",\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"imagePositions\": [\n        226372675,\n        574277154\n      ]\n    },\n    {\n      \"externalId\": \"string\",\n      \"optionValues\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\",\n        \"key_3\": \"string\",\n        \"key_4\": \"string\"\n      },\n      \"title\": \"string\",\n      \"sku\": \"string\",\n      \"barcode\": \"string\",\n      \"price\": \"2740\",\n      \"compareAtPrice\": \"7470347.671\",\n      \"attributes\": [\n        {\n          \"name\": \"str\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"imagePositions\": [\n        489188047,\n        559751661\n      ]\n    }\n  ],\n  \"images\": [\n    {\n      \"url\": \"string\",\n      \"position\": 172900009,\n      \"alt\": \"string\",\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 3909407427615262,\n        \"visibility\": \"job\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"RLlVmzc0/U\",\n          \"name\": \"string\",\n          \"width\": 90590164273349,\n          \"height\": 5087577728799830,\n          \"mediaType\": \"image/svg+xml\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2159312517262336\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 3792.1391313540544,\n          \"width\": 1811,\n          \"height\": 5911,\n          \"duration\": 2223.9142353990414,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"VVfXFX\",\n                \"name\": \"string\",\n                \"width\": 8916631283023124,\n                \"height\": 1131466122299764,\n                \"mediaType\": \"image/svg+xml\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 6271117000926835\n                  }\n                ]\n              },\n              \"role\": \"subline\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 6172.430282732402,\n              \"duration\": 1937.3782068143967,\n              \"x\": 7455.660957173179,\n              \"y\": 9140.207354323424,\n              \"width\": 3666.7999564336874,\n              \"height\": 4938.115412118708,\n              \"rotation\": 2051.432278833525,\n              \"opacity\": 0.6733601233594497,\n              \"scale\": 8751.734832958415,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 5271.067894439292,\n                    \"value\": 9221.065741057593,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 2147.607221135607,\n                    \"value\": 2112.8066630042863,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"8JrSI\",\n                \"name\": \"string\",\n                \"width\": 8601311275455172,\n                \"height\": 3293853566212401,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2487959775906995\n                  }\n                ]\n              },\n              \"role\": \"subline\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 2492.4964177622523,\n              \"duration\": 2956.2067653877243,\n              \"x\": 667.9690272538852,\n              \"y\": 3059.3211264874053,\n              \"width\": 9838.086798912449,\n              \"height\": 3900.8845038642185,\n              \"rotation\": 9104.605403227317,\n              \"opacity\": 0.953924066248671,\n              \"scale\": 6064.183245692969,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 7240.76642807911,\n                    \"value\": 8617.695320828147,\n                    \"easing\": \"step\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 7769.374338631391,\n                    \"value\": 4552.979294998068,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 12,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 183,\n              \"style\": \"italic\",\n              \"file\": \"ev8hcg.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"r\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 272,\n              \"style\": \"italic\",\n              \"file\": \"knxwsevyn.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"C\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"eec7T37nzz\",\n                \"name\": \"string\",\n                \"width\": 7133662966320902,\n                \"height\": 7369107939555141,\n                \"mediaType\": \"image/svg+xml\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8818584358702872\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"person\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"7\",\n                \"name\": \"string\",\n                \"width\": 4831279725540529,\n                \"height\": 8825089119412283,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 5082690689873213\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"Fglyi\",\n            \"name\": \"string\",\n            \"width\": 8307221160907817,\n            \"height\": 4050616912117677,\n            \"mediaType\": \"image/png\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1716458211934892\n              }\n            ]\n          }\n        }\n      },\n      \"loadError\": \"string\"\n    },\n    {\n      \"url\": \"string\",\n      \"position\": 1648696544,\n      \"alt\": \"string\",\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 8525650843847145,\n        \"visibility\": \"kept\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3g.\",\n          \"name\": \"string\",\n          \"width\": 5937827986185781,\n          \"height\": 8278767707286463,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7863841409462662\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 5250.330205103346,\n          \"width\": 4812,\n          \"height\": 2210,\n          \"duration\": 1250.1779796092999,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"E\",\n                \"name\": \"string\",\n                \"width\": 5299483174327400,\n                \"height\": 6258757430957746,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2360874064360134\n                  }\n                ]\n              },\n              \"role\": \"logo\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 3727.322565134066,\n              \"duration\": 9625.188608534685,\n              \"x\": 6784.14291588623,\n              \"y\": 2738.0600217427655,\n              \"width\": 4236.854464995031,\n              \"height\": 3968.7220384123734,\n              \"rotation\": 7302.940899230457,\n              \"opacity\": 0.14140285398270425,\n              \"scale\": 2080.1649162591075,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 6813.269985866554,\n                    \"value\": 3658.232731444947,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 9108.468583605163,\n                    \"value\": 9259.783888002165,\n                    \"easing\": \"ease-in\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"L/SE4RwiCSL\",\n                \"name\": \"string\",\n                \"width\": 5360490478444453,\n                \"height\": 3472809760077889,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 1061850524430204\n                  }\n                ]\n              },\n              \"role\": \"area\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 6979.2941305617705,\n              \"duration\": 8666.762011054536,\n              \"x\": 996.7234842163753,\n              \"y\": 8817.229666699064,\n              \"width\": 8735.743218630401,\n              \"height\": 280.9403961217869,\n              \"rotation\": 9139.476404296198,\n              \"opacity\": 0.6655820308173503,\n              \"scale\": 6140.250543849897,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"person\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 1677.56634719171,\n                    \"value\": 9546.60874932582,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 7891.088326509441,\n                    \"value\": 9197.848101123915,\n                    \"easing\": \"step\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 7472.888336511213,\n                    \"value\": 9036.340444399017,\n                    \"easing\": \"ease-out\"\n                  }\n                ],\n                \"key_3\": [\n                  {\n                    \"time\": 8927.890514153349,\n                    \"value\": 5499.412724280227,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_4\": [\n                  {\n                    \"time\": 6834.531686030183,\n                    \"value\": 2605.978855937077,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 13,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 423,\n              \"style\": \"italic\",\n              \"file\": \"8za0hx5-x.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"owQAEa3k3\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 483,\n              \"style\": \"normal\",\n              \"file\": \"f20fr.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"4B_n.Df\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"st\",\n                \"key\": \"88-\",\n                \"name\": \"string\",\n                \"width\": 1857433451075823,\n                \"height\": 1715357543480981,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 7554644448170617\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"product\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"nNMhL\",\n                \"name\": \"string\",\n                \"width\": 5285167296126840,\n                \"height\": 4122356632350031,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8201066074899688\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"Qj\",\n            \"name\": \"string\",\n            \"width\": 4788821603913859,\n            \"height\": 4376729585126567,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 2926808736315751\n              }\n            ]\n          }\n        }\n      },\n      \"loadError\": \"string\"\n    }\n  ],\n  \"assets\": [\n    {\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 8984707490920838,\n        \"visibility\": \"library\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"AC/wSxu.v\",\n          \"name\": \"string\",\n          \"width\": 8086130927846126,\n          \"height\": 996161818145462,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6773110147820576\n            }\n          ]\n        },\n        \"editable\": false,\n        \"composition\": {\n          \"version\": 8317.652944675709,\n          \"width\": 1769,\n          \"height\": 3016,\n          \"duration\": 444.36888167189966,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"bhSdr-e\",\n                \"name\": \"string\",\n                \"width\": 5200498321174924,\n                \"height\": 8703851921059967,\n                \"mediaType\": \"image/png\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 7445825361818882\n                  }\n                ]\n              },\n              \"role\": \"pointer\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 4919.006580877922,\n              \"duration\": 1772.6834202257853,\n              \"x\": 9539.566872026173,\n              \"y\": 6456.226710618937,\n              \"width\": 4328.750698497908,\n              \"height\": 4257.854146101693,\n              \"rotation\": 3528.375474584975,\n              \"opacity\": 0.7866945731820546,\n              \"scale\": 8497.662508832458,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"person\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 2879.4860964489653,\n                    \"value\": 1561.5070150503407,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 3786.344674199842,\n                    \"value\": 6277.694463824659,\n                    \"easing\": \"linear\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 1939.125037576207,\n                    \"value\": 8617.839139013364,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"vLx-Uss\",\n                \"name\": \"string\",\n                \"width\": 4801975396998461,\n                \"height\": 3985148568492029,\n                \"mediaType\": \"image/png\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 4354927217445455\n                  }\n                ]\n              },\n              \"role\": \"background\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 5377.7415681678785,\n              \"duration\": 3337.276068544967,\n              \"x\": 3503.797871153347,\n              \"y\": 6873.482734154833,\n              \"width\": 5909.000703470594,\n              \"height\": 5855.009602986213,\n              \"rotation\": 3354.285794691563,\n              \"opacity\": 0.06964515778274238,\n              \"scale\": 8531.405549362493,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 899.7195703003302,\n                    \"value\": 9943.868642423713,\n                    \"easing\": \"ease-out\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"stri\",\n          \"fps\": 51,\n          \"loop\": false,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 687,\n              \"style\": \"normal\",\n              \"file\": \"58b3p9lz.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"oFTI9s\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 535,\n              \"style\": \"normal\",\n              \"file\": \"yp.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"IvEKqj\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"a.T\",\n                \"name\": \"string\",\n                \"width\": 5227313263304714,\n                \"height\": 1927789918218882,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 879476272549098\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"product\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"OB-4rbr-\",\n                \"name\": \"string\",\n                \"width\": 1774387322721443,\n                \"height\": 3474013106508124,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8486837868544948\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"J/nQ-\",\n            \"name\": \"string\",\n            \"width\": 3830318515895475,\n            \"height\": 5137865386341937,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 6932623237668733\n              }\n            ]\n          }\n        }\n      },\n      \"position\": 1430974652,\n      \"variant\": \"string\",\n      \"run\": {\n        \"runId\": \"9369ed57-ad7B-4f9e-bDac-F8dBeF894a5D\",\n        \"addonId\": \"string\"\n      }\n    },\n    {\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 383559624121035,\n        \"visibility\": \"job\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"nir1X\",\n          \"name\": \"string\",\n          \"width\": 8879185625660068,\n          \"height\": 3002245872822298,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8480700038469619\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 9203.507686628509,\n          \"width\": 8051,\n          \"height\": 7164,\n          \"duration\": 3122.0790903657503,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"s\",\n                \"name\": \"string\",\n                \"width\": 2268754901973549,\n                \"height\": 4385779031806180,\n                \"mediaType\": \"image/jpeg\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2152846834051532\n                  }\n                ]\n              },\n              \"role\": \"container\",\n              \"name\": \"st\",\n              \"hidden\": true,\n              \"start\": 818.7845308342656,\n              \"duration\": 7455.569546716601,\n              \"x\": 8273.261143598927,\n              \"y\": 7882.124278091291,\n              \"width\": 4285.858660347411,\n              \"height\": 5355.198299230604,\n              \"rotation\": 5422.054118776684,\n              \"opacity\": 0.4199721832128105,\n              \"scale\": 6704.364912493391,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 9118.441848855551,\n                    \"value\": 6522.140761365124,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 6532.630581747947,\n                    \"value\": 6954.774003413783,\n                    \"easing\": \"ease-out\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 2838.477623182505,\n                    \"value\": 2634.304137805256,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"h9p\",\n                \"name\": \"string\",\n                \"width\": 8457140273334538,\n                \"height\": 2333116448566337,\n                \"mediaType\": \"image/jpeg\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 5169780917609941\n                  }\n                ]\n              },\n              \"role\": \"background\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 5705.8147281095835,\n              \"duration\": 9506.374171470543,\n              \"x\": 5503.9032048956215,\n              \"y\": 3947.675721598394,\n              \"width\": 6557.318312532087,\n              \"height\": 9806.847957423613,\n              \"rotation\": 1746.6840565279717,\n              \"opacity\": 0.2188164832122742,\n              \"scale\": 8263.441034621372,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 5644.562494210112,\n                    \"value\": 8888.4239593041,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 55,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 547,\n              \"style\": \"normal\",\n              \"file\": \"y9za-2v.woff2\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"9K7AIv1\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 737,\n              \"style\": \"italic\",\n              \"file\": \"geacp0l.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"ccZXj2Bax\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"person\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"jEu_NV\",\n                \"name\": \"string\",\n                \"width\": 7592029541395090,\n                \"height\": 3542576341317452,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 4271131748697166\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"xDuPW8t4YS7\",\n                \"name\": \"string\",\n                \"width\": 1797005336549251,\n                \"height\": 6957502579135034,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8666908722070343\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"lRYMNp0M\",\n            \"name\": \"string\",\n            \"width\": 2978976357337630,\n            \"height\": 7507282161164365,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1930880209025513\n              }\n            ]\n          }\n        }\n      },\n      \"position\": 1967193898,\n      \"variant\": \"string\",\n      \"run\": {\n        \"runId\": \"00000000-0000-0000-0000-000000000000\",\n        \"addonId\": \"string\"\n      }\n    }\n  ],\n  \"brand\": \"string\",\n  \"mainImageUrl\": \"string\",\n  \"priceFrom\": \"53.967330\",\n  \"description\": \"string\",\n  \"productType\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90abba57-f649-440c-8bed-952f44cbe60e","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8d3e05b-57e6-409b-a387-c02b16dd0d42","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6caa707b-a69c-450e-82be-17dc38551644","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b3054194-5e66-4615-ae2c-05368aede5ce","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Catalog not found\",\n  \"details\": {\n    \"resource\": \"Catalog\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3512f97d-a576-44e7-b941-e5787e946bf2","name":"Conflict: `commerce.catalog_has_shop_system`, `commerce.catalog_full`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.catalog_has_shop_system\",\n  \"error\": \"The catalog's products come from its shop; make products in a catalog without a shop system.\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"535366b6-491f-4fe1-8b36-4e1aff9f9097","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9d6e26fe-6383-4ef1-b5a6-8b3ca2d0cce9","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/commerce/products"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"catalogId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"title\": \"str\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2e2607a8-dcbf-49a0-bb92-d7d7f52a3a6d","name":"Get a product with its variants, images and linked assets","request":{"name":"Get a product with its variants, images and linked assets","description":{"content":"Returns one product: its texts (the description as plain text), options, attributes, variants, its shop images by position (the first being its main image) and the media library assets linked to it or its variants.\n\n- **File URLs:** a shop image is loaded into Media after its import; once loaded it carries `asset`, whose `url` expires, until then only the shop's `url`, and `loadError` when it could not be loaded. An Addon's image input takes the loaded asset.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"bb14f213-b45e-4227-beb6-9e9cc6028fda","name":"The product","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"catalogId\": \"00000000-0000-0000-0000-000000000000\",\n  \"title\": \"string\",\n  \"status\": \"draft\",\n  \"imagesLoading\": false,\n  \"variantCount\": 6524416489172245,\n  \"currency\": \"ZBT\",\n  \"generatedImages\": 3896949868121980,\n  \"externalId\": \"string\",\n  \"categories\": [\n    \"string\",\n    \"string\"\n  ],\n  \"tags\": [\n    \"string\",\n    \"string\"\n  ],\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"attributes\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"optionValues\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"title\": \"string\",\n      \"sku\": \"string\",\n      \"barcode\": \"string\",\n      \"price\": \"4670444544795631329.37\",\n      \"compareAtPrice\": \"4451813557037268.534\",\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"imagePositions\": [\n        226372675,\n        574277154\n      ]\n    },\n    {\n      \"externalId\": \"string\",\n      \"optionValues\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\",\n        \"key_3\": \"string\",\n        \"key_4\": \"string\"\n      },\n      \"title\": \"string\",\n      \"sku\": \"string\",\n      \"barcode\": \"string\",\n      \"price\": \"2740\",\n      \"compareAtPrice\": \"7470347.671\",\n      \"attributes\": [\n        {\n          \"name\": \"str\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"imagePositions\": [\n        489188047,\n        559751661\n      ]\n    }\n  ],\n  \"images\": [\n    {\n      \"url\": \"string\",\n      \"position\": 172900009,\n      \"alt\": \"string\",\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 3909407427615262,\n        \"visibility\": \"job\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"RLlVmzc0/U\",\n          \"name\": \"string\",\n          \"width\": 90590164273349,\n          \"height\": 5087577728799830,\n          \"mediaType\": \"image/svg+xml\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2159312517262336\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 3792.1391313540544,\n          \"width\": 1811,\n          \"height\": 5911,\n          \"duration\": 2223.9142353990414,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"VVfXFX\",\n                \"name\": \"string\",\n                \"width\": 8916631283023124,\n                \"height\": 1131466122299764,\n                \"mediaType\": \"image/svg+xml\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 6271117000926835\n                  }\n                ]\n              },\n              \"role\": \"subline\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 6172.430282732402,\n              \"duration\": 1937.3782068143967,\n              \"x\": 7455.660957173179,\n              \"y\": 9140.207354323424,\n              \"width\": 3666.7999564336874,\n              \"height\": 4938.115412118708,\n              \"rotation\": 2051.432278833525,\n              \"opacity\": 0.6733601233594497,\n              \"scale\": 8751.734832958415,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 5271.067894439292,\n                    \"value\": 9221.065741057593,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 2147.607221135607,\n                    \"value\": 2112.8066630042863,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"8JrSI\",\n                \"name\": \"string\",\n                \"width\": 8601311275455172,\n                \"height\": 3293853566212401,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2487959775906995\n                  }\n                ]\n              },\n              \"role\": \"subline\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 2492.4964177622523,\n              \"duration\": 2956.2067653877243,\n              \"x\": 667.9690272538852,\n              \"y\": 3059.3211264874053,\n              \"width\": 9838.086798912449,\n              \"height\": 3900.8845038642185,\n              \"rotation\": 9104.605403227317,\n              \"opacity\": 0.953924066248671,\n              \"scale\": 6064.183245692969,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 7240.76642807911,\n                    \"value\": 8617.695320828147,\n                    \"easing\": \"step\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 7769.374338631391,\n                    \"value\": 4552.979294998068,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 12,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 183,\n              \"style\": \"italic\",\n              \"file\": \"ev8hcg.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"r\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 272,\n              \"style\": \"italic\",\n              \"file\": \"knxwsevyn.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"C\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"eec7T37nzz\",\n                \"name\": \"string\",\n                \"width\": 7133662966320902,\n                \"height\": 7369107939555141,\n                \"mediaType\": \"image/svg+xml\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8818584358702872\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"person\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"7\",\n                \"name\": \"string\",\n                \"width\": 4831279725540529,\n                \"height\": 8825089119412283,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 5082690689873213\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"Fglyi\",\n            \"name\": \"string\",\n            \"width\": 8307221160907817,\n            \"height\": 4050616912117677,\n            \"mediaType\": \"image/png\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1716458211934892\n              }\n            ]\n          }\n        }\n      },\n      \"loadError\": \"string\"\n    },\n    {\n      \"url\": \"string\",\n      \"position\": 1648696544,\n      \"alt\": \"string\",\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 8525650843847145,\n        \"visibility\": \"kept\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3g.\",\n          \"name\": \"string\",\n          \"width\": 5937827986185781,\n          \"height\": 8278767707286463,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7863841409462662\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 5250.330205103346,\n          \"width\": 4812,\n          \"height\": 2210,\n          \"duration\": 1250.1779796092999,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"E\",\n                \"name\": \"string\",\n                \"width\": 5299483174327400,\n                \"height\": 6258757430957746,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2360874064360134\n                  }\n                ]\n              },\n              \"role\": \"logo\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 3727.322565134066,\n              \"duration\": 9625.188608534685,\n              \"x\": 6784.14291588623,\n              \"y\": 2738.0600217427655,\n              \"width\": 4236.854464995031,\n              \"height\": 3968.7220384123734,\n              \"rotation\": 7302.940899230457,\n              \"opacity\": 0.14140285398270425,\n              \"scale\": 2080.1649162591075,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 6813.269985866554,\n                    \"value\": 3658.232731444947,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 9108.468583605163,\n                    \"value\": 9259.783888002165,\n                    \"easing\": \"ease-in\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"L/SE4RwiCSL\",\n                \"name\": \"string\",\n                \"width\": 5360490478444453,\n                \"height\": 3472809760077889,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 1061850524430204\n                  }\n                ]\n              },\n              \"role\": \"area\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 6979.2941305617705,\n              \"duration\": 8666.762011054536,\n              \"x\": 996.7234842163753,\n              \"y\": 8817.229666699064,\n              \"width\": 8735.743218630401,\n              \"height\": 280.9403961217869,\n              \"rotation\": 9139.476404296198,\n              \"opacity\": 0.6655820308173503,\n              \"scale\": 6140.250543849897,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"person\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 1677.56634719171,\n                    \"value\": 9546.60874932582,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 7891.088326509441,\n                    \"value\": 9197.848101123915,\n                    \"easing\": \"step\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 7472.888336511213,\n                    \"value\": 9036.340444399017,\n                    \"easing\": \"ease-out\"\n                  }\n                ],\n                \"key_3\": [\n                  {\n                    \"time\": 8927.890514153349,\n                    \"value\": 5499.412724280227,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_4\": [\n                  {\n                    \"time\": 6834.531686030183,\n                    \"value\": 2605.978855937077,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 13,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 423,\n              \"style\": \"italic\",\n              \"file\": \"8za0hx5-x.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"owQAEa3k3\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 483,\n              \"style\": \"normal\",\n              \"file\": \"f20fr.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"4B_n.Df\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"st\",\n                \"key\": \"88-\",\n                \"name\": \"string\",\n                \"width\": 1857433451075823,\n                \"height\": 1715357543480981,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 7554644448170617\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"product\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"nNMhL\",\n                \"name\": \"string\",\n                \"width\": 5285167296126840,\n                \"height\": 4122356632350031,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8201066074899688\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"Qj\",\n            \"name\": \"string\",\n            \"width\": 4788821603913859,\n            \"height\": 4376729585126567,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 2926808736315751\n              }\n            ]\n          }\n        }\n      },\n      \"loadError\": \"string\"\n    }\n  ],\n  \"assets\": [\n    {\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 8984707490920838,\n        \"visibility\": \"library\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"AC/wSxu.v\",\n          \"name\": \"string\",\n          \"width\": 8086130927846126,\n          \"height\": 996161818145462,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6773110147820576\n            }\n          ]\n        },\n        \"editable\": false,\n        \"composition\": {\n          \"version\": 8317.652944675709,\n          \"width\": 1769,\n          \"height\": 3016,\n          \"duration\": 444.36888167189966,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"bhSdr-e\",\n                \"name\": \"string\",\n                \"width\": 5200498321174924,\n                \"height\": 8703851921059967,\n                \"mediaType\": \"image/png\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 7445825361818882\n                  }\n                ]\n              },\n              \"role\": \"pointer\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 4919.006580877922,\n              \"duration\": 1772.6834202257853,\n              \"x\": 9539.566872026173,\n              \"y\": 6456.226710618937,\n              \"width\": 4328.750698497908,\n              \"height\": 4257.854146101693,\n              \"rotation\": 3528.375474584975,\n              \"opacity\": 0.7866945731820546,\n              \"scale\": 8497.662508832458,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"person\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 2879.4860964489653,\n                    \"value\": 1561.5070150503407,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 3786.344674199842,\n                    \"value\": 6277.694463824659,\n                    \"easing\": \"linear\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 1939.125037576207,\n                    \"value\": 8617.839139013364,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"vLx-Uss\",\n                \"name\": \"string\",\n                \"width\": 4801975396998461,\n                \"height\": 3985148568492029,\n                \"mediaType\": \"image/png\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 4354927217445455\n                  }\n                ]\n              },\n              \"role\": \"background\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 5377.7415681678785,\n              \"duration\": 3337.276068544967,\n              \"x\": 3503.797871153347,\n              \"y\": 6873.482734154833,\n              \"width\": 5909.000703470594,\n              \"height\": 5855.009602986213,\n              \"rotation\": 3354.285794691563,\n              \"opacity\": 0.06964515778274238,\n              \"scale\": 8531.405549362493,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 899.7195703003302,\n                    \"value\": 9943.868642423713,\n                    \"easing\": \"ease-out\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"stri\",\n          \"fps\": 51,\n          \"loop\": false,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 687,\n              \"style\": \"normal\",\n              \"file\": \"58b3p9lz.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"oFTI9s\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 535,\n              \"style\": \"normal\",\n              \"file\": \"yp.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"IvEKqj\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"a.T\",\n                \"name\": \"string\",\n                \"width\": 5227313263304714,\n                \"height\": 1927789918218882,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 879476272549098\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"product\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"OB-4rbr-\",\n                \"name\": \"string\",\n                \"width\": 1774387322721443,\n                \"height\": 3474013106508124,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8486837868544948\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"J/nQ-\",\n            \"name\": \"string\",\n            \"width\": 3830318515895475,\n            \"height\": 5137865386341937,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 6932623237668733\n              }\n            ]\n          }\n        }\n      },\n      \"position\": 1430974652,\n      \"variant\": \"string\",\n      \"run\": {\n        \"runId\": \"9369ed57-ad7B-4f9e-bDac-F8dBeF894a5D\",\n        \"addonId\": \"string\"\n      }\n    },\n    {\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 383559624121035,\n        \"visibility\": \"job\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"nir1X\",\n          \"name\": \"string\",\n          \"width\": 8879185625660068,\n          \"height\": 3002245872822298,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8480700038469619\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 9203.507686628509,\n          \"width\": 8051,\n          \"height\": 7164,\n          \"duration\": 3122.0790903657503,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"s\",\n                \"name\": \"string\",\n                \"width\": 2268754901973549,\n                \"height\": 4385779031806180,\n                \"mediaType\": \"image/jpeg\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2152846834051532\n                  }\n                ]\n              },\n              \"role\": \"container\",\n              \"name\": \"st\",\n              \"hidden\": true,\n              \"start\": 818.7845308342656,\n              \"duration\": 7455.569546716601,\n              \"x\": 8273.261143598927,\n              \"y\": 7882.124278091291,\n              \"width\": 4285.858660347411,\n              \"height\": 5355.198299230604,\n              \"rotation\": 5422.054118776684,\n              \"opacity\": 0.4199721832128105,\n              \"scale\": 6704.364912493391,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 9118.441848855551,\n                    \"value\": 6522.140761365124,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 6532.630581747947,\n                    \"value\": 6954.774003413783,\n                    \"easing\": \"ease-out\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 2838.477623182505,\n                    \"value\": 2634.304137805256,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"h9p\",\n                \"name\": \"string\",\n                \"width\": 8457140273334538,\n                \"height\": 2333116448566337,\n                \"mediaType\": \"image/jpeg\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 5169780917609941\n                  }\n                ]\n              },\n              \"role\": \"background\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 5705.8147281095835,\n              \"duration\": 9506.374171470543,\n              \"x\": 5503.9032048956215,\n              \"y\": 3947.675721598394,\n              \"width\": 6557.318312532087,\n              \"height\": 9806.847957423613,\n              \"rotation\": 1746.6840565279717,\n              \"opacity\": 0.2188164832122742,\n              \"scale\": 8263.441034621372,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 5644.562494210112,\n                    \"value\": 8888.4239593041,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 55,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 547,\n              \"style\": \"normal\",\n              \"file\": \"y9za-2v.woff2\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"9K7AIv1\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 737,\n              \"style\": \"italic\",\n              \"file\": \"geacp0l.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"ccZXj2Bax\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"person\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"jEu_NV\",\n                \"name\": \"string\",\n                \"width\": 7592029541395090,\n                \"height\": 3542576341317452,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 4271131748697166\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"xDuPW8t4YS7\",\n                \"name\": \"string\",\n                \"width\": 1797005336549251,\n                \"height\": 6957502579135034,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8666908722070343\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"lRYMNp0M\",\n            \"name\": \"string\",\n            \"width\": 2978976357337630,\n            \"height\": 7507282161164365,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1930880209025513\n              }\n            ]\n          }\n        }\n      },\n      \"position\": 1967193898,\n      \"variant\": \"string\",\n      \"run\": {\n        \"runId\": \"00000000-0000-0000-0000-000000000000\",\n        \"addonId\": \"string\"\n      }\n    }\n  ],\n  \"brand\": \"string\",\n  \"mainImageUrl\": \"string\",\n  \"priceFrom\": \"53.967330\",\n  \"description\": \"string\",\n  \"productType\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"798a7702-c48e-46bd-a398-6864114780c5","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d0b961f-9285-4e87-a94c-fab2d7f4b418","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5638b8b-39cc-429f-82a7-79c796e35e53","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:read.\",\n  \"details\": {\n    \"permission\": \"products:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"55e3daae-56ef-4f10-b64e-ae5aadd60909","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Product not found\",\n  \"details\": {\n    \"resource\": \"Product\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2395284c-8263-4a5b-8ada-dcb068a137cb","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d24de054-99c1-4631-a6d9-77d59fa0c669","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"85a8c700-930f-42df-b494-e23ce45d1b7c","name":"Change a product made in Ghostpull","request":{"name":"Change a product made in Ghostpull","description":{"content":"Changes the fields sent and keeps the others. Options and variants are sent together and replace the product's; a variant keeps its ID, and the assets linked to it, when its `externalId` from `getProduct` is sent back. `sku` alone changes the SKU of a product without options. A shop's products change only with their imports.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"885cadcf-359f-451a-b6b8-7f0ae67b2cac","name":"The changed product","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"catalogId\": \"00000000-0000-0000-0000-000000000000\",\n  \"title\": \"string\",\n  \"status\": \"draft\",\n  \"imagesLoading\": false,\n  \"variantCount\": 6524416489172245,\n  \"currency\": \"ZBT\",\n  \"generatedImages\": 3896949868121980,\n  \"externalId\": \"string\",\n  \"categories\": [\n    \"string\",\n    \"string\"\n  ],\n  \"tags\": [\n    \"string\",\n    \"string\"\n  ],\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"attributes\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"optionValues\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"title\": \"string\",\n      \"sku\": \"string\",\n      \"barcode\": \"string\",\n      \"price\": \"4670444544795631329.37\",\n      \"compareAtPrice\": \"4451813557037268.534\",\n      \"attributes\": [\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"imagePositions\": [\n        226372675,\n        574277154\n      ]\n    },\n    {\n      \"externalId\": \"string\",\n      \"optionValues\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\",\n        \"key_3\": \"string\",\n        \"key_4\": \"string\"\n      },\n      \"title\": \"string\",\n      \"sku\": \"string\",\n      \"barcode\": \"string\",\n      \"price\": \"2740\",\n      \"compareAtPrice\": \"7470347.671\",\n      \"attributes\": [\n        {\n          \"name\": \"str\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"string\",\n          \"values\": [\n            \"string\",\n            \"string\"\n          ]\n        }\n      ],\n      \"imagePositions\": [\n        489188047,\n        559751661\n      ]\n    }\n  ],\n  \"images\": [\n    {\n      \"url\": \"string\",\n      \"position\": 172900009,\n      \"alt\": \"string\",\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 3909407427615262,\n        \"visibility\": \"job\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"RLlVmzc0/U\",\n          \"name\": \"string\",\n          \"width\": 90590164273349,\n          \"height\": 5087577728799830,\n          \"mediaType\": \"image/svg+xml\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2159312517262336\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 3792.1391313540544,\n          \"width\": 1811,\n          \"height\": 5911,\n          \"duration\": 2223.9142353990414,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"VVfXFX\",\n                \"name\": \"string\",\n                \"width\": 8916631283023124,\n                \"height\": 1131466122299764,\n                \"mediaType\": \"image/svg+xml\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 6271117000926835\n                  }\n                ]\n              },\n              \"role\": \"subline\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 6172.430282732402,\n              \"duration\": 1937.3782068143967,\n              \"x\": 7455.660957173179,\n              \"y\": 9140.207354323424,\n              \"width\": 3666.7999564336874,\n              \"height\": 4938.115412118708,\n              \"rotation\": 2051.432278833525,\n              \"opacity\": 0.6733601233594497,\n              \"scale\": 8751.734832958415,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 5271.067894439292,\n                    \"value\": 9221.065741057593,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 2147.607221135607,\n                    \"value\": 2112.8066630042863,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"8JrSI\",\n                \"name\": \"string\",\n                \"width\": 8601311275455172,\n                \"height\": 3293853566212401,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2487959775906995\n                  }\n                ]\n              },\n              \"role\": \"subline\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 2492.4964177622523,\n              \"duration\": 2956.2067653877243,\n              \"x\": 667.9690272538852,\n              \"y\": 3059.3211264874053,\n              \"width\": 9838.086798912449,\n              \"height\": 3900.8845038642185,\n              \"rotation\": 9104.605403227317,\n              \"opacity\": 0.953924066248671,\n              \"scale\": 6064.183245692969,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 7240.76642807911,\n                    \"value\": 8617.695320828147,\n                    \"easing\": \"step\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 7769.374338631391,\n                    \"value\": 4552.979294998068,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 12,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 183,\n              \"style\": \"italic\",\n              \"file\": \"ev8hcg.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"r\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 272,\n              \"style\": \"italic\",\n              \"file\": \"knxwsevyn.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"C\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"eec7T37nzz\",\n                \"name\": \"string\",\n                \"width\": 7133662966320902,\n                \"height\": 7369107939555141,\n                \"mediaType\": \"image/svg+xml\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8818584358702872\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"person\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"7\",\n                \"name\": \"string\",\n                \"width\": 4831279725540529,\n                \"height\": 8825089119412283,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 5082690689873213\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"Fglyi\",\n            \"name\": \"string\",\n            \"width\": 8307221160907817,\n            \"height\": 4050616912117677,\n            \"mediaType\": \"image/png\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1716458211934892\n              }\n            ]\n          }\n        }\n      },\n      \"loadError\": \"string\"\n    },\n    {\n      \"url\": \"string\",\n      \"position\": 1648696544,\n      \"alt\": \"string\",\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 8525650843847145,\n        \"visibility\": \"kept\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3g.\",\n          \"name\": \"string\",\n          \"width\": 5937827986185781,\n          \"height\": 8278767707286463,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7863841409462662\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 5250.330205103346,\n          \"width\": 4812,\n          \"height\": 2210,\n          \"duration\": 1250.1779796092999,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"E\",\n                \"name\": \"string\",\n                \"width\": 5299483174327400,\n                \"height\": 6258757430957746,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2360874064360134\n                  }\n                ]\n              },\n              \"role\": \"logo\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 3727.322565134066,\n              \"duration\": 9625.188608534685,\n              \"x\": 6784.14291588623,\n              \"y\": 2738.0600217427655,\n              \"width\": 4236.854464995031,\n              \"height\": 3968.7220384123734,\n              \"rotation\": 7302.940899230457,\n              \"opacity\": 0.14140285398270425,\n              \"scale\": 2080.1649162591075,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 6813.269985866554,\n                    \"value\": 3658.232731444947,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 9108.468583605163,\n                    \"value\": 9259.783888002165,\n                    \"easing\": \"ease-in\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"L/SE4RwiCSL\",\n                \"name\": \"string\",\n                \"width\": 5360490478444453,\n                \"height\": 3472809760077889,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 1061850524430204\n                  }\n                ]\n              },\n              \"role\": \"area\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 6979.2941305617705,\n              \"duration\": 8666.762011054536,\n              \"x\": 996.7234842163753,\n              \"y\": 8817.229666699064,\n              \"width\": 8735.743218630401,\n              \"height\": 280.9403961217869,\n              \"rotation\": 9139.476404296198,\n              \"opacity\": 0.6655820308173503,\n              \"scale\": 6140.250543849897,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"person\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 1677.56634719171,\n                    \"value\": 9546.60874932582,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 7891.088326509441,\n                    \"value\": 9197.848101123915,\n                    \"easing\": \"step\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 7472.888336511213,\n                    \"value\": 9036.340444399017,\n                    \"easing\": \"ease-out\"\n                  }\n                ],\n                \"key_3\": [\n                  {\n                    \"time\": 8927.890514153349,\n                    \"value\": 5499.412724280227,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_4\": [\n                  {\n                    \"time\": 6834.531686030183,\n                    \"value\": 2605.978855937077,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 13,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 423,\n              \"style\": \"italic\",\n              \"file\": \"8za0hx5-x.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"owQAEa3k3\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 483,\n              \"style\": \"normal\",\n              \"file\": \"f20fr.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"4B_n.Df\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"st\",\n                \"key\": \"88-\",\n                \"name\": \"string\",\n                \"width\": 1857433451075823,\n                \"height\": 1715357543480981,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 7554644448170617\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"product\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"nNMhL\",\n                \"name\": \"string\",\n                \"width\": 5285167296126840,\n                \"height\": 4122356632350031,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8201066074899688\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"Qj\",\n            \"name\": \"string\",\n            \"width\": 4788821603913859,\n            \"height\": 4376729585126567,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 2926808736315751\n              }\n            ]\n          }\n        }\n      },\n      \"loadError\": \"string\"\n    }\n  ],\n  \"assets\": [\n    {\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 8984707490920838,\n        \"visibility\": \"library\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"AC/wSxu.v\",\n          \"name\": \"string\",\n          \"width\": 8086130927846126,\n          \"height\": 996161818145462,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6773110147820576\n            }\n          ]\n        },\n        \"editable\": false,\n        \"composition\": {\n          \"version\": 8317.652944675709,\n          \"width\": 1769,\n          \"height\": 3016,\n          \"duration\": 444.36888167189966,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"bhSdr-e\",\n                \"name\": \"string\",\n                \"width\": 5200498321174924,\n                \"height\": 8703851921059967,\n                \"mediaType\": \"image/png\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 7445825361818882\n                  }\n                ]\n              },\n              \"role\": \"pointer\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 4919.006580877922,\n              \"duration\": 1772.6834202257853,\n              \"x\": 9539.566872026173,\n              \"y\": 6456.226710618937,\n              \"width\": 4328.750698497908,\n              \"height\": 4257.854146101693,\n              \"rotation\": 3528.375474584975,\n              \"opacity\": 0.7866945731820546,\n              \"scale\": 8497.662508832458,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"person\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 2879.4860964489653,\n                    \"value\": 1561.5070150503407,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 3786.344674199842,\n                    \"value\": 6277.694463824659,\n                    \"easing\": \"linear\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 1939.125037576207,\n                    \"value\": 8617.839139013364,\n                    \"easing\": \"linear\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"vLx-Uss\",\n                \"name\": \"string\",\n                \"width\": 4801975396998461,\n                \"height\": 3985148568492029,\n                \"mediaType\": \"image/png\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 4354927217445455\n                  }\n                ]\n              },\n              \"role\": \"background\",\n              \"name\": \"string\",\n              \"hidden\": true,\n              \"start\": 5377.7415681678785,\n              \"duration\": 3337.276068544967,\n              \"x\": 3503.797871153347,\n              \"y\": 6873.482734154833,\n              \"width\": 5909.000703470594,\n              \"height\": 5855.009602986213,\n              \"rotation\": 3354.285794691563,\n              \"opacity\": 0.06964515778274238,\n              \"scale\": 8531.405549362493,\n              \"fit\": \"cover\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 899.7195703003302,\n                    \"value\": 9943.868642423713,\n                    \"easing\": \"ease-out\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"stri\",\n          \"fps\": 51,\n          \"loop\": false,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 687,\n              \"style\": \"normal\",\n              \"file\": \"58b3p9lz.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"oFTI9s\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 535,\n              \"style\": \"normal\",\n              \"file\": \"yp.ttf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"IvEKqj\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"a.T\",\n                \"name\": \"string\",\n                \"width\": 5227313263304714,\n                \"height\": 1927789918218882,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 879476272549098\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"product\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"OB-4rbr-\",\n                \"name\": \"string\",\n                \"width\": 1774387322721443,\n                \"height\": 3474013106508124,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8486837868544948\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"J/nQ-\",\n            \"name\": \"string\",\n            \"width\": 3830318515895475,\n            \"height\": 5137865386341937,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 6932623237668733\n              }\n            ]\n          }\n        }\n      },\n      \"position\": 1430974652,\n      \"variant\": \"string\",\n      \"run\": {\n        \"runId\": \"9369ed57-ad7B-4f9e-bDac-F8dBeF894a5D\",\n        \"addonId\": \"string\"\n      }\n    },\n    {\n      \"asset\": {\n        \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n        \"version\": 383559624121035,\n        \"visibility\": \"job\",\n        \"asset\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"nir1X\",\n          \"name\": \"string\",\n          \"width\": 8879185625660068,\n          \"height\": 3002245872822298,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8480700038469619\n            }\n          ]\n        },\n        \"editable\": true,\n        \"composition\": {\n          \"version\": 9203.507686628509,\n          \"width\": 8051,\n          \"height\": 7164,\n          \"duration\": 3122.0790903657503,\n          \"layers\": [\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"s\",\n                \"name\": \"string\",\n                \"width\": 2268754901973549,\n                \"height\": 4385779031806180,\n                \"mediaType\": \"image/jpeg\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 2152846834051532\n                  }\n                ]\n              },\n              \"role\": \"container\",\n              \"name\": \"st\",\n              \"hidden\": true,\n              \"start\": 818.7845308342656,\n              \"duration\": 7455.569546716601,\n              \"x\": 8273.261143598927,\n              \"y\": 7882.124278091291,\n              \"width\": 4285.858660347411,\n              \"height\": 5355.198299230604,\n              \"rotation\": 5422.054118776684,\n              \"opacity\": 0.4199721832128105,\n              \"scale\": 6704.364912493391,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 9118.441848855551,\n                    \"value\": 6522.140761365124,\n                    \"easing\": \"ease-in\"\n                  }\n                ],\n                \"key_1\": [\n                  {\n                    \"time\": 6532.630581747947,\n                    \"value\": 6954.774003413783,\n                    \"easing\": \"ease-out\"\n                  }\n                ],\n                \"key_2\": [\n                  {\n                    \"time\": 2838.477623182505,\n                    \"value\": 2634.304137805256,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ]\n              }\n            },\n            {\n              \"id\": \"string\",\n              \"kind\": \"string\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"h9p\",\n                \"name\": \"string\",\n                \"width\": 8457140273334538,\n                \"height\": 2333116448566337,\n                \"mediaType\": \"image/jpeg\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 5169780917609941\n                  }\n                ]\n              },\n              \"role\": \"background\",\n              \"name\": \"string\",\n              \"hidden\": false,\n              \"start\": 5705.8147281095835,\n              \"duration\": 9506.374171470543,\n              \"x\": 5503.9032048956215,\n              \"y\": 3947.675721598394,\n              \"width\": 6557.318312532087,\n              \"height\": 9806.847957423613,\n              \"rotation\": 1746.6840565279717,\n              \"opacity\": 0.2188164832122742,\n              \"scale\": 8263.441034621372,\n              \"fit\": \"contain\",\n              \"cutoutOf\": \"product\",\n              \"animate\": {\n                \"key_0\": [\n                  {\n                    \"time\": 5644.562494210112,\n                    \"value\": 8888.4239593041,\n                    \"easing\": \"ease-in-out\"\n                  }\n                ]\n              }\n            }\n          ],\n          \"name\": \"string\",\n          \"fps\": 55,\n          \"loop\": true,\n          \"background\": \"string\",\n          \"fonts\": [\n            {\n              \"family\": \"string\",\n              \"weight\": 547,\n              \"style\": \"normal\",\n              \"file\": \"y9za-2v.woff2\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"9K7AIv1\",\n                \"mediaType\": \"font/ttf\",\n                \"url\": \"string\"\n              }\n            },\n            {\n              \"family\": \"string\",\n              \"weight\": 737,\n              \"style\": \"italic\",\n              \"file\": \"geacp0l.otf\",\n              \"asset\": {\n                \"type\": \"string\",\n                \"key\": \"ccZXj2Bax\",\n                \"mediaType\": \"font/otf\",\n                \"url\": \"string\"\n              }\n            }\n          ],\n          \"masks\": [\n            {\n              \"subject\": \"person\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"jEu_NV\",\n                \"name\": \"string\",\n                \"width\": 7592029541395090,\n                \"height\": 3542576341317452,\n                \"mediaType\": \"image/webp\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 4271131748697166\n                  }\n                ]\n              }\n            },\n            {\n              \"subject\": \"object\",\n              \"label\": \"string\",\n              \"src\": {\n                \"type\": \"string\",\n                \"url\": \"string\",\n                \"key\": \"xDuPW8t4YS7\",\n                \"name\": \"string\",\n                \"width\": 1797005336549251,\n                \"height\": 6957502579135034,\n                \"mediaType\": \"image/gif\",\n                \"srcSet\": [\n                  {\n                    \"url\": \"string\",\n                    \"width\": 8666908722070343\n                  }\n                ]\n              }\n            }\n          ],\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"lRYMNp0M\",\n            \"name\": \"string\",\n            \"width\": 2978976357337630,\n            \"height\": 7507282161164365,\n            \"mediaType\": \"image/svg+xml\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1930880209025513\n              }\n            ]\n          }\n        }\n      },\n      \"position\": 1967193898,\n      \"variant\": \"string\",\n      \"run\": {\n        \"runId\": \"00000000-0000-0000-0000-000000000000\",\n        \"addonId\": \"string\"\n      }\n    }\n  ],\n  \"brand\": \"string\",\n  \"mainImageUrl\": \"string\",\n  \"priceFrom\": \"53.967330\",\n  \"description\": \"string\",\n  \"productType\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e15ff51-6312-41a5-8eb4-87be04976103","name":"Invalid input: `commerce.sku_needs_variant`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.sku_needs_variant\",\n  \"error\": \"The product has options; give each variant its SKU.\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1c156aa-8d9d-426f-b6d8-27fd43d48f6d","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78dc6edf-684d-4cac-a475-84aa3b77127b","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0fff7fe4-977b-4f34-b0dc-87218b0d13c2","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Product not found\",\n  \"details\": {\n    \"resource\": \"Product\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5df7cec-fbec-467e-a97b-811f3b170bfc","name":"Conflict: `commerce.catalog_has_shop_system`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.catalog_has_shop_system\",\n  \"error\": \"The catalog's products come from its shop; make products in a catalog without a shop system.\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa2e51fd-550a-4122-9b14-2a4b6257ab09","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"870acf98-0cca-4508-83fc-238301432565","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"brand\": \"string\",\n  \"productType\": \"string\",\n  \"sku\": \"string\",\n  \"status\": \"active\",\n  \"options\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"string\",\n      \"price\": \"2126125308884.0684016\",\n      \"compareAtPrice\": \"81.222\",\n      \"optionValues\": {}\n    },\n    {\n      \"externalId\": \"string\",\n      \"sku\": \"s\",\n      \"price\": \"67289630622\",\n      \"compareAtPrice\": \"98074.117\",\n      \"optionValues\": {}\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c9868ac4-7877-434e-8a8f-0851f0596b59","name":"Delete a product","request":{"name":"Delete a product","description":{"content":"Deletes the product with its variants and images. A later import of its catalog brings it back if the file still has it.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"595ec561-9457-4584-bad6-c7876ea56679","name":"Deleted","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"4378c3cb-59ad-4a56-86cc-4969d3c78788","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dfd58c2c-57e1-41c3-ae40-804aa8ba7780","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"14ec907a-338f-439f-bb35-f0ea10b11406","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aee19f03-d77e-4f4e-afba-bdc3e8fbe1c3","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Product not found\",\n  \"details\": {\n    \"resource\": \"Product\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2347fe93-2c9c-4a21-9555-20d59d7c8a8c","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ab9cc195-8b1e-4220-ada4-1ddd3978a29c","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"66e1f2ad-8fb7-4aa2-9618-a248e76c55ad","name":"Link a library asset to a product or one of its variants","request":{"name":"Link a library asset to a product or one of its variants","description":{"content":"Links an image or video of the media library to the product, or with `variant` to one of its variants, after the links it has; a product links at most 250 assets. The asset stays in the library; a product shows its shop images and its linked assets.\n\n- **Before:** the asset is in the library (`listMediaAssets`, or uploaded with `startMediaUpload` and `completeMediaUpload`).\n- **Retries:** linking the same asset to the same product or variant again answers the existing link with 200.\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a317f8bb-3d5e-481f-b9c7-53db7989cfd5","name":"Already linked","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"asset\": {\n    \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n    \"version\": 5787925752166968,\n    \"visibility\": \"library\",\n    \"asset\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"ucQ/\",\n      \"name\": \"string\",\n      \"width\": 3740880696082014,\n      \"height\": 1019244489885951,\n      \"mediaType\": \"image/png\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 1867616047726786\n        }\n      ]\n    },\n    \"editable\": true,\n    \"composition\": {\n      \"version\": 2172.056345746838,\n      \"width\": 2783,\n      \"height\": 1607,\n      \"duration\": 3440.308949288469,\n      \"layers\": [\n        {\n          \"id\": \"string\",\n          \"kind\": \"string\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"QjU8\",\n            \"name\": \"string\",\n            \"width\": 6804434216836784,\n            \"height\": 1626173274434695,\n            \"mediaType\": \"image/webp\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 4026596589023096\n              }\n            ]\n          },\n          \"role\": \"container\",\n          \"name\": \"string\",\n          \"hidden\": false,\n          \"start\": 5117.349999787746,\n          \"duration\": 2553.57260763583,\n          \"x\": 6696.9139018073365,\n          \"y\": 5017.647273431152,\n          \"width\": 4968.573331876715,\n          \"height\": 4112.106629601221,\n          \"rotation\": 327.10063779278096,\n          \"opacity\": 0.6021025362794815,\n          \"scale\": 169.98094312599133,\n          \"fit\": \"cover\",\n          \"cutoutOf\": \"product\",\n          \"animate\": {\n            \"key_0\": [\n              {\n                \"time\": 2775.6298618536503,\n                \"value\": 5467.850727722006,\n                \"easing\": \"ease-in\"\n              }\n            ],\n            \"key_1\": [\n              {\n                \"time\": 4616.787229419493,\n                \"value\": 7069.329205044961,\n                \"easing\": \"ease-in\"\n              }\n            ]\n          }\n        },\n        {\n          \"id\": \"string\",\n          \"kind\": \"string\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"ZT.feQWh\",\n            \"name\": \"string\",\n            \"width\": 4635358716061559,\n            \"height\": 2918877740936402,\n            \"mediaType\": \"image/jpeg\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 8407713469456819\n              }\n            ]\n          },\n          \"role\": \"label\",\n          \"name\": \"string\",\n          \"hidden\": true,\n          \"start\": 5442.960880274172,\n          \"duration\": 7899.667408238624,\n          \"x\": 9356.044814127714,\n          \"y\": 4635.865673473759,\n          \"width\": 8499.866497240204,\n          \"height\": 3258.9511592363847,\n          \"rotation\": 3117.5011862738156,\n          \"opacity\": 0.35406259527652606,\n          \"scale\": 213.54369194897748,\n          \"fit\": \"contain\",\n          \"cutoutOf\": \"person\",\n          \"animate\": {\n            \"key_0\": [\n              {\n                \"time\": 403.31153066980875,\n                \"value\": 5524.252924149525,\n                \"easing\": \"linear\"\n              }\n            ]\n          }\n        }\n      ],\n      \"name\": \"string\",\n      \"fps\": 24,\n      \"loop\": true,\n      \"background\": \"string\",\n      \"fonts\": [\n        {\n          \"family\": \"string\",\n          \"weight\": 589,\n          \"style\": \"normal\",\n          \"file\": \"p43m2stctzm.woff2\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"key\": \"Zz4v7d709m\",\n            \"mediaType\": \"font/otf\",\n            \"url\": \"string\"\n          }\n        },\n        {\n          \"family\": \"string\",\n          \"weight\": 411,\n          \"style\": \"italic\",\n          \"file\": \"2mt.otf\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"key\": \"uROZgj4O5d\",\n            \"mediaType\": \"font/ttf\",\n            \"url\": \"string\"\n          }\n        }\n      ],\n      \"masks\": [\n        {\n          \"subject\": \"person\",\n          \"label\": \"string\",\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"hDx98Tq\",\n            \"name\": \"string\",\n            \"width\": 7631006253709612,\n            \"height\": 8562958234464001,\n            \"mediaType\": \"image/png\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 5288806488880108\n              }\n            ]\n          }\n        },\n        {\n          \"subject\": \"product\",\n          \"label\": \"string\",\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"st\",\n            \"key\": \"z\",\n            \"name\": \"string\",\n            \"width\": 5317283609264935,\n            \"height\": 7289207545509851,\n            \"mediaType\": \"image/gif\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1090237755368487\n              }\n            ]\n          }\n        }\n      ],\n      \"src\": {\n        \"type\": \"string\",\n        \"url\": \"string\",\n        \"key\": \"6IS\",\n        \"name\": \"string\",\n        \"width\": 4341573271841093,\n        \"height\": 1501008052501203,\n        \"mediaType\": \"image/svg+xml\",\n        \"srcSet\": [\n          {\n            \"url\": \"string\",\n            \"width\": 4523512092217854\n          }\n        ]\n      }\n    }\n  },\n  \"position\": 1212419447,\n  \"variant\": \"string\",\n  \"run\": {\n    \"runId\": \"00000000-0000-0000-0000-000000000000\",\n    \"addonId\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5a3c0d21-cbdc-458a-bf62-a09b816ff3ae","name":"Linked","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"asset\": {\n    \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n    \"version\": 5787925752166968,\n    \"visibility\": \"library\",\n    \"asset\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"ucQ/\",\n      \"name\": \"string\",\n      \"width\": 3740880696082014,\n      \"height\": 1019244489885951,\n      \"mediaType\": \"image/png\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 1867616047726786\n        }\n      ]\n    },\n    \"editable\": true,\n    \"composition\": {\n      \"version\": 2172.056345746838,\n      \"width\": 2783,\n      \"height\": 1607,\n      \"duration\": 3440.308949288469,\n      \"layers\": [\n        {\n          \"id\": \"string\",\n          \"kind\": \"string\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"QjU8\",\n            \"name\": \"string\",\n            \"width\": 6804434216836784,\n            \"height\": 1626173274434695,\n            \"mediaType\": \"image/webp\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 4026596589023096\n              }\n            ]\n          },\n          \"role\": \"container\",\n          \"name\": \"string\",\n          \"hidden\": false,\n          \"start\": 5117.349999787746,\n          \"duration\": 2553.57260763583,\n          \"x\": 6696.9139018073365,\n          \"y\": 5017.647273431152,\n          \"width\": 4968.573331876715,\n          \"height\": 4112.106629601221,\n          \"rotation\": 327.10063779278096,\n          \"opacity\": 0.6021025362794815,\n          \"scale\": 169.98094312599133,\n          \"fit\": \"cover\",\n          \"cutoutOf\": \"product\",\n          \"animate\": {\n            \"key_0\": [\n              {\n                \"time\": 2775.6298618536503,\n                \"value\": 5467.850727722006,\n                \"easing\": \"ease-in\"\n              }\n            ],\n            \"key_1\": [\n              {\n                \"time\": 4616.787229419493,\n                \"value\": 7069.329205044961,\n                \"easing\": \"ease-in\"\n              }\n            ]\n          }\n        },\n        {\n          \"id\": \"string\",\n          \"kind\": \"string\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"ZT.feQWh\",\n            \"name\": \"string\",\n            \"width\": 4635358716061559,\n            \"height\": 2918877740936402,\n            \"mediaType\": \"image/jpeg\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 8407713469456819\n              }\n            ]\n          },\n          \"role\": \"label\",\n          \"name\": \"string\",\n          \"hidden\": true,\n          \"start\": 5442.960880274172,\n          \"duration\": 7899.667408238624,\n          \"x\": 9356.044814127714,\n          \"y\": 4635.865673473759,\n          \"width\": 8499.866497240204,\n          \"height\": 3258.9511592363847,\n          \"rotation\": 3117.5011862738156,\n          \"opacity\": 0.35406259527652606,\n          \"scale\": 213.54369194897748,\n          \"fit\": \"contain\",\n          \"cutoutOf\": \"person\",\n          \"animate\": {\n            \"key_0\": [\n              {\n                \"time\": 403.31153066980875,\n                \"value\": 5524.252924149525,\n                \"easing\": \"linear\"\n              }\n            ]\n          }\n        }\n      ],\n      \"name\": \"string\",\n      \"fps\": 24,\n      \"loop\": true,\n      \"background\": \"string\",\n      \"fonts\": [\n        {\n          \"family\": \"string\",\n          \"weight\": 589,\n          \"style\": \"normal\",\n          \"file\": \"p43m2stctzm.woff2\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"key\": \"Zz4v7d709m\",\n            \"mediaType\": \"font/otf\",\n            \"url\": \"string\"\n          }\n        },\n        {\n          \"family\": \"string\",\n          \"weight\": 411,\n          \"style\": \"italic\",\n          \"file\": \"2mt.otf\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"key\": \"uROZgj4O5d\",\n            \"mediaType\": \"font/ttf\",\n            \"url\": \"string\"\n          }\n        }\n      ],\n      \"masks\": [\n        {\n          \"subject\": \"person\",\n          \"label\": \"string\",\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"hDx98Tq\",\n            \"name\": \"string\",\n            \"width\": 7631006253709612,\n            \"height\": 8562958234464001,\n            \"mediaType\": \"image/png\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 5288806488880108\n              }\n            ]\n          }\n        },\n        {\n          \"subject\": \"product\",\n          \"label\": \"string\",\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"st\",\n            \"key\": \"z\",\n            \"name\": \"string\",\n            \"width\": 5317283609264935,\n            \"height\": 7289207545509851,\n            \"mediaType\": \"image/gif\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1090237755368487\n              }\n            ]\n          }\n        }\n      ],\n      \"src\": {\n        \"type\": \"string\",\n        \"url\": \"string\",\n        \"key\": \"6IS\",\n        \"name\": \"string\",\n        \"width\": 4341573271841093,\n        \"height\": 1501008052501203,\n        \"mediaType\": \"image/svg+xml\",\n        \"srcSet\": [\n          {\n            \"url\": \"string\",\n            \"width\": 4523512092217854\n          }\n        ]\n      }\n    }\n  },\n  \"position\": 1212419447,\n  \"variant\": \"string\",\n  \"run\": {\n    \"runId\": \"00000000-0000-0000-0000-000000000000\",\n    \"addonId\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88ed4f8d-04e8-43b4-bc34-9ac433a8ec35","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c06b53a5-e65c-4508-9961-d210c7a01bc6","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cce611f3-1379-47e6-b37a-3532dfc9658b","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7dd06742-5993-47f2-be5d-94df87c7383b","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Product not found\",\n  \"details\": {\n    \"resource\": \"Product\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"313cf861-8a59-4605-ab11-f9f8d4c1dbef","name":"Conflict: `commerce.product_assets_full`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"commerce.product_assets_full\",\n  \"error\": \"A product links at most 250 assets.\",\n  \"details\": {\n    \"max\": 250\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa540a14-23f0-40c8-bb96-ed5701ad3e5e","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1522e654-82e9-4788-be12-3cccaddf0923","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"assetId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1ab76571-91f5-420a-957d-ce2b20d99bc5","name":"Move a linked asset within its product or variant","request":{"name":"Move a linked asset within its product or variant","description":{"content":"Moves the link to `position` among the product's links, or with `variant` among that variant's, and numbers the others after it; a position past the end makes it the last.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2765e364-dc1c-4f55-b8fe-4abcdd80ad00","name":"Moved","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"asset\": {\n    \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n    \"version\": 5787925752166968,\n    \"visibility\": \"library\",\n    \"asset\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"ucQ/\",\n      \"name\": \"string\",\n      \"width\": 3740880696082014,\n      \"height\": 1019244489885951,\n      \"mediaType\": \"image/png\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 1867616047726786\n        }\n      ]\n    },\n    \"editable\": true,\n    \"composition\": {\n      \"version\": 2172.056345746838,\n      \"width\": 2783,\n      \"height\": 1607,\n      \"duration\": 3440.308949288469,\n      \"layers\": [\n        {\n          \"id\": \"string\",\n          \"kind\": \"string\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"QjU8\",\n            \"name\": \"string\",\n            \"width\": 6804434216836784,\n            \"height\": 1626173274434695,\n            \"mediaType\": \"image/webp\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 4026596589023096\n              }\n            ]\n          },\n          \"role\": \"container\",\n          \"name\": \"string\",\n          \"hidden\": false,\n          \"start\": 5117.349999787746,\n          \"duration\": 2553.57260763583,\n          \"x\": 6696.9139018073365,\n          \"y\": 5017.647273431152,\n          \"width\": 4968.573331876715,\n          \"height\": 4112.106629601221,\n          \"rotation\": 327.10063779278096,\n          \"opacity\": 0.6021025362794815,\n          \"scale\": 169.98094312599133,\n          \"fit\": \"cover\",\n          \"cutoutOf\": \"product\",\n          \"animate\": {\n            \"key_0\": [\n              {\n                \"time\": 2775.6298618536503,\n                \"value\": 5467.850727722006,\n                \"easing\": \"ease-in\"\n              }\n            ],\n            \"key_1\": [\n              {\n                \"time\": 4616.787229419493,\n                \"value\": 7069.329205044961,\n                \"easing\": \"ease-in\"\n              }\n            ]\n          }\n        },\n        {\n          \"id\": \"string\",\n          \"kind\": \"string\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"ZT.feQWh\",\n            \"name\": \"string\",\n            \"width\": 4635358716061559,\n            \"height\": 2918877740936402,\n            \"mediaType\": \"image/jpeg\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 8407713469456819\n              }\n            ]\n          },\n          \"role\": \"label\",\n          \"name\": \"string\",\n          \"hidden\": true,\n          \"start\": 5442.960880274172,\n          \"duration\": 7899.667408238624,\n          \"x\": 9356.044814127714,\n          \"y\": 4635.865673473759,\n          \"width\": 8499.866497240204,\n          \"height\": 3258.9511592363847,\n          \"rotation\": 3117.5011862738156,\n          \"opacity\": 0.35406259527652606,\n          \"scale\": 213.54369194897748,\n          \"fit\": \"contain\",\n          \"cutoutOf\": \"person\",\n          \"animate\": {\n            \"key_0\": [\n              {\n                \"time\": 403.31153066980875,\n                \"value\": 5524.252924149525,\n                \"easing\": \"linear\"\n              }\n            ]\n          }\n        }\n      ],\n      \"name\": \"string\",\n      \"fps\": 24,\n      \"loop\": true,\n      \"background\": \"string\",\n      \"fonts\": [\n        {\n          \"family\": \"string\",\n          \"weight\": 589,\n          \"style\": \"normal\",\n          \"file\": \"p43m2stctzm.woff2\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"key\": \"Zz4v7d709m\",\n            \"mediaType\": \"font/otf\",\n            \"url\": \"string\"\n          }\n        },\n        {\n          \"family\": \"string\",\n          \"weight\": 411,\n          \"style\": \"italic\",\n          \"file\": \"2mt.otf\",\n          \"asset\": {\n            \"type\": \"string\",\n            \"key\": \"uROZgj4O5d\",\n            \"mediaType\": \"font/ttf\",\n            \"url\": \"string\"\n          }\n        }\n      ],\n      \"masks\": [\n        {\n          \"subject\": \"person\",\n          \"label\": \"string\",\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"string\",\n            \"key\": \"hDx98Tq\",\n            \"name\": \"string\",\n            \"width\": 7631006253709612,\n            \"height\": 8562958234464001,\n            \"mediaType\": \"image/png\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 5288806488880108\n              }\n            ]\n          }\n        },\n        {\n          \"subject\": \"product\",\n          \"label\": \"string\",\n          \"src\": {\n            \"type\": \"string\",\n            \"url\": \"st\",\n            \"key\": \"z\",\n            \"name\": \"string\",\n            \"width\": 5317283609264935,\n            \"height\": 7289207545509851,\n            \"mediaType\": \"image/gif\",\n            \"srcSet\": [\n              {\n                \"url\": \"string\",\n                \"width\": 1090237755368487\n              }\n            ]\n          }\n        }\n      ],\n      \"src\": {\n        \"type\": \"string\",\n        \"url\": \"string\",\n        \"key\": \"6IS\",\n        \"name\": \"string\",\n        \"width\": 4341573271841093,\n        \"height\": 1501008052501203,\n        \"mediaType\": \"image/svg+xml\",\n        \"srcSet\": [\n          {\n            \"url\": \"string\",\n            \"width\": 4523512092217854\n          }\n        ]\n      }\n    }\n  },\n  \"position\": 1212419447,\n  \"variant\": \"string\",\n  \"run\": {\n    \"runId\": \"00000000-0000-0000-0000-000000000000\",\n    \"addonId\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ac372cb-c6a0-4e3d-ac57-70d424bf185f","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f80748ba-f9ce-4117-b34a-970212b766c6","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e2e4d3c-fe7d-433b-b5df-ee15ca21a955","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"71154ec2-5c4e-4e5f-b16e-4d8fddcc4cf6","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Product not found\",\n  \"details\": {\n    \"resource\": \"Product\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"27e14734-1cc0-40cd-a757-868673321785","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6577cb23-aa55-4ad1-a85b-9b76dc1261a7","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"position\": 280458183,\n  \"variant\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"666f9eb1-3cf7-4145-8e3b-05f01f110141","name":"Unlink an asset from a product or one of its variants","request":{"name":"Unlink an asset from a product or one of its variants","description":{"content":"Removes the link between the product, or with `variant` one of its variants, and the asset. The asset itself stays in the media library.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `products:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"95fcbd90-35e1-496d-9098-60766de53c48","name":"Unlinked","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"d4a95f9e-8125-4083-a14d-162a2001b89a","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2bf662e-afd6-4d05-98e3-45ccd81adbdc","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d8831241-e9f4-4290-9a1e-c2d0df40b354","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:write.\",\n  \"details\": {\n    \"permission\": \"products:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"50545ce5-43e5-412b-874e-074343029da0","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Product not found\",\n  \"details\": {\n    \"resource\": \"Product\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"678015eb-64b4-47be-a4e0-509c7ae87463","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"96121a3e-26b1-4d5a-9c83-2baa3680f846","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","products",":productId","assets",":assetId"],"query":[{"disabled":false,"description":{"content":"The variant's externalId; left out, the asset belongs to the whole product","type":"text/plain"},"key":"variant","value":"HOOD-S"}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"productId"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/products/:productId/assets/:assetId?variant=HOOD-S"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c1658277-9686-4ec4-812c-fc71f2c102da","name":"List the products an asset is linked to","request":{"name":"List the products an asset is linked to","description":{"content":"Returns the products, newest first and at most 100, that the media library asset is linked to, directly or through one of their variants.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `products:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","assets",":assetId","products"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/commerce/assets/:assetId/products"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"76aeb50d-b65a-467b-b7fe-7ed5ec7f05b8","name":"The products","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","assets",":assetId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/assets/:assetId/products"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"products\": [\n    {\n      \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"catalogId\": \"00000000-0000-0000-0000-000000000000\",\n      \"title\": \"string\",\n      \"status\": \"active\",\n      \"imagesLoading\": true,\n      \"variantCount\": 597079686550629,\n      \"currency\": \"HUR\",\n      \"generatedImages\": 1666513344046918,\n      \"brand\": \"string\",\n      \"mainImageUrl\": \"string\",\n      \"priceFrom\": \"808267449\"\n    },\n    {\n      \"id\": \"8fBbFfBD-e130-6C3b-a3eC-BcEfb5bf3FbC\",\n      \"catalogId\": \"00000000-0000-0000-0000-000000000000\",\n      \"title\": \"string\",\n      \"status\": \"draft\",\n      \"imagesLoading\": true,\n      \"variantCount\": 8671265903011137,\n      \"currency\": \"GGS\",\n      \"generatedImages\": 5298578933340314,\n      \"brand\": \"string\",\n      \"mainImageUrl\": \"string\",\n      \"priceFrom\": \"78124.2895\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b909aa7c-dcbb-4493-a473-7e8c3dc8c5e8","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","assets",":assetId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/assets/:assetId/products"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"86bd3cf4-7def-404b-859b-cd90cf4e3e07","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","assets",":assetId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/assets/:assetId/products"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa9944d2-e95f-449b-8ee4-336cb6893841","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","assets",":assetId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/assets/:assetId/products"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission products:read.\",\n  \"details\": {\n    \"permission\": \"products:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"501e1c87-bf33-444d-9737-ef076a997f71","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","assets",":assetId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/assets/:assetId/products"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2e32267e-e589-4d54-babf-af9cf3f37a16","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","commerce","assets",":assetId","products"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"assetId"}],"raw":"{{baseUrl}}/api/v1/commerce/assets/:assetId/products"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"brands","description":"","item":[{"id":"ba15b438-ffcd-4f7a-9777-8ad6bfc26f28","name":"Analyze a shop's brand from its web address","request":{"name":"Analyze a shop's brand from its web address","description":{"content":"Reads a shop's homepage and drafts its brand: name, tagline, industry, colors, fonts, tone, a `look` for image prompts and a `voice` for copy. Answers 202 with the analysis, `reading` at first; its draft fills in as findings arrive, within about 20 seconds, and it ends `done` or `failed`. The address may be written in any form (`shop.com`, `https://www.shop.com/products/x`); a shop is told apart by its host, so analyzing it again drafts the same shop's brand again. Nothing becomes a brand until it is approved.\n\n- **Then:** `getBrandAnalysis` until its status is `done` or `failed`, then `approveBrandAnalysis`.\n- **Polling:** every second or two; an analysis never runs longer than a minute.\n- **Limits:** Each user or API key may call it 10 times an hour and 30 times a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands/analyses"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"25c5a166-1692-4939-94ac-69d068943a95","name":"The analysis, just started","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands/analyses"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"url\": \"string\",\n  \"shopId\": \"C4C1aC5c-51f4-76b8-92cb-9142CB06B96A\",\n  \"status\": \"done\",\n  \"failure\": \"unreachable\",\n  \"events\": [\n    {\n      \"key\": \"read\",\n      \"text\": \"string\",\n      \"at\": \"8800-02-29T21:11:30.5373285Z\"\n    },\n    {\n      \"key\": \"logo\",\n      \"text\": \"string\",\n      \"at\": \"8570-05-02T06:53:33.83786Z\"\n    }\n  ],\n  \"draft\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"kids-and-baby\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#ccea12\",\n      \"secondary\": \"#6de5d3\",\n      \"accent\": \"#95a968\",\n      \"background\": \"#85dfc6\",\n      \"text\": \"#56eeb5\",\n      \"extra\": [\n        \"#3e79d2\",\n        \"#44cc60\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"st\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"https://XTfOoe.ghbKHSo3\"\n      },\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"https://uvvsuUCnQxGkXyxnBsXJKHx.zquxIaaTkvOG-nVk8pgTDnN0GTdKY06zcrqAyRHUAz0Qe+9PCe6cqW\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"I8.X\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"poM\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": \"string\",\n  \"iconUrl\": null,\n  \"brandId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"createdAt\": \"6400-02-29T07:29:31.581116Z\",\n  \"endedAt\": \"4248-02-05T20:28:24.730Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d2b44dc-a7e3-4d58-9a2d-570d8908ee93","name":"Invalid input: `brands.invalid_url`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands/analyses"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"brands.invalid_url\",\n  \"error\": \"The address is not a web address of a shop.\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bdd545fd-aef0-4946-959f-b070fd7939ef","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands/analyses"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e30951b8-4aab-4d22-a3b2-5c82c2dcf52c","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands/analyses"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b4e7886-3c96-41c6-b50d-fe661b28c075","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands/analyses"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"faa79366-7c69-4a4d-833e-8459415dbc98","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands/analyses"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"url\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dd32a426-43fa-49c4-a1c6-497000b6eae1","name":"Read a brand analysis","request":{"name":"Read a brand analysis","description":{"content":"Returns an analysis: its `status` (`reading`, `analyzing`, `done` or `failed`), `failure` when it failed (`not_public`, `blocked`, `not_found`, `not_html` or `unreachable`: the homepage could not be read), `events` (what was found, in order) and `draft`, the brand as far as it is read (each part, such as `colors`, comes whole or not at all). `logoUrl` and `iconUrl` are short-lived links to show the draft's logo and icon once they are in (null before). `brandId` is set once it was approved.\n\n- **Before:** `startBrandAnalysis`.\n- **Then:** show the draft to the user, and `approveBrandAnalysis` once its status is `done` and the user agrees.\n- **Polling:** every second or two while `status` is `reading` or `analyzing`.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f6ff8515-4f3b-4539-9d1a-d9fdb1817e7a","name":"The analysis","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"url\": \"string\",\n  \"shopId\": \"C4C1aC5c-51f4-76b8-92cb-9142CB06B96A\",\n  \"status\": \"done\",\n  \"failure\": \"unreachable\",\n  \"events\": [\n    {\n      \"key\": \"read\",\n      \"text\": \"string\",\n      \"at\": \"8800-02-29T21:11:30.5373285Z\"\n    },\n    {\n      \"key\": \"logo\",\n      \"text\": \"string\",\n      \"at\": \"8570-05-02T06:53:33.83786Z\"\n    }\n  ],\n  \"draft\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"kids-and-baby\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#ccea12\",\n      \"secondary\": \"#6de5d3\",\n      \"accent\": \"#95a968\",\n      \"background\": \"#85dfc6\",\n      \"text\": \"#56eeb5\",\n      \"extra\": [\n        \"#3e79d2\",\n        \"#44cc60\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"st\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"https://XTfOoe.ghbKHSo3\"\n      },\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"https://uvvsuUCnQxGkXyxnBsXJKHx.zquxIaaTkvOG-nVk8pgTDnN0GTdKY06zcrqAyRHUAz0Qe+9PCe6cqW\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"I8.X\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"poM\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": \"string\",\n  \"iconUrl\": null,\n  \"brandId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"createdAt\": \"6400-02-29T07:29:31.581116Z\",\n  \"endedAt\": \"4248-02-05T20:28:24.730Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1712e35b-f44b-42ce-8538-058b0a627ad2","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"70694917-9d19-4df0-a4de-a327fd6641b0","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3dd32416-993b-4e9a-b745-48332350ca1c","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:read.\",\n  \"details\": {\n    \"permission\": \"brands:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea5866c7-dfdd-4c77-9f5f-5ca29295e734","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand analysis not found\",\n  \"details\": {\n    \"resource\": \"Brand analysis\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10999608-ba5a-42c4-b676-e7f5a93530e0","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6f42b05a-0edf-499e-96c8-cea668eed148","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"536996d4-63a7-4b43-a9aa-34963f2098a1","name":"Approve a brand analysis as the shop's brand","request":{"name":"Approve a brand analysis as the shop's brand","description":{"content":"Saves the brand of a `done` analysis and answers it. Without `profile` the analysis' draft becomes the brand; with `profile`, the whole brand profile as the user edited it, that does. A shop has one brand: if it has one, its fields are replaced and its `id` and default flag stay; otherwise a brand is created, which is the account's default if the account has none. `logo` and `icon` must be the account's own images or SVGs: the analysis' logo or icon, or one from the media library.\n\n- **Before:** `getBrandAnalysis` until the status is `done`; show the user the draft and approve only once they agree.\n- **Then:** `listBrands` shows the account's brands, the default first.\n- **Retries:** approving an analysis again stores the same profile again.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"189ed5ee-357c-4b2a-9a6e-88b80ecd41ae","name":"The brand","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"shopId\": \"90694CDf-aFb7-8bca-B7AE-fEBfa3b1605a\",\n  \"isDefault\": false,\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"art-and-stationery\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#b3dc28\",\n      \"secondary\": \"#840b1b\",\n      \"accent\": \"#b71395\",\n      \"background\": \"#a837ed\",\n      \"text\": \"#5fe212\",\n      \"extra\": [\n        \"#c6d003\",\n        \"#2ffcd2\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"youtube\",\n        \"handle\": \"string\",\n        \"url\": \"https://jvSOSWRCAycPKaXxCGiMs.tpgp0SWhwvkRI7XIL5YYO0tgJO1yb09\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://xFcUvv.gcjazxxhRYXW0jbKCtB7hlEPfwFPVFK\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"yt\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"Y0Hj\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": null,\n  \"iconUrl\": \"string\",\n  \"shopUrl\": \"http://GTKpVfsYZPkqO.ixKEbLf+w.oSJWhwMf8NZuk3q.GKxVUimKDLefa.eYsCZILN2jIh1dOIYU6uRY,V3Rvthtal\",\n  \"createdAt\": \"1107-05-31T16:20:22Z\",\n  \"updatedAt\": \"7072-02-15T15:28:31Z\",\n  \"fontFiles\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04c575a1-f5e1-44a0-806e-d46288a1001a","name":"Invalid input: `brands.invalid_image`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"brands.invalid_image\",\n  \"error\": \"The logo must be a ready image or SVG of this account.\",\n  \"details\": {\n    \"field\": \"logo\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"46f9dde5-8d6f-4c59-929c-7fe4d627527b","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff8aad65-ed15-47f6-91c9-ef95c4db4233","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"875d54f0-f50a-46af-b8f2-96252eef06a1","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand analysis not found\",\n  \"details\": {\n    \"resource\": \"Brand analysis\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f96f4b22-9c78-4bcc-ac72-b9f8bab77aa4","name":"Conflict: `brands.analysis_not_done`, `brands.changed_meanwhile`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"brands.analysis_not_done\",\n  \"error\": \"The analysis is reading; only a done analysis can be approved.\",\n  \"details\": {\n    \"status\": \"reading\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"05679f1f-ae92-4732-8262-15520038e90c","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e6fafa02-a4b1-457e-ae33-599d6aa4bf4e","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands","analyses",":analysisId","approve"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"analysisId"}],"raw":"{{baseUrl}}/api/v1/brands/analyses/:analysisId/approve"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"sports-and-outdoor\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#a0e23e\",\n      \"secondary\": \"#570fb7\",\n      \"accent\": \"#abd589\",\n      \"background\": \"#088bb5\",\n      \"text\": \"#4126ee\",\n      \"extra\": [\n        \"#eb6c4b\",\n        \"#260abc\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://lShXpCQsL.krE8TDguAO,qqfal0KzOELGrGXLwq\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://dlSniOgitBxQSUiAHXNjdcOSuGDa.jnoqoeiC.9p\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"phFPk\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"VNxzkh\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"13dba4bc-2f4c-453f-b060-e52b7e9c1172","name":"List the account's brands","request":{"name":"List the account's brands","description":{"content":"Returns the account's brands, the default first, then the oldest. A brand has an `id`, the `shopId` it was read from, `isDefault` and its `profile`: name, tagline, industry, colors, fonts, tone, `look` (for image prompts), `voice` (for copy), social links, and the logo and icon as media assets. To show them, `logoUrl` and `iconUrl` are links that stay valid for a short while (null when the brand has none or its file is gone), and `shopUrl` is the shop's address.\n\n- **Then:** `getBrand` for one brand.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e3973c14-ec3b-46ec-bc71-194f7670e9d0","name":"The brands","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"brands\": [\n    {\n      \"id\": \"00000000-0000-0000-0000-000000000000\",\n      \"shopId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"isDefault\": true,\n      \"profile\": {\n        \"name\": \"stri\",\n        \"tagline\": \"string\",\n        \"industry\": \"other\",\n        \"language\": \"string\",\n        \"colors\": {\n          \"primary\": \"#ff3ddc\",\n          \"secondary\": \"#b04c40\",\n          \"accent\": \"#89a4f1\",\n          \"background\": \"#407735\",\n          \"text\": \"#6fa54e\",\n          \"extra\": [\n            \"#4fead1\",\n            \"#59feb2\"\n          ]\n        },\n        \"fonts\": {\n          \"heading\": {\n            \"family\": \"string\",\n            \"fallback\": \"sans-serif\",\n            \"source\": \"shop\",\n            \"googleFamily\": \"string\"\n          },\n          \"body\": {\n            \"family\": \"string\",\n            \"fallback\": \"serif\",\n            \"source\": \"google\",\n            \"googleFamily\": \"string\"\n          }\n        },\n        \"tone\": {\n          \"summary\": \"string\",\n          \"keywords\": [\n            \"string\",\n            \"stri\"\n          ],\n          \"audience\": \"string\"\n        },\n        \"look\": \"string\",\n        \"voice\": \"string\",\n        \"social\": [\n          {\n            \"platform\": \"threads\",\n            \"handle\": \"string\",\n            \"url\": \"https://ihGjyEslTpxwgMAVgKOOJxKwiLI.uvwKbL.1Hl7yqrCZ+O2uyIhJT8zE.8RLJJbatrwJgd\"\n          },\n          {\n            \"platform\": \"x\",\n            \"handle\": \"string\",\n            \"url\": \"https://ykwLCwbKIbEtHsQRRBqKxqaSrnQldJm.ylyhofcDKIgQNAtHhj,VblAarOzG4iY1tGAyVwAuruH\"\n          }\n        ],\n        \"logo\": {\n          \"key\": \"ll5oOgvF\",\n          \"mediaType\": \"string\"\n        },\n        \"icon\": {\n          \"key\": \"fqQy8_jN\",\n          \"mediaType\": \"string\"\n        }\n      },\n      \"logoUrl\": null,\n      \"iconUrl\": \"string\",\n      \"shopUrl\": \"https://kNtPmJUMmAQpkthALzXIWezNfWbRnrT.nltcd+KU1w7DwmnoT3\",\n      \"createdAt\": \"7600-02-29T07:41:16.59Z\",\n      \"updatedAt\": \"1096-02-25T20:33:56Z\",\n      \"fontFiles\": {}\n    },\n    {\n      \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"shopId\": \"4cBFd66e-40d0-26c2-Acb3-7b7EeB28BC04\",\n      \"isDefault\": false,\n      \"profile\": {\n        \"name\": \"string\",\n        \"tagline\": \"string\",\n        \"industry\": \"skincare-and-beauty\",\n        \"language\": \"string\",\n        \"colors\": {\n          \"primary\": \"#de1d1d\",\n          \"secondary\": \"#a91cff\",\n          \"accent\": \"#7677ab\",\n          \"background\": \"#62a8c8\",\n          \"text\": \"#595e72\",\n          \"extra\": [\n            \"#d538ab\",\n            \"#708689\"\n          ]\n        },\n        \"fonts\": {\n          \"heading\": {\n            \"family\": \"string\",\n            \"fallback\": \"sans-serif\",\n            \"source\": \"google\",\n            \"googleFamily\": \"string\"\n          },\n          \"body\": {\n            \"family\": \"string\",\n            \"fallback\": \"serif\",\n            \"source\": \"shop\",\n            \"googleFamily\": \"string\"\n          }\n        },\n        \"tone\": {\n          \"summary\": \"string\",\n          \"keywords\": [\n            \"string\",\n            \"string\"\n          ],\n          \"audience\": \"string\"\n        },\n        \"look\": \"string\",\n        \"voice\": \"string\",\n        \"social\": [\n          {\n            \"platform\": \"threads\",\n            \"handle\": \"string\",\n            \"url\": \"https://Gpc.qstOu1gVxpfIeW2B,tMjsxgWCp5tMqQaD\"\n          },\n          {\n            \"platform\": \"bluesky\",\n            \"handle\": \"string\",\n            \"url\": \"http://JuEIsCXTRGVjYIdWQXIN.qkgxIA\"\n          }\n        ],\n        \"logo\": {\n          \"key\": \"z3P\",\n          \"mediaType\": \"string\"\n        },\n        \"icon\": {\n          \"key\": \"vMk\",\n          \"mediaType\": \"string\"\n        }\n      },\n      \"logoUrl\": \"string\",\n      \"iconUrl\": null,\n      \"shopUrl\": \"http://uyHaQtediVfFLFtgsbatQoapMprLzmvy.lgjspL8vBo61.UExaNzd\",\n      \"createdAt\": \"5600-02-29T15:51:38Z\",\n      \"updatedAt\": \"7238-02-28T18:25:47Z\",\n      \"fontFiles\": {}\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bfdd7087-aee2-4600-85f8-440fc161b13a","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b1f79161-3934-4eb0-9391-c1ca1a03d17b","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:read.\",\n  \"details\": {\n    \"permission\": \"brands:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4c62a4cd-6f6b-4c10-bd0a-9bf73fd4bf26","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b6e718cc-4992-4a2e-b91c-dea328b9a7d2","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/brands"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ef9e129c-a9d1-4651-9f89-22d25488edbc","name":"Read a brand","request":{"name":"Read a brand","description":{"content":"Returns one brand with its whole profile.\n\n- **Before:** `listBrands` for the brand's `id`.\n- **Then:** `updateBrand` sends the whole profile back, changed.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7b244e15-856f-4a03-bc9d-a90c062da9fb","name":"The brand","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"shopId\": \"90694CDf-aFb7-8bca-B7AE-fEBfa3b1605a\",\n  \"isDefault\": false,\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"art-and-stationery\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#b3dc28\",\n      \"secondary\": \"#840b1b\",\n      \"accent\": \"#b71395\",\n      \"background\": \"#a837ed\",\n      \"text\": \"#5fe212\",\n      \"extra\": [\n        \"#c6d003\",\n        \"#2ffcd2\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"youtube\",\n        \"handle\": \"string\",\n        \"url\": \"https://jvSOSWRCAycPKaXxCGiMs.tpgp0SWhwvkRI7XIL5YYO0tgJO1yb09\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://xFcUvv.gcjazxxhRYXW0jbKCtB7hlEPfwFPVFK\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"yt\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"Y0Hj\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": null,\n  \"iconUrl\": \"string\",\n  \"shopUrl\": \"http://GTKpVfsYZPkqO.ixKEbLf+w.oSJWhwMf8NZuk3q.GKxVUimKDLefa.eYsCZILN2jIh1dOIYU6uRY,V3Rvthtal\",\n  \"createdAt\": \"1107-05-31T16:20:22Z\",\n  \"updatedAt\": \"7072-02-15T15:28:31Z\",\n  \"fontFiles\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da899b48-ff70-4f8f-b977-06e4f2db889a","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9e3856c9-441f-401c-9f03-7d3f595e8c09","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b0d31393-a72b-46fd-840f-ff5c2bd2df8b","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:read.\",\n  \"details\": {\n    \"permission\": \"brands:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9bf6f8ca-ef03-405e-8b35-ae8d0f86606e","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand not found\",\n  \"details\": {\n    \"resource\": \"Brand\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"25fb4cd2-7423-428a-8871-92c72c3a9d0b","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"afd47643-cd92-4434-8f66-df185b64a7c1","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"69220800-c89b-435f-b619-5179cc12865f","name":"Edit a brand","request":{"name":"Edit a brand","description":{"content":"Replaces the brand's profile with the one sent and answers the brand; its `id`, shop and default flag stay. Send the whole profile, read with `getBrand` and changed: a `logo` or `icon` left out is removed. `logo` and `icon` must be the account's own images or SVGs: the analysis' logo or icon, or one from the media library.\n\n- **Before:** `getBrand`.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dc5f0419-49a4-4dad-a065-14d986716ece","name":"The changed brand","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"shopId\": \"90694CDf-aFb7-8bca-B7AE-fEBfa3b1605a\",\n  \"isDefault\": false,\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"art-and-stationery\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#b3dc28\",\n      \"secondary\": \"#840b1b\",\n      \"accent\": \"#b71395\",\n      \"background\": \"#a837ed\",\n      \"text\": \"#5fe212\",\n      \"extra\": [\n        \"#c6d003\",\n        \"#2ffcd2\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"youtube\",\n        \"handle\": \"string\",\n        \"url\": \"https://jvSOSWRCAycPKaXxCGiMs.tpgp0SWhwvkRI7XIL5YYO0tgJO1yb09\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://xFcUvv.gcjazxxhRYXW0jbKCtB7hlEPfwFPVFK\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"yt\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"Y0Hj\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": null,\n  \"iconUrl\": \"string\",\n  \"shopUrl\": \"http://GTKpVfsYZPkqO.ixKEbLf+w.oSJWhwMf8NZuk3q.GKxVUimKDLefa.eYsCZILN2jIh1dOIYU6uRY,V3Rvthtal\",\n  \"createdAt\": \"1107-05-31T16:20:22Z\",\n  \"updatedAt\": \"7072-02-15T15:28:31Z\",\n  \"fontFiles\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7f42db71-1c32-4ead-80f1-9c00deaeaa5c","name":"Invalid input: `brands.invalid_image`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"brands.invalid_image\",\n  \"error\": \"The logo must be a ready image or SVG of this account.\",\n  \"details\": {\n    \"field\": \"logo\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b7aed12-390d-4d61-bdfd-157cb10f433d","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9248d440-ea65-453d-9107-fb03114f6fa6","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a99c9156-d75c-4d02-b1e8-7a3a29e68f97","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand not found\",\n  \"details\": {\n    \"resource\": \"Brand\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ac7cf9d-394e-43a4-b578-c50bebd54310","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"54613ea2-0bd3-408b-acd4-0f2b3bf79db2","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"home-and-living\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#f823b5\",\n      \"secondary\": \"#55720c\",\n      \"accent\": \"#08e1c9\",\n      \"background\": \"#5f6dbe\",\n      \"text\": \"#46f170\",\n      \"extra\": [\n        \"#355b6f\",\n        \"#cec72c\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"strin\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"instagram\",\n        \"handle\": \"string\",\n        \"url\": \"http://ACpUJqCtGiZX.rxmsX5sIs1kQFXbGFA+U8gG22EbPtFM,5JpikpXPYNCGfdJ-yrIpz3+L1mfHPZ08MB7-eP\"\n      },\n      {\n        \"platform\": \"pinterest\",\n        \"handle\": \"string\",\n        \"url\": \"http://UcblaaMHBfuTcLlTxXIPDZPvbyeJoUHTU.unxNWCmVQFrCKbpv5HQdZfXtcclib22Y7JoDyHpKe\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"FmIKR9l\",\n      \"mediaType\": \"s\"\n    },\n    \"icon\": {\n      \"key\": \"BY3YZVI0G\",\n      \"mediaType\": \"string\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2186ae57-0d0e-419c-bfde-48cc2945efcd","name":"Delete a brand","request":{"name":"Delete a brand","description":{"content":"Deletes the brand and nothing else: its analyses stay, and a logo picked from the media library stays there. If it was the default, the account has no default brand until another is chosen with `setDefaultBrand`. Analyzing its shop again and approving the result makes a new brand.\n\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e7d2fa47-07a3-43b0-8ac1-275f6b6a8842","name":"Deleted","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"1393a91d-fc1f-43d8-9737-32859a9b89c4","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"91790387-7754-44b4-b452-e0a762e8cce1","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44cf7244-d222-42eb-bf7e-78bd4eb0984e","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8a9015b6-5cd7-4781-b405-52dfdf97faa1","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand not found\",\n  \"details\": {\n    \"resource\": \"Brand\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"12c2929f-a655-440f-ac39-98f718d37422","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"60547a4e-5b3d-49b7-81a8-9ab195467221","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7ff6b793-d8f1-44d2-9999-d73481d64d0e","name":"Make a brand the account's default","request":{"name":"Make a brand the account's default","description":{"content":"Makes the brand the account's default, the one runs use when they name no brand, and answers it. The brand that was the default stops being it.\n\n- **Retries:** making the default brand the default again changes nothing.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3d1cea84-842b-443d-b121-46bb253a7dba","name":"The default brand","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"shopId\": \"90694CDf-aFb7-8bca-B7AE-fEBfa3b1605a\",\n  \"isDefault\": false,\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"art-and-stationery\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#b3dc28\",\n      \"secondary\": \"#840b1b\",\n      \"accent\": \"#b71395\",\n      \"background\": \"#a837ed\",\n      \"text\": \"#5fe212\",\n      \"extra\": [\n        \"#c6d003\",\n        \"#2ffcd2\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"youtube\",\n        \"handle\": \"string\",\n        \"url\": \"https://jvSOSWRCAycPKaXxCGiMs.tpgp0SWhwvkRI7XIL5YYO0tgJO1yb09\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://xFcUvv.gcjazxxhRYXW0jbKCtB7hlEPfwFPVFK\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"yt\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"Y0Hj\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": null,\n  \"iconUrl\": \"string\",\n  \"shopUrl\": \"http://GTKpVfsYZPkqO.ixKEbLf+w.oSJWhwMf8NZuk3q.GKxVUimKDLefa.eYsCZILN2jIh1dOIYU6uRY,V3Rvthtal\",\n  \"createdAt\": \"1107-05-31T16:20:22Z\",\n  \"updatedAt\": \"7072-02-15T15:28:31Z\",\n  \"fontFiles\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff5178f8-3ea9-4070-ad58-cc33c5cf9e9f","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fcf80c67-d83c-4843-aa08-4b0678f6dada","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d701a3c-bb4a-4fb3-9e9a-ff194d1afb54","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7835181d-4d65-4502-b734-0b473046c74f","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand not found\",\n  \"details\": {\n    \"resource\": \"Brand\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9edef181-5aa5-4fdd-8339-f100efa2533f","name":"Conflict: `brands.changed_meanwhile`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"brands.changed_meanwhile\",\n  \"error\": \"The account's brands changed at the same moment; try again.\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5bb8ee67-320e-4ad4-9039-137e7ce728eb","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"45084492-4ce5-4f6d-beba-4c2bec44111a","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","default"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/default"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"59cdac00-a55d-494b-851f-faa08e32ad85","name":"Set a brand's heading or body font file","request":{"name":"Set a brand's heading or body font file","description":{"content":"Sets the font file the brand's ads are set in for one role, `heading` or `body`, in place of the one it had, and answers the brand with its `fontFiles`. `asset` is the `{ key, mediaType }` of a font the account uploaded: a TTF or OTF file, which must be uploaded first. A font the brand's profile names stays in the profile; this is the file itself. Editing the profile or approving a new analysis of the shop never changes the font files.\n\n- **Before:** upload the font with `startMediaUpload`, send the file's bytes and call `completeMediaUpload`; the answer's file is `asset`. The upload needs `licenceConfirmed: true`, which says the font's licence allows use in ads: an agent asks the user in the chat first and sets it only after an explicit yes. To use a Google font instead, call `importGoogleBrandFont`.\n- **Retries:** setting the same file again changes nothing.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"body","key":"role","disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"583e61ff-5466-496c-9447-a168eede08d1","name":"The brand with its font files","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"shopId\": \"90694CDf-aFb7-8bca-B7AE-fEBfa3b1605a\",\n  \"isDefault\": false,\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"art-and-stationery\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#b3dc28\",\n      \"secondary\": \"#840b1b\",\n      \"accent\": \"#b71395\",\n      \"background\": \"#a837ed\",\n      \"text\": \"#5fe212\",\n      \"extra\": [\n        \"#c6d003\",\n        \"#2ffcd2\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"youtube\",\n        \"handle\": \"string\",\n        \"url\": \"https://jvSOSWRCAycPKaXxCGiMs.tpgp0SWhwvkRI7XIL5YYO0tgJO1yb09\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://xFcUvv.gcjazxxhRYXW0jbKCtB7hlEPfwFPVFK\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"yt\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"Y0Hj\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": null,\n  \"iconUrl\": \"string\",\n  \"shopUrl\": \"http://GTKpVfsYZPkqO.ixKEbLf+w.oSJWhwMf8NZuk3q.GKxVUimKDLefa.eYsCZILN2jIh1dOIYU6uRY,V3Rvthtal\",\n  \"createdAt\": \"1107-05-31T16:20:22Z\",\n  \"updatedAt\": \"7072-02-15T15:28:31Z\",\n  \"fontFiles\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"87195aca-4c82-4f15-ada7-087f86dea326","name":"Invalid input: `brands.invalid_font`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"brands.invalid_font\",\n  \"error\": \"The font must be a TTF or OTF font file this account uploaded, ready to use.\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"36e05415-cf7a-4da2-b21e-bf8022e361dd","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"74ac0a15-c5b2-451e-8acf-ae9472e290b0","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1dc5980b-f4e4-4146-8a69-37d4086841c1","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand not found\",\n  \"details\": {\n    \"resource\": \"Brand\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"37a55a26-77cf-4566-adf7-964d31f9183a","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7f3b7104-934d-4a0d-8586-cc167f2b8679","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"asset\": {\n    \"key\": \"Y\",\n    \"mediaType\": \"string\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f0511835-9ce5-4cf9-a5eb-d586fe47f32a","name":"Remove a brand's heading or body font file","request":{"name":"Remove a brand's heading or body font file","description":{"content":"Clears the brand's font file of one role, `heading` or `body`, and answers the brand with its `fontFiles`. The brand's ads are set in the shipped font again; the uploaded file stays in the account's storage, out of the library. A role without a font file changes nothing.\n\n- **Retries:** removing it again changes nothing.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"body","key":"role","disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"926d1fe3-6f6e-4ce8-8281-a8196f098649","name":"The brand without that font file","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"shopId\": \"90694CDf-aFb7-8bca-B7AE-fEBfa3b1605a\",\n  \"isDefault\": false,\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"art-and-stationery\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#b3dc28\",\n      \"secondary\": \"#840b1b\",\n      \"accent\": \"#b71395\",\n      \"background\": \"#a837ed\",\n      \"text\": \"#5fe212\",\n      \"extra\": [\n        \"#c6d003\",\n        \"#2ffcd2\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"youtube\",\n        \"handle\": \"string\",\n        \"url\": \"https://jvSOSWRCAycPKaXxCGiMs.tpgp0SWhwvkRI7XIL5YYO0tgJO1yb09\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://xFcUvv.gcjazxxhRYXW0jbKCtB7hlEPfwFPVFK\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"yt\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"Y0Hj\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": null,\n  \"iconUrl\": \"string\",\n  \"shopUrl\": \"http://GTKpVfsYZPkqO.ixKEbLf+w.oSJWhwMf8NZuk3q.GKxVUimKDLefa.eYsCZILN2jIh1dOIYU6uRY,V3Rvthtal\",\n  \"createdAt\": \"1107-05-31T16:20:22Z\",\n  \"updatedAt\": \"7072-02-15T15:28:31Z\",\n  \"fontFiles\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5dfecc0-d6b4-4e45-95a1-f369421a175b","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9ab915a4-f6c7-4a4b-ae94-331bddb38113","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"689e307d-56da-404b-8868-ffe36a36ca9d","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ccbf764-bdfb-43cb-8135-fedbb777205b","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand not found\",\n  \"details\": {\n    \"resource\": \"Brand\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1ba7f965-250f-4895-a90c-b518dd9c4407","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"351ffd89-3268-4ae9-afa0-251bbb119609","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a7b3679f-4293-4fe2-a777-cb11cc5a008c","name":"Use a Google font as a brand's heading or body font file","request":{"name":"Use a Google font as a brand's heading or body font file","description":{"content":"Imports the Google Fonts file of the brand's font for one role, `heading` or `body`, and sets it as the role's font file in place of the one it had; answers the brand with its `fontFiles`. The family is the one in the brand's profile for that role when its source is `google`, else the nearest Google family the analysis found (`googleFamily`); a brand font with neither answers 409, and so does a family Google Fonts does not serve. The file is its TTF at the weight ads use for the role (900 for the heading, 700 for the body), or the nearest weight the family has. Google's families are under open licences that allow use in ads: no licence confirmation is needed. When Google Fonts cannot be reached the answer is 503 and nothing changes; try again later.\n\n- **Retries:** importing again replaces the file with the same one.\n- **Limits:** Each user or API key may call it 10 times a minute and 100 times a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n- **Credits:** none.\n\nNeeds an API key with the permission `brands:write`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"body","key":"role","disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a063959d-cf44-4034-86c5-82dd8c41930e","name":"The brand with its font files","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"00000000-0000-0000-0000-000000000000\",\n  \"shopId\": \"90694CDf-aFb7-8bca-B7AE-fEBfa3b1605a\",\n  \"isDefault\": false,\n  \"profile\": {\n    \"name\": \"string\",\n    \"tagline\": \"string\",\n    \"industry\": \"art-and-stationery\",\n    \"language\": \"string\",\n    \"colors\": {\n      \"primary\": \"#b3dc28\",\n      \"secondary\": \"#840b1b\",\n      \"accent\": \"#b71395\",\n      \"background\": \"#a837ed\",\n      \"text\": \"#5fe212\",\n      \"extra\": [\n        \"#c6d003\",\n        \"#2ffcd2\"\n      ]\n    },\n    \"fonts\": {\n      \"heading\": {\n        \"family\": \"string\",\n        \"fallback\": \"serif\",\n        \"source\": \"shop\",\n        \"googleFamily\": \"string\"\n      },\n      \"body\": {\n        \"family\": \"string\",\n        \"fallback\": \"sans-serif\",\n        \"source\": \"google\",\n        \"googleFamily\": \"string\"\n      }\n    },\n    \"tone\": {\n      \"summary\": \"string\",\n      \"keywords\": [\n        \"string\",\n        \"string\"\n      ],\n      \"audience\": \"string\"\n    },\n    \"look\": \"string\",\n    \"voice\": \"string\",\n    \"social\": [\n      {\n        \"platform\": \"youtube\",\n        \"handle\": \"string\",\n        \"url\": \"https://jvSOSWRCAycPKaXxCGiMs.tpgp0SWhwvkRI7XIL5YYO0tgJO1yb09\"\n      },\n      {\n        \"platform\": \"threads\",\n        \"handle\": \"string\",\n        \"url\": \"https://xFcUvv.gcjazxxhRYXW0jbKCtB7hlEPfwFPVFK\"\n      }\n    ],\n    \"logo\": {\n      \"key\": \"yt\",\n      \"mediaType\": \"string\"\n    },\n    \"icon\": {\n      \"key\": \"Y0Hj\",\n      \"mediaType\": \"string\"\n    }\n  },\n  \"logoUrl\": null,\n  \"iconUrl\": \"string\",\n  \"shopUrl\": \"http://GTKpVfsYZPkqO.ixKEbLf+w.oSJWhwMf8NZuk3q.GKxVUimKDLefa.eYsCZILN2jIh1dOIYU6uRY,V3Rvthtal\",\n  \"createdAt\": \"1107-05-31T16:20:22Z\",\n  \"updatedAt\": \"7072-02-15T15:28:31Z\",\n  \"fontFiles\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d6328501-6b28-487e-a9db-38f1b4e0f004","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"275f2e57-b3ad-4843-85fd-4f3b39106278","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"31b7d893-c01d-41cd-ad1c-1635e6b4c623","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission brands:write.\",\n  \"details\": {\n    \"permission\": \"brands:write\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28ec0ce5-c111-4b16-b5a1-d8442f9a91b8","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Brand not found\",\n  \"details\": {\n    \"resource\": \"Brand\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"97a48326-febb-4631-8251-efe8aaed73f8","name":"Conflict: `brands.no_google_font`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"brands.no_google_font\",\n  \"error\": \"The brand's body font has no Google Fonts family to import a font file from.\",\n  \"details\": {\n    \"role\": \"body\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b24016a2-fb30-411e-b3e1-9d4fa2f3d568","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4aba9f60-1110-418c-a156-3318cf681790","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","brands",":brandId","fonts",":role","google"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"brandId"},{"disabled":false,"description":{"content":"(Required)  (This can only be one of heading,body)","type":"text/plain"},"type":"any","value":"body","key":"role"}],"raw":"{{baseUrl}}/api/v1/brands/:brandId/fonts/:role/google"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"orchestrator","description":"","item":[{"id":"cdfcb528-30b0-4037-b9e6-6ae8f550ca96","name":"Run an Addon's Workflow","request":{"name":"Run an Addon's Workflow","description":{"content":"Starts the Addon's Workflow for the current account and answers at once; poll getOrchestratorRun until its status is no longer RUNNING. `inputs` are keyed by the Addon's input IDs and depend on the Addon; they are not described per Addon here. An input left out takes the value the account saved for the Addon (getAddonSettings), otherwise the Addon's default; an input given, null included, wins. An image or video input is the AssetRef of a ready asset the account stored (startMediaUpload) or a public https or data: URL. A `brand` input takes a brand's ID from listBrands, or `null` for no brand, never a brand's snapshot (400); left out, it takes the brand the account saved for the Addon, otherwise the account's default brand. An unknown brand ID answers 404 `not_found` and nothing starts. A `product` input takes `{ productId, variant?, image? }` from listProducts and getProduct (`variant` a variant's externalId, `image` a shop image's position), or `null`, never a product's snapshot (400); leave the photo input it fills out to start from the product's shop image at `image`, else the variant's first image, else the main image. An unknown product or variant answers 404 `not_found`; a shop image not loaded yet, failed or missing answers 409 `orchestrator.product_image_not_ready` with `details.position` and `details.state`, and nothing starts. When the run succeeds, its image and video outputs are linked to the product (or the variant) in getProduct. `maxCredits` is the most the run may cost: a higher price (computed from the Addon's `pricing` in listAddons and the inputs the run starts with, saved settings included) answers 409 `orchestrator.price_above_max_credits` with the price in `details.priceCredits` before anything starts. The run reserves its price before it starts and pays it only when it succeeds; an account without enough credits gets 409 `billing.insufficient_credits` with `details.required` and `details.available`, and nothing starts. An input the price depends on without a value the Addon prices answers 400 `orchestrator.input_not_priced`. `idempotencyKey` names one intended run: the same key within an hour answers the run it started (202, nothing starts again); with other `addonId`, `inputs` or `maxCredits` it answers 409 `orchestrator.idempotency_key_reused`, and while its first start is still on its way 409 `orchestrator.run_start_in_progress` with `details.retryAfterSeconds`. A start that ended without a run frees its key. An agent's or an account key's start needs both `maxCredits` and `idempotencyKey` (else 400). An account key's run uses each Addon's production version. A run counts as one item. Each user or API key may call it 10 times a minute and 200 items a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n\nNeeds an API key with the permission `runs:create`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"20ab5d05-8a67-4bfc-b4c7-efc298e5ac2c","name":"The run has started","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"addonId\": \"qo4-chqxxz-t0isic3qfo7-q-uziq7g-\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ae0a1006-eecc-4055-a457-f2d1b6acb8f4","name":"Invalid input: `orchestrator.input_not_priced`, `orchestrator.input_too_large`, `media.asset_not_ready`, `media.asset_ref_mismatch`, `media.unsupported_media_type`, `media.asset_type_mismatch`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.input_not_priced\",\n  \"error\": \"The input size has no value this Addon has a price for\",\n  \"details\": {\n    \"inputId\": \"size\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"063b5cf8-6b2c-4a9f-bc8a-3032d33ce102","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9303b556-031c-4f00-a7ee-e85552ac2884","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:create.\",\n  \"details\": {\n    \"permission\": \"runs:create\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28a4b1ab-9aad-4178-acdb-ee8a157dd952","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Addon not found\",\n  \"details\": {\n    \"resource\": \"Addon\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b7aebc18-8ef1-425b-aca9-56088e2c63d3","name":"Conflict: `orchestrator.price_above_max_credits`, `billing.insufficient_credits`, `orchestrator.idempotency_key_reused`, `orchestrator.run_start_in_progress`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.price_above_max_credits\",\n  \"error\": \"This run costs 12 credits, more than the 10 allowed\",\n  \"details\": {\n    \"priceCredits\": 12,\n    \"maxCredits\": 10\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04032df0-519d-4fe0-854d-a214094776d2","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24c67c32-beff-4c55-bfae-811aff2fd8af","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"maxCredits\": 4278250139064616,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2257c205-b606-40c9-90fe-4f6f3aa360db","name":"Make a finished run again with a note","request":{"name":"Make a finished run again with a note","description":{"content":"Starts a finished run again as a new run, with the inputs it started with and a note of what to fix, and answers at once with the new run.\n\n- **Before:** only a SUCCEEDED run of an Addon whose form has `ui.redo` (listAddons), whose files are still there, can be redone; a batch's item is redone with redoOrchestratorBatch. `choices` are keys of the Addon's `ui.redo.choices`, `text` at most 300 characters in the user's words.\n- **Then:** follow the new run with getOrchestratorRun; its `redoOf` names the earlier run, which stays as it is.\n- **Credits:** the new run pays the Addon's price like any start, within `maxCredits`, and only when it succeeds.\n- **Retries:** `idempotencyKey` names one intended redo: the same key for the same run answers the run it started (202, nothing starts again), even with other `choices`, `text` or `maxCredits` and after the earlier run's files were deleted; for another run it is refused. An agent's or an API key's redo needs both `maxCredits` and `idempotencyKey`.\n- **API keys:** a key's redo runs each Addon's production version.\n- **Limits:** a redo counts as one start. Each user or API key may call it 10 times a minute and 200 items a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n\nNeeds an API key with the permission `runs:create`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId","disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"}},{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId","disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"96dd91b1-ed4b-4c79-8426-a7da14093ae8","name":"The new run has started","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"addonId\": \"qo4-chqxxz-t0isic3qfo7-q-uziq7g-\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0538b71c-295d-48bf-a8cb-71fdc47e3615","name":"Invalid input: `orchestrator.redo_choice_unknown`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.redo_choice_unknown\",\n  \"error\": \"This Addon offers no redo choice \\\"brighter\\\"\",\n  \"details\": {\n    \"choice\": \"brighter\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"31cd9c72-6087-4b4c-b621-8b078c13526b","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cbc557c5-89c4-457d-93b3-291c073e8f01","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:create.\",\n  \"details\": {\n    \"permission\": \"runs:create\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a557ba27-db32-4c1f-9b13-3010afc07839","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Run not found\",\n  \"details\": {\n    \"resource\": \"Run\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"33f87b8c-78e5-4c70-b636-9186f6d9ac6a","name":"Conflict: `orchestrator.run_not_redoable`, `orchestrator.price_above_max_credits`, `billing.insufficient_credits`, `orchestrator.idempotency_key_reused`, `orchestrator.run_start_in_progress`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.run_not_redoable\",\n  \"error\": \"A file this run started with was deleted\",\n  \"details\": {\n    \"reason\": \"input_gone\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"763e9b2a-a869-42a1-a747-a08b9bdc3071","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5dd0f2ef-cb83-40fa-a46e-7d51caca37ea","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"choices\": [\n    \"wFMTnCrH\",\n    \"jR93T\"\n  ],\n  \"text\": \"string\",\n  \"maxCredits\": 8345689122749174,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"df8cf808-12d8-4185-a3af-ae6d1ef49f13","name":"List your runs","request":{"name":"List your runs","description":{"content":"Returns the account's runs, newest first, `limit` at a time (default 50, at most 100); pass `nextCursor` as `cursor` for the next page. `addonId` lists only that Addon's runs. A run a batch's item started names its `batchId`; `inBatch=false` leaves those out, as the web app's Addon page does next to listOrchestratorBatches, `inBatch=true` lists only them. A run's status is as last recorded; one that ended with an error names it and carries a `message` to tell the user. Call getOrchestratorRun with its addonId and runId for a run's live state and outputs.\n\nNeeds an API key with the permission `runs:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs","history"],"query":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Only runs of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"false: only runs started on their own, as the Addon page lists them next to its batches; true: only runs that items of batches started. Leave it out for both.","type":"text/plain"},"key":"inBatch","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/history?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&inBatch=string"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2cad6833-f827-452e-9ebe-d9e81e29d297","name":"The runs","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs","history"],"query":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Only runs of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"false: only runs started on their own, as the Addon page lists them next to its batches; true: only runs that items of batches started. Leave it out for both.","type":"text/plain"},"key":"inBatch","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/history?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&inBatch=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"runs\": [\n    {\n      \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"addonId\": \"hx2htlj00yc-qupq9cjb3d-ebz52q6-u\",\n      \"status\": \"string\",\n      \"startedAt\": \"8800-02-29T13:24:03Z\",\n      \"stoppedAt\": \"4470-10-14T20:25:37.9720Z\",\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"batchId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n    },\n    {\n      \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"addonId\": \"el-rlm-guae0ns-pcvr6\",\n      \"status\": \"string\",\n      \"startedAt\": \"7104-02-29T10:47:09Z\",\n      \"stoppedAt\": \"9608-02-29T09:23:09.431147Z\",\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"batchId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n    }\n  ],\n  \"nextCursor\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b3a57c7c-da00-46bb-9318-98bf5b9f7bea","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs","history"],"query":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Only runs of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"false: only runs started on their own, as the Addon page lists them next to its batches; true: only runs that items of batches started. Leave it out for both.","type":"text/plain"},"key":"inBatch","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/history?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&inBatch=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4684eec1-9efe-4f87-85e9-aa444a04b343","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs","history"],"query":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Only runs of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"false: only runs started on their own, as the Addon page lists them next to its batches; true: only runs that items of batches started. Leave it out for both.","type":"text/plain"},"key":"inBatch","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/history?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&inBatch=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3fff7725-2b4d-42da-8122-319fd3ab8fbe","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs","history"],"query":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Only runs of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"false: only runs started on their own, as the Addon page lists them next to its batches; true: only runs that items of batches started. Leave it out for both.","type":"text/plain"},"key":"inBatch","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/history?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&inBatch=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:read.\",\n  \"details\": {\n    \"permission\": \"runs:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ce45afdc-ce7b-4ba4-9f54-dfe3829173a4","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs","history"],"query":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Only runs of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"false: only runs started on their own, as the Addon page lists them next to its batches; true: only runs that items of batches started. Leave it out for both.","type":"text/plain"},"key":"inBatch","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/history?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&inBatch=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a71c43af-166a-4ff8-9176-f97e160a9010","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs","history"],"query":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},{"disabled":false,"description":{"content":"Only runs of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"false: only runs started on their own, as the Addon page lists them next to its batches; true: only runs that items of batches started. Leave it out for both.","type":"text/plain"},"key":"inBatch","value":"string"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/history?limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA&addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&inBatch=string"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"058ade50-1a94-4045-8a5f-74d15419784b","name":"Get a run's status and outputs","request":{"name":"Get a run's status and outputs","description":{"content":"Reads a run started in the web app or a connected AI assistant: its status, original inputs and, once it succeeded, its outputs.\n\n- **IDs:** the run page's URL has them as its `id` and `run` query parameters.\n- **Polling:** pass `wait` (seconds, at most 15) and call again until `status` is no longer `RUNNING`; the call answers early when the run ends.\n- **Results:** `SUCCEEDED` has the final outputs. `FAILED`, `TIMED_OUT` and `ABORTED` end the run too, with `error` and, when available, a `message` safe to show.\n- **Progress:** while `RUNNING`, `steps` may carry progress, finished steps' outputs and labelled previews; an ended run has no `steps`.\n- **File URLs:** stored inputs and outputs may carry signed URLs that expire. Keep file keys or asset IDs and call again for fresh links.\n- **Credits:** none.\n\nNeeds an API key with the permission `runs:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId","disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"}},{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId","disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"da3a88bb-1cf6-41bb-adc4-aeec81a8df9e","name":"The run","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"addonId\": \"fgfqb7o-0ktgmpp-wx8ly9pln7-szcej\",\n  \"status\": \"string\",\n  \"startedAt\": \"9756-12-31T20:51:34Z\",\n  \"stoppedAt\": \"6000-02-29T20:23:04Z\",\n  \"inputs\": {\n    \"key_0\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"vfIhddV\",\n      \"name\": \"string\",\n      \"width\": 1658814849089192,\n      \"height\": 5101966876056559,\n      \"mediaType\": \"image/svg+xml\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 990059596093268\n        }\n      ]\n    }\n  },\n  \"redoOf\": \"2dDAf741-cF2A-25Ab-999A-331ae63d1ABB\",\n  \"outputs\": {\n    \"key_0\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"xdD\",\n      \"name\": \"string\",\n      \"width\": 529287264960355,\n      \"height\": 5737162567500681,\n      \"mediaType\": \"image/webp\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 2364903498607746\n        }\n      ]\n    },\n    \"key_1\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"JMy4LwnM4\",\n      \"name\": \"string\",\n      \"width\": 538701124237617,\n      \"height\": 4765129435236228,\n      \"mediaType\": \"image/jpeg\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 8976480289021917\n        }\n      ]\n    },\n    \"key_2\": {\n      \"type\": \"string\",\n      \"url\": \"string\",\n      \"key\": \"2I1x3W5cIx\",\n      \"name\": \"string\",\n      \"width\": 7873034347079651,\n      \"height\": 4936159571661685,\n      \"mediaType\": \"image/webp\",\n      \"srcSet\": [\n        {\n          \"url\": \"string\",\n          \"width\": 181280761100269\n        }\n      ]\n    }\n  },\n  \"libraryAssets\": {\n    \"key_0\": {\n      \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"editable\": true\n    },\n    \"key_1\": {\n      \"id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"editable\": true\n    }\n  },\n  \"error\": \"string\",\n  \"message\": \"string\",\n  \"steps\": [\n    {\n      \"runId\": \"string\",\n      \"stepId\": \"string\",\n      \"status\": \"pending\",\n      \"at\": \"0400-02-29T12:55:05Z\",\n      \"attempt\": 8517308624831730,\n      \"round\": 918800572762372,\n      \"providerStatus\": \"string\",\n      \"error\": \"string\",\n      \"stage\": {\n        \"key\": \"string\",\n        \"text\": \"string\",\n        \"at\": \"9371-11-30T20:07:42.06813Z\"\n      },\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"C85RLb\",\n          \"name\": \"string\",\n          \"width\": 6814945894259782,\n          \"height\": 7476141876290850,\n          \"mediaType\": \"image/svg+xml\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6552077756555330\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"A\",\n          \"name\": \"string\",\n          \"width\": 1841495067538081,\n          \"height\": 4752747286367966,\n          \"mediaType\": \"image/svg+xml\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7773380847007197\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"VO3oG9Z6rmM\",\n          \"name\": \"string\",\n          \"width\": 8868373673509328,\n          \"height\": 5934629438920950,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6518324002233613\n            }\n          ]\n        }\n      },\n      \"previews\": [\n        {\n          \"output\": \"e0twg-6uw-e-2yqray\",\n          \"label\": \"string\"\n        },\n        {\n          \"output\": \"ucsv4c83919-rtskgdf-i16xa-r7ivzg\",\n          \"label\": \"stri\"\n        }\n      ]\n    },\n    {\n      \"runId\": \"string\",\n      \"stepId\": \"string\",\n      \"status\": \"failed\",\n      \"at\": \"8292-02-29T23:16:18Z\",\n      \"attempt\": 4199062789377464,\n      \"round\": 8476893421359430,\n      \"providerStatus\": \"string\",\n      \"error\": \"string\",\n      \"stage\": {\n        \"key\": \"string\",\n        \"text\": \"string\",\n        \"at\": \"3340-02-29T21:21:17Z\"\n      },\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"1lKOqYjDk/\",\n          \"name\": \"string\",\n          \"width\": 6170730472285211,\n          \"height\": 6924224881963644,\n          \"mediaType\": \"image/svg+xml\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3548366461549338\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"X\",\n          \"name\": \"string\",\n          \"width\": 6184910876973907,\n          \"height\": 5480658702931364,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3227903265358320\n            }\n          ]\n        }\n      },\n      \"previews\": [\n        {\n          \"output\": \"rwh9nyj-3kae-j2um-uktmvum8n-dho5\",\n          \"label\": \"string\"\n        },\n        {\n          \"output\": \"k958ho-amuphbxlc2o-5a69-3ie4m-gm\",\n          \"label\": \"string\"\n        }\n      ]\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"37e15aa7-e38e-4248-b476-69333f1aeabe","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b401d049-7a6d-4f88-98d5-598414f7f725","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c96caf5-abbd-4202-987f-effc8fd60d76","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:read.\",\n  \"details\": {\n    \"permission\": \"runs:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2d248553-f485-482d-a1e3-5b6fcae675bc","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Run not found\",\n  \"details\": {\n    \"resource\": \"Run\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"769832b6-3c06-41de-96f8-a60b864ab3a4","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b1040c98-4d30-4aa0-a8ef-1bb19ffb780f","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId"],"query":[{"disabled":false,"description":{"content":"Wait up to this many seconds for a terminal status. Omit or use 0 to read immediately. Each poll counts as one API call.","type":"text/plain"},"key":"wait","value":"1"}],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId?wait=1"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"874c0b76-fe3c-4194-8299-ada36443f6ad","name":"Follow a run's state as Server-Sent Events","request":{"name":"Follow a run's state as Server-Sent Events","description":{"content":"Follows a run without polling: Server-Sent Events of its state, as `getOrchestratorRun` answers it.\n\n- **Events:** a `state` event at once, then again whenever the state changed while the run is `RUNNING`. Once the run is no longer `RUNNING`, the stream sends its state and closes.\n- **Connection:** a comment line every 20 s keeps it open. The stream closes after 15 minutes: reconnect to go on; the first event is the current state.\n- **Errors:** they answer as JSON before any event, such as 404 for a run of another account.\n- **Revoked keys:** an open stream outlives a revoked API key until it closes.\n- **Credits:** none.\n\nNeeds an API key with the permission `runs:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId","disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"}},{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId","disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"text/event-stream"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"59bc7ffb-c5d0-4c94-894f-08da7fa4288d","name":"Server-Sent Events: each `state` event's data is the run's state as JSON (RunState, the getOrchestratorRun answer); lines starting with `:` are heartbeats","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"text/event-stream"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/event-stream"}],"body":"string","cookie":[],"_postman_previewlanguage":"text"},{"id":"6145db32-ca4b-4b4a-b0fe-fe288780fc22","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a47955a7-810e-463e-8f95-23b0a1e15506","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f7992f06-0c2a-4c82-bebb-6189eea19dcc","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:read.\",\n  \"details\": {\n    \"permission\": \"runs:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"61737e2b-4636-4187-a8ef-5757a8920aaf","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Run not found\",\n  \"details\": {\n    \"resource\": \"Run\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"472e4ea0-0b4e-4a70-8325-5f918ae13d3b","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4557248a-9f26-4682-b6bf-061e94cf97bd","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","runs",":addonId",":runId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The Addon ID from the run page's id query parameter.","type":"text/plain"},"type":"any","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6","key":"addonId"},{"disabled":false,"description":{"content":"(Required) The run ID from the run page's run query parameter.","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"runId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/runs/:addonId/:runId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1b64edeb-076f-4375-b81e-c5031ab9cf85","name":"List your batches","request":{"name":"List your batches","description":{"content":"Returns the account's batches from startOrchestratorBatch, newest first, `limit` at a time (default 50, at most 100); pass `nextCursor` as `cursor` for the next page. `addonId` lists only that Addon's batches. Each batch has its `itemCount` and `itemStatuses`, how many items are WAITING, RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED or CANCELLED as last recorded, and is RUNNING while one waits or runs. Call getOrchestratorBatch with its batchId for its items, their results and live statuses; listOrchestratorRuns with `inBatch=false` lists the runs started on their own.\n\nNeeds an API key with the permission `runs:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[{"disabled":false,"description":{"content":"Only batches of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches?addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8c5b7805-89a4-4d47-b512-b8409833c257","name":"The batches","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[{"disabled":false,"description":{"content":"Only batches of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches?addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"batches\": [\n    {\n      \"batchId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"addonId\": \"kp\",\n      \"status\": \"ENDED\",\n      \"createdAt\": \"1600-02-29T20:11:06Z\",\n      \"itemCount\": 8864424399033832,\n      \"itemStatuses\": {\n        \"WAITING\": 2402984070483523,\n        \"RUNNING\": 2381783245995014,\n        \"SUCCEEDED\": 936212932968205,\n        \"FAILED\": 4102871779985966,\n        \"TIMED_OUT\": 4044552085381998,\n        \"ABORTED\": 4581035508570320,\n        \"CANCELLED\": 974272017940563\n      },\n      \"cancelledAt\": \"3881-07-23T07:17:57Z\"\n    },\n    {\n      \"batchId\": \"00000000-0000-0000-0000-000000000000\",\n      \"addonId\": \"mz-l3a7k6or4d-q9s3slfjy9\",\n      \"status\": \"RUNNING\",\n      \"createdAt\": \"6956-02-05T21:18:34.917222346Z\",\n      \"itemCount\": 5627904772346216,\n      \"itemStatuses\": {\n        \"WAITING\": 3983558956701252,\n        \"RUNNING\": 3381783009366678,\n        \"SUCCEEDED\": 5682234294273910,\n        \"FAILED\": 2740288020272705,\n        \"TIMED_OUT\": 7350453386680912,\n        \"ABORTED\": 3476089941865402,\n        \"CANCELLED\": 6375839182294639\n      },\n      \"cancelledAt\": \"7200-02-29T23:22:42Z\"\n    }\n  ],\n  \"nextCursor\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3cc3d936-f0fc-45ee-9e7c-34ce261df583","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[{"disabled":false,"description":{"content":"Only batches of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches?addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6bdbf489-7d5f-4eba-9b9e-faad8dac6aa9","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[{"disabled":false,"description":{"content":"Only batches of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches?addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"86dfe9c1-b523-43df-bea2-ca589059f65b","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[{"disabled":false,"description":{"content":"Only batches of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches?addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:read.\",\n  \"details\": {\n    \"permission\": \"runs:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"517af617-a1e0-4a2a-89b5-109fc380c40d","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[{"disabled":false,"description":{"content":"Only batches of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches?addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f7cbd347-2f07-447f-84f1-5d8f6c242a57","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[{"disabled":false,"description":{"content":"Only batches of this Addon.","type":"text/plain"},"key":"addonId","value":"p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"cursor","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"}],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches?addonId=p9pd-s-r5q9fkr6ot-te4-9e3oejsz-6&limit=50&cursor=a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c8420f7e-a722-4e1e-a534-c26d7eb3a8cb","name":"Run an Addon on a set of items","request":{"name":"Run an Addon on a set of items","description":{"content":"Starts a batch: one run of the Addon per item, for example one per product photo, all with the same settings, and answers at once with its `batchId`.\n\n- **Inputs:** `inputs` are what every item's run takes, `items` up to 50 sets of each item's own inputs (for Catalog photo its `image`), both by the input IDs of the Addon's manifest (listAddons). An item's own inputs win; an input both leave out takes the value the account saved for the Addon (getAddonSettings), otherwise the Addon's default, as in startOrchestratorRun.\n- **Brand:** a `brand` input takes a brand's ID from listBrands, or `null` for no brand, never a brand's snapshot; left out, it takes the brand the account saved for the Addon, otherwise the account's default brand. It is read once when the batch starts, so a later edit of the brand changes none of its items. An unknown brand ID answers 404 `not_found` and nothing starts.\n- **Product:** a `product` input takes `{ productId, variant?, image? }`, one product per item, or `null`, never a product's snapshot. Each item reads its product once when the batch starts and, with its photo input left out, starts from the product's shop image as a run start does; an image not loaded yet, failed or missing refuses the batch with 400 `orchestrator.invalid_batch_item` naming the item, an unknown product or variant answers 404 `not_found`, and nothing starts. Each succeeded item's image and video outputs are linked to its product.\n- **Files:** an asset input takes an AssetRef of a ready file the account stored (startMediaUpload) or a public https URL, never a data: or other URL. A body over 256 KB is refused.\n- **Before:** every item, and the shared `inputs` on their own, are checked before any run starts: a value a run would refuse, or a URL that is not https, is refused with `details.issues` and either `details.index`, the item it is in, or `details.shared: true` when it is in `inputs` (the issues' paths are then within `inputs`). Nothing starts then.\n- **Then:** at most 5 of the batch's runs go at once; the next starts when one ends, and an item whose run fails does not stop the others. Follow the batch with getOrchestratorBatch or streamOrchestratorBatch.\n- **Credits:** each item's run costs its own price, from the Addon's `pricing` in listAddons and the inputs it starts with, saved settings included; it reserves the price when it starts and pays only when it succeeds. `maxCredits` is the most each item's run may cost; a higher price is refused. A batch whose runs together cost more than the account can spend now is refused with `details.required` and `details.available`, and nothing starts; an item whose run cannot reserve its price later fails with that message, and the others go on.\n- **Retries:** `idempotencyKey` names one intended batch: the same key again answers the batch it started (202, nothing starts again) and is refused with another request. An agent's or an API key's start needs both `maxCredits` and `idempotencyKey`.\n- **API keys:** a key's batch runs each Addon's production version. Once the key is revoked, expires or loses `runs:create`, its items that have not started end without starting, with the error `Batch.KeyRevoked`; its started runs go on.\n- **Limits:** a batch counts as one start a minute and as one start per item a day against startOrchestratorRun's limit: Each user or API key may call it 10 times a minute and 200 items a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n\nNeeds an API key with the permission `runs:create`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3a8ade40-1c17-4c66-912e-1a9f3964d367","name":"The batch has started","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"batchId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n  \"addonId\": \"ss-n4renkcqz-s-3wgag1d7yg-vu0-x-\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e157a004-1050-443f-b1dc-a859af92e1ea","name":"Invalid input: `orchestrator.invalid_batch_item`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.invalid_batch_item\",\n  \"error\": \"Item 2 of the batch has inputs the Addon does not take\",\n  \"details\": {\n    \"index\": 2,\n    \"issues\": [\n      {\n        \"path\": [\n          \"image\"\n        ],\n        \"message\": \"Invalid input\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"81c4235a-976b-457c-a83d-7147d15b89b0","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"19c104b4-4ea8-479d-bbd9-f23a0e2b0bbd","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:create.\",\n  \"details\": {\n    \"permission\": \"runs:create\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40b1662c-3c58-4fe6-82c8-d50de2e45f2b","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Addon not found\",\n  \"details\": {\n    \"resource\": \"Addon\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7bf601b9-2f74-46f4-bab4-72a9c89c74cb","name":"Conflict: `orchestrator.price_above_max_credits`, `billing.insufficient_credits`, `orchestrator.batch_idempotency_key_reused`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.price_above_max_credits\",\n  \"error\": \"This run costs 12 credits, more than the 10 allowed\",\n  \"details\": {\n    \"priceCredits\": 12,\n    \"maxCredits\": 10\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"75d687e5-8950-4e31-97e8-234dc3f83f45","name":"Request body too large: `request_too_large`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Request Entity Too Large","code":413,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"request_too_large\",\n  \"error\": \"The request body exceeds 262144 bytes\",\n  \"details\": {\n    \"maxBytes\": 262144\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7878b5b0-0d94-4148-8264-e52346c93252","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e3a43102-decb-4ce1-918f-db9487d74bfe","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches"],"query":[],"variable":[],"raw":"{{baseUrl}}/api/v1/orchestrator/batches"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"addonId\": \"string\",\n  \"inputs\": {\n    \"key_0\": \"string\"\n  },\n  \"items\": [\n    {\n      \"inputs\": {\n        \"key_0\": \"string\"\n      }\n    }\n  ],\n  \"maxCredits\": 629193996657689,\n  \"idempotencyKey\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8c668849-7f3d-483c-a490-2c3ed099a8e8","name":"Get a batch's items and their results","request":{"name":"Get a batch's items and their results","description":{"content":"Returns where a batch from startOrchestratorBatch stands: `RUNNING` while an item waits or runs, `ENDED` once none does, with every item and its result.\n\n- **Items:** each has its `index` in the start's items, its own `inputs` by input ID and a status: `WAITING` for a free place, `RUNNING`, `SUCCEEDED` with its `outputs`, `FAILED`, `TIMED_OUT` or `ABORTED` with `error` and a `message` safe to show, or `CANCELLED`. A started item names its `runId` for getOrchestratorRun.\n- **Polling:** call again every 20 seconds or so while the batch is `RUNNING`, or follow it with streamOrchestratorBatch.\n- **Then:** `FAILED` and `TIMED_OUT` items can be started again with retryOrchestratorBatch.\n- **File URLs:** stored inputs and outputs carry signed URLs that expire after 15 minutes. Keep file keys or asset IDs and call again for fresh links.\n- **Credits:** none.\n\nNeeds an API key with the permission `runs:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3c656e61-1b6d-40bc-913a-ec2a7d771274","name":"The batch","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"batchId\": \"00000000-0000-0000-0000-000000000000\",\n  \"addonId\": \"mje-74g-7xnlkwrwpk-j-k3-1lq2to7v\",\n  \"status\": \"ENDED\",\n  \"createdAt\": \"8395-02-21T05:02:12Z\",\n  \"items\": [\n    {\n      \"index\": 1500148822747798,\n      \"status\": \"WAITING\",\n      \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"str\",\n          \"key\": \"Yt6.JMDLAa\",\n          \"name\": \"string\",\n          \"width\": 5723378669284831,\n          \"height\": 2686562038827879,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7988498582848523\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"sX1Xk\",\n          \"name\": \"string\",\n          \"width\": 5764655790751849,\n          \"height\": 7510500382907390,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2784748785728875\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"wIfQhyUv\",\n          \"name\": \"string\",\n          \"width\": 3139241943020676,\n          \"height\": 5863805128222265,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 913818088648640\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"2e96E49E-D4aF-652b-bBC7-ceD24e9ab95D\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3onc6BZ\",\n          \"name\": \"string\",\n          \"width\": 1689760001933367,\n          \"height\": 7225530969739574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7045609359837939\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"6V\",\n          \"name\": \"string\",\n          \"width\": 2237714036574781,\n          \"height\": 2378350537546634,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5061122859340537\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"hwP\",\n          \"name\": \"string\",\n          \"width\": 1696901752817763,\n          \"height\": 8730165972129012,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 4406250469326853\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"index\": 7729507905912705,\n      \"status\": \"RUNNING\",\n      \"runId\": \"35B37E57-F2bE-4C80-B05F-9c62d4ACDFfE\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"T__LOQYE4.\",\n          \"name\": \"string\",\n          \"width\": 5947061765302941,\n          \"height\": 2010328530467574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2832337001879535\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"c6A6xS9vyof\",\n          \"name\": \"string\",\n          \"width\": 7580768274891811,\n          \"height\": 4083420710960106,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8393046387808470\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"eymeVU-aI\",\n          \"name\": \"string\",\n          \"width\": 6365017634341198,\n          \"height\": 2415117635959112,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6378424700336978\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"HHfta1m\",\n          \"name\": \"string\",\n          \"width\": 4652554314521339,\n          \"height\": 365699177139287,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 497822768904077\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"0TjEu1J\",\n          \"name\": \"string\",\n          \"width\": 6059905374385017,\n          \"height\": 2816941419263156,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3938895774842960\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"yLL3KrXy\",\n          \"name\": \"string\",\n          \"width\": 6174267153962360,\n          \"height\": 6693008780099253,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5774968797391078\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"cancelledAt\": \"8760-02-29T11:28:48.5112685486Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e6a6966c-322c-48fd-bfe7-67b5a6c07296","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cbaaa9a4-da13-412a-839c-ac59f52301f1","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"308acf4b-eed9-4055-998a-c7abb0f1c170","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:read.\",\n  \"details\": {\n    \"permission\": \"runs:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df19b69c-c786-4e5e-9231-01e44a2ca24c","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Batch not found\",\n  \"details\": {\n    \"resource\": \"Batch\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7f66ffd-a483-4ece-ae35-81febcc7a343","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a109da27-42f2-4603-890c-58b1f795273f","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"628adf69-0489-407d-a97b-461d24d927d8","name":"Follow a batch's state as Server-Sent Events","request":{"name":"Follow a batch's state as Server-Sent Events","description":{"content":"Follows a batch without polling: Server-Sent Events of its state, as getOrchestratorBatch answers it.\n\n- **Events:** a `state` event at once, then again whenever the state changed while the batch is `RUNNING`. Once it `ENDED`, the stream sends its state and closes.\n- **Connection:** a comment line every 20 s keeps it open. The stream closes after 15 minutes: reconnect to go on; the first event is the current state.\n- **Errors:** they answer as JSON before any event, such as 404 for a batch of another account.\n- **Revoked keys:** an open stream outlives a revoked API key until it closes.\n- **Credits:** none.\n\nNeeds an API key with the permission `runs:read`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"text/event-stream"}],"method":"GET","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a961007b-f284-4a83-a1e8-a23817b3adeb","name":"Server-Sent Events: each `state` event's data is the batch's state as JSON (BatchState, the getOrchestratorBatch answer); lines starting with `:` are heartbeats","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"text/event-stream"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/event-stream"}],"body":"string","cookie":[],"_postman_previewlanguage":"text"},{"id":"dab1e9d9-f8b0-4147-8483-86e3356b4d45","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa1a1371-d306-43dc-9c3f-5b449a553a1c","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1b3c9930-2216-4036-9193-ce5c496bbd28","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:read.\",\n  \"details\": {\n    \"permission\": \"runs:read\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78316b49-6397-4e22-8cf5-7ec592b98b9a","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Batch not found\",\n  \"details\": {\n    \"resource\": \"Batch\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e1dac07-e2dd-4d16-8824-0b2bc064f507","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f48305e-3720-4df9-8f11-aa432528fc9b","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","stream"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/stream"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"32e2dcfd-f128-402c-aad3-afd30d1a2d4d","name":"Cancel a batch","request":{"name":"Cancel a batch","description":{"content":"Cancels a batch from startOrchestratorBatch and answers it as getOrchestratorBatch does.\n\n- **Items:** waiting items never start and become `CANCELLED`; running runs are stopped and end `ABORTED`, and may still show `RUNNING` for a few seconds. Items that ended keep their results.\n- **Retries:** a batch whose items all ended stays as it is. Cancelling again stops what still runs and changes nothing else; a cancelled batch cannot be retried.\n- **Credits:** none; stopped runs pay nothing.\n\nNeeds an API key with the permission `runs:manage`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"791c9d41-a413-466b-8781-e589e1d9b67c","name":"The batch after the cancel","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"batchId\": \"00000000-0000-0000-0000-000000000000\",\n  \"addonId\": \"mje-74g-7xnlkwrwpk-j-k3-1lq2to7v\",\n  \"status\": \"ENDED\",\n  \"createdAt\": \"8395-02-21T05:02:12Z\",\n  \"items\": [\n    {\n      \"index\": 1500148822747798,\n      \"status\": \"WAITING\",\n      \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"str\",\n          \"key\": \"Yt6.JMDLAa\",\n          \"name\": \"string\",\n          \"width\": 5723378669284831,\n          \"height\": 2686562038827879,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7988498582848523\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"sX1Xk\",\n          \"name\": \"string\",\n          \"width\": 5764655790751849,\n          \"height\": 7510500382907390,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2784748785728875\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"wIfQhyUv\",\n          \"name\": \"string\",\n          \"width\": 3139241943020676,\n          \"height\": 5863805128222265,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 913818088648640\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"2e96E49E-D4aF-652b-bBC7-ceD24e9ab95D\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3onc6BZ\",\n          \"name\": \"string\",\n          \"width\": 1689760001933367,\n          \"height\": 7225530969739574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7045609359837939\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"6V\",\n          \"name\": \"string\",\n          \"width\": 2237714036574781,\n          \"height\": 2378350537546634,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5061122859340537\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"hwP\",\n          \"name\": \"string\",\n          \"width\": 1696901752817763,\n          \"height\": 8730165972129012,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 4406250469326853\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"index\": 7729507905912705,\n      \"status\": \"RUNNING\",\n      \"runId\": \"35B37E57-F2bE-4C80-B05F-9c62d4ACDFfE\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"T__LOQYE4.\",\n          \"name\": \"string\",\n          \"width\": 5947061765302941,\n          \"height\": 2010328530467574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2832337001879535\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"c6A6xS9vyof\",\n          \"name\": \"string\",\n          \"width\": 7580768274891811,\n          \"height\": 4083420710960106,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8393046387808470\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"eymeVU-aI\",\n          \"name\": \"string\",\n          \"width\": 6365017634341198,\n          \"height\": 2415117635959112,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6378424700336978\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"HHfta1m\",\n          \"name\": \"string\",\n          \"width\": 4652554314521339,\n          \"height\": 365699177139287,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 497822768904077\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"0TjEu1J\",\n          \"name\": \"string\",\n          \"width\": 6059905374385017,\n          \"height\": 2816941419263156,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3938895774842960\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"yLL3KrXy\",\n          \"name\": \"string\",\n          \"width\": 6174267153962360,\n          \"height\": 6693008780099253,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5774968797391078\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"cancelledAt\": \"8760-02-29T11:28:48.5112685486Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ecf437d0-d377-4e6e-b877-bdbb831f2ae3","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8d987ba-1e62-4f7d-8a97-1eada405a4c5","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aeff9e55-5782-4d83-8aac-4ba5a3a5025a","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:manage.\",\n  \"details\": {\n    \"permission\": \"runs:manage\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0745110a-da97-44ce-a343-c2aad079565c","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Batch not found\",\n  \"details\": {\n    \"resource\": \"Batch\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"307c5601-761b-4ed3-a75d-f79897ab0b30","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0f7659a9-19e8-4acb-8291-f58a5b43bd72","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","cancel"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/cancel"},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fb20a54e-d077-4d50-95a6-9affe70672a0","name":"Retry a batch's failed items","request":{"name":"Retry a batch's failed items","description":{"content":"Starts the `FAILED` and `TIMED_OUT` items of a batch from startOrchestratorBatch again, in the same batch and place, each as a new run, and answers the batch as getOrchestratorBatch does.\n\n- **Items:** `items` names them by index; leave it out (send `{}`) for every such item. An item whose own inputs caused its error (`retriable` false, such as a photo the Addon cannot use) would fail again and is left out. With no failed item nothing changes.\n- **Then:** the batch is `RUNNING` again, at most 5 of its runs at once. An item's earlier run stays readable with getOrchestratorRun; its `runId` names the new run once it started.\n- **Before:** a named item that is not `FAILED` or `TIMED_OUT`, or not retriable, a cancelled batch, a batch whose API key was revoked, and items whose runs together cost more than the account can spend now are refused, and nothing starts.\n- **Credits:** each new run costs the Addon's price, within the batch's `maxCredits`, and pays only when it succeeds.\n- **Limits:** a retry counts as one start a minute and as one start per retried item a day against startOrchestratorRun's limit: Each user or API key may call it 10 times a minute and 200 items a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n\nNeeds an API key with the permission `runs:manage`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8ed161a4-2503-4fd3-a1f6-5628e09bc4aa","name":"The batch after the retry","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"batchId\": \"00000000-0000-0000-0000-000000000000\",\n  \"addonId\": \"mje-74g-7xnlkwrwpk-j-k3-1lq2to7v\",\n  \"status\": \"ENDED\",\n  \"createdAt\": \"8395-02-21T05:02:12Z\",\n  \"items\": [\n    {\n      \"index\": 1500148822747798,\n      \"status\": \"WAITING\",\n      \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"str\",\n          \"key\": \"Yt6.JMDLAa\",\n          \"name\": \"string\",\n          \"width\": 5723378669284831,\n          \"height\": 2686562038827879,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7988498582848523\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"sX1Xk\",\n          \"name\": \"string\",\n          \"width\": 5764655790751849,\n          \"height\": 7510500382907390,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2784748785728875\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"wIfQhyUv\",\n          \"name\": \"string\",\n          \"width\": 3139241943020676,\n          \"height\": 5863805128222265,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 913818088648640\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"2e96E49E-D4aF-652b-bBC7-ceD24e9ab95D\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3onc6BZ\",\n          \"name\": \"string\",\n          \"width\": 1689760001933367,\n          \"height\": 7225530969739574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7045609359837939\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"6V\",\n          \"name\": \"string\",\n          \"width\": 2237714036574781,\n          \"height\": 2378350537546634,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5061122859340537\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"hwP\",\n          \"name\": \"string\",\n          \"width\": 1696901752817763,\n          \"height\": 8730165972129012,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 4406250469326853\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"index\": 7729507905912705,\n      \"status\": \"RUNNING\",\n      \"runId\": \"35B37E57-F2bE-4C80-B05F-9c62d4ACDFfE\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"T__LOQYE4.\",\n          \"name\": \"string\",\n          \"width\": 5947061765302941,\n          \"height\": 2010328530467574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2832337001879535\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"c6A6xS9vyof\",\n          \"name\": \"string\",\n          \"width\": 7580768274891811,\n          \"height\": 4083420710960106,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8393046387808470\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"eymeVU-aI\",\n          \"name\": \"string\",\n          \"width\": 6365017634341198,\n          \"height\": 2415117635959112,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6378424700336978\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"HHfta1m\",\n          \"name\": \"string\",\n          \"width\": 4652554314521339,\n          \"height\": 365699177139287,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 497822768904077\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"0TjEu1J\",\n          \"name\": \"string\",\n          \"width\": 6059905374385017,\n          \"height\": 2816941419263156,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3938895774842960\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"yLL3KrXy\",\n          \"name\": \"string\",\n          \"width\": 6174267153962360,\n          \"height\": 6693008780099253,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5774968797391078\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"cancelledAt\": \"8760-02-29T11:28:48.5112685486Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"47ff811c-f2f5-472a-9721-608391b891ae","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88555a5d-d08d-4a0f-a0ed-47e43e7359bf","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9e5ac1b-0003-4090-9bdd-953fc0754083","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:manage.\",\n  \"details\": {\n    \"permission\": \"runs:manage\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa5f09b3-662c-47ef-8292-30eac16af9f6","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Batch not found\",\n  \"details\": {\n    \"resource\": \"Batch\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"696b4be9-4fa4-4a70-b016-258928dcc2e6","name":"Conflict: `orchestrator.batch_cancelled`, `orchestrator.batch_key_revoked`, `orchestrator.batch_item_not_retriable`, `billing.insufficient_credits`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.batch_cancelled\",\n  \"error\": \"This batch was cancelled, so its items cannot be retried or redone; start a new batch for them\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"41132c74-3833-4c90-8971-10884a85c3eb","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c110213-07de-446b-919a-ec6a900ddbed","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","retry"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/retry"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    7076112306259430\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9bbd4068-cada-4f59-a6be-e30299b18163","name":"Make finished items of a batch again with a note","request":{"name":"Make finished items of a batch again with a note","description":{"content":"Makes SUCCEEDED items of a batch from startOrchestratorBatch again with a note of what to fix, in the same batch and place, also while the batch runs, and answers the batch as getOrchestratorBatch does.\n\n- **Items:** `items` names them by index, each with `choices` (keys of the Addon's `ui.redo.choices` in listAddons) and `text` (at most 300 characters, in the user's words). Or send `{ \"needsReview\": true }` to redo every SUCCEEDED item whose result failed checks that are among `ui.redo.choices`, each with those checks as its choices; an item whose review note names no such check is left out. With no item to redo nothing changes.\n- **Then:** each item starts again as a new run with the inputs the batch started with, at most 5 of the batch's runs at once. The version an item showed stays as its `previousRunId`; once the new run SUCCEEDED the item shows it, until setOrchestratorBatchItemVersion picks the other one.\n- **Before:** a named item that did not succeed, an Addon without `ui.redo`, an item whose file was deleted, a cancelled batch, a batch whose API key was revoked, and items whose runs together cost more than the account can spend now are refused, and nothing starts.\n- **Credits:** each new run costs the Addon's price, within the batch's `maxCredits`, and pays only when it succeeds.\n- **Limits:** a redo counts as one start a minute and as one start per redone item a day against startOrchestratorRun's limit: Each user or API key may call it 10 times a minute and 200 items a day; after that it answers 429 with `Retry-After` and `details.retryAfterSeconds`, the seconds to wait before calling again.\n\nNeeds an API key with the permission `runs:manage`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"880df8d6-9e61-410b-9686-c4359666efbb","name":"The batch after the redo","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"batchId\": \"00000000-0000-0000-0000-000000000000\",\n  \"addonId\": \"mje-74g-7xnlkwrwpk-j-k3-1lq2to7v\",\n  \"status\": \"ENDED\",\n  \"createdAt\": \"8395-02-21T05:02:12Z\",\n  \"items\": [\n    {\n      \"index\": 1500148822747798,\n      \"status\": \"WAITING\",\n      \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"str\",\n          \"key\": \"Yt6.JMDLAa\",\n          \"name\": \"string\",\n          \"width\": 5723378669284831,\n          \"height\": 2686562038827879,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7988498582848523\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"sX1Xk\",\n          \"name\": \"string\",\n          \"width\": 5764655790751849,\n          \"height\": 7510500382907390,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2784748785728875\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"wIfQhyUv\",\n          \"name\": \"string\",\n          \"width\": 3139241943020676,\n          \"height\": 5863805128222265,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 913818088648640\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"2e96E49E-D4aF-652b-bBC7-ceD24e9ab95D\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3onc6BZ\",\n          \"name\": \"string\",\n          \"width\": 1689760001933367,\n          \"height\": 7225530969739574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7045609359837939\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"6V\",\n          \"name\": \"string\",\n          \"width\": 2237714036574781,\n          \"height\": 2378350537546634,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5061122859340537\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"hwP\",\n          \"name\": \"string\",\n          \"width\": 1696901752817763,\n          \"height\": 8730165972129012,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 4406250469326853\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"index\": 7729507905912705,\n      \"status\": \"RUNNING\",\n      \"runId\": \"35B37E57-F2bE-4C80-B05F-9c62d4ACDFfE\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"T__LOQYE4.\",\n          \"name\": \"string\",\n          \"width\": 5947061765302941,\n          \"height\": 2010328530467574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2832337001879535\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"c6A6xS9vyof\",\n          \"name\": \"string\",\n          \"width\": 7580768274891811,\n          \"height\": 4083420710960106,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8393046387808470\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"eymeVU-aI\",\n          \"name\": \"string\",\n          \"width\": 6365017634341198,\n          \"height\": 2415117635959112,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6378424700336978\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"HHfta1m\",\n          \"name\": \"string\",\n          \"width\": 4652554314521339,\n          \"height\": 365699177139287,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 497822768904077\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"0TjEu1J\",\n          \"name\": \"string\",\n          \"width\": 6059905374385017,\n          \"height\": 2816941419263156,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3938895774842960\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"yLL3KrXy\",\n          \"name\": \"string\",\n          \"width\": 6174267153962360,\n          \"height\": 6693008780099253,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5774968797391078\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"cancelledAt\": \"8760-02-29T11:28:48.5112685486Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"11f8972d-d214-4d42-8cb9-f00174272729","name":"Invalid input: `orchestrator.redo_choice_unknown`, `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.redo_choice_unknown\",\n  \"error\": \"This Addon offers no redo choice \\\"brighter\\\"\",\n  \"details\": {\n    \"choice\": \"brighter\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88741fbd-31f2-4bb4-a7bc-87782719565c","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da431ab5-8e4c-40f1-a065-8ea1e8dc5670","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:manage.\",\n  \"details\": {\n    \"permission\": \"runs:manage\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5b5670f-7622-4245-83b2-bbc109070007","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Batch not found\",\n  \"details\": {\n    \"resource\": \"Batch\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8e6c6ba2-6481-4dc2-862b-cbac1e209d46","name":"Conflict: `orchestrator.batch_cancelled`, `orchestrator.batch_key_revoked`, `orchestrator.batch_item_not_redoable`, `orchestrator.price_above_max_credits`, `billing.insufficient_credits`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.batch_cancelled\",\n  \"error\": \"This batch was cancelled, so its items cannot be retried or redone; start a new batch for them\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b33535d-2bcc-45ed-81ee-496dcb71806e","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"75652682-8b11-40e0-a9ca-853d3bd442c2","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","redo"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/redo"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"index\": 363887431627124,\n      \"choices\": [\n        \"dqttSzlrOOO2KGeQp4SQ\",\n        \"jluQBanoFlO6Tz\"\n      ],\n      \"text\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7025ff1e-5697-48ab-948b-c5485eeb43b2","name":"Choose which version a redone batch item shows","request":{"name":"Choose which version a redone batch item shows","description":{"content":"Chooses which of a redone batch item's two versions it shows, and answers the batch as getOrchestratorBatch does.\n\n- **Before:** after redoOrchestratorBatch an item has its newest run (`runId`) and the one it showed before the redo (`previousRunId`). `runId` must be one of the two and must have SUCCEEDED.\n- **Then:** the item shows that run's outputs in getOrchestratorBatch, in every tab and in the batch's download. The other run stays readable with getOrchestratorRun and in the media library.\n- **Credits:** none.\n\nNeeds an API key with the permission `runs:manage`.","type":"text/plain"},"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}},{"type":"any","value":"6508195400671065","key":"index","disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"}}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6f76b5da-a892-48f6-802c-959307b522c4","name":"The batch with the chosen version","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"batchId\": \"00000000-0000-0000-0000-000000000000\",\n  \"addonId\": \"mje-74g-7xnlkwrwpk-j-k3-1lq2to7v\",\n  \"status\": \"ENDED\",\n  \"createdAt\": \"8395-02-21T05:02:12Z\",\n  \"items\": [\n    {\n      \"index\": 1500148822747798,\n      \"status\": \"WAITING\",\n      \"runId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"str\",\n          \"key\": \"Yt6.JMDLAa\",\n          \"name\": \"string\",\n          \"width\": 5723378669284831,\n          \"height\": 2686562038827879,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7988498582848523\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"sX1Xk\",\n          \"name\": \"string\",\n          \"width\": 5764655790751849,\n          \"height\": 7510500382907390,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2784748785728875\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"wIfQhyUv\",\n          \"name\": \"string\",\n          \"width\": 3139241943020676,\n          \"height\": 5863805128222265,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 913818088648640\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"2e96E49E-D4aF-652b-bBC7-ceD24e9ab95D\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"3onc6BZ\",\n          \"name\": \"string\",\n          \"width\": 1689760001933367,\n          \"height\": 7225530969739574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 7045609359837939\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"6V\",\n          \"name\": \"string\",\n          \"width\": 2237714036574781,\n          \"height\": 2378350537546634,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5061122859340537\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"hwP\",\n          \"name\": \"string\",\n          \"width\": 1696901752817763,\n          \"height\": 8730165972129012,\n          \"mediaType\": \"image/webp\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 4406250469326853\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"index\": 7729507905912705,\n      \"status\": \"RUNNING\",\n      \"runId\": \"35B37E57-F2bE-4C80-B05F-9c62d4ACDFfE\",\n      \"outputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"T__LOQYE4.\",\n          \"name\": \"string\",\n          \"width\": 5947061765302941,\n          \"height\": 2010328530467574,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 2832337001879535\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"c6A6xS9vyof\",\n          \"name\": \"string\",\n          \"width\": 7580768274891811,\n          \"height\": 4083420710960106,\n          \"mediaType\": \"image/png\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 8393046387808470\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"eymeVU-aI\",\n          \"name\": \"string\",\n          \"width\": 6365017634341198,\n          \"height\": 2415117635959112,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 6378424700336978\n            }\n          ]\n        }\n      },\n      \"error\": \"string\",\n      \"message\": \"string\",\n      \"retriable\": false,\n      \"chosenRunId\": \"00000000-0000-0000-0000-000000000000\",\n      \"previousRunId\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n      \"inputs\": {\n        \"key_0\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"HHfta1m\",\n          \"name\": \"string\",\n          \"width\": 4652554314521339,\n          \"height\": 365699177139287,\n          \"mediaType\": \"image/gif\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 497822768904077\n            }\n          ]\n        },\n        \"key_1\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"0TjEu1J\",\n          \"name\": \"string\",\n          \"width\": 6059905374385017,\n          \"height\": 2816941419263156,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 3938895774842960\n            }\n          ]\n        },\n        \"key_2\": {\n          \"type\": \"string\",\n          \"url\": \"string\",\n          \"key\": \"yLL3KrXy\",\n          \"name\": \"string\",\n          \"width\": 6174267153962360,\n          \"height\": 6693008780099253,\n          \"mediaType\": \"image/jpeg\",\n          \"srcSet\": [\n            {\n              \"url\": \"string\",\n              \"width\": 5774968797391078\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"cancelledAt\": \"8760-02-29T11:28:48.5112685486Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4d87511-b6c4-4da7-aef9-1e3fd9ad6773","name":"Invalid input: `invalid_request`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"invalid_request\",\n  \"error\": \"Invalid request\",\n  \"issues\": [\n    {\n      \"origin\": \"string\",\n      \"code\": \"too_small\",\n      \"minimum\": 1,\n      \"inclusive\": true,\n      \"path\": [\n        \"name\"\n      ],\n      \"message\": \"Too small: expected string to have >=1 characters\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2483aab0-a24f-4009-89b5-ff58805d2a47","name":"Not authenticated: `identity.unauthenticated`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.unauthenticated\",\n  \"error\": \"Authentication required\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3696cabd-6f34-4033-a4a0-59877b93f0cb","name":"Not allowed: `identity.missing_permission`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.missing_permission\",\n  \"error\": \"This API key needs the permission runs:manage.\",\n  \"details\": {\n    \"permission\": \"runs:manage\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e2a946d7-1fc9-436f-a3b2-99daa7ef7069","name":"Not found: `not_found`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"not_found\",\n  \"error\": \"Batch not found\",\n  \"details\": {\n    \"resource\": \"Batch\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f2da8b53-4ec9-4f26-9032-d4075c261eff","name":"Conflict: `orchestrator.batch_version_not_choosable`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"orchestrator.batch_version_not_choosable\",\n  \"error\": \"Run 01a15edb-0000-7000-8000-000000000004 is no version of item 3 that succeeded; choose its newest or previous run\",\n  \"details\": {\n    \"index\": 3,\n    \"runId\": \"01a15edb-0000-7000-8000-000000000004\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e696a35a-7ea1-41c5-b5fe-ed391401e483","name":"Too many requests: `identity.too_many_requests`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.too_many_requests\",\n  \"error\": \"Too many requests. Try again in 42 seconds.\",\n  \"details\": {\n    \"retryAfterSeconds\": 42\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fd430f93-9d3f-47b1-8a3c-5ef8af98c019","name":"Temporarily unavailable: `identity.api_key_check_failed`","originalRequest":{"url":{"host":["{{baseUrl}}"],"path":["api","v1","orchestrator","batches",":batchId","items",":index","choice"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"a52Ee132-EF0B-7a14-bd4a-cb5DADA3D0fA","key":"batchId"},{"disabled":false,"description":{"content":"(Required) The item's index in the batch, from getOrchestratorBatch.","type":"text/plain"},"type":"any","value":"6508195400671065","key":"index"}],"raw":"{{baseUrl}}/api/v1/orchestrator/batches/:batchId/items/:index/choice"},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"x-api-key","value":"<API Key>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"runId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"identity.api_key_check_failed\",\n  \"error\": \"The API key could not be checked. Try again shortly.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}],"event":[],"variable":[{"key":"baseUrl","value":"https://ghostpull.com"}],"info":{"_postman_id":"bece4ea3-07ef-4f41-829d-219d1517d43f","name":"Ghostpull API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Preview: this API may change before its first stable release. Use an account API key, created in the web app's settings, in the x-api-key header. Each operation names its permission. Keys can list Addons (their production versions), upload and read media, start runs and batches, follow and list the account's runs and batches, cancel and retry batches, make finished runs and batch items again with a note, and analyze a shop's brand from its web address, approve it and manage the account's brands. Importing media from a URL, the list of running runs, and managing billing or identity are not part of the public API. Each key has a limit of 300 calls per minute; a 429 response names the delay in Retry-After and details.retryAfterSeconds. The docs site's API reference does not send live API requests. Response objects may gain fields; clients should ignore fields they do not use.","type":"text/plain"}}}