diff --git a/content/advanced-extensions/api-deployment.md b/content/advanced-extensions/api-deployment.md index b530221ea..d6e117975 100644 --- a/content/advanced-extensions/api-deployment.md +++ b/content/advanced-extensions/api-deployment.md @@ -78,6 +78,7 @@ You can find the extension UUID by listing all extensions using the API: `GET {Y | Parameter | Description | Example | |-----------|-------------|---------| | `configuration[labels][{locale}]` | Localized labels | `configuration[labels][en_US]="My Extension"` | +| `configuration[custom_variables]̀` | Custom variables | `configuration[custom_variables] = {"key": "value"}` | | `credentials[{n}][code]` | Credential identifier | `credentials[0][code]="api_token"` | | `credentials[{n}][type]` | Auth type: `Bearer Token`, `Basic Auth`, or `Custom Header` | `credentials[0][type]="Bearer Token"` | | `credentials[{n}][value]` | Credential value(s) | `credentials[0][value]="token123"` | diff --git a/content/advanced-extensions/sdk-in-depth.md b/content/advanced-extensions/sdk-in-depth.md index 97e608e1b..1385c6435 100644 --- a/content/advanced-extensions/sdk-in-depth.md +++ b/content/advanced-extensions/sdk-in-depth.md @@ -233,6 +233,23 @@ const secureResponse = await PIM.api.external.call({ The external gateway provides a secure way to integrate your extension with external systems while maintaining the security of the PIM environment. +## Using Custom variables + +Custom Variables allow you to define configuration data that will be securely passed to your SDK Custom Component extensions at runtime. They are stored as encrypted JSON objects in the PIM database and made available to your extension's JavaScript code through a global variable. + +This feature is designed to make your extensions adaptable across multiple PIM instances. By externalizing configuration through Custom Variables, you can deploy the same extension code to different environments (development, staging, production) or different customer PIM instances, and simply +adjust the configuration values without modifying your JavaScript code. + + ```js + // Access the entire custom variables object + const config = globalThis.PIM_CUSTOM_VARIABLES; + + // Access specific values + const apiUrl = globalThis.PIM_CUSTOM_VARIABLES.apiUrl; + const timeout = globalThis.PIM_CUSTOM_VARIABLES.timeout; + const features = globalThis.PIM_CUSTOM_VARIABLES.features; + ``` + ## Error Handling The SDK methods return promises that you can handle with try/catch: diff --git a/content/advanced-extensions/ui-deployment.md b/content/advanced-extensions/ui-deployment.md index 422414667..30ffd5fe8 100644 --- a/content/advanced-extensions/ui-deployment.md +++ b/content/advanced-extensions/ui-deployment.md @@ -37,6 +37,9 @@ If you prefer an automated deployments method, check out the [API deployment gui - **Basic Auth**: For username/password authentication - **Custom Header**: For custom HTTP headers +- **Add Custom variables** + - You can add custom varaibles that will be iterpreted but your extension. The accepted format is JSON. + - **Save and Activate**: - Click "Save" to store your extension configuration - The extension will be immediately available in the configured position diff --git a/content/files/akeneo-postman-collection.json b/content/files/akeneo-postman-collection.json index d8d934469..6677d31a5 100644 --- a/content/files/akeneo-postman-collection.json +++ b/content/files/akeneo-postman-collection.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "13e3a16e-15cd-44ec-bbf5-30b0e30fcffa" + "postman_id": "8c963674-4700-4bf3-b194-553962178cfa" }, "item": [ { - "id": "d1e39da8-33b9-4f3d-b5c5-689054fa0631", + "id": "49666a33-63a8-4803-9f47-63e3caa52358", "name": "Product [uuid]", "description": { "content": "A product is a single item that can be managed in the PIM.\nIt can have various attributes and values, and can be associated with product models, categories, and other entities.\nProducts are the core entities in the PIM and are used to manage the product information.\nWe strongly recommend using this endpoint for its reliability and flexibility.\nUUIDs, or Universally Unique Identifiers, are guaranteed to be unique and never change, even if other product identifiers like SKUs are modified.\nThis ensures consistent product identification regardless of future changes.\nAdditionally, UUIDs allow interaction with products that lack a traditional identifier.\n", @@ -12,7 +12,7 @@ }, "item": [ { - "id": "5d01d781-c58f-4df5-bd4e-c557e0c3c90c", + "id": "549574f9-c54b-4617-9add-e44ae302588a", "name": "Get list of products", "request": { "name": "Get list of products", @@ -427,7 +427,7 @@ { "listen": "test", "script": { - "id": "c204e9ba-bb0b-49d4-a333-00756f3cc276", + "id": "dca33e84-60c9-4bfc-a8fe-94d103b1dbcb", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/products-uuid - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -442,7 +442,7 @@ } }, { - "id": "5e79646d-0cd6-4675-bcf9-c88ec8d02250", + "id": "cdb374a2-bea3-49a6-939f-07a2170a88a0", "name": "Create a new product", "request": { "name": "Create a new product", @@ -512,7 +512,7 @@ } }, { - "id": "aac5d535-3c0a-4dce-b805-ef915f3ba74a", + "id": "a518e2c0-35e2-415c-9f93-c06a33c0b87c", "name": "Update/create several products", "request": { "name": "Update/create several products", @@ -580,7 +580,7 @@ { "listen": "test", "script": { - "id": "918be862-026f-4002-8f36-c7fdfa5a7867", + "id": "de31168f-0e30-4b94-be7f-1ab1ddc60abb", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/products-uuid - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -595,7 +595,7 @@ } }, { - "id": "1ca5b5d5-a260-440a-b548-49763f7a13ce", + "id": "905a7ed9-3311-476b-ab72-e78f55156190", "name": "Search list of products", "request": { "name": "Search list of products", @@ -700,7 +700,7 @@ { "listen": "test", "script": { - "id": "ad16484a-7f89-4a43-b925-fc12372fc109", + "id": "55d29af4-7729-4d22-a395-1f99ffebdaaf", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/rest/v1/products-uuid/search - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -715,7 +715,7 @@ } }, { - "id": "5f4d1dec-dce5-4581-9cd7-4eaefdb75f13", + "id": "aabf89ed-36e2-4b88-895b-30860343692b", "name": "Get a product", "request": { "name": "Get a product", @@ -827,7 +827,7 @@ { "listen": "test", "script": { - "id": "a377ecf6-d506-4fc7-ad66-97a5b18c35b2", + "id": "caee7449-2ace-4b65-8bff-c5465f35d363", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/products-uuid/:uuid - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -842,7 +842,7 @@ } }, { - "id": "7747ddf9-b772-4d5c-9fb3-b62f292165af", + "id": "6d162a80-fcaf-41bd-876f-75bb378aaa53", "name": "Update/create a product", "request": { "name": "Update/create a product", @@ -924,7 +924,7 @@ } }, { - "id": "b9fdbb26-1504-4bed-8475-7ae1a06eaaa2", + "id": "03cf30da-f909-4017-881f-e16fa5c8579d", "name": "Delete a product", "request": { "name": "Delete a product", @@ -981,7 +981,7 @@ { "listen": "test", "script": { - "id": "8ba4790f-32a5-454f-84f9-779c8fc1f9a4", + "id": "eee9481d-a5f2-451d-8576-4bc5c67d455f", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[DELETE]::/api/rest/v1/products-uuid/:uuid - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -994,7 +994,7 @@ } }, { - "id": "48928257-5f6f-4562-9f3d-5ada091e27b7", + "id": "8255763b-c874-4511-aece-8387c230b511", "name": "Submit a draft for approval", "request": { "name": "Submit a draft for approval", @@ -1054,7 +1054,7 @@ } }, { - "id": "201102d3-2949-4fc1-8787-724fdae9f550", + "id": "215ac54d-85a0-481c-bdd1-845be6f1ec9c", "name": "Get a draft", "request": { "name": "Get a draft", @@ -1112,7 +1112,7 @@ { "listen": "test", "script": { - "id": "1bc2a074-f837-4ab6-a969-8a81329e7d97", + "id": "ac6896f2-1af4-4e15-9e84-817709ddd44d", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/products-uuid/:uuid/draft - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -1130,7 +1130,7 @@ "event": [] }, { - "id": "f9540da6-d2af-4514-96f4-fe4b8ca64779", + "id": "c42f0be2-515c-4398-ae81-37c4bfb1bca4", "name": "Product [identifier]", "description": { "content": "A product is a single item that can be managed in the PIM.\nIt can have various attributes and values, and can be associated with product models, categories, and other entities.\nProducts are the core entities in the PIM and are used to manage the product information.\nThis endpoint is useful when you already have a product identifier within your systems.\nThis identifier, which could be a SKU or internal code, can be used to directly interact with the corresponding product in our API.\nThis simplifies integration for workflows that rely on existing product identification methods.\n", @@ -1138,7 +1138,7 @@ }, "item": [ { - "id": "af51f99c-5885-4973-8715-7062c3c88188", + "id": "70430bc7-712a-4d94-8ecb-7f6f50c09e2b", "name": "Get list of products", "request": { "name": "Get list of products", @@ -1535,7 +1535,7 @@ { "listen": "test", "script": { - "id": "15388a70-56b5-43ff-9824-3ce5ce30bb0a", + "id": "c5dda1bd-0909-4ebf-a41c-c67bbcb097f0", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/products - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -1550,7 +1550,7 @@ } }, { - "id": "7fb8005a-e149-4793-aed9-22919d83e418", + "id": "6cd4053a-3ae6-4fae-89bf-6e58bfc04a61", "name": "Create a new product", "request": { "name": "Create a new product", @@ -1620,7 +1620,7 @@ } }, { - "id": "f3ec475f-8c55-4e40-bf0d-1a31cbcc60ed", + "id": "b8f17338-2859-45db-9342-2556772b1162", "name": "Update/create several products", "request": { "name": "Update/create several products", @@ -1688,7 +1688,7 @@ { "listen": "test", "script": { - "id": "fa747639-3b76-4c1b-b66e-16ea837332fb", + "id": "f8db8850-c76a-4c67-91b3-1c7a5ce603f8", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/products - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -1703,7 +1703,7 @@ } }, { - "id": "5c0124aa-02f1-4351-af2a-397319c0fc9c", + "id": "15b980b4-d2fd-4464-85c1-fd0d39913816", "name": "Get a product", "request": { "name": "Get a product", @@ -1806,7 +1806,7 @@ { "listen": "test", "script": { - "id": "424d1905-543e-475f-ad9a-d9fc9184c901", + "id": "2ef3441f-5f26-495d-b070-b1029dd12a9c", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/products/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -1821,7 +1821,7 @@ } }, { - "id": "9479c8e4-f260-4f33-9d6f-7cc29b0d325f", + "id": "8048d0cb-cb8b-4343-b8fb-4d35409e3ea8", "name": "Update/create a product", "request": { "name": "Update/create a product", @@ -1903,7 +1903,7 @@ } }, { - "id": "e41d7c27-a9dc-4d52-9109-3c87623758f5", + "id": "5acdb522-c38d-4c3f-bf30-37f5ed0f763a", "name": "Delete a product", "request": { "name": "Delete a product", @@ -1960,7 +1960,7 @@ { "listen": "test", "script": { - "id": "c59ef0be-9823-4a10-9eb4-7565a778e555", + "id": "0b222e6d-4ae9-434a-be42-576a08dcd3f8", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[DELETE]::/api/rest/v1/products/:code - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -1973,7 +1973,7 @@ } }, { - "id": "8829d240-2b19-4b12-bd3a-36683d8ca4a2", + "id": "feb41cfc-3879-4995-ba88-51da4c06e629", "name": "Submit a draft for approval", "request": { "name": "Submit a draft for approval", @@ -2046,7 +2046,7 @@ } }, { - "id": "0d06ed23-3d4a-4039-8297-fe7f2908adb5", + "id": "7dfcf439-663f-4e9d-be94-ec09961ad8bf", "name": "Get a draft", "request": { "name": "Get a draft", @@ -2104,7 +2104,7 @@ { "listen": "test", "script": { - "id": "e607c0ae-0857-41dd-852f-1f6a351191a3", + "id": "7c73bbfa-ea14-4971-a728-fdc228df8056", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/products/:code/draft - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -2122,7 +2122,7 @@ "event": [] }, { - "id": "47e86fe5-588e-4d2a-bfdd-206154b50269", + "id": "62a7668b-af5e-4a94-a09d-059cc3c86148", "name": "Product model", "description": { "content": "A product model is a template for products that share the same attributes and values.\nIt allows you to create a hierarchy of products, where a product model can have several variants.\nA product model can also have its own attributes and values, which are inherited by its variants.\n", @@ -2130,7 +2130,7 @@ }, "item": [ { - "id": "e9083bcc-29df-48b0-b9a0-5fe6ccd3f7d7", + "id": "d7caa135-236b-4a2c-ae05-6ed64b3bf46f", "name": "Get list of product models", "request": { "name": "Get list of product models", @@ -2401,7 +2401,7 @@ { "listen": "test", "script": { - "id": "8fa5a906-b309-4f34-904d-9b49713e37b9", + "id": "c1e55769-95a0-49bc-9899-4c4c62adca74", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/product-models - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -2416,7 +2416,7 @@ } }, { - "id": "4beb3147-ea3b-44c0-8e4d-24f432a07815", + "id": "f0c8dc08-6c3b-48ff-abd3-909255f146ae", "name": "Create a new product model", "request": { "name": "Create a new product model", @@ -2486,7 +2486,7 @@ } }, { - "id": "0ca871a2-a0d9-4267-baaf-1ec4a10df33b", + "id": "f005769a-3e94-4698-86f6-5555cc0d69e5", "name": "Update/create several product models", "request": { "name": "Update/create several product models", @@ -2554,7 +2554,7 @@ { "listen": "test", "script": { - "id": "1bde0b15-8d05-48e0-87ad-14018f87fae9", + "id": "076f7c4c-b975-4dbd-8d9a-ec46af3d62b4", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/product-models - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -2569,7 +2569,7 @@ } }, { - "id": "fc53d37a-7a36-44e4-8082-459787316590", + "id": "bdb1386b-d9d4-4bc4-acd3-4afca18d0c61", "name": "Get a product model", "request": { "name": "Get a product model", @@ -2654,7 +2654,7 @@ { "listen": "test", "script": { - "id": "be4dd659-74b5-4ff1-90cb-5c3ae18ff222", + "id": "aa7d5dbc-7661-4288-9cd7-f210f2acd6a0", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/product-models/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -2669,7 +2669,7 @@ } }, { - "id": "b65e3ffd-6860-4539-bd20-4508ee769585", + "id": "9ec0442c-0682-4bae-8a66-7c200b0fa173", "name": "Update/create a product model", "request": { "name": "Update/create a product model", @@ -2751,7 +2751,7 @@ } }, { - "id": "1a346078-4c71-4494-8dac-db313d38678d", + "id": "6bd0eb4c-5857-4095-b808-863330729b89", "name": "Delete a product model", "request": { "name": "Delete a product model", @@ -2808,7 +2808,7 @@ { "listen": "test", "script": { - "id": "0153a293-b3ef-467d-80c9-96824f4b086c", + "id": "1f5e2767-8dff-4c3c-8f78-19d0d6499325", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[DELETE]::/api/rest/v1/product-models/:code - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -2821,7 +2821,7 @@ } }, { - "id": "84b0ac8e-8996-4c8e-9db3-921a25c89a79", + "id": "cecca698-632d-44a0-ad51-ca1e18a21508", "name": "Submit a draft for approval", "request": { "name": "Submit a draft for approval", @@ -2894,7 +2894,7 @@ } }, { - "id": "068a7412-2d87-45ba-902f-5e39bae8ebc4", + "id": "4de0ffac-1fb6-44e2-96e9-db4bd98312e7", "name": "Get a draft", "request": { "name": "Get a draft", @@ -2952,7 +2952,7 @@ { "listen": "test", "script": { - "id": "45948f0c-f980-4000-be52-9ad0f15701e1", + "id": "bbec89d7-f1ae-4cc2-bf85-2d48168ea078", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/product-models/:code/draft - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -2970,7 +2970,7 @@ "event": [] }, { - "id": "7bd1e140-708e-4a7e-a405-3b10cad376cb", + "id": "3c1d4e6c-a6de-4bd5-99be-d960dfebcf18", "name": "Product media file", "description": { "content": "A media file is a file that can be attached to a product, product model, category, or asset.\nIt can be an image, a video, a PDF, or any other type of file.\nMedia files are used to enrich the product information and provide additional context to the products.\n", @@ -2978,7 +2978,7 @@ }, "item": [ { - "id": "f52b00e3-b983-46cb-858f-426355fded43", + "id": "aff9784b-dea0-44fd-9bf9-f51d209c9724", "name": "Get a list of product media files", "request": { "name": "Get a list of product media files", @@ -3051,7 +3051,7 @@ { "listen": "test", "script": { - "id": "13b861be-a4f5-4a81-85a1-d0c9482ceb43", + "id": "059eecdc-30dc-4f06-83fa-ec016a356e91", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/media-files - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -3066,7 +3066,7 @@ } }, { - "id": "60d1abf3-ddc2-414d-929c-4dd3fae9b83f", + "id": "a586e75b-9f5e-4997-b230-a8a6198a389c", "name": "Create a new product media file", "request": { "name": "Create a new product media file", @@ -3107,7 +3107,7 @@ "type": "text/plain" }, "key": "file", - "value": "Excepteur qui", + "value": "nisi ", "type": "text" }, { @@ -3139,7 +3139,7 @@ } }, { - "id": "a6afba0e-d988-4d9f-bd2e-e3619c85b356", + "id": "3266c47e-ff15-4817-99f7-e93230f0a40e", "name": "Get a product media file", "request": { "name": "Get a product media file", @@ -3196,7 +3196,7 @@ { "listen": "test", "script": { - "id": "9afb8753-338c-4ec9-a6dc-fae1ff524e5f", + "id": "97a9818e-26ca-4d87-8e36-a61b00f5df08", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/media-files/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -3211,7 +3211,7 @@ } }, { - "id": "0d420f56-7b50-4cf9-a388-a2a3afd5799c", + "id": "41791455-636c-458c-bb8a-fcea0c7ddad4", "name": "Download a product media file", "request": { "name": "Download a product media file", @@ -3269,7 +3269,7 @@ { "listen": "test", "script": { - "id": "db87c5eb-7790-4c2f-8fa8-703ae65f580c", + "id": "9b60c202-e093-4535-b001-f2b67b8cef2f", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/media-files/:code/download - Content-Type is image/png\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"image/png\");\n});\n" @@ -3285,7 +3285,7 @@ "event": [] }, { - "id": "cf340740-7b8f-4ae0-8ed9-a58251007fe1", + "id": "20df8eda-f123-4f03-8e30-4323758019ea", "name": "Jobs", "description": { "content": "A job is a process that can be executed in the PIM to perform various tasks, such as importing or exporting data.\nJobs can be used to synchronize data between the PIM and external systems, or to perform bulk operations on products, product models, or other entities.\n", @@ -3293,7 +3293,7 @@ }, "item": [ { - "id": "8b6b0f46-7643-40db-bcf3-6580ae20217c", + "id": "35e37a28-fc99-4543-a4ce-b6b74d2d8ceb", "name": "Launch export job by code", "request": { "name": "Launch export job by code", @@ -3364,7 +3364,7 @@ { "listen": "test", "script": { - "id": "c5e70515-3c6d-4a8a-963a-5cc61062a289", + "id": "1dad6835-9fbc-4e0c-9e14-49cd8885f7fb", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/rest/v1/jobs/export/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -3379,7 +3379,7 @@ } }, { - "id": "128938cc-5e2c-4c53-8077-060dba9aa008", + "id": "aeeca335-4e36-483a-9967-63d5cc14b841", "name": "Launch import job by code", "request": { "name": "Launch import job by code", @@ -3450,7 +3450,7 @@ { "listen": "test", "script": { - "id": "90e3ddc2-5f27-4df8-a63c-ffe2fc430856", + "id": "6ceb442a-4621-4503-ba35-d450e746fd0d", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/rest/v1/jobs/import/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -3468,7 +3468,7 @@ "event": [] }, { - "id": "f91bef8b-1d5b-4759-8bb5-4020e4008167", + "id": "488b5ee6-1fb6-4f55-9dc1-dacd805c1e9e", "name": "Family", "description": { "content": "A family is a set of attributes that are shared by products belonging to this family.\nIn other words, a family can be considered as a template for products.\nA product family can use all of the attributes available in the PIM.\nSeveral families of products can use the same attributes.\n", @@ -3476,7 +3476,7 @@ }, "item": [ { - "id": "dc9b0b6c-1f08-4014-ad80-c190214a2f07", + "id": "c4cb7845-c92e-4d9e-8214-1a9b55e9e59d", "name": "Get list of families", "request": { "name": "Get list of families", @@ -3576,7 +3576,7 @@ { "listen": "test", "script": { - "id": "06d41615-e565-452c-b2b5-2662fd77e792", + "id": "5b555af9-fdca-4ef5-ba07-66591464d90e", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/families - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -3591,7 +3591,7 @@ } }, { - "id": "59df26ae-7499-4b0b-bf08-598bcaea56ae", + "id": "fe4a2bc5-4b47-4612-b3dd-3bb1701c4fa3", "name": "Create a new family", "request": { "name": "Create a new family", @@ -3660,7 +3660,7 @@ } }, { - "id": "ca47ec3f-04bb-446a-af5c-703468d717d3", + "id": "94dd15da-33cb-462d-b588-78e22bc64024", "name": "Update/create several families", "request": { "name": "Update/create several families", @@ -3727,7 +3727,7 @@ { "listen": "test", "script": { - "id": "a83da900-caf8-4430-90e2-d4d6ff7f86bd", + "id": "07b7ba5c-1bb8-491d-b8b6-9be195469586", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/families - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -3742,7 +3742,7 @@ } }, { - "id": "74244e92-3ddb-4160-b5f4-e285fc5d41af", + "id": "83a1caa2-3099-4eef-8fbe-bf484346bdfb", "name": "Get a family", "request": { "name": "Get a family", @@ -3799,7 +3799,7 @@ { "listen": "test", "script": { - "id": "42c2d088-68af-4d47-8437-3b965488dcf0", + "id": "24cf21de-ea61-4290-92ee-99361aeaeb00", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/families/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -3814,7 +3814,7 @@ } }, { - "id": "2ea22800-975c-4c03-b9ea-5a4dc20aa8e1", + "id": "f71577c5-ea9d-40ad-b9a9-925e659d5ac5", "name": "Update/create a family", "request": { "name": "Update/create a family", @@ -3898,7 +3898,7 @@ "event": [] }, { - "id": "3eec5242-f43b-4803-a7f1-7b51d1ffdf34", + "id": "3d27c7de-12e3-4346-b58f-9ec1ec4f5c50", "name": "Family variant", "description": { "content": "A family variant is a specific type of family that allows you to create variants of a product model.\nIt allows you to define the attributes and values that are specific to the variants of a product model.\nFamily variants are used to manage the relationships between product models and their variants.\n", @@ -3906,7 +3906,7 @@ }, "item": [ { - "id": "d8fde919-7538-4976-81db-2aef0ebe0a19", + "id": "599d97af-ee6b-457a-b8fc-7386d8d42f16", "name": "Get list of family variants", "request": { "name": "Get list of family variants", @@ -3992,7 +3992,7 @@ { "listen": "test", "script": { - "id": "776e0df4-a943-4d65-89a5-78050eeac917", + "id": "9d157865-070a-4853-8a63-20c21af3099f", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/families/:family_code/variants - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -4007,7 +4007,7 @@ } }, { - "id": "44c72833-fea6-4b26-ac59-f0efc10c1a46", + "id": "dd634a65-a4f0-45eb-be8d-f5b388c2bc9d", "name": "Create a new family variant", "request": { "name": "Create a new family variant", @@ -4080,7 +4080,7 @@ } }, { - "id": "c58d00e1-6cf3-484b-905f-414ffd2fabe0", + "id": "7a9a73d1-30bf-45fa-afa3-816ca7a56888", "name": "Update/create several family variants", "request": { "name": "Update/create several family variants", @@ -4151,7 +4151,7 @@ { "listen": "test", "script": { - "id": "24e1209e-8671-43f2-a2e7-0b985d4223b4", + "id": "b0bd0769-0856-48a4-af9b-dad13b17f4a2", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/families/:family_code/variants - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -4166,7 +4166,7 @@ } }, { - "id": "374713aa-41e1-4526-be4a-e85902cab14a", + "id": "b315b890-bdcc-45df-baf1-a1d924db2386", "name": "Get a family variant", "request": { "name": "Get a family variant", @@ -4235,7 +4235,7 @@ { "listen": "test", "script": { - "id": "5817f692-8b40-4e5f-b383-3ca855f04557", + "id": "a78e5e32-f804-4706-bc42-822ff3739e88", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/families/:family_code/variants/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -4250,7 +4250,7 @@ } }, { - "id": "4de3a654-afb6-4f73-9e43-fe078625b6ad", + "id": "d07cb802-d4f0-4d16-bf27-b96391d53c28", "name": "Update/create a family variant", "request": { "name": "Update/create a family variant", @@ -4337,7 +4337,7 @@ "event": [] }, { - "id": "e9cab56a-e1d7-4503-973f-953796c534c1", + "id": "c5b56dfe-fbe2-4844-99c9-971fa801f2f7", "name": "Attribute", "description": { "content": "An attribute is a piece of information that can be associated with a product or product model.\nAttributes can be used to store various types of data, such as text, numbers, dates, or media files.\nThey are used to define the characteristics of products and to provide additional information about them.\n", @@ -4345,7 +4345,7 @@ }, "item": [ { - "id": "785d433e-cfe6-4b5d-9697-f9d360e100f8", + "id": "86588267-798f-4542-b2c3-6d655e93cef3", "name": "Get list of attributes", "request": { "name": "Get list of attributes", @@ -4463,7 +4463,7 @@ { "listen": "test", "script": { - "id": "d4a227cd-1c32-4c24-995a-9f7979557216", + "id": "1b541fa1-df44-40e0-ba15-e415461e3e76", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/attributes - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -4478,7 +4478,7 @@ } }, { - "id": "43593218-5eb0-4da2-ae91-6d526a6a130b", + "id": "d5683ea6-0d82-4594-b1d6-f41eaf0aff85", "name": "Create a new attribute", "request": { "name": "Create a new attribute", @@ -4538,7 +4538,7 @@ } }, { - "id": "63dfa3f1-287f-4489-9085-de89b93dc8d6", + "id": "2a6c132d-97f4-44e1-b2cf-ee67ac284075", "name": "Update/create several attributes", "request": { "name": "Update/create several attributes", @@ -4596,7 +4596,7 @@ { "listen": "test", "script": { - "id": "6bd033db-95db-4a0d-946c-4236a40aefcc", + "id": "de46e921-473f-4c26-868f-5ad018e134d2", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/attributes - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -4611,7 +4611,7 @@ } }, { - "id": "12e0abc8-af01-4343-9211-97e1d4e9edbb", + "id": "68dae798-79bf-4f6c-93c5-9976ed6f5d6f", "name": "Get an attribute", "request": { "name": "Get an attribute", @@ -4678,7 +4678,7 @@ { "listen": "test", "script": { - "id": "8f0808c9-c769-41be-b4ad-73acf0378d69", + "id": "cb2d61c2-409d-4662-ac72-2773802b9792", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/attributes/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -4693,7 +4693,7 @@ } }, { - "id": "2ab282f6-406d-4029-8888-1dbbdadb6614", + "id": "3584fdc1-b049-4754-86ae-a8890ab44695", "name": "Update/create an attribute", "request": { "name": "Update/create an attribute", @@ -4768,7 +4768,7 @@ "event": [] }, { - "id": "5a041976-88b8-45cc-b8e3-e03ff64416a6", + "id": "4d4d6760-3342-440d-a4b4-c79a89291567", "name": "Attribute option", "description": { "content": "An attribute option is a value that can be associated with an attribute.\nFor example, if you have an attribute called \"Color\", the options could be \"Red\", \"Blue\", \"Green\", etc.\nOptions are used to provide predefined values for attributes, making it easier to manage and maintain product data.\n", @@ -4776,7 +4776,7 @@ }, "item": [ { - "id": "71800f23-5784-43ad-b59d-baecaf1bf1c1", + "id": "6d73e518-c439-40d2-9f16-26343a17c3af", "name": "Get list of attribute options", "request": { "name": "Get list of attribute options", @@ -4862,7 +4862,7 @@ { "listen": "test", "script": { - "id": "36394ad4-ec6b-4d24-8d28-6d730aecd68e", + "id": "d11dcf3b-6381-4ec0-973b-33b38308a2b2", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/attributes/:attribute_code/options - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -4877,7 +4877,7 @@ } }, { - "id": "51ca7188-37be-4fac-b5a1-61fedd35bc79", + "id": "4abc681c-3a81-4bfc-8b12-d00ece6d56cb", "name": "Create a new attribute option", "request": { "name": "Create a new attribute option", @@ -4950,7 +4950,7 @@ } }, { - "id": "c8896fdf-2cd0-4a62-b6f0-28cb72e9f35f", + "id": "534cdafd-2818-4127-9396-99bb046a270a", "name": "Update/create several attribute options", "request": { "name": "Update/create several attribute options", @@ -5021,7 +5021,7 @@ { "listen": "test", "script": { - "id": "84c6165d-8e64-4e1d-af59-7d60dd1d4942", + "id": "121002ed-3c55-4f91-8313-5395e682e672", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/attributes/:attribute_code/options - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -5036,7 +5036,7 @@ } }, { - "id": "c4fada55-46dc-4215-8379-161179011978", + "id": "9a0ce932-c722-4fc3-a849-830db7c0d0ae", "name": "Get an attribute option", "request": { "name": "Get an attribute option", @@ -5105,7 +5105,7 @@ { "listen": "test", "script": { - "id": "0bece6cc-f8a2-438d-afac-edfe2c4a0020", + "id": "e83299e5-0dec-4e78-b9da-42f1e2f23f38", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/attributes/:attribute_code/options/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -5120,7 +5120,7 @@ } }, { - "id": "7d60904b-5e6a-41a1-b4fb-5d24f0272d65", + "id": "affa547a-4ed7-423d-8e34-519ac557d5e6", "name": "Update/create an attribute option", "request": { "name": "Update/create an attribute option", @@ -5207,7 +5207,7 @@ "event": [] }, { - "id": "c05bd324-47e3-4b28-bdc6-8f7947edf5db", + "id": "f259b4fa-8ac8-4d81-b26e-831a5ce4a0d0", "name": "Attribute group", "description": { "content": "An attribute group is a way to organize attributes in the PIM.\nIt allows you to group related attributes together, making it easier to manage and maintain product data.\nFor example, you could have an attribute group called \"Specifications\" that contains attributes like \"Weight\", \"Dimensions\", and \"Material\".\n", @@ -5215,7 +5215,7 @@ }, "item": [ { - "id": "190ca3ca-17ea-403c-8634-c5d90abaeac7", + "id": "36a30c58-c7d2-4ac2-aa5b-08c30c9ecb56", "name": "Get list of attribute groups", "request": { "name": "Get list of attribute groups", @@ -5306,7 +5306,7 @@ { "listen": "test", "script": { - "id": "795779e0-9b60-4166-ae1f-cf3d9c32679f", + "id": "82e3c112-3531-40b2-91bc-7bbf998f6b08", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/attribute-groups - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -5321,7 +5321,7 @@ } }, { - "id": "4af9233b-e337-40ff-ad06-b38e1f3a3b2e", + "id": "ab936bf5-a1f3-43fc-9943-627e05cbabb8", "name": "Create a new attribute group", "request": { "name": "Create a new attribute group", @@ -5381,7 +5381,7 @@ } }, { - "id": "adc3926e-6b7d-4366-b921-323931b59a6b", + "id": "60fdb1fe-d5d5-4ce0-bece-b8f08e537219", "name": "Update/create several attribute groups", "request": { "name": "Update/create several attribute groups", @@ -5439,7 +5439,7 @@ { "listen": "test", "script": { - "id": "e40b04a6-11c3-404f-a811-7c9565c48d17", + "id": "ede4d211-2d8a-4a92-9d84-eb30dd2ec45f", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/attribute-groups - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -5454,7 +5454,7 @@ } }, { - "id": "84d4470a-36b3-47f9-aaeb-3a3616a120bf", + "id": "3965543c-69d5-4798-9d66-8f24877ee867", "name": "Get an attribute group", "request": { "name": "Get an attribute group", @@ -5511,7 +5511,7 @@ { "listen": "test", "script": { - "id": "82e3d4b2-3a16-4468-aed2-c86036c0a100", + "id": "96e47dfc-7229-4f5c-8e47-f3ce710d8fd9", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/attribute-groups/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -5526,7 +5526,7 @@ } }, { - "id": "6e6aed29-2256-412f-b753-fa119379eea0", + "id": "6f848365-6ab6-4779-853f-666169c01efd", "name": "Update/create an attribute group", "request": { "name": "Update/create an attribute group", @@ -5601,7 +5601,7 @@ "event": [] }, { - "id": "432d80d4-a004-4815-95b8-703c921074ba", + "id": "5d57325a-ab87-4079-aeb8-deaf594812cd", "name": "Association type", "description": { "content": "An association type is a way to define the relationship between products or product models.\nIt allows you to create links between products, such as \"related products\", \"up-sell products\", or \"cross-sell products\".\nAssociation types are used to manage the relationships between products and to provide additional context to the product information.\n", @@ -5609,7 +5609,7 @@ }, "item": [ { - "id": "4cb63898-6332-42e3-b4f9-d7ceae851f52", + "id": "79657967-a150-42b2-812f-e9b172b79573", "name": "Get a list of association types", "request": { "name": "Get a list of association types", @@ -5682,7 +5682,7 @@ { "listen": "test", "script": { - "id": "a429be7c-99d9-4ec6-8e0f-a9930c55c2ef", + "id": "cd8ca6cf-40c3-413c-97e5-55eaf3b26f32", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/association-types - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -5697,7 +5697,7 @@ } }, { - "id": "be3ac4f1-211c-44a8-bf65-257faa726fb9", + "id": "b842fcc1-c395-460b-a1a6-0756058a9d6d", "name": "Create a new association type", "request": { "name": "Create a new association type", @@ -5757,7 +5757,7 @@ } }, { - "id": "d83a86bd-d40b-4994-a4da-fe7cbdc43d67", + "id": "07797207-e798-4659-b09f-0e4b1be9c758", "name": "Update/create several association types", "request": { "name": "Update/create several association types", @@ -5815,7 +5815,7 @@ { "listen": "test", "script": { - "id": "9a8923c1-339a-4edc-a373-dda43bccb599", + "id": "e47bde5e-190d-4418-9fcf-c026b58ae6d3", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/association-types - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -5830,7 +5830,7 @@ } }, { - "id": "a3626cb2-37e4-400a-9e06-cff7064413c0", + "id": "222a0d53-4de0-4527-9c21-f3e52ee3aebb", "name": "Get an association type", "request": { "name": "Get an association type", @@ -5887,7 +5887,7 @@ { "listen": "test", "script": { - "id": "7fab2522-9a6f-4c21-ba11-ab4cb6fdaa59", + "id": "fed290ed-ffff-4cce-9c57-72dac454291b", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/association-types/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -5902,7 +5902,7 @@ } }, { - "id": "01d16418-d601-4655-ba01-296a4d277769", + "id": "c34a9e54-96c7-4e8b-965f-068c20a7a887", "name": "Update/create an association type", "request": { "name": "Update/create an association type", @@ -5977,7 +5977,7 @@ "event": [] }, { - "id": "ade26801-f521-4083-b472-c42e4f2a9850", + "id": "8256b706-e329-4de1-aaed-b17b7797062e", "name": "Category", "description": { "content": "A category is a way of classifying products.\nCategories constitute category trees and in Akeneo, you can have multiple category trees with an unlimited number of levels (categories, subcategories, subsubcategories..).\n", @@ -5985,7 +5985,7 @@ }, "item": [ { - "id": "bdeebeda-48a8-499e-babc-029241e271a1", + "id": "368e1ccc-1279-4c66-91cb-61b14d26ebf3", "name": "Get the list of categories", "request": { "name": "Get the list of categories", @@ -6112,7 +6112,7 @@ { "listen": "test", "script": { - "id": "e4b3494d-2cee-43c3-adac-e43f07ef46e2", + "id": "3112ba8f-e92f-404f-bc71-62792c2dfa75", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/categories - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -6127,7 +6127,7 @@ } }, { - "id": "449d4294-a7ea-4bff-95e9-0789ccffa0d3", + "id": "c51bb4a1-2687-491e-99fb-cc84f6782a6f", "name": "Create a new category", "request": { "name": "Create a new category", @@ -6187,7 +6187,7 @@ } }, { - "id": "faf63dfb-1882-49bb-b873-c7a1983d672b", + "id": "77b6a02e-6e39-43fd-b578-09f1c46ceba8", "name": "Create or update several categories", "request": { "name": "Create or update several categories", @@ -6245,7 +6245,7 @@ { "listen": "test", "script": { - "id": "b0fca21b-d564-4c1d-9227-77ce33aaf030", + "id": "6835773a-83d8-4be7-8d2f-3e9f8a8aa6ae", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/categories - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -6260,7 +6260,7 @@ } }, { - "id": "bd1da82a-2062-4794-9d28-021c1a9b2e8e", + "id": "417df0cd-4caf-4c3c-a58e-cc7521aa269f", "name": "Get a category", "request": { "name": "Get a category", @@ -6336,7 +6336,7 @@ { "listen": "test", "script": { - "id": "391fbe4c-2c99-4473-8d47-82efe5f07c39", + "id": "6fb00268-d5f3-4293-961e-9d09c51122f5", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/categories/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -6351,7 +6351,7 @@ } }, { - "id": "848a9bf8-62bd-4ee4-9d8e-50719d1cce80", + "id": "d317468d-524a-423f-9db0-0d6038d17c69", "name": "Create or update a category", "request": { "name": "Create or update a category", @@ -6423,7 +6423,7 @@ } }, { - "id": "8a8f7890-58c0-4d7f-a098-b3e301a2e7ef", + "id": "6f1eb6a7-ab7c-4590-af30-15c6cdd0b447", "name": "Create a category media file", "request": { "name": "Create a category media file", @@ -6495,7 +6495,7 @@ } }, { - "id": "466895df-b492-4939-86b1-1c31b1023bb3", + "id": "62d02133-c0bf-459d-bafa-e8523930d66c", "name": "Download a category media file", "request": { "name": "Download a category media file", @@ -6558,7 +6558,7 @@ "event": [] }, { - "id": "58010505-622f-4178-b578-5f3f150f4ef9", + "id": "6319b95e-3cc6-4fab-8032-349240575bd8", "name": "Channel", "description": { "content": "A channel is a way to define how products are presented in different contexts, such as online stores, mobile applications, or print catalogs.\nChannels can have different configurations, such as currencies, locales, and measurement systems.\nThey allow you to tailor the product information to specific markets or audiences.\n", @@ -6566,7 +6566,7 @@ }, "item": [ { - "id": "2420a7aa-2194-4471-9334-33b6d3ff03b3", + "id": "9a59d961-30ba-4ceb-85d0-77fda05eaa1f", "name": "Get a list of channels", "request": { "name": "Get a list of channels", @@ -6639,7 +6639,7 @@ { "listen": "test", "script": { - "id": "b945d7e5-49e8-4f2d-a361-76caca2abb95", + "id": "23fc3b12-0b52-4962-b4cc-8cc37a088b4e", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/channels - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -6654,7 +6654,7 @@ } }, { - "id": "65e8fdb1-f705-4a5f-8336-bc4219b5d720", + "id": "2050f1d3-198a-4aaa-a8bd-7bbc4ffc67f2", "name": "Create a new channel", "request": { "name": "Create a new channel", @@ -6714,7 +6714,7 @@ } }, { - "id": "34bfec8d-badf-4929-97c6-5abb2bb61b81", + "id": "8a55a124-a944-478c-b0c3-b8a67a717a4e", "name": "Update/create several channels", "request": { "name": "Update/create several channels", @@ -6772,7 +6772,7 @@ { "listen": "test", "script": { - "id": "0f252350-7e42-4f81-bfdf-2365d7ac63df", + "id": "1bb402dc-2c7d-4e04-8cbe-e0fe49c0aed6", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/channels - Content-Type is application/vnd.akeneo.collection+json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/vnd.akeneo.collection+json\");\n});\n", @@ -6787,7 +6787,7 @@ } }, { - "id": "33b2ea56-6777-4fdf-a94c-ce9d049c3cbd", + "id": "e27c3b66-219c-448a-92ae-43a37cfca933", "name": "Get a channel", "request": { "name": "Get a channel", @@ -6844,7 +6844,7 @@ { "listen": "test", "script": { - "id": "ecba07de-8bc6-4a04-9710-57e65112fe6b", + "id": "8a1069dd-8e6e-4e15-9fc0-2116addb8c13", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/channels/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -6859,7 +6859,7 @@ } }, { - "id": "d16b4b1b-2c74-454e-bdff-15af431fff94", + "id": "ed8381fa-1442-4fcb-82a4-705091e84c69", "name": "Update/create a channel", "request": { "name": "Update/create a channel", @@ -6934,7 +6934,7 @@ "event": [] }, { - "id": "3d86e0c9-7e9b-422f-b71d-d0ed6564adcb", + "id": "57ff197c-3c04-4734-8586-8a8c9a1494f8", "name": "Locale", "description": { "content": "A locale is a combination of a language (English, German, French...) and a country (United States, United Kingdom, France...).\nExamples: English UK (en_GB), English US (en_US), English AU (en_AU).\nYou can have one or more locales activated in your PIM.\n", @@ -6942,7 +6942,7 @@ }, "item": [ { - "id": "51da90e7-77c5-4aa1-b426-b81bccba7eeb", + "id": "2733bfd6-42f7-4ace-9b07-4d49e2d01b65", "name": "Get a list of locales", "request": { "name": "Get a list of locales", @@ -7024,7 +7024,7 @@ { "listen": "test", "script": { - "id": "9f53894d-86c4-4406-942e-a628003dfcf4", + "id": "a7fec22e-3461-4dce-9ce6-21ccc54b5a91", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/locales - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7039,7 +7039,7 @@ } }, { - "id": "8eafa465-a9eb-4ecb-934b-30c58f027a15", + "id": "d2885013-b06b-4018-bdb5-b6136e3c0106", "name": "Get a locale", "request": { "name": "Get a locale", @@ -7096,7 +7096,7 @@ { "listen": "test", "script": { - "id": "f4714d15-6687-4308-9896-8983ee6d57ca", + "id": "adccf699-e5fe-418f-95a2-904ca48df29c", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/locales/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7114,7 +7114,7 @@ "event": [] }, { - "id": "f322efef-e54b-438e-9ffe-52233a63d8ab", + "id": "5eda82f6-84ba-4083-92b5-909db993229f", "name": "Currency", "description": { "content": "A currency is a unit of exchange that is used to price products.\nCurrencies are used in the PIM to define the prices of products in different markets.\n", @@ -7122,7 +7122,7 @@ }, "item": [ { - "id": "f025db0a-59c6-47f6-99a7-7872442ca7af", + "id": "3230196d-066f-470e-ad56-412f1d622352", "name": "Get a list of currencies", "request": { "name": "Get a list of currencies", @@ -7204,7 +7204,7 @@ { "listen": "test", "script": { - "id": "942fa10f-2757-4ad2-bfc2-c2f7663b6d0a", + "id": "17915860-ef27-4314-91b9-9d8a8e5d6244", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/currencies - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7219,7 +7219,7 @@ } }, { - "id": "087e0236-09aa-4c37-a037-87d2d006bfe4", + "id": "f92b071d-cae8-4a0e-8ed5-275f48bd213a", "name": "Get a currency", "request": { "name": "Get a currency", @@ -7276,7 +7276,7 @@ { "listen": "test", "script": { - "id": "5674279c-3c61-457f-8ec3-2352700e7a22", + "id": "a6beca58-5a58-412f-a3fa-e77d145d0d83", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/currencies/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7294,7 +7294,7 @@ "event": [] }, { - "id": "2ab54f26-f212-433b-94f5-dd5e82b75f41", + "id": "2a213089-63ff-492d-bc58-edb052af4135", "name": "Measurement family", "description": { "content": "A measurement family is a set of comparable units used to measure a specific physical quantity, such as Area, Weight, or Power.\nFor example, the \"Weight\" measurement family can group units like \"Kilogram\" and \"Pound\" together.\nEach family has a standard unit for conversions (e.g., \"Kilogram\"), and all other units within that family include their conversion formulas.\nThese families are used for metric attributes, allowing product data to be entered in one unit and automatically converted for different channels or locales.\n", @@ -7302,7 +7302,7 @@ }, "item": [ { - "id": "c3c44231-17c4-45b4-b827-cbe1e2d45814", + "id": "59177d8a-1ef1-41c3-bcfb-39571832ee30", "name": "Get list of measurement families", "request": { "name": "Get list of measurement families", @@ -7347,7 +7347,7 @@ { "listen": "test", "script": { - "id": "7a76155f-b7bc-4b10-af10-bd41397fe19e", + "id": "e3b6f7f5-34dd-4207-a1e9-61190cd97d0c", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/measurement-families - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7362,7 +7362,7 @@ } }, { - "id": "72ba6a27-9230-4b5d-b8ce-4e796e4efd04", + "id": "6911e782-9934-46aa-85f8-7f08717c3673", "name": "Update/create several measurement families", "request": { "name": "Update/create several measurement families", @@ -7420,7 +7420,7 @@ { "listen": "test", "script": { - "id": "6665464b-fc24-451a-b053-25e00701fadd", + "id": "82c584b1-752c-4af2-b7e8-db1ef9b74772", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/measurement-families - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7438,7 +7438,7 @@ "event": [] }, { - "id": "4fa1cdca-5c7e-4ac5-9f82-e868f2878f61", + "id": "894c8080-19e1-4c72-b65a-ba8d4c4ea459", "name": "Reference entity", "description": { "content": "A reference entity is a custom entity that can be used to store additional information about products or product models.\nIt allows you to create your own entities with their own attributes and values, which can be linked to products or product models.\nReference entities are useful for managing complex data structures or for integrating with external systems.\n", @@ -7446,7 +7446,7 @@ }, "item": [ { - "id": "8d1c3e73-3049-415b-91f6-b633eaa612bf", + "id": "1b020834-43f3-4498-9590-e59d80309685", "name": "Get list of reference entities", "request": { "name": "Get list of reference entities", @@ -7501,7 +7501,7 @@ { "listen": "test", "script": { - "id": "7d0bb83c-c19d-46de-bd16-38ba29f5832b", + "id": "c7d101fa-c807-4774-bca3-bf9da2fbbc00", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7516,7 +7516,7 @@ } }, { - "id": "5aabcf1e-7ed1-4566-b680-cd12ebc67953", + "id": "1e3cc281-9e37-46f7-95bf-2c6742489d76", "name": "Get a reference entity", "request": { "name": "Get a reference entity", @@ -7573,7 +7573,7 @@ { "listen": "test", "script": { - "id": "7f79303d-cf9c-4b47-a83e-ad66bff2c595", + "id": "c652734e-05ed-4401-955e-fc256b5bbb21", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7588,7 +7588,7 @@ } }, { - "id": "0bfcf1e5-354a-49b3-a01b-df3a1255c760", + "id": "e392763b-4ad9-40d4-bd07-5ad0e43a94b6", "name": "Update/create a reference entity", "request": { "name": "Update/create a reference entity", @@ -7663,7 +7663,7 @@ "event": [] }, { - "id": "cd51828e-c174-44ee-ae1f-36893ff74e58", + "id": "cedacac4-a346-4c8c-84ba-293704cb7b26", "name": "Reference entity attribute", "description": { "content": "A reference entity attribute is a piece of information that can be associated with a reference entity.\nReference entity attributes can be used to store various types of data, such as text, numbers, dates, or media files.\nThey are used to define the characteristics of reference entities and to provide additional information about them.\n", @@ -7671,7 +7671,7 @@ }, "item": [ { - "id": "6b7b5546-9e61-4d3c-94eb-246c983eda3a", + "id": "b9ea46bc-3b28-4187-bcca-6a870e527e6e", "name": "Get the list of attributes of a given reference entity", "request": { "name": "Get the list of attributes of a given reference entity", @@ -7729,7 +7729,7 @@ { "listen": "test", "script": { - "id": "302ccf25-4775-4144-b525-52026d6f8ce9", + "id": "21adeb9b-f98c-4c76-8de9-4fed1c2a8de9", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities/:reference_entity_code/attributes - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7744,7 +7744,7 @@ } }, { - "id": "30747813-d2fe-43a5-8fd7-26b3c61c9c53", + "id": "34331d20-3d21-47cc-a61a-0714f9f249fd", "name": "Get an attribute of a given reference entity", "request": { "name": "Get an attribute of a given reference entity", @@ -7813,7 +7813,7 @@ { "listen": "test", "script": { - "id": "8c611c69-81b8-46d5-8004-711e5764d53c", + "id": "7a4b8e97-5075-498c-9910-178c0e917d57", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities/:reference_entity_code/attributes/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -7828,7 +7828,7 @@ } }, { - "id": "ab89822e-debc-403c-8cdc-35c003c85c8d", + "id": "425c243a-6196-4cd4-b3bc-5dfb2a3e4519", "name": "Update/create an attribute of a given reference entity", "request": { "name": "Update/create an attribute of a given reference entity", @@ -7915,7 +7915,7 @@ "event": [] }, { - "id": "a24894ec-f802-4cb4-aa97-bdc5792b6276", + "id": "2c5d40b1-f1b0-4459-a27a-a120e5efa10f", "name": "Reference entity attribute option", "description": { "content": "A reference entity attribute option is a value that can be associated with a reference entity attribute.\nFor example, if you have a reference entity attribute called \"Category\", the options could be \"Electronics\", \"Clothing\", \"Books\", etc.\nOptions are used to provide predefined values for reference entity attributes, making it easier to manage and maintain reference entity data.\n", @@ -7923,7 +7923,7 @@ }, "item": [ { - "id": "6bd0d799-2df3-4629-aafb-f67fc89415b6", + "id": "b7c530b1-c7ab-41df-81a7-825f0b0dd82c", "name": "Get a list of attribute options of a given attribute for a given reference entity", "request": { "name": "Get a list of attribute options of a given attribute for a given reference entity", @@ -7993,7 +7993,7 @@ { "listen": "test", "script": { - "id": "6042906c-c18a-446c-b926-8700edfa014e", + "id": "a82d3c02-e518-4b0e-ab06-2bd1c2d060b3", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities/:reference_entity_code/attributes/:attribute_code/options - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -8008,7 +8008,7 @@ } }, { - "id": "8dff89b4-8ba9-416c-a335-4478bab387b1", + "id": "ec4276f0-e65f-41b9-a84a-52fc398982cc", "name": "Get an attribute option for a given attribute of a given reference entity", "request": { "name": "Get an attribute option for a given attribute of a given reference entity", @@ -8089,7 +8089,7 @@ { "listen": "test", "script": { - "id": "eaa5d3dc-b224-4a93-b254-af4387e0e3c1", + "id": "e1dea490-1dd0-41d7-9a79-1380e79afd49", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities/:reference_entity_code/attributes/:attribute_code/options/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -8104,7 +8104,7 @@ } }, { - "id": "57f70187-744c-419b-8e09-9b463a033c4d", + "id": "135c9154-246f-4bac-9d97-ef8a015131e5", "name": "Update/create a reference entity attribute option", "request": { "name": "Update/create a reference entity attribute option", @@ -8203,7 +8203,7 @@ "event": [] }, { - "id": "b10ba01e-99b5-4ca1-87c0-6f7b66832b2a", + "id": "d74a4ae2-3f85-47be-a132-d3ab4afa5d66", "name": "Reference entity record", "description": { "content": "A reference entity record is a specific instance of a reference entity.\nIt contains the values for the attributes defined in the reference entity.\nReference entity records can be linked to products or product models, allowing you to associate additional information with them.\n", @@ -8211,7 +8211,7 @@ }, "item": [ { - "id": "c233ebe6-14ec-4f4a-8298-8597291af356", + "id": "de872e45-df0c-4166-9c46-36a0911b3645", "name": "Get the list of the records of a reference entity", "request": { "name": "Get the list of the records of a reference entity", @@ -8324,7 +8324,7 @@ { "listen": "test", "script": { - "id": "395ce0ea-0aec-4141-83c5-f4862656cf7b", + "id": "2d4ffa93-a67c-40b0-8537-5a826e7e2c7a", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities/:reference_entity_code/records - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -8339,7 +8339,7 @@ } }, { - "id": "7432ab64-34f7-4a35-b7d3-a485ff390c61", + "id": "a14f58d8-0e80-4060-af31-1800c2fad66b", "name": "Update/create several reference entity records", "request": { "name": "Update/create several reference entity records", @@ -8386,7 +8386,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "[\n {\n \"code\": \"kartell\",\n \"values\": {\n \"label\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Kartell\"\n }\n ],\n \"image\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"0/c/b/0/0cb0c0e115dedba676f8d1ad8343ec207ab54c7b_image.jpg\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Kartell, the Italian furniture company that sells modern and remarkable pieces of furnitures.\"\n },\n {\n \"locale\": \"fr_FR\",\n \"channel\": null,\n \"data\": \"Kartell, l'éditeur de meuble italien spécialisé dans la signature de belle pièces au design contemporain.\"\n }\n ],\n \"country\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"italy\"\n }\n ],\n \"collection_overview\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"5/1/d/8/51d81dc778ba1501a8f998f3ab5797569f3b9e25_img.png\"\n }\n ],\n \"creation_year\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"1949\"\n }\n ]\n }\n },\n {\n \"code\": \"ligneroset\",\n \"values\": {\n \"label\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Ligne Roset\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Very well known French brand of modern and luxury furniture\"\n },\n {\n \"locale\": \"fr_FR\",\n \"channel\": null,\n \"data\": \"La marque renommée des meubles de luxe à la française\"\n }\n ],\n \"country\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"france\"\n }\n ],\n \"creation_year\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"1860\"\n }\n ]\n }\n },\n {\n \"code\": \"usm\",\n \"values\": {\n \"label\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"USM\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Modular furniture from Switzerland for your home and office\"\n },\n {\n \"locale\": \"fr_FR\",\n \"channel\": null,\n \"data\": \"L'éditeur de meubles modulaires suisse pour votre intérieur et pour les entreprises\"\n }\n ],\n \"country\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"switzerland\"\n }\n ],\n \"creation_year\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"1885\"\n }\n ]\n }\n }\n]", + "raw": "[\n {\n \"code\": \"kartell\",\n \"values\": {\n \"label\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Kartell\"\n }\n ],\n \"image\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"0/c/b/0/0cb0c0e115dedba676f8d1ad8343ec207ab54c7b_image.jpg\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Kartell, the Italian furniture company that sells modern and remarkable pieces of furnitures.\"\n },\n {\n \"locale\": \"fr_FR\",\n \"channel\": null,\n \"data\": \"Kartell, l'éditeur de meuble italien spécialisé dans la signature de belle pi��ces au design contemporain.\"\n }\n ],\n \"country\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"italy\"\n }\n ],\n \"collection_overview\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"5/1/d/8/51d81dc778ba1501a8f998f3ab5797569f3b9e25_img.png\"\n }\n ],\n \"creation_year\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"1949\"\n }\n ]\n }\n },\n {\n \"code\": \"ligneroset\",\n \"values\": {\n \"label\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Ligne Roset\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Very well known French brand of modern and luxury furniture\"\n },\n {\n \"locale\": \"fr_FR\",\n \"channel\": null,\n \"data\": \"La marque renommée des meubles de luxe à la française\"\n }\n ],\n \"country\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"france\"\n }\n ],\n \"creation_year\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"1860\"\n }\n ]\n }\n },\n {\n \"code\": \"usm\",\n \"values\": {\n \"label\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"USM\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"channel\": null,\n \"data\": \"Modular furniture from Switzerland for your home and office\"\n },\n {\n \"locale\": \"fr_FR\",\n \"channel\": null,\n \"data\": \"L'éditeur de meubles modulaires suisse pour votre intérieur et pour les entreprises\"\n }\n ],\n \"country\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"switzerland\"\n }\n ],\n \"creation_year\": [\n {\n \"locale\": null,\n \"channel\": null,\n \"data\": \"1885\"\n }\n ]\n }\n }\n]", "options": { "raw": { "headerFamily": "json", @@ -8410,7 +8410,7 @@ { "listen": "test", "script": { - "id": "3eed06b5-0f64-4718-9eda-ff3ca8dbf6ef", + "id": "52ff6656-6f1a-4a4e-84fe-a92f08b6dd71", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/reference-entities/:reference_entity_code/records - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -8425,7 +8425,7 @@ } }, { - "id": "6bcbaa4b-cd28-42a1-99f4-c3fae4c840e4", + "id": "6dd9c5cb-9c74-4ee2-98db-4d456ea2f0bc", "name": "Get a record of a given reference entity", "request": { "name": "Get a record of a given reference entity", @@ -8494,7 +8494,7 @@ { "listen": "test", "script": { - "id": "f6c5707d-0f27-4e0e-98f8-a05ddebf5e48", + "id": "45aa970f-34ac-4e53-a57b-dc9f312e7c4d", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities/:reference_entity_code/records/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -8509,7 +8509,7 @@ } }, { - "id": "d3bdc841-5971-4ef8-b149-509d98751384", + "id": "65738eae-4c47-4e78-848f-92326007cddd", "name": "Update or create a record of a given reference entity", "request": { "name": "Update or create a record of a given reference entity", @@ -8596,7 +8596,7 @@ "event": [] }, { - "id": "748b25f4-e854-4d18-bc1e-70bfe916214f", + "id": "4765ad62-6069-4675-b59d-b264087976fb", "name": "Reference entity media file", "description": { "content": "A reference entity media file is a file that can be attached to a reference entity record.\nIt can be an image, a video, a PDF, or any other type of file.\nReference entity media files are used to enrich the reference entity information and provide additional context to the reference entities.\n", @@ -8604,7 +8604,7 @@ }, "item": [ { - "id": "86aca49d-7d04-4af5-949f-2695ba6eb3be", + "id": "e0faf80a-c9d0-41a5-9010-4a5e932ab5be", "name": "Create a new media file for a reference entity or a record", "request": { "name": "Create a new media file for a reference entity or a record", @@ -8667,7 +8667,7 @@ } }, { - "id": "6638f2c8-d873-4fde-b999-1bf1ce479023", + "id": "3a7cd3bc-77bb-43d8-b9f8-858de7a20faa", "name": "Download the media file associated to a reference entity or a record", "request": { "name": "Download the media file associated to a reference entity or a record", @@ -8724,7 +8724,7 @@ { "listen": "test", "script": { - "id": "0b814534-a91e-4ce0-a709-98221410a551", + "id": "236154e4-ff21-40e8-a4be-3d8dc4446a1d", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/reference-entities-media-files/:code - Content-Type is image/png\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"image/png\");\n});\n" @@ -8740,7 +8740,7 @@ "event": [] }, { - "id": "cb5c8d3d-78cf-4fbc-811e-848b1c466981", + "id": "eb61601a-58c0-40da-a80f-0c788b1d71f8", "name": "Asset family", "description": { "content": "An asset family is a set of attributes that are shared by assets belonging to this family.\nIn other words, an asset family can be considered as a template for assets.\n", @@ -8748,7 +8748,7 @@ }, "item": [ { - "id": "655934b1-9684-4624-a85c-880501dee41a", + "id": "fee9bf0b-4bbc-4a0c-8007-e475b4258115", "name": "Get list of asset families", "request": { "name": "Get list of asset families", @@ -8803,7 +8803,7 @@ { "listen": "test", "script": { - "id": "120dded8-5904-4290-841b-e78783ec5b08", + "id": "fb00befe-894f-4042-8a0f-17ffb2957c70", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -8818,7 +8818,7 @@ } }, { - "id": "b0f41d77-2d42-45e0-b64c-069a98c05d54", + "id": "21236301-684f-4ccc-96c7-b63d025857e3", "name": "Get an asset family", "request": { "name": "Get an asset family", @@ -8875,7 +8875,7 @@ { "listen": "test", "script": { - "id": "d8129352-a65c-448e-8a49-f7eb93551f86", + "id": "fb2d1959-3d33-4ba7-8cfd-ed1fbdddd7b1", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -8890,7 +8890,7 @@ } }, { - "id": "3b780517-0731-4af5-86ae-aa66f4227354", + "id": "406418be-5578-42cb-a85c-fabfd4d6cf5b", "name": "Update/create an asset family", "request": { "name": "Update/create an asset family", @@ -8965,7 +8965,7 @@ "event": [] }, { - "id": "3ad5b7ed-5713-4581-81a6-308f0234bf2a", + "id": "049134d6-ae41-4642-bfb3-a71535c61b47", "name": "Asset attribute", "description": { "content": "An asset attribute is a piece of information that can be associated with an asset.\nAsset attributes can be used to store various types of data, such as text, numbers, dates, or media files.\nThey are used to define the characteristics of assets and to provide additional information about them.\n", @@ -8973,7 +8973,7 @@ }, "item": [ { - "id": "2fb9ca4b-ca45-4d93-a347-702b13f8571b", + "id": "f34db8fc-9e7c-40dd-935a-e914e4c79403", "name": "Get the list of attributes of a given asset family", "request": { "name": "Get the list of attributes of a given asset family", @@ -9031,7 +9031,7 @@ { "listen": "test", "script": { - "id": "d4a14c8d-621b-443a-93e8-7b8145472bbd", + "id": "85696f3c-8177-4d66-a0e3-a327eda94d9e", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families/:asset_family_code/attributes - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -9046,7 +9046,7 @@ } }, { - "id": "82282491-a9ef-4c0b-b154-36f76b58c210", + "id": "f453820d-e69d-488a-a930-3a972f2f3094", "name": "Get an attribute of a given asset family", "request": { "name": "Get an attribute of a given asset family", @@ -9115,7 +9115,7 @@ { "listen": "test", "script": { - "id": "2808445f-fea7-4f20-b094-3eeedbf42de4", + "id": "1e3c5f09-4879-4b3e-8c94-7a9874c16d5c", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families/:asset_family_code/attributes/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -9130,7 +9130,7 @@ } }, { - "id": "c68fc0e1-aa63-4973-aff5-7fdc830385b8", + "id": "123ea804-f892-4f38-9ab9-88434401007d", "name": "Update/create an attribute of a given asset family", "request": { "name": "Update/create an attribute of a given asset family", @@ -9217,7 +9217,7 @@ "event": [] }, { - "id": "2117c40b-0193-44e2-b3c7-386ad51adc38", + "id": "40ce6117-3f0e-4f62-906e-9279f0c3a8fd", "name": "Asset attribute option", "description": { "content": "An asset attribute option is a value that can be associated with an asset attribute.\nFor example, if you have an asset attribute called \"Type\", the options could be \"Image\", \"Video\", \"Document\", etc.\nOptions are used to provide predefined values for asset attributes, making it easier to manage and maintain asset data.\n", @@ -9225,7 +9225,7 @@ }, "item": [ { - "id": "43f406e3-44a6-4848-bd85-da147edfb350", + "id": "b79d0166-bb64-4be8-a7c6-826c0e9a88ef", "name": "Get a list of attribute options of a given attribute for a given asset family", "request": { "name": "Get a list of attribute options of a given attribute for a given asset family", @@ -9295,7 +9295,7 @@ { "listen": "test", "script": { - "id": "b5c7f266-42b8-4fbf-91a0-8b9b0ad756a8", + "id": "2ecca062-47b6-4c5f-ab80-7fc2394dae61", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families/:asset_family_code/attributes/:attribute_code/options - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -9310,7 +9310,7 @@ } }, { - "id": "09a47047-0a2c-4ecf-88b5-b2e70c8fa4a8", + "id": "1037d7ae-8183-4cd4-b5b9-592c14c4ac29", "name": "Get an attribute option for a given attribute of a given asset family", "request": { "name": "Get an attribute option for a given attribute of a given asset family", @@ -9391,7 +9391,7 @@ { "listen": "test", "script": { - "id": "61419177-74dd-4e3b-9fa7-b2d84dce0cb0", + "id": "b8141c77-d3c5-4bd5-b484-6238b2424911", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families/:asset_family_code/attributes/:attribute_code/options/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -9406,7 +9406,7 @@ } }, { - "id": "fe5395e6-07c1-472e-8715-cf512d15aab8", + "id": "636c6f42-c0fd-461d-aae2-23d6a7751d73", "name": "Update/create an asset attribute option for a given asset family", "request": { "name": "Update/create an asset attribute option for a given asset family", @@ -9505,7 +9505,7 @@ "event": [] }, { - "id": "9a14344a-180d-4846-b883-ccc52737a9f0", + "id": "b6a696d9-5f27-4c56-a753-e42089df5c33", "name": "Asset media file", "description": { "content": "An asset media file is a file that can be attached to an asset family or an asset.\nIt can be an image, a video, a PDF, or any other type of file.\nAsset media files are used to enrich the asset information and provide additional context to the assets.\n", @@ -9513,7 +9513,7 @@ }, "item": [ { - "id": "ce1f93f9-c9e1-4f05-b368-f4d9b4f6291c", + "id": "452e3316-e7af-4531-8178-709e616ea944", "name": "Create a new media file for an asset", "request": { "name": "Create a new media file for an asset", @@ -9576,7 +9576,7 @@ } }, { - "id": "0800f9fc-deae-4bfe-8ae7-040647ba212f", + "id": "721c37c2-590d-4243-aadb-1cec887979b6", "name": "Download the media file associated to an asset", "request": { "name": "Download the media file associated to an asset", @@ -9633,7 +9633,7 @@ { "listen": "test", "script": { - "id": "b1183e61-20ab-4f48-af80-58e52e159fc1", + "id": "84c7311e-5e7b-4e72-84ac-8220595fb226", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-media-files/:code - Content-Type is image/png\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"image/png\");\n});\n" @@ -9649,7 +9649,7 @@ "event": [] }, { - "id": "9c53f8e9-dd15-4404-b764-8c9e0c4b9d0d", + "id": "7f16aee4-08c8-4315-9374-6f8ae0f73487", "name": "Asset", "description": { "content": "An asset is a flexible object that makes it possible to enrich products with images, videos, documents…\nAn asset must be part of an asset family. That way, it will have its own attributes and lifecycle.\nAssets can be linked to products and product models, in order to enrich them.\n", @@ -9657,7 +9657,7 @@ }, "item": [ { - "id": "db93c4bb-dcd3-4dbc-a806-a9313e0942d1", + "id": "dfa36dc8-a0b5-433a-bb1b-34b433a6407c", "name": "Get the list of the assets of a given asset family", "request": { "name": "Get the list of the assets of a given asset family", @@ -9788,7 +9788,7 @@ { "listen": "test", "script": { - "id": "10a0b4ff-cd78-44e7-9b2a-459af123599e", + "id": "12dddaef-804c-4784-95a6-aa05777a7302", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families/:asset_family_code/assets - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -9803,7 +9803,7 @@ } }, { - "id": "de1c81a4-0c99-4166-9932-8f142dc2cda3", + "id": "b8f0a8ca-477f-4715-9e3a-a3f33c537a08", "name": "Update/create several assets", "request": { "name": "Update/create several assets", @@ -9874,7 +9874,7 @@ { "listen": "test", "script": { - "id": "45d84db5-424c-4875-8b91-1084e8477c88", + "id": "051607fc-8865-4275-a8f7-9dfdc81ab0b6", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/asset-families/:asset_family_code/assets - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -9889,7 +9889,7 @@ } }, { - "id": "2285cbbd-86d3-47b7-8b7a-a4a809933e92", + "id": "84ab9046-e6a0-43bc-8f0a-0ad5f8f1777e", "name": "Get an asset of a given asset family", "request": { "name": "Get an asset of a given asset family", @@ -9968,7 +9968,7 @@ { "listen": "test", "script": { - "id": "6cd619d9-4039-4781-899f-7b1d2d44a711", + "id": "e86f616f-1512-4536-be9b-a9116072e01a", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/asset-families/:asset_family_code/assets/:code - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -9983,7 +9983,7 @@ } }, { - "id": "2db257c8-911e-4a12-b3e5-219ad03a17cc", + "id": "7b16c3c4-8aec-4b92-9ee8-a0123e6673cd", "name": "Update/create an asset", "request": { "name": "Update/create an asset", @@ -10067,7 +10067,7 @@ } }, { - "id": "fd2f8d25-1a87-4232-97a5-cf62d9f9395e", + "id": "b1b0b0ae-6802-4743-8a98-b727f846f084", "name": "Delete an asset", "request": { "name": "Delete an asset", @@ -10136,7 +10136,7 @@ { "listen": "test", "script": { - "id": "d19ee207-1299-4bcf-861d-207c56265e15", + "id": "8f8d5bbb-fbb4-4e37-a89a-ea567798fd41", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[DELETE]::/api/rest/v1/asset-families/:asset_family_code/assets/:code - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -10152,7 +10152,7 @@ "event": [] }, { - "id": "59f04aab-7b74-49b5-a06f-f98ad5589ea4", + "id": "37929e0b-f63d-4b9b-8b6c-08a59a48fb7e", "name": "Catalogs", "description": { "content": "A catalog is a collection of products that can be managed in the PIM.\nIt allows you to create a subset of products that can be used in specific contexts, such as online stores, mobile applications, or print catalogs.\nCatalogs can have their own configurations, such as channels, locales, and measurement systems.\n", @@ -10160,7 +10160,7 @@ }, "item": [ { - "id": "a6754062-e1c7-46df-b853-8a7cc34ab5bb", + "id": "1aaf003b-94de-4f3b-8961-546432db492c", "name": "Get the list of owned catalogs", "request": { "name": "Get the list of owned catalogs", @@ -10224,7 +10224,7 @@ { "listen": "test", "script": { - "id": "704c6cd5-86e7-4288-ab57-53092dcfa4f0", + "id": "24ed0bf7-ee6a-4c3b-bd88-4f33bdbacfec", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10239,7 +10239,7 @@ } }, { - "id": "38735fbe-c905-42ab-9bae-226243bb0d4e", + "id": "7e4fe96b-efd1-41e7-9dcf-418ac4b94472", "name": "Create a new catalog", "request": { "name": "Create a new catalog", @@ -10297,7 +10297,7 @@ { "listen": "test", "script": { - "id": "cb637d4d-b251-454b-aafc-42422e89b16e", + "id": "370fc74b-3bf8-4063-bab0-7dcd2e5ee5a0", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/rest/v1/catalogs - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10312,7 +10312,7 @@ } }, { - "id": "62a174cb-f3eb-4681-a3f4-7503d1384ed2", + "id": "65686cec-aebd-444a-9535-f5039c2a677a", "name": "Get a catalog", "request": { "name": "Get a catalog", @@ -10369,7 +10369,7 @@ { "listen": "test", "script": { - "id": "9422ab82-17a8-448f-93dc-2156f1fdb3e0", + "id": "684ec40d-b2dd-4ed2-9326-b877f0f19e1f", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10384,7 +10384,7 @@ } }, { - "id": "917b4577-788e-47e1-b1c7-12addaef1ce0", + "id": "770d35aa-5155-47a3-86be-2a1f34321b57", "name": "Update a catalog", "request": { "name": "Update a catalog", @@ -10454,7 +10454,7 @@ { "listen": "test", "script": { - "id": "ee165374-373a-42c4-8f44-9e3926d38250", + "id": "af85f775-5beb-4df5-8b12-74e863691fcb", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/catalogs/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10469,7 +10469,7 @@ } }, { - "id": "03dd74ea-ee50-4ec2-9930-c88627313ecf", + "id": "9b6c9e50-29d8-47f7-a4ed-f8fe2ed702ed", "name": "Delete a catalog", "request": { "name": "Delete a catalog", @@ -10526,7 +10526,7 @@ { "listen": "test", "script": { - "id": "a22dad54-1fa1-4a3f-8f89-837344000633", + "id": "db87c255-dfe0-4299-9109-28f52f24f900", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[DELETE]::/api/rest/v1/catalogs/:id - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -10539,7 +10539,7 @@ } }, { - "id": "ecb666d5-de5a-463f-9e49-1d70626033ad", + "id": "2189273c-213d-47ee-8712-45a5107f59db", "name": "Duplicate a catalog", "request": { "name": "Duplicate a catalog", @@ -10610,7 +10610,7 @@ { "listen": "test", "script": { - "id": "894b20f2-5c7e-42ef-8b7c-08e3f6bf970b", + "id": "f65237e4-68b2-40fd-bdf0-a3c1ea5e9f89", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/rest/v1/catalogs/:id/duplicate - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10628,7 +10628,7 @@ "event": [] }, { - "id": "a4098530-a60b-47b1-8153-a7e3646b9765", + "id": "f10a3527-39fb-4d98-8121-aeb9d5288fb3", "name": "Catalog products", "description": { "content": "A catalog contains a selection of products from the PIM, intended to be synchronized with a third-party application via the API.\nThe Catalog products endpoint allows you to retrieve the list of products for a given catalog, with options to filter, paginate, and select the returned fields.\nEach returned product includes its attributes, values, status information, and associated references, all in the context of the catalog.\nThis endpoint is mainly used by Apps to synchronize product data between Akeneo PIM and external platforms, while respecting access rights and catalog configuration.\n", @@ -10636,7 +10636,7 @@ }, "item": [ { - "id": "d0da8d88-0e3f-48d2-b1fb-5bb454b68fa2", + "id": "78fdad88-8b56-4aa3-a756-cb89e5171c66", "name": "Get the list of product uuids", "request": { "name": "Get the list of product uuids", @@ -10740,7 +10740,7 @@ { "listen": "test", "script": { - "id": "469c60cb-5a87-4703-9f0a-aa3c4656f680", + "id": "bf13d734-c0ba-4bd0-9b13-69a2e3b8fd3c", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id/product-uuids - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10755,7 +10755,7 @@ } }, { - "id": "215c2b15-dde1-49d5-99ee-72a43a27a0ee", + "id": "2763105f-4f87-4863-b22f-5881b37ba7c7", "name": "Get the list of products related to a catalog", "request": { "name": "Get the list of products related to a catalog", @@ -10850,7 +10850,7 @@ { "listen": "test", "script": { - "id": "2f09310b-f04a-4e9e-81aa-dcf18d4aed2a", + "id": "4d8cac7f-c5be-42b9-9e46-38552a84f410", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id/products - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10865,7 +10865,7 @@ } }, { - "id": "37af5342-6d9b-44a8-bee8-d755a88180a1", + "id": "ab7e4c25-616c-4b07-999e-e9a9fe071c48", "name": "Get a product related to a catalog", "request": { "name": "Get a product related to a catalog", @@ -10934,7 +10934,7 @@ { "listen": "test", "script": { - "id": "c39bbe6b-5cf4-4b7d-b1e8-2ea6388e4b78", + "id": "78d01c5b-6d01-40b9-8f5a-850fff178a4d", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id/products/:uuid - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -10949,7 +10949,7 @@ } }, { - "id": "386cf810-26b0-41a2-b429-166745b85549", + "id": "366aa77f-ffbb-460b-9022-4d8facb84fcd", "name": "Get the list of mapped flattened products or simple products related to a catalog", "request": { "name": "Get the list of mapped flattened products or simple products related to a catalog", @@ -11044,7 +11044,7 @@ { "listen": "test", "script": { - "id": "c8e34793-9efd-4005-a1a5-aff1f522c10c", + "id": "2109c741-d288-40cb-8b91-d4fd5165007a", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id/mapped-products - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11059,7 +11059,7 @@ } }, { - "id": "1a63af1d-1c07-4a20-8fcb-f5ff1035d1e7", + "id": "f18a641a-ecf4-463d-a0cf-150bbc8bf9ac", "name": "Get the list of mapped models related to a catalog", "request": { "name": "Get the list of mapped models related to a catalog", @@ -11154,7 +11154,7 @@ { "listen": "test", "script": { - "id": "a6de7039-65e6-4f61-8aa4-17d34902955d", + "id": "0792c5f1-2941-4f55-b643-ee6450fcde2b", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id/mapped-models - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11169,7 +11169,7 @@ } }, { - "id": "1d5c4ea7-bfe1-48da-9a37-161800eaf8f0", + "id": "753ec3fb-b86c-4ae1-b1ad-4c797bf9d870", "name": "Get the list of mapped variants of a model related to a catalog", "request": { "name": "Get the list of mapped variants of a model related to a catalog", @@ -11247,7 +11247,7 @@ "type": "text/plain" }, "type": "any", - "value": "oc", + "value": "enim do reprehenderit esse", "key": "model_code" } ] @@ -11276,7 +11276,7 @@ { "listen": "test", "script": { - "id": "84e3d362-1fe5-4ac5-b230-905618cc83de", + "id": "7d86b686-8e73-4acf-8e7d-bc91705dd268", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id/mapped-models/:model_code/variants - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11294,7 +11294,7 @@ "event": [] }, { - "id": "2fd9d449-d5a9-4d54-8316-39955f375d32", + "id": "d758c67a-a03a-40d7-b043-cf0f116962bf", "name": "Mapping schema for products", "description": { "content": "The mapping schema for products defines the expected structure of product data when synchronizing via the API.\nIt describes the fields, their types, constraints, and transformation rules applied during the export or import of products in a catalog connected to an App.\nThis schema ensures data consistency between Akeneo PIM and third-party applications by clarifying how PIM attributes correspond to those expected by the App.\nFor each field, the schema specifies the data type (text, number, boolean, etc.), whether the field is required or optional, and any allowed values or transformations to apply.\n", @@ -11302,7 +11302,7 @@ }, "item": [ { - "id": "a0d5e38e-f149-470d-acc0-fb59c42a8c13", + "id": "c01dd5d6-463c-4fce-9bfe-db001d26ca3f", "name": "Get the product mapping schema related to a catalog", "request": { "name": "Get the product mapping schema related to a catalog", @@ -11361,7 +11361,7 @@ { "listen": "test", "script": { - "id": "24951373-a727-483e-9a8d-df0e6c613eed", + "id": "0d64e786-229c-481c-be09-db8b61263b7a", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/catalogs/:id/mapping-schemas/product - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11376,7 +11376,7 @@ } }, { - "id": "1194881d-6114-4f1d-a607-578badd02ce4", + "id": "2c9f1ff9-efe2-458e-80b3-46239e3e5d7d", "name": "Create or update the product mapping schema related to a catalog", "request": { "name": "Create or update the product mapping schema related to a catalog", @@ -11448,7 +11448,7 @@ { "listen": "test", "script": { - "id": "79662912-997d-4a9a-87d2-e6fcc5196dc2", + "id": "cec1c56c-8a78-438d-b4d3-4f21020d6a48", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[PUT]::/api/rest/v1/catalogs/:id/mapping-schemas/product - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -11461,7 +11461,7 @@ } }, { - "id": "42372966-9191-44f0-bbdf-06f244f2efed", + "id": "ba10682a-3650-4292-8afd-fe5060929e14", "name": "Delete the product mapping schema related to a catalog", "request": { "name": "Delete the product mapping schema related to a catalog", @@ -11520,7 +11520,7 @@ { "listen": "test", "script": { - "id": "dc32dc2d-f1f1-439f-ac7a-37a825f85504", + "id": "c3496716-e8f8-4946-b85b-4985d976c240", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[DELETE]::/api/rest/v1/catalogs/:id/mapping-schemas/product - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -11536,7 +11536,7 @@ "event": [] }, { - "id": "1cc0da42-737b-415d-abe2-ff93e73003b8", + "id": "745c1abb-dc38-483c-bc06-b76a15cfc05f", "name": "Overview", "description": { "content": "This API reference provides comprehensive documentation for the Akeneo PIM REST API.\nIt describes all available endpoints, request and response formats, authentication methods, and error codes.\nThe Akeneo PIM REST API enables you to interact programmatically with your PIM instance, allowing you to manage products, product models, attributes, categories, assets, reference entities, and more.\nYou can use the API to integrate Akeneo PIM with other systems, automate data flows, and build custom applications.\nAll API endpoints are organized by resource type and support standard HTTP methods (GET, POST, PUT, PATCH, DELETE).\nAuthentication is required for all endpoints and is based on OAuth 2.0 or HTTP Basic authentication.\nFor more details, please refer to the [official Akeneo API documentation](https://api.akeneo.com/).\n", @@ -11544,7 +11544,7 @@ }, "item": [ { - "id": "f89cdd38-a0d0-4797-9eaa-ef6beb2941e6", + "id": "9b3ff016-d3e0-45d2-9fe3-d251196c98df", "name": "Get list of all endpoints", "request": { "name": "Get list of all endpoints", @@ -11593,7 +11593,7 @@ "event": [] }, { - "id": "cab1341a-2f04-4ba1-a9c6-b47ebbbb56a8", + "id": "3f34dd05-65ae-4558-9bf7-cbc8fccf46e2", "name": "Authentication", "description": { "content": "The Authentication endpoints provide methods to authenticate and authorize access to the Akeneo PIM API.\nYou can use these endpoints to obtain an access token, which is required for accessing protected resources in the API.\nThe authentication process typically involves providing credentials (username and password) or using OAuth 2.0 for secure access.\n", @@ -11601,7 +11601,7 @@ }, "item": [ { - "id": "ad774344-fd50-4adc-b3a0-fe49e42e8b32", + "id": "812f3b65-fad6-4797-8d4c-fa51c0ca4d71", "name": "Get an authentication token", "request": { "name": "Get an authentication token", @@ -11639,7 +11639,7 @@ "type": "text/plain" }, "key": "Authorization", - "value": "oc" + "value": "enim do reprehenderit esse" }, { "key": "Content-Type", @@ -11687,7 +11687,7 @@ "event": [] }, { - "id": "01f374ea-e6fe-4d84-90dc-caeca646fc65", + "id": "a074fff1-1218-4332-ae90-56177d2d06a0", "name": "System", "description": { "content": "The System endpoints provide information about the Akeneo PIM instance and its environment.\nYou can use these endpoints to retrieve details such as the PIM version, edition, enabled features, and system health.\nThis information is useful for monitoring, troubleshooting, and ensuring compatibility with integrations or applications that interact with the PIM API.\n", @@ -11695,7 +11695,7 @@ }, "item": [ { - "id": "477d213b-0d90-4505-a7eb-913115fcd2e7", + "id": "ab0f3746-9a15-4f3f-82ad-5daa41e7a80e", "name": "Get system information", "request": { "name": "Get system information", @@ -11740,7 +11740,7 @@ { "listen": "test", "script": { - "id": "abfc8a12-7822-4f2f-bb8e-a351b0f056e9", + "id": "212da352-ed2e-4aa7-a642-5e5e062e7e38", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/system-information - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11758,7 +11758,7 @@ "event": [] }, { - "id": "3bcc2f09-1a82-4fc3-9631-32f8d09516ea", + "id": "a5d2e66b-e3f2-4baa-a3da-51029f7317aa", "name": "UI Extensions", "description": { "content": "UI Extensions allow you to extend the Akeneo PIM user interface with custom components.\nThey can be used to add new features or to modify the existing ones.\nUI Extensions are useful for integrating with external systems or for providing additional functionality to the PIM.\n", @@ -11766,7 +11766,7 @@ }, "item": [ { - "id": "69412958-e4c6-4f83-953a-deee691e3b70", + "id": "b60881e9-cd2d-4f14-88c7-808dd9e41085", "name": "List UI extensions", "request": { "name": "List UI extensions", @@ -11811,7 +11811,7 @@ { "listen": "test", "script": { - "id": "190ae0a6-21a3-4ee0-9a56-935db0b7c185", + "id": "6d2614ff-895f-41e1-be16-89985323fe03", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/ui-extensions - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11826,7 +11826,7 @@ } }, { - "id": "2120fea2-c64d-4f8f-953b-d341f85543e9", + "id": "e546295c-890c-48dd-bc47-8bffdfb2de27", "name": "Create a new UI extension", "request": { "name": "Create a new UI extension", @@ -11884,7 +11884,7 @@ { "listen": "test", "script": { - "id": "c067f619-038a-4d4a-8488-1d2d1609cd86", + "id": "3050081c-d49c-47d0-879e-2ce085e78c92", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/rest/v1/ui-extensions - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11899,7 +11899,7 @@ } }, { - "id": "385fda8e-e00b-4b9b-96d0-04f259cf2287", + "id": "ae07a131-08f7-422f-8579-98adbbfe6b75", "name": "Update a UI extension", "request": { "name": "Update a UI extension", @@ -11969,7 +11969,7 @@ { "listen": "test", "script": { - "id": "483b7bac-0d85-44d4-ac9e-cb46795be0de", + "id": "2e722ac7-8279-4920-ada6-d5dc8a52477d", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[PATCH]::/api/rest/v1/ui-extensions/:uuid - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -11984,7 +11984,7 @@ } }, { - "id": "7d39ad5b-414a-4248-a4da-cd728f33ff6e", + "id": "63e86282-02f6-4c4b-a018-320f60edcbe9", "name": "Delete a UI extension", "request": { "name": "Delete a UI extension", @@ -12041,7 +12041,7 @@ { "listen": "test", "script": { - "id": "b6ad85bb-21e1-416a-97bb-191c45726956", + "id": "12698835-e1f1-4266-be31-e74ab0d2209b", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[DELETE]::/api/rest/v1/ui-extensions/:uuid - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -12057,7 +12057,7 @@ "event": [] }, { - "id": "4f320dc3-d66d-4293-9aaa-f821c2a57ca7", + "id": "4f475295-b722-4ab2-838a-7c7d80e5ed5e", "name": "Workflows", "description": { "content": "The Workflows endpoints allow you to retrieve the configuration of the Workflows and Steps.\n", @@ -12065,7 +12065,7 @@ }, "item": [ { - "id": "8b9b7be9-73d9-4182-8eb3-92addffa6277", + "id": "f3dee5fa-229e-4472-9545-ec1181e0e176", "name": "Get list of workflows", "request": { "name": "Get list of workflows", @@ -12129,7 +12129,7 @@ { "listen": "test", "script": { - "id": "d2746e46-714a-4c8e-acc1-b820fb58ec53", + "id": "6d9d701f-7cce-4f0e-a7a8-fc542fd0f62c", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/workflows - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -12144,7 +12144,7 @@ } }, { - "id": "b7673415-c3b0-492b-b6b4-e6b6e9939283", + "id": "7ea16dee-b219-4b59-9e60-bf6b72e68d6a", "name": "Get a workflow", "request": { "name": "Get a workflow", @@ -12201,7 +12201,7 @@ { "listen": "test", "script": { - "id": "9f1d06ad-2d00-45cd-9c8a-025fba0a7d39", + "id": "aed5f703-45e1-49a7-a13a-c4e0659a3a22", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/workflows/:uuid - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -12216,7 +12216,7 @@ } }, { - "id": "3fa1803b-83a8-43ea-b676-baf82970d435", + "id": "027c4b2f-9748-442e-b2b6-3e26030c3336", "name": "Get list of workflow step assignees", "request": { "name": "Get list of workflow step assignees", @@ -12294,7 +12294,7 @@ { "listen": "test", "script": { - "id": "db2d9d8c-70e3-4897-9b89-6ca2f7e769b0", + "id": "5257eae4-3488-40a4-82f0-60387be81005", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/workflows/steps/:uuid/assignees - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -12312,7 +12312,7 @@ "event": [] }, { - "id": "983e8bd6-c623-49ac-9b28-378113812cce", + "id": "9833cdb1-dd20-4178-806f-2d334956a21e", "name": "Workflow executions", "description": { "content": "The Workflow executions endpoints allow you to start workflows on products and product models.\n", @@ -12320,7 +12320,7 @@ }, "item": [ { - "id": "1ca2cf3d-0078-492b-83f0-6eaa202f80af", + "id": "f190230d-b70b-4782-a424-d3019c709eb3", "name": "Start several workflow executions", "request": { "name": "Start several workflow executions", @@ -12384,7 +12384,7 @@ "event": [] }, { - "id": "1cb577fe-5fa5-4cf2-9262-995af3217be6", + "id": "06b4acd6-726f-41d7-bf20-7138b114ad14", "name": "Workflow tasks", "description": { "content": "The Tasks endpoints allow you to retrieve the tasks for each workflow steps, products and product models.\nIt also allows you to manage the tasks by approving, rejecting or completing them.\n", @@ -12392,7 +12392,7 @@ }, "item": [ { - "id": "a8188fb8-c56d-4e12-b5de-378a941d237b", + "id": "7635b5dd-3492-4bf6-b0d5-f19dc4a21182", "name": "Get list of workflow tasks", "request": { "name": "Get list of workflow tasks", @@ -12493,7 +12493,7 @@ { "listen": "test", "script": { - "id": "0b34dcbf-b3b3-436d-8a09-352f093e4ab8", + "id": "c87f2f9c-17fd-4a33-a823-a717cb07d756", "type": "text/javascript", "exec": [ "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/rest/v1/workflows/tasks - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", @@ -12508,7 +12508,7 @@ } }, { - "id": "f3dbca21-6626-435b-9acb-260863c529df", + "id": "7e52b473-043b-4e14-89c9-c503e1ba9f61", "name": "Update a Workflow Task's Status (Approve, Reject, Complete)", "request": { "name": "Update a Workflow Task's Status (Approve, Reject, Complete)", @@ -12579,7 +12579,7 @@ { "listen": "test", "script": { - "id": "f46ea2da-c41a-43ba-860f-9e530dafec9c", + "id": "8b5baec3-c6d7-4137-aa3e-bea0b7e968df", "type": "text/javascript", "exec": [ "// Validate if response has empty Body \npm.test(\"[PATCH]::/api/rest/v1/workflows/tasks/:uuid - Response has empty Body\", function () {\n pm.response.to.not.be.withBody;\n});\n" @@ -12609,7 +12609,7 @@ { "listen": "prerequest", "script": { - "id": "f44a0f8f-9a1f-4e87-b4fc-6898bb7dcfc1", + "id": "69254cda-7609-455a-b000-7753081344cb", "type": "text/javascript", "exec": [ "/*\n For simplicity, we acquire a new token before each API call.\n This is not recommended to do the same in production.\n\n Benefit from the 1 hour validity of the access_token and leverage the refresh_token grant type.\n Explore the official PIM API documentation for details https://api.akeneo.com/documentation/authentication.html\n\n*/\n\n// In case an App token is defined, we use it directly\nappAccessToken = pm.environment.get('app_access_token');\nif (appAccessToken !== undefined) {\n pm.environment.set('bearerToken', appAccessToken);\n console.log('Used the token provided in the \"app_access_token\" variable instead of authenticating with the PIM.');\n\n return;\n}\n\n// Deal with the token endpoint\nif (pm.request.url.getPath().endsWith('/api/oauth/v1/token') &&\n pm.request.method === 'POST') {\n const clientId = pm.collectionVariables.get('clientId');\n const secret = pm.collectionVariables.get('secret');\n\n if (clientId && secret) {\n const encodedData = btoa(clientId + ':' + secret);\n pm.request.auth = {\n type: 'basic',\n basic: [\n {key: 'username', value: clientId},\n {key: 'password', value: secret}\n ]\n };\n pm.request.headers.upsert({\n key: 'Authorization',\n value: 'Basic ' + encodedData\n });\n }\n\n const username = pm.collectionVariables.get('username');\n const password = pm.collectionVariables.get('password');\n\n if (username && password && pm.request.body && pm.request.body.raw) {\n let body = JSON.parse(pm.request.body.raw);\n body.username = username;\n body.password = password;\n pm.request.body.raw = JSON.stringify(body);\n }\n\n return;\n}\n\n// If the request is not to the OAuth token endpoint, we proceed with the authentication\nbase64ClientIdSecret = require('btoa')(pm.environment.get('clientId') + ':' + pm.environment.get('secret'));\n\npm.sendRequest({\n url: pm.environment.get('baseUrl').replace(/\\/$/, '') + '/api/oauth/v1/token',\n method: 'POST',\n header: {\n 'Authorization': 'Basic ' + base64ClientIdSecret,\n 'Content-Type': 'application/json',\n },\n body: {\n mode: 'raw',\n raw: JSON.stringify(\n {\n 'username': pm.environment.get('username'),\n 'password': pm.environment.get('password'),\n 'grant_type': 'password'\n }\n )\n }\n}, function (err, res) {\n if (err !== null) {\n console.error('The following error occured during pre-script execution');\n console.error(err);\n\n return;\n }\n console.warn('For simplicity, we acquire a new token before each API call, this is not recommended in production. Benefit from the 1 hour validity of the access_token and refresh token mecanism.');\n pm.environment.set('bearerToken', res.json().access_token);\n});\n\n" @@ -12650,7 +12650,7 @@ } ], "info": { - "_postman_id": "13e3a16e-15cd-44ec-bbf5-30b0e30fcffa", + "_postman_id": "8c963674-4700-4bf3-b194-553962178cfa", "name": "Akeneo API REFERENCE", "version": { "raw": "1.0.0",