From e5149a65118b83572a4ef30e8486f376f6013be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabella=20Veloso=20S=C3=A1?= Date: Wed, 2 Oct 2024 14:59:18 -0300 Subject: [PATCH 1/2] Removing parentheses from APIs names --- ...s API (PII version).json => VTEX - Orders API PII version.json | 0 ...ubscriptions API (v3).json => VTEX - Subscriptions API v3.json | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename VTEX - Orders API (PII version).json => VTEX - Orders API PII version.json (100%) rename VTEX - Subscriptions API (v3).json => VTEX - Subscriptions API v3.json (100%) diff --git a/VTEX - Orders API (PII version).json b/VTEX - Orders API PII version.json similarity index 100% rename from VTEX - Orders API (PII version).json rename to VTEX - Orders API PII version.json diff --git a/VTEX - Subscriptions API (v3).json b/VTEX - Subscriptions API v3.json similarity index 100% rename from VTEX - Subscriptions API (v3).json rename to VTEX - Subscriptions API v3.json From a14a136972a0ba645af81278ef0b7c1c0c842d50 Mon Sep 17 00:00:00 2001 From: Isabella-Veloso <> Date: Wed, 2 Oct 2024 18:01:16 +0000 Subject: [PATCH 2/2] Update generated files by portman --- .../VTEX - Orders API PII version.json | 72 ++++---- .../VTEX - Subscriptions API v3.json | 166 +++++++++--------- 2 files changed, 119 insertions(+), 119 deletions(-) diff --git a/PostmanCollections/VTEX - Orders API PII version.json b/PostmanCollections/VTEX - Orders API PII version.json index 4c3874f93..9467f01d8 100644 --- a/PostmanCollections/VTEX - Orders API PII version.json +++ b/PostmanCollections/VTEX - Orders API PII version.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "84b88a3a-a756-4044-b0c7-a91968ae084b" + "postman_id": "15817165-639f-4dcc-8416-8ab293df6bbb" }, "item": [ { - "id": "697fe5a5-361a-4001-b256-9048b0f3a107", + "id": "0f9c580c-bc7f-447f-92e2-50129b24981b", "name": "Orders", "description": { "content": "", @@ -12,7 +12,7 @@ }, "item": [ { - "id": "2dd05da7-8930-4301-96dd-ed3daf327af0", + "id": "9993be19-a7f7-494e-8c74-4f864b15c6f4", "name": "Get order", "request": { "name": "Get order", @@ -87,7 +87,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "55882819-2dad-4b21-8bda-61f57e1baba1", + "id": "71221169-817e-4187-8055-89604abf183a", "name": "OK", "originalRequest": { "url": { @@ -165,7 +165,7 @@ { "listen": "test", "script": { - "id": "226fac87-6cf5-4449-bc20-d9bf5e7c841d", + "id": "644a1311-68d4-46da-a14a-1a3b8e2f55d1", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/orders/pvt/document/:orderId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -181,7 +181,7 @@ } }, { - "id": "7631160f-3aea-4abd-a7cb-e0d0c9320c30", + "id": "33dfe967-4e2a-4818-a2a3-53d80eb831ab", "name": "List orders", "request": { "name": "List orders", @@ -247,7 +247,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "d43ec008-7908-4802-b6bc-bdecd586b894", + "id": "c3e51cab-9679-496c-a448-7a5426c08399", "name": "OK", "originalRequest": { "url": { @@ -327,7 +327,7 @@ { "listen": "test", "script": { - "id": "3a85d92e-af46-48d2-bc3e-d7772ef9773c", + "id": "6bdebef1-d6ff-4f52-93b9-2453004c6fa4", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/extendsearch/orders - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -343,7 +343,7 @@ } }, { - "id": "f6eaafe8-568c-47b4-9eee-d720d0a436dc", + "id": "0e2c9d11-a16e-4069-8714-de9600edd6f2", "name": "Start handling order", "request": { "name": "Start handling order", @@ -406,7 +406,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "2328dc5a-1cda-42bb-bd10-f7693801c0df", + "id": "7fd0ea66-61d0-40ea-8649-84f06d606824", "name": "No Content", "originalRequest": { "url": { @@ -465,7 +465,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "3790e9de-d6af-409b-8ddd-28673ea51801", + "id": "fefe0c95-127b-4c81-b98b-f662364f4441", "name": "Forbidden", "originalRequest": { "url": { @@ -524,7 +524,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "a0d2e173-367d-44c6-bac7-3fd2c857c0bb", + "id": "1c11dcdd-a1bd-41ca-afe5-287e980b900f", "name": "Not Found", "originalRequest": { "url": { @@ -583,7 +583,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "a7c8f275-0c5e-47d3-b00d-4757e0359d09", + "id": "ed8818c6-ba1a-4574-b60b-193735e73dcb", "name": "Too Many Requests", "originalRequest": { "url": { @@ -643,7 +643,7 @@ { "listen": "test", "script": { - "id": "b7ee728e-8ec6-432b-9918-00d5ca9765ba", + "id": "d53609f6-6db8-4d03-b6c3-d9421f24e81a", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/pvt/document/:orderId/actions/start-handling - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -657,7 +657,7 @@ } }, { - "id": "6aa2b2de-3a07-4884-881e-349189fb4c89", + "id": "b4d5be8c-2802-4f5c-94bc-65387a4eb458", "name": "Cancel order", "request": { "name": "Cancel order", @@ -736,7 +736,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "24ce2786-7ad9-4d2b-bc04-8426308d5f2d", + "id": "62be14cb-c1ac-46fe-aa38-8cdce36367a5", "name": "OK", "originalRequest": { "url": { @@ -817,7 +817,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "932fdebc-5c63-4d80-a745-efbc55121ee6", + "id": "54191850-dde5-4d3a-b75e-ff28bc4e2868", "name": "The credentials are not enabled to access the service.", "originalRequest": { "url": { @@ -888,7 +888,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "b49a276c-5a2a-462b-95da-02c40f580b20", + "id": "30cd5cba-9cef-4107-a72a-2f69f0ed4839", "name": "Value not found.", "originalRequest": { "url": { @@ -959,7 +959,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "644af937-d31f-4a20-b43f-050d39c8288e", + "id": "6513069b-3a0a-45e2-88af-16537c365aef", "name": "Too many requests.", "originalRequest": { "url": { @@ -1031,7 +1031,7 @@ { "listen": "test", "script": { - "id": "98ec3d03-9db2-48ec-aa2b-c5c02a613bfa", + "id": "8f1ac3ac-c774-4734-a0cc-bddf6a2421c5", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/pvt/document/:orderId/cancel - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1050,7 +1050,7 @@ "event": [] }, { - "id": "0f7bcc74-392f-4acf-96a1-c1b654792448", + "id": "66156872-4db0-46a0-a08d-e55ab12019e9", "name": "Invoice", "description": { "content": "", @@ -1058,7 +1058,7 @@ }, "item": [ { - "id": "03794aa6-9f20-4f3c-b86e-f56333ff1347", + "id": "4888a65c-509c-45d6-aaac-e83b529c815b", "name": "Order invoice notification", "request": { "name": "Order invoice notification", @@ -1137,7 +1137,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "08740faa-12cb-44b2-8657-8c32b999cfd2", + "id": "f14ceed0-3fd7-426d-9c25-f05f8493cd28", "name": "OK", "originalRequest": { "url": { @@ -1218,7 +1218,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "3821c023-e4c3-45ec-a50b-12466beb326c", + "id": "0b5d363e-99c7-46bd-9d59-501673214289", "name": "Forbidden", "originalRequest": { "url": { @@ -1289,7 +1289,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "90f50c3f-0971-49f6-bf25-1cb6d795d59d", + "id": "22e4846e-4435-4e76-8f15-32c02c6dd629", "name": "Not Found", "originalRequest": { "url": { @@ -1360,7 +1360,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "fd88f770-6143-4c4c-b923-4bc2b1267f9a", + "id": "0612e4a9-bffc-45f6-8852-c52a0339b1ff", "name": "Too Many Requests", "originalRequest": { "url": { @@ -1432,7 +1432,7 @@ { "listen": "test", "script": { - "id": "c84c9fcd-08ea-4cbb-b69b-33ef9cc8b2c7", + "id": "4f4792cd-5faf-4cc9-ba6d-684d0d38516a", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/pvt/document/:orderId/invoices - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1451,7 +1451,7 @@ "event": [] }, { - "id": "2a3cbb5d-34e3-472d-8bee-b7814a6a8de7", + "id": "96330303-7f3d-4ca1-bd49-6827c2233263", "name": "Payment", "description": { "content": "", @@ -1459,7 +1459,7 @@ }, "item": [ { - "id": "adebee7c-2db9-4fc7-bc04-c1e26ea5f422", + "id": "6dc7c5c7-5348-413e-9601-8f6beb812db2", "name": "Send payment notification", "request": { "name": "Send payment notification", @@ -1533,7 +1533,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "58921c31-6e83-4b00-8c74-fd6f40ea5ac6", + "id": "1143cbde-361c-4d12-8d91-8e1cdaf1e378", "name": "OK", "originalRequest": { "url": { @@ -1593,7 +1593,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "53c44fa5-ff67-4d75-aa7d-3ba1e052d237", + "id": "bb30419b-7dca-4a92-9aae-00e0805eb6c7", "name": "Bad Request", "originalRequest": { "url": { @@ -1653,7 +1653,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "0a996364-7156-4b77-8ac9-903ef0ae3d3c", + "id": "43ec452f-d229-4d66-a134-7a47ff03fcdb", "name": "Forbidden", "originalRequest": { "url": { @@ -1713,7 +1713,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "a4720c37-2f28-4eba-9b86-88ac99513662", + "id": "8a7a25b1-c26a-49ff-92a5-a64a451b60e0", "name": "Not Found", "originalRequest": { "url": { @@ -1773,7 +1773,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "784efbb4-93cd-4b4c-ac7e-1bf72bc324ed", + "id": "974dc897-7ba1-46d3-b427-b126b8970f1e", "name": "Too Many Requests", "originalRequest": { "url": { @@ -1834,7 +1834,7 @@ { "listen": "test", "script": { - "id": "64ec0d8e-88c3-4b64-b5c1-96a30f3e3844", + "id": "a49f5d79-5157-41cd-a1a5-24766cc94f1a", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/pvt/document/:orderId/payment/:paymentId/notify-payment - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -1889,7 +1889,7 @@ } ], "info": { - "_postman_id": "84b88a3a-a756-4044-b0c7-a91968ae084b", + "_postman_id": "15817165-639f-4dcc-8416-8ab293df6bbb", "name": "Orders API - PII data architecture", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { diff --git a/PostmanCollections/VTEX - Subscriptions API v3.json b/PostmanCollections/VTEX - Subscriptions API v3.json index 8113f3214..7b671a067 100644 --- a/PostmanCollections/VTEX - Subscriptions API v3.json +++ b/PostmanCollections/VTEX - Subscriptions API v3.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "7758011a-a6d2-47e3-8609-f3b8be2c84f9" + "postman_id": "a8395e9a-46a5-4d15-bbbe-e2825202293c" }, "item": [ { - "id": "0df4b408-5b3d-49ec-87f7-983eeb652f0f", + "id": "1fab418d-d6ff-4eab-868a-7b700f71fdc6", "name": "Cycles", "description": { "content": "", @@ -12,7 +12,7 @@ }, "item": [ { - "id": "0afe3b2d-a4cd-4f95-bf00-17d2092dd88c", + "id": "4c7d575e-42f0-47b6-8948-336982629502", "name": "Get cycle details", "request": { "name": "Get cycle details", @@ -77,7 +77,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "2d63a442-bfff-45ee-a9aa-3b1c5e87a138", + "id": "51ebd6b9-e453-4717-8180-a0a5e35d1e90", "name": "OK", "originalRequest": { "url": { @@ -145,7 +145,7 @@ { "listen": "test", "script": { - "id": "d26f95aa-75c8-4d09-8a9d-cce0200de32a", + "id": "56922aa0-791f-4767-b797-939ea9d51d0a", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pub/cycles/:cycleId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -161,7 +161,7 @@ } }, { - "id": "40e6faa7-f0c7-42fb-b47b-d548e53edc99", + "id": "add57c51-0754-4f67-98f0-57c0bb1560e5", "name": "List cycles", "request": { "name": "List cycles", @@ -187,7 +187,7 @@ "type": "text/plain" }, "key": "beginDate", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -196,7 +196,7 @@ "type": "text/plain" }, "key": "endDate", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -205,7 +205,7 @@ "type": "text/plain" }, "key": "subscriptionId", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -214,7 +214,7 @@ "type": "text/plain" }, "key": "customerEmail", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -223,7 +223,7 @@ "type": "text/plain" }, "key": "status", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -278,7 +278,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "f91337cc-8407-4143-b980-fc57eb0fcd42", + "id": "040a05a7-68c1-4bd4-89ae-59050ec9d9aa", "name": "OK", "originalRequest": { "url": { @@ -299,7 +299,7 @@ "type": "text/plain" }, "key": "beginDate", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -308,7 +308,7 @@ "type": "text/plain" }, "key": "endDate", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -317,7 +317,7 @@ "type": "text/plain" }, "key": "subscriptionId", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -326,7 +326,7 @@ "type": "text/plain" }, "key": "customerEmail", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -335,7 +335,7 @@ "type": "text/plain" }, "key": "status", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -409,7 +409,7 @@ { "listen": "test", "script": { - "id": "c590519c-661a-4cb8-9106-8351e92746e7", + "id": "57875526-cc4f-49cc-9ccb-d8c71bb39f10", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pub/cycles - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -425,7 +425,7 @@ } }, { - "id": "6a6c41e5-4458-422b-94df-017149d6bf49", + "id": "06122775-b9a7-4527-97f6-c8d32992ac03", "name": "Retry cycle", "request": { "name": "Retry cycle", @@ -454,7 +454,7 @@ "type": "text/plain" }, "type": "any", - "value": "dolor sit ad Duis", + "value": "ad laboris", "key": "cycleId" } ] @@ -487,7 +487,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "0bed1f72-6329-4752-a5fe-274f7cf61f28", + "id": "805f9f4f-14a9-4af9-927d-ad327fa8dbfd", "name": "OK", "originalRequest": { "url": { @@ -546,7 +546,7 @@ { "listen": "test", "script": { - "id": "8472e642-2008-49c5-a21a-dfa6714d9600", + "id": "647dcc67-3045-4f12-9f80-b30886b49b4c", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/rns/pub/cycles/:cycleId/retry - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -562,7 +562,7 @@ "event": [] }, { - "id": "bff63eb4-f841-4a1e-9c28-c7ad5f3a3853", + "id": "f891715d-b1fb-48f6-b5ab-f4fa6b9353ab", "name": "Plans", "description": { "content": "", @@ -570,7 +570,7 @@ }, "item": [ { - "id": "2656b51b-779e-4902-b523-940e94da807a", + "id": "110a6c7f-2650-4ce3-b386-36f2f39e6d7f", "name": "List plans", "request": { "name": "List plans", @@ -596,7 +596,7 @@ "type": "text/plain" }, "key": "periodicity", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -605,7 +605,7 @@ "type": "text/plain" }, "key": "interval", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -660,7 +660,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "e9e13aa1-a162-4864-8a81-ce24f077c18d", + "id": "a79b5768-3b23-41f1-9b43-2c22bef20f86", "name": "OK", "originalRequest": { "url": { @@ -681,7 +681,7 @@ "type": "text/plain" }, "key": "periodicity", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -690,7 +690,7 @@ "type": "text/plain" }, "key": "interval", - "value": "dolor sit ad Duis" + "value": "ad laboris" }, { "disabled": true, @@ -764,7 +764,7 @@ { "listen": "test", "script": { - "id": "3e1e6777-396c-47ed-87ef-3d2a7ee72292", + "id": "ada1c9a1-0e56-4a90-a7bb-fc7b0abebeb0", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pvt/plans - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -780,7 +780,7 @@ } }, { - "id": "bad1cbc8-5f96-4891-aeaf-3665cb6df445", + "id": "b520765c-a594-412f-8655-98596468bb15", "name": "Get plan details", "request": { "name": "Get plan details", @@ -845,7 +845,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "0c37c977-1916-4dcf-b9b5-7cf50773d169", + "id": "4b687225-75d9-4e9b-882e-3a62f0d97eb1", "name": "OK", "originalRequest": { "url": { @@ -913,7 +913,7 @@ { "listen": "test", "script": { - "id": "c240e0b2-d57b-4605-99bd-a2b1af956ce2", + "id": "5b4a2b0b-cb48-455b-ac92-b6fac468c8fc", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pvt/plans/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -932,7 +932,7 @@ "event": [] }, { - "id": "ad0ad16d-7b30-4d40-8ad5-3b33b54f46fe", + "id": "a1072b39-7941-476a-a79e-7e5366e3a3c0", "name": "Reports", "description": { "content": "", @@ -940,7 +940,7 @@ }, "item": [ { - "id": "ebe5fafb-fe10-453b-a3a8-3c64780e6e68", + "id": "59eb95ee-cc76-476b-9052-e4b2d8201f2e", "name": "List report templates", "request": { "name": "List report templates", @@ -993,7 +993,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "ccec9d80-479b-49b2-93b0-3aa4fafeabb0", + "id": "02ac0a6b-236e-45dd-81fd-4490106c9f50", "name": "OK", "originalRequest": { "url": { @@ -1060,7 +1060,7 @@ { "listen": "test", "script": { - "id": "288bbe16-2072-47a8-8593-c63d6fc925be", + "id": "1605f321-82f7-4afe-b8c5-93c2aeb7b776", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pvt/reports - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1076,7 +1076,7 @@ } }, { - "id": "2137aa6b-1776-43d7-b556-145b753a0813", + "id": "6f473b67-279c-412d-87eb-4fd1e2338478", "name": "Get report document details", "request": { "name": "Get report document details", @@ -1153,7 +1153,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "733f1e6b-c301-4d78-8dd9-626a8d5005db", + "id": "62f3ac4b-fb8a-4950-b15c-a2aae8e1507f", "name": "OK", "originalRequest": { "url": { @@ -1223,7 +1223,7 @@ { "listen": "test", "script": { - "id": "8b6dc2bd-9441-4fb0-a195-07b70c6c7f38", + "id": "9ee27163-d6dd-4b4e-ab6c-ce2913d945a5", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pvt/reports/:reportName/documents/:documentId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1239,7 +1239,7 @@ } }, { - "id": "955ed155-a6fe-4e87-b481-d35078591e49", + "id": "86b3fa91-3aa6-4bcd-af62-46ad4141f4a6", "name": "Generate report", "request": { "name": "Generate report", @@ -1342,7 +1342,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "629d5cc6-1646-4f4f-8118-451a5657342a", + "id": "9ee32ec5-ca6c-4b43-a5c1-46c814aff128", "name": "OK", "originalRequest": { "url": { @@ -1448,7 +1448,7 @@ { "listen": "test", "script": { - "id": "15ae35b8-219b-4d19-8ca1-ac7075c2bc11", + "id": "c5d62ebe-64ca-4c5c-be1f-ba7dcfedbddf", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/rns/pvt/reports/:reportName/documents - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1467,7 +1467,7 @@ "event": [] }, { - "id": "d27c2068-ea18-4f8a-a188-459e4462e17f", + "id": "72499e27-5f9c-4ac0-b43d-5c6529d52e3f", "name": "Subscriptions", "description": { "content": "", @@ -1475,7 +1475,7 @@ }, "item": [ { - "id": "909ac66a-b0bf-4d5c-92bd-d4f0093692e8", + "id": "db9ff808-57dc-49f2-86c0-15aaf1bd2dd6", "name": "Get subscription details by ID", "request": { "name": "Get subscription details by ID", @@ -1540,7 +1540,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "d8db080a-fb9e-4fa2-83bc-741d20a0b3bb", + "id": "9a3150ce-4e62-451f-8eca-f34a79d02f8b", "name": "OK", "originalRequest": { "url": { @@ -1608,7 +1608,7 @@ { "listen": "test", "script": { - "id": "8b06340a-35bd-4378-9490-aa4ef7a7fb94", + "id": "8e5bce0c-b226-468e-8801-9425debbb086", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pub/subscriptions/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1624,7 +1624,7 @@ } }, { - "id": "2ff80b0d-c634-404e-b3c7-8c0ba6557164", + "id": "661f5399-8bdd-4751-86eb-676a54f249e3", "name": "Update subscription by ID", "request": { "name": "Update subscription by ID", @@ -1702,7 +1702,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "b112a81e-e7d8-47a5-b52e-ade2b4ba32db", + "id": "d9d79f78-2c44-4480-b2f5-a235d4b4f09c", "name": "OK", "originalRequest": { "url": { @@ -1783,7 +1783,7 @@ { "listen": "test", "script": { - "id": "9280f97f-c258-4804-9ae8-fefeb5663dc2", + "id": "c61adcd3-4d50-4499-a70f-4c889bc72398", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[PATCH]::/api/rns/pub/subscriptions/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1799,7 +1799,7 @@ } }, { - "id": "2f29151c-c525-4d5c-ba6f-740f5b098cdc", + "id": "479bd654-86f0-46c0-8d34-c0f09c9db36a", "name": "List subscriptions", "request": { "name": "List subscriptions", @@ -1934,7 +1934,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "71f9ec30-a8e4-43a1-81b8-909f8bffa7da", + "id": "8d4b7fc9-795b-44ce-8970-704bf67c4717", "name": "OK", "originalRequest": { "url": { @@ -2083,7 +2083,7 @@ { "listen": "test", "script": { - "id": "e76af4a2-7c14-4421-96c4-cd1bd3cc2238", + "id": "ce98ce54-ccb4-4dae-a96b-0e96e904c612", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pub/subscriptions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2099,7 +2099,7 @@ } }, { - "id": "f296dbcd-391d-4959-9560-7aa756720060", + "id": "fa49fbfe-a4ce-4f35-8dee-5256189c0606", "name": "Create subscription", "request": { "name": "Create subscription", @@ -2165,7 +2165,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "1d9f06b1-6182-4857-be07-c5fc8427c24b", + "id": "6ce21e97-c17f-4065-8e34-c45f5fbd08dc", "name": "Created", "originalRequest": { "url": { @@ -2245,7 +2245,7 @@ { "listen": "test", "script": { - "id": "ff7848f3-fe95-4fec-b586-4c77f6b557a1", + "id": "d517c4b4-52bb-4d02-a16f-64572ca9b5f8", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/rns/pub/subscriptions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2261,7 +2261,7 @@ } }, { - "id": "9c1d4272-9911-4bd8-a521-3a3ff27aa648", + "id": "206a0490-3cd1-45e8-8af0-e4c5533bac34", "name": "Remove item from subscription", "request": { "name": "Remove item from subscription", @@ -2334,7 +2334,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "4f844735-bcf1-423c-933b-da75f0ea5814", + "id": "7ef7bd03-a5ea-4697-8206-ca5a689ba985", "name": "No Content", "originalRequest": { "url": { @@ -2394,7 +2394,7 @@ { "listen": "test", "script": { - "id": "1da3cdd6-b182-4d37-a56d-7168e7327bfe", + "id": "ebb2e524-77b5-4b90-a8c6-3fe83caadf34", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[DELETE]::/api/rns/pub/subscriptions/:id/items/:itemId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2408,7 +2408,7 @@ } }, { - "id": "cae93b61-53bd-47be-a3e5-42e4b31fc369", + "id": "02c63861-7cb6-41f5-aa5c-f1e38ebbef64", "name": "Edit item from subscription", "request": { "name": "Edit item from subscription", @@ -2498,7 +2498,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "8aa5cace-bfb4-45f1-88e3-48419d4acb4d", + "id": "1916bdf5-f48c-499c-9e9e-537d29c2cb40", "name": "OK", "originalRequest": { "url": { @@ -2581,7 +2581,7 @@ { "listen": "test", "script": { - "id": "207b85dd-5616-4c0f-8713-946063d3f396", + "id": "6cb3f580-4d32-4976-8686-9ef5048922e2", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[PATCH]::/api/rns/pub/subscriptions/:id/items/:itemId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2597,7 +2597,7 @@ } }, { - "id": "bdbfe28a-20c2-4c79-9505-b0c725cbb4f5", + "id": "84ff0028-7757-4f15-80cc-e0fb0b6c1e37", "name": "Add item to subscription", "request": { "name": "Add item to subscription", @@ -2676,7 +2676,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "c6f91b8c-71e1-47bc-ba21-2475c13162cb", + "id": "89edf7ce-64ef-421c-8547-708dae7ed6fc", "name": "OK", "originalRequest": { "url": { @@ -2758,7 +2758,7 @@ { "listen": "test", "script": { - "id": "d4a0c3b5-5fd3-4422-a3a6-eb0b95bc9ba0", + "id": "92b620fc-c795-4ecc-8a92-e46eaa2fd420", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/rns/pub/subscriptions/:id/items - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2774,7 +2774,7 @@ } }, { - "id": "cfbc125c-e0bb-42da-8920-17dbba2b0c1d", + "id": "4301b491-9b85-4281-9d2e-4ecea3a5f6e3", "name": "Calculate the current prices for a subscription", "request": { "name": "Calculate the current prices for a subscription", @@ -2840,7 +2840,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "d901701f-6984-49a3-8217-31765da4a45d", + "id": "4e2b21f6-966c-4630-bc56-30609e993cac", "name": "OK", "originalRequest": { "url": { @@ -2909,7 +2909,7 @@ { "listen": "test", "script": { - "id": "a8ee6a8c-8dc4-4ea5-8208-b5c4aeca4aac", + "id": "4617c74d-263b-494f-b1cb-946acce3f684", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/rns/pub/subscriptions/:id/simulate - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2925,7 +2925,7 @@ } }, { - "id": "54e94abf-d4d2-4ccc-92d5-8adbe7b8a22e", + "id": "28c1f9d0-e17c-4edd-9c16-a2d1cee1169d", "name": "Calculate the current prices for the provided subscription template", "request": { "name": "Calculate the current prices for the provided subscription template", @@ -2992,7 +2992,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "53bf5857-fc7a-44e9-a373-5f8cf7ba061b", + "id": "e8556694-a575-4265-9a41-65d125289dea", "name": "OK", "originalRequest": { "url": { @@ -3073,7 +3073,7 @@ { "listen": "test", "script": { - "id": "60b97616-68de-4fd2-bc08-547848046e33", + "id": "ff007028-49a3-4f52-bde2-4e47fca51c30", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/rns/pub/subscriptions/simulate - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3089,7 +3089,7 @@ } }, { - "id": "46539f24-5108-4d63-8b69-563fa0ce4d75", + "id": "89975fb7-2ab2-4b90-afc1-fd139f8d9ff3", "name": "Get conversation messages", "request": { "name": "Get conversation messages", @@ -3155,7 +3155,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "67467222-cab9-4b92-b592-8b2be0428037", + "id": "006b51da-0864-4d81-b47b-0b8b05e8a02e", "name": "OK", "originalRequest": { "url": { @@ -3224,7 +3224,7 @@ { "listen": "test", "script": { - "id": "58dc22d8-a91c-49d1-adbc-728b24c100ae", + "id": "4e93dca1-1938-4010-96a7-b0f4f6b95942", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/pub/subscriptions/:subscriptionId/conversation-message - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3243,7 +3243,7 @@ "event": [] }, { - "id": "a9e4a8d2-75e2-4013-a753-bf800b3c54f7", + "id": "a4629b34-6a3e-419b-b14a-ed9adb933ebd", "name": "Settings", "description": { "content": "", @@ -3251,7 +3251,7 @@ }, "item": [ { - "id": "60628e5c-f52c-4d10-af67-a1429a83a74d", + "id": "7b6eba63-ca87-4165-967a-29eef7f8cb9b", "name": "Get subscriptions settings", "request": { "name": "Get subscriptions settings", @@ -3303,7 +3303,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "fc3f6a9c-4001-46d2-8cc7-7b92dd2d9d2d", + "id": "3d5afe3a-61c4-426e-b7e0-be802e3cc1ef", "name": "OK", "originalRequest": { "url": { @@ -3369,7 +3369,7 @@ { "listen": "test", "script": { - "id": "24a66566-05bf-4319-b5f6-858778259be4", + "id": "21b8f3fc-21e6-4a44-ad84-9d629d62279a", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/rns/settings - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3385,7 +3385,7 @@ } }, { - "id": "dafa448f-e678-4855-9ae8-79ef3595720a", + "id": "d3575c0c-b562-46c1-90a8-b9148f702c21", "name": "Edit subscriptions settings", "request": { "name": "Edit subscriptions settings", @@ -3450,7 +3450,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "ef700a6c-4cf8-46c8-acd2-e939a5cd563c", + "id": "dd730b71-4e1e-474f-b1a9-323d3809020f", "name": "OK", "originalRequest": { "url": { @@ -3529,7 +3529,7 @@ { "listen": "test", "script": { - "id": "b4dac23c-cc04-4934-9ac2-1e3ea6ba71e5", + "id": "58b1bd11-41f4-4e11-b440-549cde6a59b9", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/rns/settings - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3587,8 +3587,8 @@ } ], "info": { - "_postman_id": "7758011a-a6d2-47e3-8609-f3b8be2c84f9", - "name": "Subscriptions API (v3) MAKE IT WORK", + "_postman_id": "a8395e9a-46a5-4d15-bbbe-e2825202293c", + "name": "Subscriptions API (v3)", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "[Subscriptions](https://help.vtex.com/en/tutorial/how-subscriptions-work--frequentlyAskedQuestions_4453) is the VTEX solution for customers to make recurrent purchases at your store on a regular schedule. When customers subscribe, they define what products they want to acquire regularly and at what frequency they want these automatic orders to be created. For more information, see [Subscriptions onboarding guide](https://developers.vtex.com/docs/guides/subscriptions).\r\n\r\n## Index\r\n\r\n### Cycles\r\n\r\n- `GET` [Get cycle details](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pub/cycles/-cycleId-)\r\n- `GET` [List cycles](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pub/cycles)\r\n- `POST` [Retry cycle](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#post-/api/rns/pub/cycles/-cycleId-/retry)\r\n\r\n### Plans\r\n\r\n- `GET` [List plans](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pvt/plans)\r\n- `GET` [Get plan details](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pvt/plans/-id-)\r\n\r\n### Reports\r\n\r\n- `GET` [List report templates](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pvt/reports)\r\n- `GET` [Get report document details](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pvt/reports/-reportName-/documents/-documentId-)\r\n- `POST` [Generate report](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#post-/api/rns/pvt/reports/-reportName-/documents)\r\n\r\n### Subscriptions\r\n\r\n- `GET` [Get subscription details by ID](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pub/subscriptions/-id-)\r\n- `PATCH` [Update subscription by ID](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#patch-/api/rns/pub/subscriptions/-id-)\r\n- `GET` [List subscriptions](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pub/subscriptions)\r\n- `POST` [Create subscription](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#post-/api/rns/pub/subscriptions)\r\n- `DELETE` [Remove item from subscription](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#delete-/api/rns/pub/subscriptions/-id-/items/-itemId-)\r\n- `PATCH` [Edit item on subscription](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#patch-/api/rns/pub/subscriptions/-id-/items/-itemId-)\r\n- `POST` [Add item to subscription](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#post-/api/rns/pub/subscriptions/-id-/items)\r\n- `POST` [Calculate the current prices for a subscription](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#post-/api/rns/pub/subscriptions/-id-/simulate)\r\n- `POST` [Calculate the current prices for the provided subscription template](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#post-/api/rns/pub/subscriptions/simulate)\r\n- `GET` [Get conversation messages](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/pub/subscriptions/-subscriptionId-/conversation-message)\r\n\r\n### Settings\r\n\r\n- `GET` [Get subscription settings](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#get-/api/rns/settings)\r\n- `POST` [Edit subscriptions settings](https://developers.vtex.com/docs/api-reference/subscriptions-api-v3#post-/api/rns/settings) \r\n\r\n## Common parameters\r\n\r\n| **Parameter name** | **Description** | **Type** |\r\n| :---: | :--- | :--- |\r\n| `{{accountName}}` | Name of the VTEX account. Used as part of the URL. | Server variable. |\r\n| `{{environment}}` | Environment to use. Used as part of the URL. The default value is `vtexcommercestable`. | Server variable. |\r\n| `X-VTEX-API-AppKey` | Unique identifier of the [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys). | Authentication header. Must be used together with `X-VTEX-API-AppToken`. Not necessary when using `VtexIdclientAutCookie`. |\r\n| `X-VTEX-API-AppToken` | Secret token of the [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys). | Authentication header. Must be used together with X-VTEX-API-AppKey. Not necessary when using `VtexIdclientAutCookie`. |\r\n| `VtexIdclientAutCookie` | [User token](https://developers.vtex.com/docs/guides/api-authentication-using-user-tokens), valid for 24 hours. | Authentication header. Not necessary when using `X-VTEX-API-AppKey` and `X-VTEX-API-AppToken`. |",