{"info":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","description":"<html><head></head><body><p>Welcome to the Plytix PIM API documentation.</p>\n<h1 id=\"what-is-plytix-pim\">What is Plytix PIM?</h1>\n<p>PIM stands for Product Information Management. It is a platform where you can centralize, optimize, distribute and analyze your product content. If you are interested in learning more about what a PIM is and what Plytix can do for you, we created this handy guide <a href=\"https://\">What is PIM</a>.</p>\n<h1 id=\"what-is-plytix-pim-api-for\">What is Plytix PIM API for?</h1>\n<p>The Plytix Rest API allows you to integrate your PIM solution with third party tools. Using this API you will be able to manage different aspects of your PIM solution in an automated fashion.</p>\n<p>This document lists the available operations and some examples on how to use this API.</p>\n<h1 id=\"api-limits\">API Limits</h1>\n<p>There is a limit to the number of requests which can be made for a client within a certain time interval. If this limit is reached, all subsequent requests to the API will return an 429 error code until the time interval expires.</p>\n<p>Every single request counts as a 'hit' and the system will check if the following conditions are met:</p>\n<ul>\n<li><p>Client has not reached 'requests per 10 seconds' limit</p>\n</li>\n<li><p>Client has not reached 'request per hour' limit</p>\n</li>\n</ul>\n<p>Plytix has different plan types with their corresponding rate limits for the API. All rate limits are applied based on your account plan. These limits are enforced on all the resources available in the API.</p>\n<p>API limits are based on your account plan, you can check your limits at <a href=\"https://www.plytix.com/pricing\">Plytix Pricing Page</a> or contacting your account manager.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>The PIM API uses Bearer Token authentication to check user's credentials on each request, so a token must be provided in the header for all requests in order to use this API.</p>\n<p>Credentials can be issued by any of your Plytix account administrators under the \"API\" tab of the account's Admin section.</p>\n<p>To obtain a valid token you must supply your API credentials (API key and password) by sending a POST request to <a href=\"https://\">https://auth.plytix.com/auth/api/get-token</a>. Every token has a life-time of 15 minutes and a new token must be obtained after that period.</p>\n<p>If a token cannot be verified, a 401 error will be issued and a new token must be requested.</p>\n<p>More info about using/managing tokens, error codes and formats can be found in the <strong>authentication</strong> section further down in this guide.</p>\n<h1 id=\"http-status-codes\">HTTP Status Codes</h1>\n<p>The API has been built around a small subset of standard HTTP status codes.<br>The current version of this interface is limited to codes shown in the table below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200 OK</td>\n<td>The request has succeeded. Response body will usually contain a representation of the resource</td>\n</tr>\n<tr>\n<td>201 CREATED</td>\n<td>The request has succeeded and a resource has been created. Response body will usually contain a representation of the resource and its location will be available in the 'location' tag in the response header</td>\n</tr>\n<tr>\n<td>202 ACCEPTED</td>\n<td>Request has been accepted but will be finished at some point in the future</td>\n</tr>\n<tr>\n<td>204 NO CONTENT</td>\n<td>Request has been fulfilled. No Response</td>\n</tr>\n<tr>\n<td>400 BAD REQUEST</td>\n<td>Invalid syntax in the request</td>\n</tr>\n<tr>\n<td>401 AUTH FAILED</td>\n<td>Request has not been applied because it lacks valid authentication credentials for the target resource</td>\n</tr>\n<tr>\n<td>403 FORBIDDEN</td>\n<td>Server understood the request but refuses to authorize it</td>\n</tr>\n<tr>\n<td>404 NOT FOUND</td>\n<td>Requested resource has not been found in the server</td>\n</tr>\n<tr>\n<td>405 METHOD NOT ALLOWED</td>\n<td>HTTP method is not allowed in target resource</td>\n</tr>\n<tr>\n<td>409 CONFLICT</td>\n<td>Request was understood by the server but has no effect on the current status of the resource</td>\n</tr>\n<tr>\n<td>422 UNPROCESSABLE ENTITY</td>\n<td>Request is syntactically well formed but has semantic errors</td>\n</tr>\n<tr>\n<td>428 Precondition Required</td>\n<td>Request could not be processed because some conditions are not met</td>\n</tr>\n<tr>\n<td>429 TOO MANY REQUESTS</td>\n<td>API Rate limit has been exceeded</td>\n</tr>\n<tr>\n<td>500 SERVER ERROR</td>\n<td>Server wasn't able to fulfill the request. Client can repeat the request later.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"resources\">Resources</h1>\n<p>Plytix API is built around <em>resources</em>, a resource defines its data, operations and relationships with other resources. This section contains an overview of the available resources in this version of the API. A more detailed description, including formats, parameters and examples can be found in each resource section.</p>\n<p>All requests and responses in this API must use '''application/json''' format, so every request has to set appropiate headers like</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Content-Type: application/json\nAccept: application/json\nAuthorization: Bearer {{your_token_value}}\n\n</code></pre><h2 id=\"successful-responses\">Successful responses</h2>\n<p>Successful responses from the API are always wrapped in a <em>result</em> object.<br>A <em>result</em> object is compound of:</p>\n<ul>\n<li><p>data: List of items returned from the API.</p>\n</li>\n<li><p>pagination: Only in search operations</p>\n</li>\n<li><p>attributes: When necessary, we must supply the column we want to be returned from API.</p>\n</li>\n</ul>\n<p>When an operation returns no data, an empty list will be returned</p>\n<h2 id=\"examples\">Examples</h2>\n<p>1.- No result response: <a href=\"https://\">https://pim.plytix.com/api/v1/assets/000000000000000000000000</a></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": []\n}\n\n</code></pre>\n<p>2.- Single result response: <a href=\"https://\">https://pim.plytix.com/api/v1/assets/123456789012345678901234</a></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"file_size\": 30358,\n            \"file_type\": \"TEXTS\",\n            \"filename\": \"example.pdf\",\n            \"id\": \"123456789012345678901234\",\n            \"thumb\": \"https://static.plytix.com/static/pim/img/filetypes/filetype_pdf.png\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/texts/28/c9/fa/5b/5bfac92851e7590001486762/example.pdf\"\n        }\n    ]\n}\n\n</code></pre>\n<p>3.- Multiple result response: <a href=\"https://\">https://pim.plytix.com/api/v1/assets/123456789012345678901234</a></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"filename\": \"blue_mug.png\",\n            \"id\": \"5bfac7d851e7590001486761\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/blue_mug.png\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/blue_mug.png\"\n        },\n        {\n            \"filename\": \"blue_mug_big.jpeg\",\n            \"id\": \"5bfaced551e7590001486763\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/blue_mug_big.jpeg\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/blue_mug_big.jpeg\"\n        }\n    ]\n}\n\n</code></pre>\n<h2 id=\"handling-errors\">Handling Errors</h2>\n<p>Whenever an operation fails, an <em>error</em> object is returned.</p>\n<p>An <strong>error</strong> object consists of:</p>\n<ul>\n<li><p>msg: General error message</p>\n</li>\n<li><p>errors : Optional array field containing detailed information of each error</p>\n<ul>\n<li><p>field: Offending column, field, etc.</p>\n</li>\n<li><p>msg: Detailed message, if any, of the error</p>\n</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"examples-1\">Examples</h2>\n<p>1.- Simple error message</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n     \"error\": {\n        \"msg\": \"Missing Authorization Header\"\n     }\n}\n\n</code></pre>\n<p>2.- Detailed error</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": {\n        \"msg\": \"product data validation failed\",\n        \"errors\": [\n            {\n                \"field\": \"some_non-existing_attribute_to_patch\",\n                \"msg\": \"label does not exist\"\n            },\n            {\n                \"field\": \"some_decimal_number_attribute_to_patch_using_wrong_number_format\",\n                \"msg\": \"Not a valid decimal value. Format must be: .\"\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h2 id=\"assets\">Assets</h2>\n<p>This resource deals with the creation, deletion or query to assets (files) in your account.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n<th>Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/assets</td>\n<td>Allows uploading of new assets to your account</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/assets/id</td>\n<td>Operations on an specific asset</td>\n<td>GET DELETE</td>\n</tr>\n<tr>\n<td>/assets/search</td>\n<td>Filter assets by multiple criteria</td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"available-filters\">Available Filters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n<th>Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/filters/asset</td>\n<td>Available asset fields</td>\n<td>GET</td>\n</tr>\n<tr>\n<td>/filters/products</td>\n<td>Available product fields</td>\n<td>GET</td>\n</tr>\n<tr>\n<td>/filters/relationships</td>\n<td>Available relationships fields</td>\n<td>GET</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"categories\">Categories</h2>\n<h3 id=\"assets-1\">Assets</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n<th>Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/categories/file</td>\n<td>Add new category</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/categories/file/id</td>\n<td>Operations on subcategories of category id</td>\n<td>POST PATCH DELETE</td>\n</tr>\n<tr>\n<td>/categories/file/search</td>\n<td>Filter categories by multiple criteria</td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"products\">Products</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n<th>Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/categories/product</td>\n<td>Add new category</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/categories/product/id</td>\n<td>Operations on subcategories of category id</td>\n<td>POST PATCH DELETE</td>\n</tr>\n<tr>\n<td>/categories/product/search</td>\n<td>Filter categories by multiple criteria</td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"products-1\">Products</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n<th>Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/products</td>\n<td>Creation of new products</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/products/id</td>\n<td>Operations on an specific product</td>\n<td>GET PATCH DELETE</td>\n</tr>\n<tr>\n<td>/products/id/variants</td>\n<td>List and creation of variants of a product.</td>\n<td>GET POST</td>\n</tr>\n<tr>\n<td>/products/id/variant/id</td>\n<td>Operations on a specific variant</td>\n<td>POST DELETE</td>\n</tr>\n<tr>\n<td>/products/id/variants/resync</td>\n<td>Resync variants attribute values</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/products/id/family</td>\n<td>Assign family to a product</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/products/id/assets</td>\n<td>Link of account assets to product</td>\n<td>GET POST</td>\n</tr>\n<tr>\n<td>/products/id/assets/id</td>\n<td>Operations over linked assets</td>\n<td>GET DELETE</td>\n</tr>\n<tr>\n<td>/product/id/categories</td>\n<td>Category assignment to product</td>\n<td>GET POST</td>\n</tr>\n<tr>\n<td>/products/id/categories/id</td>\n<td>Operations on a specific category</td>\n<td>GET DELETE</td>\n</tr>\n<tr>\n<td>/products/id/relationships/id</td>\n<td>Add related products to current product</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/products/id/relationships/id/unlink</td>\n<td>Remove related products from current product</td>\n<td>PATCH</td>\n</tr>\n<tr>\n<td>/products/id/relationships/id/products/id</td>\n<td>Operations on related product</td>\n<td>PATCH</td>\n</tr>\n<tr>\n<td>/products/search</td>\n<td>Filter products by multiple criteria</td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"relationships\">Relationships</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n<th>Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/relationships</td>\n<td>Creation of new relationships</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/relationships/id</td>\n<td>Operations on an specific product</td>\n<td>GET PATCH DELETE</td>\n</tr>\n<tr>\n<td>/relationships/search</td>\n<td>Filter relationships by multiple criteria</td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"product-families\">Product families</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n<th>Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/product_families</td>\n<td>Creation of new product families</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/product_families/id</td>\n<td>Operations on an specific product family</td>\n<td>GET PATCH DELETE</td>\n</tr>\n<tr>\n<td>/product_families/search</td>\n<td>Filter product families by multiple criteria</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/product_families/id/attributes/link</td>\n<td>Add new attributes to a family</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/product_families/id/attributes/unlink</td>\n<td>Removes attributes from a family</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>/product_families/id/attributes</td>\n<td>Retrieves the product family attributes</td>\n<td>GET</td>\n</tr>\n<tr>\n<td>/product_families/id/all_attributes</td>\n<td>Retrieves the product family attributes including system attributes</td>\n<td>GET</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"filtered-searches\">Filtered searches</h2>\n<p>Advanced search is possible by means of the <em>search</em> resource.<br>Every search resource requires:</p>\n<ul>\n<li><p>(Mandatory) Set of conditions that must be met; AND and OR filters are supported.</p>\n</li>\n<li><p>Columns to be retrieved. Search filters are limited to <strong>50</strong> columns</p>\n</li>\n<li><p>Pagination</p>\n</li>\n</ul>\n<h3 id=\"filter-conditions\">Filter Conditions</h3>\n<h4 id=\"simple-filter\"><strong>Simple filter</strong></h4>\n<p>A <em>simple filter</em> is defined by three fields, two of which are mandatory.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field</td>\n<td><strong>label</strong> of the field</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operator</td>\n<td>operation to be performed</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>value</td>\n<td>value of the operation</td>\n<td></td>\n<td>String/Array/Object</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example</strong><br>Search for products whose stock is over 10:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"field\": \"stock\", \"operator\": \"gt\", \"value\": 10}\n\n</code></pre>\n<h4 id=\"compound-filter\"><strong>Compound filter</strong></h4>\n<p>A <em>compound filter</em> is a <em>list</em> of simple filters. Every filter in the list is treated as an AND condition</p>\n<p><strong>Example</strong><br>Search products whose stock is over 10 AND from any vendor containing text \"ACME\"</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\"field\": \"stock\", \"operator\": \"gt\", \"value\": 10},\n    {\"field\": \"vendor\", \"operator\": \"like\", \"value\": \"ACME\"}\n]\n\n</code></pre>\n<h4 id=\"filter\"><strong>Filter</strong></h4>\n<p>A <em>filter</em> is a <em>list</em> of compound filters, every item in this list acts as an OR condition</p>\n<p><strong>Example</strong></p>\n<p>Search products that:</p>\n<p>a) whose stock is over 10 AND from any vendor containing text \"ACME\"</p>\n<p>OR</p>\n<p>b) customer <strong>is</strong> \"Wile E. Coyote\"</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    [  {\"field\": \"stock\", \"operator\": \"gt\", \"value\": 10} , {\"field\": \"vendor\", \"operator\": \"like\", \"value\": \"ACME\"}],\n    [  {\"field\": \"customer\", \"operator\": \"eq\", \"value\": \"Wile E. Coyote\"}  ]\n]\n\n</code></pre>\n<h3 id=\"standard-filter-operators\">Standard filter operators</h3>\n<p>The common filter operators are detailed in the table below, keep in mind that some operators are not allowed on certain filters.<br>Certain filters can have additional operators which are detailed within in its own filters/<em>resource</em> section.</p>\n<p>Note: <em>Item</em> used in the table below can refer to an attribute, property, field, etc.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Arity</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Existence check.  <br>True when the item has its value defined</td>\n</tr>\n<tr>\n<td>!exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Non-existence check.  <br>True when the item has its value undefined</td>\n</tr>\n<tr>\n<td>eq</td>\n<td>Binary</td>\n<td>value</td>\n<td>Equality check.  <br>True if the item has the same value as the one provided  <br>When applied to a text value, the comparison is ignoring case</td>\n</tr>\n<tr>\n<td>!eq</td>\n<td>Binary</td>\n<td>value</td>\n<td>Inequality check.  <br>False if the item has the same value as the one provided  <br>When applied to a text value, the comparison ignores case</td>\n</tr>\n<tr>\n<td>like</td>\n<td>Binary</td>\n<td>value</td>\n<td>Contains check.  <br>Check if supplied string is contained within value</td>\n</tr>\n<tr>\n<td>in</td>\n<td>Binary</td>\n<td>list</td>\n<td>Match check.  <br>Determines if the value matches any of the values specified in the list  <br><strong>Note</strong>: Multiselect and Dropdown attributes are case sensitive</td>\n</tr>\n<tr>\n<td>!in</td>\n<td>Binary</td>\n<td>list</td>\n<td>Do not match check.  <br>Determines if the value doesn't match any of the values specified in the list  <br><strong>Note</strong>: Multiselect and Dropdown attributes are case sensitive</td>\n</tr>\n<tr>\n<td>gt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than.  <br>True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>gte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater or equal than.  <br>True if items' value is greater or equal than provided</td>\n</tr>\n<tr>\n<td>lt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than.  <br>True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>lte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Less or equal than.  <br>True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>text_search</td>\n<td>Binary</td>\n<td>value</td>\n<td>Text search  <br>Allows the user searching for text in several items  <br>Item list must be provided as \"field\" value</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"pagination\">Pagination</h3>\n<p>The first page of a search is returned by default, it's possible to modify this behaviour including a <em>pagination</em> field in the search body</p>\n<p>Pagination object is defined as</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>page number to retrieve</td>\n<td></td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>page_size</td>\n<td>items per page</td>\n<td></td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>order</td>\n<td>sort order of element</td>\n<td></td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>The \"Order\" field is a compound string in the form [ /-][ATTRIBUTE]. By default the order is ascending or if [-] then descending. The [ATTRIBUTE] is the Label of the column</p>\n<h3 id=\"attributes\">Attributes</h3>\n<p>Search endpoints returns only a small subset of all available attributes by default, so in order to get desired attributes in searches,<br>they have to be specified in the <strong>attributes</strong> field of the filters.</p>\n<p>There's a limit of <strong>20</strong> attributes that can be retrieved per search. If you need more than 20 attributes in the search result, we recommend you just get product IDs from the search and then iterate through each product to get more than 20 attributes.</p>\n<h4 id=\"examples-2\">Examples</h4>\n<p>1: Get default attributes and return default page (1) with default items per page (25) using default order (no order)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n     \"filters\":[\n        [\n            {\"field\":\"modified\",\"operator\":\"gt\",\"value\":\"2018-11-01\"},\n            {\"field\":\"modified\",\"operator\":\"lt\",\"value\":\"2018-11-30\"}\n        ],\n        [\n            {\"field\":\"short_text\",\"operator\":\"like\",\"value\":\"unicorn\"}\n        ]\n     ]\n}\n\n</code></pre>\n<p>2: Return default attributes of page (1) with default items per page (25) using default order (no order) of product attributes SKU, Label and Stock</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n     \"attributes\":[\"sku\", \"label\", \"stock\"]\n }\n\n</code></pre>\n<p>3: Return page 3 of products modified [ between November the 1st AND November the 30th] OR [ contains the literal 'unicorn' ] ordered by SKU descending of the<br>following attributes: [\"modified\", \"stock\", \"description\", \"categories\"]</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"filters\":[\n        [\n            {\"field\":\"modified\",\"operator\":\"gt\",\"value\":\"2018-11-01\"},\n            {\"field\":\"modified\",\"operator\":\"lt\",\"value\":\"2018-11-30\"}\n        ],\n        [\n            {\"field\":\"short_text\",\"operator\":\"like\",\"value\":\"unicorn\"}\n        ]\n    ],\n    \"pagination\":{\"order\":\"-sku\",\"page\":3,\"page_size\":25}},\n    \"attributes\":[\"modified\", \"stock\", \"description\", \"categories\"]\n}\n\n</code></pre>\n<h3 id=\"headers\">Headers</h3>\n<p>Custom headers to give extra information in the response</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>key</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>X-Plytix-Deprecation</td>\n<td>This header is sent in the response when the used endpoint is going to be deprecated soon.</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"What is Plytix PIM?","slug":"what-is-plytix-pim"},{"content":"What is Plytix PIM API for?","slug":"what-is-plytix-pim-api-for"},{"content":"API Limits","slug":"api-limits"},{"content":"Authentication","slug":"authentication"},{"content":"HTTP Status Codes","slug":"http-status-codes"},{"content":"Resources","slug":"resources"}],"owner":"42465620","collectionId":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","publishedId":"2sBXijJrz3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-23T10:26:03.000Z"},"item":[{"name":"authentication","item":[{"name":"Retrieves an authentication token","id":"32e4c9a1-a303-44bd-ad6a-d02108ab95b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_key\": \"your.api.key\",\n    \"api_password\": \"your.secret.api.password\"\n}\n"},"url":"https://auth.plytix.com/auth/api/get-token","description":"<p>Plytix PIM API relies on {{vault:bearer-token}} to check a user's credentials, so a token must be provided in the header of requests in order to use this API. </p>\n<p>Credentials can be issued by any of your Plytix account administrators, under the \"API\" tab of the account's admin section.</p>\n<p>Then a POST request must be made to <a href=\"https://auth.plytix.com/auth/api/get-token\">https://auth.plytix.com/auth/api/get-token</a> using the following format:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_key</td>\n<td>API key</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>api_password</td>\n<td>API password</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><p>Upon a successful result, you can find your token in the data array. Then you must include it in the header section of every request</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>CODE</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200 OK</td>\n<td>The request has succeeded. A valid token can be found in response body</td>\n</tr>\n<tr>\n<td>400 BAD REQUEST</td>\n<td>There was an error in the request, please check body request and try again</td>\n</tr>\n<tr>\n<td>401 UNAUTHORIZED</td>\n<td>Bad user name or password. If the problem persists contact <a href=\"mailto:help@plytix.com\">help@plytix.com</a></td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Authorization: Bearer {{your_token_value}}\n</code></pre><p>Please note that capitalization of Bearer must be respected and there is a <strong><em>space</em></strong> between your token and the literal <code>Bearer</code></p>\n<h1 id=\"request-and-response-example\">Request and response example.</h1>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">POST /auth/api/get-token HTTP/1.1\nContent-Type: application/json\n{\n    \"api_key\": \"my_apy_key\" , \n    \"api_password\":\"my secret password\"\n}\n\n200 OK\n{\n  data: [\n            {  \"access_token\": \"token data\" } \n       ]\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9e2d9d59-7494-41be-b1b6-6b73fd2d29c6","id":"9e2d9d59-7494-41be-b1b6-6b73fd2d29c6","name":"authentication","type":"folder"}},"urlObject":{"protocol":"https","path":["auth","api","get-token"],"host":["auth","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"557f1f7f-f17a-43a5-8e46-ca1159a5db79","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{ \"api_key\": \"your.api.key\", \"api_password\": \"your.secret.api.password\" }\n"},"url":"https://auth.plytix.com/auth/api/get-token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"access_token\": \"your access token. It expires after 15 minutes and a fresh one must be obtained. Note that 'Bearer 'literal (mind the space character after the word Bearer) IS NOT in your token and must be added by your application\"\n        }\n    ]\n}"},{"id":"23bc684c-ca33-4ec6-88b0-40267065cba9","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_key\": \"your.api.key\",\n    \"api_password\": \"your.secret.api.password\"\n}\n"},"url":"https://auth.plytix.com/auth/api/get-token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Bad api_key or api_password\"\n}"}],"_postman_id":"32e4c9a1-a303-44bd-ad6a-d02108ab95b5"}],"id":"9e2d9d59-7494-41be-b1b6-6b73fd2d29c6","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7f95a315-7f87-4930-9594-688289aea65b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2ac4faea-2488-4a76-9f65-f3b9eb27c0a8"}}],"_postman_id":"9e2d9d59-7494-41be-b1b6-6b73fd2d29c6","description":""},{"name":"accounts","item":[{"name":"Membership search","id":"f2a71761-c2ae-41e1-abf2-d8dbd5c88c4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"filters\": [\n    [\n        {\"field\": \"role\", \"operator\": \"eq\", \"value\": \"ADMIN\"}\n    ]\n  ],\n  \"attributes\": [\"username\", \"role\", \"name\", \"last_name\", \"legacy_id\"],\n  \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 5\n  }\n}"},"url":"https://pim.plytix.com/api/v1/accounts/memberships/search","description":"<p>Filter memberships by multiple criteria</p>\n<p>The filter structure and format are described in the <a href=\"#resources\">Resources</a> section of this guide. Sorting is not supported. The following fields can be used as attributes and filters. If no attributes are specified, all fields are returned.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>legacy_id</td>\n<td>User ID in PIM</td>\n</tr>\n<tr>\n<td>role</td>\n<td>Membership role: one of <em>ADMIN</em>, <em>OWNER</em> and <em>USER</em></td>\n</tr>\n<tr>\n<td>email</td>\n<td>User’s email address</td>\n</tr>\n<tr>\n<td>username</td>\n<td>Unique user identifier (e.g., name)</td>\n</tr>\n<tr>\n<td>Name</td>\n<td>User's first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>User's last name</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","memberships","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"9b6f544d-14d2-4db1-ab64-c101514da086","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"filters\": [\n    [\n        {\"field\": \"role\", \"operator\": \"eq\", \"value\": \"ADMIN\"}\n    ]\n  ],\n  \"attributes\": [\"username\", \"role\", \"name\", \"last_name\", \"legacy_id\"],\n  \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 5\n  }\n}"},"url":"https://pim.plytix.com/api/v1/accounts/memberships/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"legacy_id\": \"aaaaaaaaaaaaaaaaaaaaaaaa\",\n      \"role\": \"ADMIN\",\n      \"username\": \"alice\",\n      \"name\": \"Alice\",\n      \"last_name\": \"Anderson\"\n    },\n    {\n      \"legacy_id\": \"bbbbbbbbbbbbbbbbbbbbbbbb\",\n      \"role\": \"ADMIN\",\n      \"username\": \"bob\",\n      \"name\": \"Bob\",\n      \"last_name\": \"Brown\"\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 5,\n    \"order\": \"\",\n    \"count\": 2,\n    \"total_count\": 3\n  }\n}"},{"id":"449549d0-6558-4bd1-82c7-b1bea935a41f","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": [\"name\"],\n}"},"url":"https://pim.plytix.com/api/v1/accounts/memberships/search"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"type\": \"json_invalid\",\n      \"loc\": [\n        \"body\",\n        30\n      ],\n      \"msg\": \"JSON decode error\",\n      \"input\": {},\n      \"ctx\": {\n        \"error\": \"Expecting property name enclosed in double quotes\"\n      }\n    }\n  ]\n}"},{"id":"707104a0-8fa1-4a4b-9613-1f9dbac89895","name":"422 Unprocessable entity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"field\": \"non_existing\",\n                \"operator\": \"eq\",\n                \"value\": \"123\"\n            }\n        ]\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/accounts/memberships/search"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"One or more filter fields are not valid.\"\n}\n"}],"_postman_id":"f2a71761-c2ae-41e1-abf2-d8dbd5c88c4c"},{"name":"API credential search","id":"b67e3c4b-e0de-4f36-a02a-143cb5ef9a26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"filters\": [\n    [\n        {\"field\": \"role\", \"operator\": \"eq\", \"value\": \"ADMIN\"}\n    ]\n  ],\n  \"attributes\": [\"legacy_id\", \"name\", \"role\"],\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 5\n  }\n}"},"url":"https://pim.plytix.com/api/v1/accounts/api-credentials/search","description":"<p>Filter API credentials by multiple criteria</p>\n<p>The filter structure and format are described in the <a href=\"#resources\">Resources</a> section of this guide. Sorting is not supported. The following fields can be used as attributes and filters. If no attributes are specified, all fields are returned.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>legacy_id</td>\n<td>API Credential ID in PIM</td>\n</tr>\n<tr>\n<td>role</td>\n<td>User role: one of <em>ADMIN</em>, <em>OWNER</em> and <em>USER</em></td>\n</tr>\n<tr>\n<td>Name</td>\n<td>API credential name</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","accounts","api-credentials","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"e7098fe1-5bb5-4382-883c-434617d63a6e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"filters\": [\n    [\n        {\"field\": \"role\", \"operator\": \"eq\", \"value\": \"ADMIN\"}\n    ]\n  ],\n  \"attributes\": [\"legacy_id\", \"name\", \"role\"],\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 5\n  }\n}"},"url":"https://pim.plytix.com/api/v1/accounts/api-credentials/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"legacy_id\": \"cccccccccccccccccccccccc\",\n      \"name\": \"API\",\n      \"role\": \"ADMIN\"\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 5,\n    \"order\": \"\",\n    \"count\": 1,\n    \"total_count\": 1\n  }\n}"},{"id":"c78f97d1-e4ba-4de4-97dd-992f8601c50e","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": [\"name\"],\n}"},"url":"https://pim.plytix.com/api/v1/accounts/api-credentials/search"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"type\": \"json_invalid\",\n      \"loc\": [\n        \"body\",\n        30\n      ],\n      \"msg\": \"JSON decode error\",\n      \"input\": {},\n      \"ctx\": {\n        \"error\": \"Expecting property name enclosed in double quotes\"\n      }\n    }\n  ]\n}"},{"id":"eca94b4d-5f89-4faa-ac97-91b25243691d","name":"422 Unprocessable entity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"field\": \"non_existing\",\n                \"operator\": \"eq\",\n                \"value\": \"123\"\n            }\n        ]\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/accounts/api-credentials/search"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"One or more filter fields are not valid.\"\n}\n"}],"_postman_id":"b67e3c4b-e0de-4f36-a02a-143cb5ef9a26"}],"id":"aa7be0dd-45d4-4ad0-9747-cbac46965a4d","description":"<p>This section contains resources related to your account.</p>\n","_postman_id":"aa7be0dd-45d4-4ad0-9747-cbac46965a4d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"assets","item":[{"name":"asset","item":[{"name":"Modify selected attributes of an asset","id":"7d34846d-1e20-4865-962d-214fad4febc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"new_asset_filename.png\",\n    \"categories\": [\n        {\n            \"id\": \"5c3f6697d08a07000171c4de\"\n        },\n        {\n            \"id\": \"5c489c15f4b8950001378041\"\n        }\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/assets/:asset_id","description":"<p>Modifies attributes from asset and leaves the rest unchanged. </p>\n<p>Current version supports the modification of the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filename</td>\n<td>string</td>\n<td>New file name for the asset. <br /> File extension change is not allowed</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>array</td>\n<td>Array containing categories objects <br /> Each category is defined as follows <br /> { \"id\": category_id }</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","assets",":asset_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{asset_id}}","key":"asset_id"}]}},"response":[{"id":"6d6ee547-bf4e-40c6-9ff7-d595f7ecb21e","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"new_asset_filename.png\",\n    \"categories\": [\n        {\n            \"id\": \"5c3f6697d08a07000171c4de\"\n        },\n        {\n            \"id\": \"5c489c15f4b8950001378041\"\n        }\n    ]\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"assigned\": true,\n            \"categories\": [\n                {\n                    \"id\": \"5c3f66add08a07000171c4e0\"\n                },\n                {\n                    \"id\": \"5c3f6697d08a07000171c4de\"\n                },\n                {\n                    \"id\": \"5c489c15f4b8950001378041\"\n                }\n            ],\n            \"content_type\": \"image/png\",\n            \"created\": \"2019-01-21T09:29:48.127000+00:00\",\n            \"extension\": \"png\",\n            \"file_modified\": \"2019-01-21T09:29:48.127000\",\n            \"file_size\": 532360,\n            \"file_type\": \"IMAGES\",\n            \"filename\": \"new_asset_filename.png\",\n            \"id\": \"5c45910c0a3d5c000155aa62\",\n            \"modified\": \"2019-01-21T09:33:58.170000+00:00\",\n            \"n_catalogs\": 1,\n            \"n_products\": 115,\n            \"status\": \"ACTIVE\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/bird.png\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/assets/bird.png\"\n        }\n    ]\n}"},{"id":"ee93ecd4-7a33-4f3a-a30e-7742a9ea9673","name":"400 Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"malformed_json\": true,\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"The browser sent a request that this server could not understand.\"\n    }\n}"},{"id":"c8bb6e34-6892-4fb7-b62d-9390d333306a","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"new_asset_filename.png\",\n    \"categories\": [\n        {\n            \"id\": \"5c3f6697d08a07000171c4de\"\n        },\n        {\n            \"id\": \"5c489c15f4b8950001378041\"\n        }\n    ]\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset_id\",\n                \"msg\": \"asset does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 000000000000000000000000\"\n    }\n}"},{"id":"59182dc8-73b4-4f5f-8f39-e2e25a013568","name":"422 Unprocessable Entity","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"new_asset_filename.jpg\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"filename\",\n                \"msg\": \"Extension changes are not allowed\"\n            }\n        ],\n        \"msg\": \"Extension changes are not allowed\"\n    }\n}"}],"_postman_id":"7d34846d-1e20-4865-962d-214fad4febc8"},{"name":"Get account's asset","id":"c25db0b6-54f5-4079-a528-c5d9ac8f4a5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/assets/:asset_id","description":"<p>Get one asset from this account</p>\n","urlObject":{"protocol":"https","path":["api","v1","assets",":asset_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{asset_id}}","key":"asset_id"}]}},"response":[{"id":"3c9e8b45-b8af-4675-b8c5-e4334063d770","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"assigned\": true,\n            \"categories\": [\n                {\n                    \"id\": \"5c3f66add08a07000171c4e0\"\n                }\n            ],\n            \"content_type\": \"image/png\",\n            \"created\": \"2019-01-21T09:29:48.127000+00:00\",\n            \"extension\": \"png\",\n            \"file_modified\": \"2019-01-21T09:29:48.127000\",\n            \"file_size\": 532360,\n            \"file_type\": \"IMAGES\",\n            \"filename\": \"3536.png\",\n            \"id\": \"5c45910c0a3d5c000155aa62\",\n            \"modified\": \"2019-01-21T09:33:58.170000+00:00\",\n            \"n_catalogs\": 1,\n            \"n_products\": 115,\n            \"status\": \"ACTIVE\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/3536.jpg\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/3536.jpg\"\n        }\n    ]\n}"},{"id":"8d08f10e-f862-4751-a009-edf4fc5fb577","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"The browser sent a request that this server could not understand.\"\n    }\n}"},{"id":"140b39cf-1989-4f71-9f19-b6aafd97d4e6","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \" No results found for 000000000000000000000000\",\n        \"errors\": [\n            {\n                \"msg\": \"asset does not exist\",\n                \"field\": \"asset_id\"\n            }\n        ]\n    }\n}"},{"id":"85bd66e8-92e8-47b2-b78e-297366dd7cb9","name":"422 Unprocessable Entity","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"There was an error loading this asset, please contact support\",\n        \"errors\": [\n            {\n                \"msg\": \"validation error\",\n                \"field\": \"asset\"\n            }\n        ]\n    }\n}"}],"_postman_id":"c25db0b6-54f5-4079-a528-c5d9ac8f4a5a"},{"name":"Remove asset from account","id":"00ff49d5-6352-4a1e-be7e-0eb895ea25d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/assets/:asset_id","description":"<p>Removes an asset from this account</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","assets",":asset_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{asset_id}}","key":"asset_id"}]}},"response":[{"id":"29aa430e-3391-4f71-a55e-f7851b58ddf4","name":"204 Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"e6be42f3-90fd-4ab3-80fd-54016533f882","name":"400 Malformed Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"The browser sent a request that this server could not understand.\"\n    }\n}"},{"id":"ff66549c-9908-4430-a62a-8641a51b7b91","name":"403 Permission error","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"Permission denied.\"\n    }\n}"},{"id":"617d117b-1bda-4eed-8c72-5c3238e6d81d","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \" No results found for 000000000000000000000000\",\n        \"errors\": [\n            {\n                \"msg\": \"asset does not exist\",\n                \"field\": \"asset_id\"\n            }\n        ]\n    }\n}"},{"id":"5567a58d-ab86-4308-8c55-e35f66038f6f","name":"422 Unprocessable entity","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id"],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"Schema validation error\"\n    }\n}"}],"_postman_id":"00ff49d5-6352-4a1e-be7e-0eb895ea25d8"},{"name":"Replace asset content","id":"2db53178-ddc6-416d-9066-e3a3078af50c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"https://pim.plytix.com/api/v1/assets/:asset_id/content","urlObject":{"protocol":"https","path":["api","v1","assets",":asset_id","content"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{asset_id}}","key":"asset_id"}]}},"response":[{"id":"1f8b18be-a2c0-4944-a96e-96d0e37e26d3","name":"202 Accepted","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id/content","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id","content"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"ACCEPTED","code":202,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.4"},{"key":"Date","value":"Fri, 19 May 2023 12:27:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1835"},{"key":"Connection","value":"keep-alive"},{"key":"Location","value":"https://pim.plytix.com/api/v1/assets/PimAsset%20object/content"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"assigned\": true,\n            \"categories\": [],\n            \"content_type\": \"image/png\",\n            \"created\": \"2023-05-17T11:22:36.671000+00:00\",\n            \"created_user_audit\": {\n                \"avatar_color\": null,\n                \"type\": \"USER\",\n                \"user_display_name\": null,\n                \"user_email\": \"USER@plytix.com\",\n                \"user_id\": \"5e678436cc9e97962c059bd7\",\n                \"user_last_name\": \"God\",\n                \"user_name\": \"The Owner\",\n                \"user_thumb\": \"https://static.plytix.com/template/dev/img/user-default-image.png\",\n                \"username\": \"5e678436cc9e97962c059bd7\"\n            },\n            \"extension\": \"png\",\n            \"file_modified\": \"2023-05-19T12:27:19.943966\",\n            \"file_size\": 18696,\n            \"file_type\": \"IMAGES\",\n            \"filename\": \"2023-05-03_08-42_1.png\",\n            \"has_custom_thumb\": false,\n            \"id\": \"6464b8fcb1779cd56c3cac87\",\n            \"modified\": \"2023-05-19T12:27:19.944188+00:00\",\n            \"modified_user_audit\": {\n                \"avatar_color\": null,\n                \"type\": \"USER\",\n                \"user_display_name\": null,\n                \"user_email\": \"USER@plytix.com\",\n                \"user_id\": \"5e678436cc9e97962c059bd7\",\n                \"user_last_name\": \"God\",\n                \"user_name\": \"The Owner\",\n                \"user_thumb\": \"https://static.plytix.com/template/dev/img/user-default-image.png\",\n                \"username\": \"5e678436cc9e97962c059bd7\"\n            },\n            \"n_catalogs\": 0,\n            \"n_products\": 1,\n            \"status\": \"ACTIVE\",\n            \"thumbnail\": \"http://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/e3/4b/4a/64/644a4be3a83d8b00089da29f/images/fc/b8/64/64/6464b8fcb1779cd56c3cac87/2023-05-03_08-42_1.png\",\n            \"url\": \"http://files.plytix.com/api/v1.1/file/public_files/pim/assets/e3/4b/4a/64/644a4be3a83d8b00089da29f/images/fc/b8/64/64/6464b8fcb1779cd56c3cac87/2023-05-03_08-42_1.png\"\n        }\n    ]\n}"},{"id":"2b524dc9-2a7b-4af5-9762-014929636d02","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id/content","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id","content"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.4"},{"key":"Date","value":"Fri, 19 May 2023 11:14:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"221"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"content_type\",\n                \"msg\": \"You cannot change the format type of the asset.\"\n            }\n        ],\n        \"msg\": \"You cannot change the format type of the asset.\"\n    }\n}"},{"id":"33914987-99ce-40ab-8e1a-ce30dd7d0240","name":"404 Not Found","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":{"raw":"https://pim.plytix.com/api/v1/assets/:asset_id/content","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","assets",":asset_id","content"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.4"},{"key":"Date","value":"Fri, 19 May 2023 12:28:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"183"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"asset does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 64512de1f15dafa58db1ac73\"\n    }\n}"}],"_postman_id":"2db53178-ddc6-416d-9066-e3a3078af50c"}],"id":"f48783d1-22ce-4db5-950d-e6502c94ef51","description":"<p>Here you can find all available requests related to an specific asset in your PIM.</p>\n","_postman_id":"f48783d1-22ce-4db5-950d-e6502c94ef51","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add new assets","id":"b780cb66-6716-43a8-ae5d-d906ec6140d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"kettle_blue.jpg\",\n    \"url\": \"https://www.plytix.com/hubfs/Kitchen%20and%20Home%20Products/Enjoy%20Mug%20-%20Blue.jpg\"\n}"},"url":"https://pim.plytix.com/api/v1/assets","description":"<p>Upload a new asset to your account</p>\n<p>There are two methods for uploading assets to the system:</p>\n<ul>\n<li>By specifying an url</li>\n<li>By supplying the content of the asset</li>\n</ul>\n<p>Both methods are described in this document</p>\n<h2 id=\"upload-an-asset-by-url\">Upload an asset by url</h2>\n<p>This method allows you to specify an url, the system then tries to download it and\nadd it to your account.\nThere are a few issues that must be taken into account:</p>\n<ul>\n<li>url must be publicly accessible</li>\n<li>file must be one of the supported file types</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><em>url</em></strong></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n<tr>\n<td>filename</td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>If no filename is specified, the filename of the asset in the url will be used.</p>\n<p><strong>NOTE</strong>: This system <strong>DOES NOT</strong> convert files between formats and if different\nfile format of the requested url and filename are used there could be problems</p>\n<h3 id=\"upload-an-asset-by-filename-and-content\">Upload an asset by filename and content</h3>\n<p>This method allows you to upload an asset by sending its content (base64 format) in the body of the request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><em>content</em></strong></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n<tr>\n<td><strong><em>filename</em></strong></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>NOTE</strong>: Content field must contain only image data, stripping <code>data:image/XXX;base64,</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","assets"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"0ab02179-b60b-4d43-80b7-89b926c5a229","name":"201 OK - By content","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"kettle_red.jpg\",\n    \"content\": \"/9j/4AAQSkZJRgABAQEASABIAAD//gAiUkdWc2FYWmxjbVZrSUdKNUlFZG1TeUJGZEdsc2FYcGz/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCABVAFUDASIAAhEBAxEB/8QAHAAAAgIDAQEAAAAAAAAAAAAAAAMEBgUHCAIB/8QAOBAAAQQBAgMEBwYGAwAAAAAAAQACAwQFBhESITEHE0FRMmFxgZGhsjVCUnOxwhQVIpLB0SRyov/EABoBAQACAwEAAAAAAAAAAAAAAAADBAECBgX/xAAkEQACAQMDBQADAAAAAAAAAAAAAQIDBBESMjMhMUFCURORsf/aAAwDAQACEQMRAD8A3Mvm6jXclTxwjNyyyASu4WF523KwGocNlrz35TGartUY44+JsMcbHxEAb+3n5klARs92jU8LkpaTaUll0PJ7myBo4vEKvS9rNp7z3eHiDfDjsOP6AKj3LD7VmSaQ8T5Huc4+ZJ3S2NVV1JZ6Hv07GjpTksst1rtOzs7SIa1SDyIaXbfFVm9nsvkpS+7fnl58mCR0bG+xrCEst5JL2rGuX0lVrQXqZrE6yzuHH/GuukjA3EM5MjD6uZ3HuKy8nbdkO4c1mnGNl3G0n8QXsHny4QTy9apg6ELzhsJlc9mn47FNiMvdmYmV/C0NB2Ph5kfFS05N9GedfUIwSlFYNk4jtqxlmRkOSoT1XHk6SP8AraPXt1+G62LUuVr9WO1UnZPBKN2SRu3Dgud9QaTzuAiEuaxobXJ4RZhcHtafDcjp7wrF2XaknxOdbh7ExdUukcO55B59Fw9vQ+7yUx5hu1C+IQCrNWC5A6CzEyWN3VrxuFSNTYN+n8TbtUL8kVN7OB9ZxJBLuQAV9VQ7S5ODTAb+Ow0fAErEnhElKOqaRp53pJjAln0k1ipHVeD2RySZAnHolPQ1Ejqs3oGc1dfY14OwlEkLvWHN/wBgLCeKn6bk7nVeKk/Dbj+ZAUlPcUb1ZpM31kaFfKY2xQtMD4bEZje0jwIXNdfvcbZ4CSJ8bcMe/jyP+wunfBc46shFfW+o4ANgZ+9A9pDv8q0eCdFVphYrRzN6SMDx7xuhQtOyd7pvGvPU1IvpCEBklSe1B22DrDzsftKuyo/aj9jVPzz9JWs9rJ7blianPpJzEn7ycxUjp32PZSXpxSXrJqJ8VIxjuDN0HDwtRH/0FH8V7pu4cxQ9duEfF4CkhuRUu+KR0f4LnjXJB7RM+R0AG/t4WLoC5drY+pJatzMhhjBc57zsAFzhYnk1Bnr19jCX5W7wQt25kF3L5bK0c8dB6YaWaXxbT1FSP6QhTqkDatOGu30Yo2sHuGyEA5UftR+xqv55+kq8KkdqP2LV/PP0laz2sntuaJqY+knMST6SaxUjp32GHokvTT0SZFk1FeKjZAvjYyWOQxvY9rmvB2LSDuD7tlJHVZjTcdCTUFA5N4ZWZMHu4m8TSQCQCPIlSQ7oqXfGzBOtZTUErWWbeRzEh5CNgc4H4brZnZ9oC1Tux5vNwtgkhbtUpjY91v8Aed6/IK+0r+NmIhpzRE+DGDb5KcrRzwIX1CAFSO1H7Eq/n/tKu6rmt8ZDlcE6Cac1+F3FHNtuGP8ADiHkeY8OvVYksrBJSmoTUn4NJfeTWKNMLdad0clV02zuHjr/ANW/P8J5prphXO1iKeufKaF7P1CqOEl4OijdUZrpJfweeiTJ0Xh2SpAc7cX9wUeTJ0ujZw4+TQSml/DP5qS9l+xo6qxaNpw39UUa88feROe4ubxbdGOP67LD4vE5bMuaMdi7ErXdJJAImf3OIV80lpS9g9XUXW5o5pmxSPmjg3LIGluw3ceZJJ26Dx236qSEHnLKN1c0nBxi8svtTA4yjO2evUYyRvR25JHxKyKEKweMCEIQAvL2NkYWPaHNcNiCNwQhCAq2Q7OsFcm76uyWhLvxb13bM3/6EEfDZS5pcjhKzWPtQ2mtHLigLT8nbfJCEBV8xrV5fFU/lkHFOSO839HYeW3+VhMVoyTMTb/zJsPEd+Vcn9yEIC+YjRkeLgZE/KWpg3wZwxA+8Di+asFWnXpRmOvE2NpO526uPmT1J9ZQhAPQhCAEIQgP/9k=\"\n}"},"url":"https://pim.plytix.com/api/v1/assets"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"location","value":"https://pim.plytix.com/api/v1/assets/5c4c7040ca59f40a55107709","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"assigned\": false,\n            \"categories\": [],\n            \"content_type\": \"image/jpeg\",\n            \"created\": \"2019-01-26T14:35:44.587183+00:00\",\n            \"extension\": \"jpg\",\n            \"file_modified\": \"2019-01-26T14:35:44.587229\",\n            \"file_size\": 1691,\n            \"file_type\": \"IMAGES\",\n            \"filename\": \"kettle_red.jpg\",\n            \"id\": \"5c4c7040ca59f40a55107709\",\n            \"modified\": \"2019-01-26T14:35:44.587512+00:00\",\n            \"n_catalogs\": 0,\n            \"n_products\": 0,\n            \"status\": \"ACTIVE\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/kettle_red.jpg\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/assets/kettle_red.jpg\"\n        }\n    ]\n}"},{"id":"51fd50ad-d431-4c9d-9f53-0e6ec6bd6cd4","name":"201 OK - Upload by url","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"kettle_blue.jpg\",\n    \"url\": \"https://www.plytix.com/hubfs/Kitchen%20and%20Home%20Products/Enjoy%20Mug%20-%20Blue.jpg\"\n}"},"url":"https://pim.plytix.com/api/v1/assets"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Location","value":"https://pim.plytix.com/api/v1/assets/5c4c6e10ca59f4061b800ffa","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"assigned\": false,\n            \"categories\": [],\n            \"content_type\": \"image/jpeg\",\n            \"created\": \"2019-01-26T14:26:24.826240+00:00\",\n            \"extension\": \"jpg\",\n            \"file_modified\": \"2019-01-26T14:26:24.826306\",\n            \"file_size\": 31885,\n            \"file_type\": \"IMAGES\",\n            \"filename\": \"kettle_blue.jpg\",\n            \"id\": \"5c4c6e10ca59f4061b800ffa\",\n            \"modified\": \"2019-01-26T14:26:24.827123+00:00\",\n            \"n_catalogs\": 0,\n            \"n_products\": 0,\n            \"status\": \"ACTIVE\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/kettle_blue.jpg\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/assets/kettle_blue.jpg\"\n        }\n    ]\n}"},{"id":"56f4cf6e-e6e9-4d84-b278-b8a133b915ed","name":"400 Bad request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"kettle_blue.jpg\",\n    \"url\": \"Blue.jpg\",\n}"},"url":"https://pim.plytix.com/api/v1/assets"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"The browser sent a request that this server could not understand.\"\n    }\n}"},{"id":"1c779d78-c1db-40c3-950a-e58c6d0d7b82","name":"409 - Asset already exists","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filename\": \"kettle_blue.jpg\",\n    \"url\": \"https://www.plytix.com/hubfs/Kitchen%20and%20Home%20Products/Enjoy%20Mug%20-%20Blue.jpg\"\n}"},"url":"https://pim.plytix.com/api/v1/assets"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"location","value":"https://pim.plytix.com/api/v1/assets/5c4c6e10ca59f4061b800ffa","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"5c4c6e10ca59f4061b800ffa\"\n            }\n        ],\n        \"msg\": \"Asset already exists\"\n    }\n}"},{"id":"947aec6e-3596-4ceb-aff8-b0aad06075c3","name":"422 Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"content\": \"/9j/4AAQSkZJRgABAQEASABIAA\"\n}"},"url":"https://pim.plytix.com/api/v1/assets"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"filename\",\n                \"msg\": \"filename field is mandatory when uploading from content\"\n            }\n        ],\n        \"msg\": \"Schema validation error\"\n    }\n}"}],"_postman_id":"b780cb66-6716-43a8-ae5d-d906ec6140d6"},{"name":"Asset search","id":"eac57df8-3c19-400c-afc2-cd2e30036168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [],\n    \"attributes\": [\"modified\", \"filename\"],\n    \"pagination\": {\n        \"order\": \"modified\",\n        \"page\": 1,\n        \"page_size\": 5\n    }\n}"},"url":"https://pim.plytix.com/api/v1/assets/search","description":"<p>Filter assets by multiple criteria</p>\n<p>Filter structure and format is described under <a href=\"#resources\">Resources</a> section in this guide</p>\n<h2 id=\"restrictions\">Restrictions</h2>\n<ul>\n<li>Search filters will return a 428 status code if the filtered results include more than 10000 assets and the order field is filled.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","assets","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"46f74732-2995-4474-9cf8-2196cab645a3","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            \n        ]\n    ],\n    \"attributes\": [\"modified\", \"filename\"],\n    \"pagination\": {\n        \"order\": \"modified\",\n        \"page\": 1,\n        \"page_size\": 5\n    }\n}"},"url":"https://pim.plytix.com/api/v1/assets/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"filename\": \"k9189-1.jpg\",\n            \"id\": \"5c483ee8eb9139000154dd5e\",\n            \"modified\": \"2019-01-23T10:16:08.122000+00:00\"\n        },\n        {\n            \"filename\": \"naranja.png\",\n            \"id\": \"5c483f08eb9139000154dd61\",\n            \"modified\": \"2019-01-23T10:16:40.850000+00:00\"\n        },\n        {\n            \"filename\": \"dos_naranjas.jpeg\",\n            \"id\": \"5c483fbaeb9139000154dd64\",\n            \"modified\": \"2019-01-23T10:19:38.335000+00:00\"\n        },\n        {\n            \"filename\": \"naranja.jpeg\",\n            \"id\": \"5c483fbaeb9139000154dd66\",\n            \"modified\": \"2019-01-23T10:19:38.446000+00:00\"\n        },\n        {\n            \"filename\": \"rrh_1.png\",\n            \"id\": \"5c483fbaeb9139000154dd67\",\n            \"modified\": \"2019-01-23T10:19:38.491000+00:00\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 2241,\n        \"order\": \"modified\",\n        \"page\": 1,\n        \"page_size\": 5,\n        \"total_count\": 2241\n    }\n}"},{"id":"430ca4f1-3d30-4f10-9607-b5a4499c2851","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": [\"modified\", \"filename\"],\n}"},"url":"https://pim.plytix.com/api/v1/assets/search"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"http_status_code\",\n                \"msg\": 400\n            }\n        ],\n        \"msg\": \"Failed to decode JSON object: Expecting property name enclosed in double quotes: line 3 column 1 (char 46)\"\n    }\n}"},{"id":"8b02085e-8cd1-4af6-b364-031d03ef31ca","name":"422 Unprocessable entity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"field\": \"non_existing\",\n                \"operator\": \"eq\",\n                \"value\": \"123\"\n            }\n        ]\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/assets/search"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"eq\",\n                \"msg\": \"unknown field\"\n            },\n            {\n                \"field\": \"filters\",\n                \"msg\": \"Unable to decode filters properly\"\n            }\n        ],\n        \"msg\": \"Schema validation error\"\n    }\n}"}],"_postman_id":"eac57df8-3c19-400c-afc2-cd2e30036168"}],"id":"8fcbdce3-8586-437b-b1ea-6d04091b67e0","description":"<p>This section contains resources related to <em>Assets</em>.</p>\n<p>Each asset has the following structure:\nDepending on the operation, some of those parameters are mandatory or optional or not being returned.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>assigned</td>\n<td>Indicates if this asset is used in products or catalogs</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>Categories related to this asset</td>\n</tr>\n<tr>\n<td>content_type</td>\n<td>Media type of the resource</td>\n</tr>\n<tr>\n<td>created</td>\n<td>Creation date in ISO 8061 format</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>File extension</td>\n</tr>\n<tr>\n<td>filename</td>\n<td>Name, including extension, of the file</td>\n</tr>\n<tr>\n<td>file_size</td>\n<td>Size in bytes of the file</td>\n</tr>\n<tr>\n<td>file_type</td>\n<td>type(s) of the file</td>\n</tr>\n<tr>\n<td>has_custom_thumb</td>\n<td>Boolean flag for non-image file types, indicates user-defined thumbnail instead of the autogenerated one</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Asset identifier</td>\n</tr>\n<tr>\n<td>modified</td>\n<td>Last modification date in ISO 8061 format</td>\n</tr>\n<tr>\n<td>n_catalogs</td>\n<td>Show how many catalogs are linked this asset</td>\n</tr>\n<tr>\n<td>n_products</td>\n<td>Show how many products are linked to this asset</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Active or inactive</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>Url to the asset thumbnail</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Asset type*, multiple values are supported</td>\n</tr>\n<tr>\n<td>url</td>\n<td>url of this asset</td>\n</tr>\n</tbody>\n</table>\n</div><p>Assets are grouped in the following types:</p>\n<ul>\n<li>IMAGES : All supported image file formats</li>\n<li>FEED_FILES : Feed files: .json, .xml    </li>\n<li>COMPRESSED : All supported compressed file formats </li>\n<li>REPORTS    : All supported report file formats </li>\n<li>TEXTS      : All supported text file formats </li>\n<li>SOUNDS     : All supported audio file formats</li>\n<li>VIDEOS     : All supported video file formats</li>\n<li>OTHER      : Other supported file formats</li>\n</ul>\n<p>Note: an asset could belong to more than one group, for example CSV files is both a TEXT and REPORT file  </p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2d7ff379-1021-4e1c-908c-86ad88321093"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6ff33fed-9d8c-4248-bc70-e74009c8dd7f"}}],"_postman_id":"8fcbdce3-8586-437b-b1ea-6d04091b67e0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"available filters","item":[{"name":"Get available asset filters","id":"7df97add-68bf-4aac-b9ab-bfe6631c5656","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/filters/asset","description":"<p>Get a list of available asset filters</p>\n<p>This endpoint lists the available search fields when filtering assets and operations that can be carried on each field.\nFor a description of every field returned from this endpoint, please check <em>Asset</em> section in this guide. </p>\n<p>This endpoint <strong>DOES NOT</strong> support the use of the \"TEXT_SEARCH\" operator</p>\n<p>A complete list of operators and their meanings is available in the main section of <em>filters</em>.</p>\n<p><strong>NOTE</strong>:The most up-to-date list of attributes and operations is always returned for this endpoint.</p>\n","urlObject":{"protocol":"https","path":["api","v1","filters","asset"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"6a7bf4f8-6037-4967-b1bc-677d8d5b77e2","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":"https://pim.plytix.com/api/v1/filters/asset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": [\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"status\",\n                    \"operators\": [\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"MultiSelectAttribute\",\n                    \"key\": \"file_type\",\n                    \"operators\": [\n                        \"in\",\n                        \"!in\"\n                    ],\n                    \"options\": [\n                        \"IMAGES\",\n                        \"SOUNDS\",\n                        \"VIDEOS\",\n                        \"COMPRESSED\",\n                        \"REPORTS\",\n                        \"TEXTS\",\n                        \"OTHER\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"BooleanAttribute\",\n                    \"key\": \"assigned\",\n                    \"operators\": [\n                        \"eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DecimalAttribute\",\n                    \"key\": \"file_size\",\n                    \"operators\": [\n                        \"eq\",\n                        \"!eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"id\",\n                    \"operators\": [\n                        \"eq\",\n                        \"!eq\",\n                        \"in\",\n                        \"!in\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"HierarchyAttribute\",\n                    \"key\": \"categories\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"in\",\n                        \"!in\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"extension\",\n                    \"operators\": [\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DateAttribute\",\n                    \"key\": \"created\",\n                    \"operators\": [\n                        \"eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DateAttribute\",\n                    \"key\": \"modified\",\n                    \"operators\": [\n                        \"eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"filename\",\n                    \"operators\": [\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"7df97add-68bf-4aac-b9ab-bfe6631c5656"},{"name":"Get available product filters","id":"104b96c8-29a2-4422-933b-42f88d436a2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/filters/product","description":"<p>This endpoint lists the available search fields when filtering products and operations that can be carried on each field.<br />A complete list of operators and their meanings is available in the main section of <em>filters</em>.</p>\n<h1 id=\"system-attributes\">System attributes</h1>\n<p>All products have a predefined set of system attributes shown below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>created</td>\n<td>Product creation date in ISO 8601 format</td>\n</tr>\n<tr>\n<td>modified</td>\n<td>Product last modification date in ISO 8601 format</td>\n</tr>\n<tr>\n<td>sku</td>\n<td>Product identifier</td>\n</tr>\n<tr>\n<td>gtin</td>\n<td>Global Trade Number (GTIN). This only accept valid GTIN formats</td>\n</tr>\n<tr>\n<td>label</td>\n<td>Product label</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Available statuses: [Draft, Completed]</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>Product category identifiers (id)</td>\n</tr>\n<tr>\n<td>static_lists</td>\n<td>Available product lists</td>\n</tr>\n<tr>\n<td>assets</td>\n<td>Assets related to this product</td>\n</tr>\n<tr>\n<td>images</td>\n<td>Images related to this product, always a subset of assets</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>Product thumbnail</td>\n</tr>\n<tr>\n<td>product_level</td>\n<td>The inheritance level of the product, commonly known as the product type. Choices (as integers): 0 (single), 1 (parent), 2 (variant) and 3 (sub-variant).</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><em>\"sub-variant\" will only be available if the account has the variants level 3 feature enabled. Consult your account manager for more information.</em> </p>\n</blockquote>\n<h1 id=\"custom-attributes\">Custom attributes</h1>\n<p>User defined attributes are returned too by this endpoint, they can be easily identified as all user attribute is <em>always</em><br />prefixed with the literal <code>attributes.</code>.</p>\n<p>For example, an attribute named <em>color</em> defined as multiselect with the following values <em>Blue, Purple, White, Beige, and Orange</em> will be returned as:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \n    \"filter_type\": \"MultiSelectAttribute\", \n    \"key\": \"attributes.color\", \n    \"operators\": [ \"exists\", \"!exists\", \"in\", \"!in\" ],\n    \"options\": [ \"Blue\", \"Purple\", \"White\", \"Beige\", \"Orange\" ]\n}\n\n</code></pre>\n<h1 id=\"available-properties\">Available properties:</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_is_variation</code></td>\n<td>True if a product is a variant</td>\n</tr>\n<tr>\n<td><code>_has_variations</code></td>\n<td>True if a product is a base product</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","filters","product"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"93056717-cf24-4296-ac2f-fae6900e7451","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":"https://pim.plytix.com/api/v1/filters/product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": [\n                {\n                    \"filter_type\": \"DecimalAttribute\",\n                    \"key\": \"attributes.price_create_a_decimal_number_type_attribute\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"eq\",\n                        \"!eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DropdownAttribute\",\n                    \"key\": \"attributes.dropdown\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"eq\",\n                        \"!eq\",\n                        \"in\",\n                        \"!in\"\n                    ],\n                    \"options\": [\n                        \"1\",\n                        \"2\",\n                        \"3\",\n                        \"4\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"attributes.description_create_a_rich_text_type_attribute\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"MultiSelectAttribute\",\n                    \"key\": \"attributes.color_create_a_multiselect_type_attribute\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"in\",\n                        \"!in\"\n                    ],\n                    \"options\": [\n                        \"Blue\",\n                        \"Purple\",\n                        \"White\",\n                        \"Beige\",\n                        \"Orange\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"MultiSelectAttribute\",\n                    \"key\": \"attributes.multiselect\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"in\",\n                        \"!in\"\n                    ],\n                    \"options\": [\n                        \"option 1\",\n                        \"option 2\",\n                        \"option 3\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"attributes.att_1\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"attributes.17\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"attributes.att20\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"sku\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"label\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"MultiSelectAttribute\",\n                    \"key\": \"categories\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"in\",\n                        \"!in\"\n                    ],\n                    \"options\": []\n                },\n                {\n                    \"filter_type\": \"MultiSelectAttribute\",\n                    \"key\": \"static_lists\",\n                    \"operators\": [\n                        \"in\"\n                    ],\n                    \"options\": []\n                },\n                {\n                    \"filter_type\": \"MediaAttribute\",\n                    \"key\": \"assets\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"MediaAttribute\",\n                    \"key\": \"images\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"MediaAttribute\",\n                    \"key\": \"thumbnail\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DateAttribute\",\n                    \"key\": \"modified\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DateAttribute\",\n                    \"key\": \"created\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DropdownAttribute\",\n                    \"key\": \"status\",\n                    \"operators\": [\n                        \"eq\",\n                        \"in\",\n                        \"!in\"\n                    ]\n                }\n             ],\n            \"properties\": [\n                {\n                    \"filter_type\": \"BooleanAttribute\",\n                    \"key\": \"_is_variation\",\n                    \"operators\": [\n                        \"eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"BooleanAttribute\",\n                    \"key\": \"_has_variations\",\n                    \"operators\": [\n                        \"eq\"\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"104b96c8-29a2-4422-933b-42f88d436a2e"},{"name":"Get available relationships filters","id":"81f52ee7-28f6-4623-976d-b520c63a048e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pim.plytix.com/api/v1/filters/relationships","description":"<p>Get a list of available relationship filters</p>\n<p>This endpoint lists the available search fields when filtering relationships and operations that can be carried out in each field.\nFor a description of every field returned from this endpoint, please check the <em>Relationships</em> section in this guide. </p>\n<p>This endpoint <strong>DOES NOT</strong> support the use of the \"TEXT_SEARCH\" operator</p>\n<p>A complete list of operators and their meanings is available in the main section of <em>filters</em>.</p>\n<p><strong>NOTE</strong>: The most up-to-date list of attributes and operations is always returned for this endpoint.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","filters","relationships"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"6074ad8b-2e5a-4315-8b25-42e13df048f0","name":"Get available relationships filters","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":"https://pim.plytix.com/api/v1/filters/relationships"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": [\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"label\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"name\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DateAttribute\",\n                    \"key\": \"created\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"BooleanAttribute\",\n                    \"key\": \"symmetrical\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"TextAttribute\",\n                    \"key\": \"id\",\n                    \"operators\": [\n                        \"like\",\n                        \"eq\",\n                        \"!eq\"\n                    ]\n                },\n                {\n                    \"filter_type\": \"DateAttribute\",\n                    \"key\": \"modified\",\n                    \"operators\": [\n                        \"exists\",\n                        \"!exists\",\n                        \"eq\",\n                        \"gt\",\n                        \"gte\",\n                        \"lt\",\n                        \"lte\"\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"81f52ee7-28f6-4623-976d-b520c63a048e"}],"id":"33658a0c-1fa8-4332-a215-afd8cd77aaff","description":"<p>This section contains resources related to <em>filters</em>.</p>\n<p>Advanced searches must specify a set of filters (more on filters \ncan be found under <a href=\"#resources\">Resources</a>). A <em>simple filter</em> is defined by three fields, \ntwo of which are mandatory and the third one depends on the operator. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key</td>\n<td><strong>label</strong> of the field</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operator</td>\n<td>operation to be performed</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>value</td>\n<td>value of the operation</td>\n<td></td>\n<td>String/Array/Object</td>\n</tr>\n</tbody>\n</table>\n</div><p>In order to be able to build such filters, fields and available operators for each field must be known and thats the \npoint of all resources listed in this section.</p>\n<h2 id=\"standard-filter-operators\">Standard filter operators</h2>\n<p>Common operators are shown in the table below, some operations are not allowed for every filter.</p>\n<p>A complete list of available fields and allowed operations can be obtained by requesting a GET on\nits own filters/<em>resource</em> section.</p>\n<p>Note: <em>Item</em> used in the table below can refer to an attribute, property, field, etc.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Arity</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Existence check. <br /> True when the item has its value defined</td>\n</tr>\n<tr>\n<td>!exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Non-existence check. <br /> True when the item has its value undefined</td>\n</tr>\n<tr>\n<td>eq</td>\n<td>Binary</td>\n<td>value</td>\n<td>Equality check.<br /> True if the item has the same value as the one provided <br /> When applied to a text value, the comparison ignores case</td>\n</tr>\n<tr>\n<td>!eq</td>\n<td>Binary</td>\n<td>value</td>\n<td>Inequality check.<br /> False if the item has the same value as the one provided  <br /> When applied to a text value, the comparison is ignoring case</td>\n</tr>\n<tr>\n<td>like</td>\n<td>Binary</td>\n<td>value</td>\n<td>Contains check. <br /> Check if supplied string is contained within value</td>\n</tr>\n<tr>\n<td>in</td>\n<td>Binary</td>\n<td>list</td>\n<td>Match check. <br /> Determines if the value matches any of the values specified in the list<br /> <strong>Note</strong>: Multiselect  and Dropdown attributes are case sensitive</td>\n</tr>\n<tr>\n<td>!in</td>\n<td>Binary</td>\n<td>list</td>\n<td>Do not match check. <br /> Determines if the value doesn't match any of the values specified in the list<br /> <strong>Note</strong>: Multiselect  and Dropdown attributes are case sensitive</td>\n</tr>\n<tr>\n<td>gt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than. <br /> True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>gte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater or equal than. <br /> True if items' value is greater or equal than provided</td>\n</tr>\n<tr>\n<td>lt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than. <br /> True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>lte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Less or equal than. <br /> True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>text_search</td>\n<td>Binary</td>\n<td>value</td>\n<td>Text search <br /> Allows the user to search for text in several items <br /> Item list must be provided as \"field\" value <br /></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-structure\">Response structure</h2>\n<p>Suscessful responses from filter endpoints are always wrapped in a result <em>data</em> object :</p>\n<ul>\n<li>data: List of items returned from the API:<ul>\n<li>attributes: List of attributes <em>objects</em>.</li>\n<li>properties: List of meta properties <em>objects</em></li>\n</ul>\n</li>\n</ul>\n<p>Both <em>attributes</em> and <em>properties</em>  <em>objects</em> share structure, which is compound of:</p>\n<ul>\n<li>key: key of the field, this is what must be used in \"field\" </li>\n<li>operators: List of available operators for this field </li>\n<li>options: Optional, list allowed values for fields with a limited subset or values </li>\n<li>filter_type: Type of the filter, mainly informative</li>\n</ul>\n<p>You can find some response examples in each endpoint</p>\n<h2 id=\"filter-operator-examples\">Filter operator examples</h2>\n<p>This section shows a small example of each operator.</p>\n<ul>\n<li><p><code>[exists]</code> Get items whose thumbnail is defined </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [\n            [ {\"field\":\"thumbnail\",\"operator\":\"exists\"} ] \n          ]}\n</code></pre>\n</li>\n<li><p><code>[!exists]</code> Get items whose thumbnail is not defined </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [       \n            [ {\"field\":\"thumbnail\",\"operator\":\"!exists\"} ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[eq]</code> Get items whose sku <strong>is</strong> <em>Sample - 001</em> </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\":\"sku\",\"operator\":\"eq\", \"value\":\"Sample - 001\"}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[!eq]</code> Get items whose stock is not equal to 123</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\":\"attributes.stock\",\"operator\":\"!eq\", \"value\":123}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[like]</code> Get items whose name contains \"sample\" in any position</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\":\"attributes.name\",\"operator\":\"like\", \"value\":\"sample\"}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[in]</code> Get items belonging to, at least, one of the specified categories </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\":\"categories\", \"operator\":\"in\", \"value\":[\"5c4ed7f62f0985001c233277\",\"5c4ed7f62f0985001c233278\",\"5c4ed7f62f0985001c233279\"]}  \n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[!in]</code> Get items not having, at least, one of the specified values </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\": \"attributes.multiselect\", \"operator\": \"!in\", \"value\": [\"option 1\", \"option 3\"]}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[gt]</code> Get items whose price is greater than 120</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\": \"attributes.price\", \"operator\": \"gt\", \"value\": 120}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[gte]</code> Get items whose price is greater than or equal to 120  </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\": \"price\", \"operator\": \"gte\", \"value\": 120}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[lt]</code> Get items whose price is less than 120</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\": \"attributes.price\", \"operator\": \"lt\", \"value\": 120}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[lte]</code> Get items whose price is less than or equal to 120  </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\": \"attributes.price\", \"operator\": \"lte\", \"value\": 120}    \n            ]\n          ]}\n</code></pre>\n</li>\n<li><p>Get items whose price is greater than or equal to 100 <strong>AND</strong> less than 120<br />  We need a <em>compound</em> filter with an AND condition so:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\": \"attributes.price\", \"operator\": \"gte\", \"value\": 100 },\n                {\"field\": \"attributes.price\", \"operator\": \"lt\", \"value\": 120}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p>Get items whose \n  a) price is greater than or equal to 100 <strong>AND</strong> less than 120\n  <strong>OR</strong>  b)   sku <strong>is</strong> <em>Sample - 001</em> </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [ \n            [ \n                {\"field\": \"price\", \"operator\": \"gte\", \"value\": 100 },\n                {\"field\": \"price\", \"operator\": \"lt\", \"value\": 120}\n            ],\n            [\n                {\"field\":\"sku\",\"operator\":\"eq\", \"value\":\"Sample - 001\"}\n            ]\n          ]}\n</code></pre>\n</li>\n<li><p><code>[text_search]</code> Get items containing 'kettle' in any of 'sku' or 'label' fields</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"filters\": [\n             [\n                {\"field\":[\"sku\",\"label\"],\"operator\":\"text_search\",\"value\":\"kettle\"}     \n              ]\n          ]}\n</code></pre>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2459da24-ed8a-40c4-a2c0-03eeef175096"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3db7dc67-4e25-4c16-a03d-b9b6113627be"}}],"_postman_id":"33658a0c-1fa8-4332-a215-afd8cd77aaff","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"categories","item":[{"name":"assets","item":[{"name":"asset","item":[{"name":"Add new file subcategory","id":"3c66d169-608f-425d-94ba-fa5f762f57c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Kitchen Sinks\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/file/:category_id","description":"<p>Add a new sub-category under an existing category</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","file",":category_id"],"host":["pim","plytix","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"470084e8-560f-48d0-881f-05a3f37d2b9c","name":"Add new file subcategory","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Marketing logos\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/file/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","file",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5cfa0c1e3da03100019ba90f\", \n      \"modified\": \"2019-06-07T07:02:54.817539+00:00\", \n      \"n_children\": 0, \n      \"name\": \"Marketing logos\", \n      \"order\": \"1\", \n      \"parents_ids\": [\n        \"5cfa05273da03100019ba90e\"\n      ], \n      \"path\": [\n        \"Logos\", \n        \"Marketing logos\"\n      ], \n      \"slug\": \"marketing-logos\"\n    }\n  ]\n}"},{"id":"d4e8caf9-b2e7-416e-bf2e-3af21053be62","name":"Add duplicate name file category","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Marketing logos\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/file/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","file",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"errors\": [\n      {\n        \"field\": \"name\", \n        \"msg\": \"already exists\"\n      }\n    ], \n    \"msg\": \"Category Marketing logos already exist\"\n  }\n}\n"}],"_postman_id":"3c66d169-608f-425d-94ba-fa5f762f57c0"},{"name":"Modify category attributes","id":"324b93e5-4ed4-4e34-8de2-c6de86b9864c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/categories/file/:category_id","description":"<p>Using this verb you can change some of the properties of any category.</p>\n<p>Allowed properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Category name</td>\n</tr>\n<tr>\n<td>parent_id</td>\n<td>New parent category id. Use emtpy string to make it root category</td>\n</tr>\n<tr>\n<td>sort_children</td>\n<td>Reorder subcategories</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: <strong>parent_id</strong> and <strong>sort_children</strong> are not allowed in the same request.</p>\n<h1 id=\"moving-categories\">Moving Categories</h1>\n<h2 id=\"convert-to-root-category-aka-first-level-categories\">Convert to root category (a.k.a first level categories)</h2>\n<p>You must issue a patch request to <a href=\"https://pim.plytix.com/api/v1/categories/file/categoryId\">https://pim.plytix.com/api/v1/categories/file/categoryId</a> (see examples) specifiying <strong>parent_id</strong> as empty string, i.e. {\"parent_id\": \"\"}</p>\n<h2 id=\"move-as-subcategory-of-another-category\">Move as subcategory of another category</h2>\n<p>You must issue a patch request to <a href=\"https://pim.plytix.com/api/v1/categories/file/categoryId\">https://pim.plytix.com/api/v1/categories/file/categoryId</a> (see examples) specifiying <strong>parent_id</strong> as new parent category id, i.e. {\"parent_id\": \"new parent category here\"}</p>\n<h1 id=\"sorting-categories\">Sorting Categories</h1>\n<h2 id=\"sorting-root-categories\">Sorting Root Categories</h2>\n<p>When patching root categories (a.k.a first level categories) only reorder is allowed and must be done under the special endpoint <a href=\"https://pim.plytix.com/api/v1/categories/file/root\">https://pim.plytix.com/api/v1/categories/file/root</a>, 200 status code is returned upon successful response and empty data array is returned.</p>\n<h1 id=\"sorting-subcategories\">Sorting Subcategories</h1>\n<p>A patch request must be issued to parent ID category including in its body a dictionary with <strong>ALL</strong> subcategories in desired order, you are not allowed to make partial orders or add new categories or this operations will return 422 error code.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{ 'sort_children': [ subcategory_ids ]\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","file",":category_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"69c0f150-6e9e-450e-9a3e-f72ddeecef84","name":"Change parent category","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"parent_id\": \"5cfa0ee53da03100019ba910\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/file/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","file",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa0c1e3da03100019ba90f\",\n            \"modified\": \"2019-06-07T07:16:44.586830+00:00\",\n            \"n_children\": 0,\n            \"name\": \"Acme\",\n            \"order\": \"1\",\n            \"parents_ids\": [\n                \"5cfa0ee53da03100019ba910\"\n            ],\n            \"path\": [\n                \"Packshots\",\n                \"Acme\"\n            ],\n            \"slug\": \"acme\"\n        }\n    ]\n}"},{"id":"bfeefbac-ea54-4392-a80d-d2e1567dd465","name":"Convert into root category","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"parent_id\": \"\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/file/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","file",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa0c1e3da03100019ba90f\",\n            \"modified\": \"2019-06-07T07:18:53.490242+00:00\",\n            \"n_children\": 0,\n            \"name\": \"Packshots\",\n            \"order\": \"7\",\n            \"parents_ids\": [],\n            \"path\": [\n                \"Packshots\"\n            ],\n            \"slug\": \"packshots\"\n        }\n    ]\n}"},{"id":"f3ebfa6b-8942-4fad-83e6-604bc9d23178","name":"Change category name","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Packshots small\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/file/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","file",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5cfa0c1e3da03100019ba90f\", \n      \"modified\": \"2019-06-07T07:05:06.959196+00:00\", \n      \"n_children\": 0, \n      \"name\": \"Packshots small\", \n      \"order\": \"1\", \n      \"parents_ids\": [\n        \"5cfa05273da03100019ba90e\"\n      ], \n      \"path\": [\n        \"Packshots smalls\"\n      ], \n      \"slug\": \"packshots-small\"\n    }\n  ]\n}\n"},{"id":"9e7ad2d1-2f7f-4fb1-8ed4-aa44314971c2","name":"Sort root categories","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sort_children\": [\n        \"5cf69f4d568c1c001c039c76\",\n        \"5cf4d55eb694740001006ed1\",\n        \"5cf69f4d568c1c001c039c7a\",\n        \"5cf9f06d53f18e0001006e6d\",\n        \"5cfa05273da03100019ba90e\",\n        \"5cfa0ee53da03100019ba910\",\n        \"5cfa0c1e3da03100019ba90f\",\n        \"5cfa10893da03100019ba911\"\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/categories/file/root"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {}\n    ]\n}"},{"id":"b7e08e9d-fdc9-4dc5-a13d-c8aaaf602efa","name":"Sort subcategories","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sort_children\": [\n        \"5cfa10a13da03100019ba913\",\n        \"5cfa10973da03100019ba912\",\n        \"5cfa10a83da03100019ba914\"\n    ]\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/file/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","file",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa10893da03100019ba911\",\n            \"modified\": \"2019-06-07T07:21:45.967000+00:00\",\n            \"n_children\": 3,\n            \"name\": \"Marketing Logos\",\n            \"order\": \"8\",\n            \"parents_ids\": [],\n            \"path\": [\n                \"Marketing Logos\"\n            ],\n            \"slug\": \"marketing-logos\"\n        }\n    ]\n}"}],"_postman_id":"324b93e5-4ed4-4e34-8de2-c6de86b9864c"},{"name":"Delete category","id":"eb04c6ee-577e-4170-b97a-f722c349c013","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/categories/file/:category_id","description":"<p>Deletes a category and all its subcategories.</p>\n<p><strong>WARNING</strong> All subcategories will be removed too.</p>\n<p>If you want to preserve some of the subcategories, it's mandatory you move them before deleting parent category.</p>\n<p>A 204 response is returned upon success.</p>\n<p>If category to be deleted, or any of its subcategories, is used as root category in some E-Catalog a 409 response code will be returned. Please look at <a href=\"https://help.plytix.com/designing-e-catalogs\">https://help.plytix.com/designing-e-catalogs</a> for more information on E-Catalogs and filters</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","file",":category_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"22a7f0dc-7258-4219-8a66-e50c1d055205","name":"Delete category","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/categories/file/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","file",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eb04c6ee-577e-4170-b97a-f722c349c013"}],"id":"bc7fc849-20a4-4872-9342-24471b43e05c","_postman_id":"bc7fc849-20a4-4872-9342-24471b43e05c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Asset categories search","id":"e52295e9-8359-47ea-beb5-6218c8bbeacf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{    \n\t\"attributes\": [\n        \"name\",\n        \"n_children\"\n    ],\n    \"filters\": [\n        [\n            {\n                \"field\": \"parent_id\",\n                \"operator\": \"!exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"page_size\": 25,\n        \"page\": 1,\n        \"order\": \"order\"\n    }\n}"},"url":"https://pim.plytix.com/api/v1/categories/file/search","description":"<p>Filter on available file categories by multiple criteria</p>\n<p>Filter structure and format is described under <a href=\"#resources\">Resources</a> section in this guide </p>\n<p>Current version of the API supports the following set of fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Category id is always returned by default</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Category friendly name</td>\n</tr>\n<tr>\n<td>path</td>\n<td>Category full path</td>\n</tr>\n<tr>\n<td>parents_ids</td>\n<td>Array of ordered parent categories</td>\n</tr>\n<tr>\n<td>n_children</td>\n<td>Number of subcategories in the current category</td>\n</tr>\n<tr>\n<td>order</td>\n<td>Position of current category in parent category</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"restrictions\">Restrictions</h1>\n<ul>\n<li>Search requests<ul>\n<li><p>Search filters MUST include all necessary columns (except ID which is returned by default). If an attribute is not explicitly requested it won’t be returned by the API.\nAvailable attributes can be obtained by means of the available  <a href=\"https://pim.plytix.com/api/v1/filters/\">https://pim.plytix.com/api/v1/filters/</a> endpoint. “key” value is what MUST be used in requests.\nRequesting  non-existing attributes will return a 422 error code\nYou are allowed to sort by columns not included in “attributes” field, however this attribute won’t be returned</p>\n</li>\n<li><p>Search filters will return a 422 error code if any of the following conditions is met:\na) Field does not exist\nb) Operator is not allowed for the given field (available operators and fields can be obtained using /filters/{item} endpoint)\nc) Value has no meaning for the given operator. The arity of available operators can be found in API documentation</p>\n</li>\n<li><p>Pagination: the number of items that can be requested (pagination.page_size) is limited to a maximum 100 items. \n  A 422 code will be returned from API if this limit is exceeded. If pagination is omitted 25 items of the first page will be returned</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","file","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"a6a9e31d-b403-432f-94dd-0f57722dded9","name":"Get parent categories","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{    \n\t\"attributes\": [\n        \"name\",\n        \"n_children\"\n    ],\n    \"filters\": [\n        [\n            {\n                \"field\": \"parent_id\",\n                \"operator\": \"!exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"page_size\": 25,\n        \"page\": 1,\n        \"order\": \"order\"\n    }\n}"},"url":"https://pim.plytix.com/api/v1/categories/product/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5ceea1df264792045ec5e8ef\",\n            \"n_children\": 1,\n            \"name\": \"Packshots\"\n        },\n        {\n            \"id\": \"5ceea1eb264792045cd5a88d\",\n            \"n_children\": 0,\n            \"name\": \"Specificationss\"\n        },\n        {\n            \"id\": \"5ceea1f7264792045d16e986\",\n            \"n_children\": 0,\n            \"name\": \"Marketing Material\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 3,\n        \"order\": \"order\",\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 4\n    }\n}"}],"_postman_id":"e52295e9-8359-47ea-beb5-6218c8bbeacf"},{"name":"Add new file category","id":"915139eb-a5c9-4edc-9037-95eba4948578","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Marketing logos\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/file","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","file"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"94f227dc-b06a-4a4e-8bf0-d6cec0cf80ff","name":"Add duplicate name file category","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Marketing logos\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/file"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"name\",\n                \"msg\": \"already exists\"\n            }\n        ],\n        \"msg\": \"Marketing logos already exists\"\n    }\n}"},{"id":"2f212177-a65a-4555-abf5-aa0124756b98","name":"Add new file first category","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Marketing logos\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/file"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa05273da03100019ba90e\",\n            \"modified\": \"2019-06-07T06:33:11.965893+00:00\",\n            \"n_children\": 0,\n            \"name\": \"Marketing logos\",\n            \"order\": \"2\",\n            \"parents_ids\": [],\n            \"path\": [\n                \"Marketing logos\"\n            ],\n            \"slug\": \"marketing-logos\"\n        }\n    ]\n}"}],"_postman_id":"915139eb-a5c9-4edc-9037-95eba4948578"}],"id":"c570ca14-6683-499a-a0ac-340638361728","_postman_id":"c570ca14-6683-499a-a0ac-340638361728","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"products","item":[{"name":"product","item":[{"name":"Add new product subcategory","id":"a23068d9-a656-4dbf-8e77-971981ef9f66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Kitchen Sinks\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/product/:category_id","description":"<p>Add a new sub-category under an existing category</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","product",":category_id"],"host":["pim","plytix","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"9bbe52ef-19dc-4b12-85ca-1c78c4a39d9b","name":"Add new product subcategory","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Apron\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/product/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","product",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5cfa0c1e3da03100019ba90f\", \n      \"modified\": \"2019-06-07T07:02:54.817539+00:00\", \n      \"n_children\": 0, \n      \"name\": \"Apron\", \n      \"order\": \"1\", \n      \"parents_ids\": [\n        \"5cfa05273da03100019ba90e\"\n      ], \n      \"path\": [\n        \"Kitchen Sinks\", \n        \"Apron\"\n      ], \n      \"slug\": \"apron\"\n    }\n  ]\n}"},{"id":"cdd3a5ff-5de8-4cce-adae-03eec75b83ab","name":"Add duplicate name product category","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Kitchen Sinks\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/product/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","product",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"errors\": [\n      {\n        \"field\": \"name\", \n        \"msg\": \"already exists\"\n      }\n    ], \n    \"msg\": \"Category Apron already exists\"\n  }\n}\n"}],"_postman_id":"a23068d9-a656-4dbf-8e77-971981ef9f66"},{"name":"Modify category attributes","id":"b1c743f0-a351-4433-916f-af13d2aeb27b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/categories/product/:category_id","description":"<p>Using this verb you can change some of the properties of any category.</p>\n<p>Allowed properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Category name</td>\n</tr>\n<tr>\n<td>parent_id</td>\n<td>New parent category id. Use emtpy string to make it root category</td>\n</tr>\n<tr>\n<td>sort_children</td>\n<td>Reorder subcategories</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: <strong>parent_id</strong> and <strong>sort_children</strong> are not allowed in the same request.</p>\n<h1 id=\"moving-categories\">Moving Categories</h1>\n<h2 id=\"convert-to-root-category-aka-first-level-categories\">Convert to root category (a.k.a first level categories)</h2>\n<p>You must issue a patch request to <a href=\"https://pim.plytix.com/api/v1/categories/product/categoryId\">https://pim.plytix.com/api/v1/categories/product/categoryId</a> (see examples) specifiying <strong>parent_id</strong> as empty string, i.e. {\"parent_id\": \"\"}</p>\n<h2 id=\"move-as-subcategory-of-another-category\">Move as subcategory of another category</h2>\n<p>You must issue a patch request to <a href=\"https://pim.plytix.com/api/v1/categories/product/categoryId\">https://pim.plytix.com/api/v1/categories/product/categoryId</a> (see examples) specifiying <strong>parent_id</strong> as new parent category id, i.e. {\"parent_id\": \"new parent category here\"}</p>\n<h1 id=\"sorting-categories\">Sorting Categories</h1>\n<h2 id=\"sorting-root-categories\">Sorting Root Categories</h2>\n<p>When patching root categories (a.k.a first level categories) only reorder is allowed and must be done under the special endpoint <a href=\"https://pim.plytix.com/api/v1/categories/product/root\">https://pim.plytix.com/api/v1/categories/product/root</a>, 200 status code is returned upon successful response and empty data array is returned.</p>\n<h1 id=\"sorting-subcategories\">Sorting Subcategories</h1>\n<p>A patch request must be issued to parent ID category including in its body a dictionary with <strong>ALL</strong> subcategories in desired order, you are not allowed to make partial orders or add new categories or this operations will return 422 error code.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{ 'sort_children': [ subcategory_ids ]\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","product",":category_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"5730c9c5-c065-4b87-a28c-c8c9a39efbc7","name":"Sort subcategories","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sort_children\": [\n        \"5cfa10a13da03100019ba913\",\n        \"5cfa10973da03100019ba912\",\n        \"5cfa10a83da03100019ba914\"\n    ]\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/product/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","product",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa10893da03100019ba911\",\n            \"modified\": \"2019-06-07T07:21:45.967000+00:00\",\n            \"n_children\": 3,\n            \"name\": \"Bathroom faucets\",\n            \"order\": \"8\",\n            \"parents_ids\": [],\n            \"path\": [\n                \"Bathroom faucets\"\n            ],\n            \"slug\": \"bathroom-faucets\"\n        }\n    ]\n}"},{"id":"d712f3a9-9657-484c-93ac-599fbde8e06e","name":"Convert into root category","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"parent_id\": \"\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/product/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","product",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa0c1e3da03100019ba90f\",\n            \"modified\": \"2019-06-07T07:18:53.490242+00:00\",\n            \"n_children\": 0,\n            \"name\": \"Apron Bamboo\",\n            \"order\": \"7\",\n            \"parents_ids\": [],\n            \"path\": [\n                \"Apron Bamboo\"\n            ],\n            \"slug\": \"apron-bamboo\"\n        }\n    ]\n}"},{"id":"49e87c58-4301-41fe-a77a-13ee62996000","name":"Sort root categories","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sort_children\": [\n        \"5cf69f4d568c1c001c039c76\",\n        \"5cf4d55eb694740001006ed1\",\n        \"5cf69f4d568c1c001c039c7a\",\n        \"5cf9f06d53f18e0001006e6d\",\n        \"5cfa05273da03100019ba90e\",\n        \"5cfa0ee53da03100019ba910\",\n        \"5cfa0c1e3da03100019ba90f\",\n        \"5cfa10893da03100019ba911\"\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/categories/product/root"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {}\n    ]\n}"},{"id":"3793800e-ccf7-4d92-a7f0-73587ff67ebb","name":"Change parent category","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"parent_id\": \"5cfa0ee53da03100019ba910\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/product/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","product",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa0c1e3da03100019ba90f\",\n            \"modified\": \"2019-06-07T07:16:44.586830+00:00\",\n            \"n_children\": 0,\n            \"name\": \"Apron Bamboo\",\n            \"order\": \"1\",\n            \"parents_ids\": [\n                \"5cfa0ee53da03100019ba910\"\n            ],\n            \"path\": [\n                \"Bamboo\",\n                \"Apron Bamboo\"\n            ],\n            \"slug\": \"apron-bamboo\"\n        }\n    ]\n}"},{"id":"c132d27d-e3c4-4e56-9fc1-571ae07582aa","name":"Change category name","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Apron Bamboo\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/categories/product/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","product",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"5cfa0c1e3da03100019ba90f\", \n      \"modified\": \"2019-06-07T07:05:06.959196+00:00\", \n      \"n_children\": 0, \n      \"name\": \"Apron Bamboo\", \n      \"order\": \"1\", \n      \"parents_ids\": [\n        \"5cfa05273da03100019ba90e\"\n      ], \n      \"path\": [\n        \"Kitchen Sinks\", \n        \"Apron Bamboo\"\n      ], \n      \"slug\": \"apron-bamboo\"\n    }\n  ]\n}\n"}],"_postman_id":"b1c743f0-a351-4433-916f-af13d2aeb27b"},{"name":"Delete category","id":"91366765-49f7-407a-b0d0-fae7eb5a2532","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/categories/product/:category_id","description":"<p>Deletes a category and all its subcategories.</p>\n<p><strong>WARNING</strong> All subcategories will be removed too.</p>\n<p>If you want to preserve some of the subcategories it's mandatory you move them before deleting parent category.</p>\n<p>A 204 response is returned upon success.</p>\n<p>If category to be deleted, or any of its subcategories, is used as root category in some E-Catalog a 409 response code will be returned. Please look at <a href=\"https://help.plytix.com/designing-e-catalogs\">https://help.plytix.com/designing-e-catalogs</a> for more information on E-Catalogs and filters</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","product",":category_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"fae38727-7687-40b2-add6-697f21a9d304","name":"Delete category","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/categories/product/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","categories","product",":category_id"],"variable":[{"key":"category_id","value":"{{category_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"91366765-49f7-407a-b0d0-fae7eb5a2532"}],"id":"2c265aae-59c1-472b-9440-12d3ca4c87ed","_postman_id":"2c265aae-59c1-472b-9440-12d3ca4c87ed","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add new product category","id":"698c2e44-186f-4fb8-8a59-32bd719babe0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Kitchen Sinks\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/product","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","product"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"59d8e1a1-939a-41f6-b232-25d3322684ff","name":"Add new product first category","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Kitchen Sinks\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cfa05273da03100019ba90e\",\n            \"modified\": \"2019-06-07T06:33:11.965893+00:00\",\n            \"n_children\": 0,\n            \"name\": \"Kitchen Sinks\",\n            \"order\": \"5\",\n            \"parents_ids\": [],\n            \"path\": [\n                \"Kitchen Sinks\"\n            ],\n            \"slug\": \"kitchen-sinks\"\n        }\n    ]\n}"},{"id":"399b39b7-1208-4d30-b829-cf42f63db4a7","name":"Add duplicate name product category","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Kitchen Sinks\"\n}"},"url":"https://pim.plytix.com/api/v1/categories/product"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"name\",\n                \"msg\": \"already exists\"\n            }\n        ],\n        \"msg\": \"Category Kitchen Sinks already exists\"\n    }\n}"}],"_postman_id":"698c2e44-186f-4fb8-8a59-32bd719babe0"},{"name":"Product categories search","id":"829f929e-527c-4d29-931a-e24037db4a34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{    \n\t\"attributes\": [\n        \"name\",\n        \"n_children\"\n    ],\n    \"filters\": [\n        [\n            {\n                \"field\": \"parent_id\",\n                \"operator\": \"!exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"page_size\": 25,\n        \"page\": 1,\n        \"order\": \"order\"\n    }\n}"},"url":"https://pim.plytix.com/api/v1/categories/product/search","description":"<p>Filter on available product categories by multiple criteria</p>\n<p>Filter structure and format is described under <a href=\"#resources\">Resources</a> section in this guide </p>\n<p>Current version of the API supports the following set of fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Category id is always returned by default</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Category friendly name</td>\n</tr>\n<tr>\n<td>path</td>\n<td>Category full path</td>\n</tr>\n<tr>\n<td>parents_ids</td>\n<td>Array of ordered parent categories</td>\n</tr>\n<tr>\n<td>n_children</td>\n<td>Number of subcategories in the current category</td>\n</tr>\n<tr>\n<td>order</td>\n<td>Position of current category in parent category</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"restrictions\">Restrictions</h1>\n<ul>\n<li>Search requests<ul>\n<li><p>Search filters MUST include all necessary columns (except ID which is returned by default). If an attribute is not explicitly requested it won’t be returned by the API.\nAvailable attributes can be obtained by means of the available  <a href=\"https://pim.plytix.com/api/v1/filters/\">https://pim.plytix.com/api/v1/filters/</a> endpoint. “key” value is what MUST be used in requests.\nRequesting  non-existing attributes will return a 422 error code\nYou are allowed to sort by columns not included in “attributes” field, however this attribute won’t be returned</p>\n</li>\n<li><p>Search filters will return a 422 error code if any of the following conditions is met:\na) Field does not exist\nb) Operator is not allowed for the given field (available operators and fields can be obtained using /filters/{item} endpoint)\nc) Value has no meaning for the given operator. The arity of available operators can be found in API documentation</p>\n</li>\n<li><p>Pagination: the number of items that can be requested (pagination.page_size) is limited to a maximum 100 items. \n  A 422 code will be returned from API if this limit is exceeded. If paginations is omitted 25 items of the first page will be returned.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","categories","product","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"ce0048c0-7a6c-42a9-aa3d-7817fb762e00","name":"Get parent categories","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{    \n\t\"attributes\": [\n        \"name\",\n        \"n_children\"\n    ],\n    \"filters\": [\n        [\n            {\n                \"field\": \"parent_id\",\n                \"operator\": \"!exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"page_size\": 25,\n        \"page\": 1,\n        \"order\": \"order\"\n    }\n}"},"url":"https://pim.plytix.com/api/v1/categories/product/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5cf4d55eb694740001006ed1\",\n            \"n_children\": 1,\n            \"name\": \"Kitchen Sinks\"\n        },\n        {\n            \"id\": \"5cf4d561b694740001006ed2\",\n            \"n_children\": 3,\n            \"name\": \"Kitchen Faucets\"\n        },\n        {\n            \"id\": \"5cf69f4d568c1c001c039c76\",\n            \"n_children\": 2,\n            \"name\": \"Bathroom Faucets\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 3,\n        \"order\": \"order\",\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 11\n    }\n}"}],"_postman_id":"829f929e-527c-4d29-931a-e24037db4a34"}],"id":"78f418ef-2419-41fb-85a7-5b5cfacb4dc5","_postman_id":"78f418ef-2419-41fb-85a7-5b5cfacb4dc5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}}],"id":"7cf75339-1346-4b33-8064-604276d56308","description":"<p>Products and files can be categorized in order to make it easy to manage your items.</p>\n<p>This section contains resources to manage Categories in PIM</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c4a28745-3a7b-4b68-b2f9-e4e5cf751b29"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ee1151a3-8229-4285-9350-d066d469aadd"}}],"_postman_id":"7cf75339-1346-4b33-8064-604276d56308","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"products","item":[{"name":"product","item":[{"name":"assets","item":[{"name":"asset","item":[{"name":"Unbind asset from product","id":"59d8354c-8539-4152-afd5-059f24594e8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/products/:product_id/assets/:asset_id","description":"<p>Removes relationship between a product and an asset. Asset is not deleted</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","assets",":asset_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"},{"type":"any","value":"{{asset_id}}","key":"asset_id"}]}},"response":[{"id":"63be1210-48bc-4b65-bc14-528abd5be6c5","name":"204 Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets",":asset_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"355a9b71-6c59-40f9-a368-2ee050baf084","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets",":asset_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset_id\",\n                \"msg\": \"asset id 5c483ee8eb9139000154dd53 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n            }\n        ],\n        \"msg\": \"asset id 5c483ee8eb9139000154dd53 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n    }\n}"}],"_postman_id":"59d8354c-8539-4152-afd5-059f24594e8d"},{"name":"Get an asset of this product","id":"e7f73539-a9cb-42ef-ab07-7d6add720c83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/products/:product_id/assets/:asset_id","description":"<p>Gets a product's asset by id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","assets",":asset_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"},{"type":"any","value":"{{asset_id}}","key":"asset_id"}]}},"response":[{"id":"f584ad88-7e83-4251-8c85-445877c0d36b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets",":asset_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"asset_id","value":"{{asset_id}}"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"filename\": \"k9189-1.jpg\",\n            \"id\": \"5c483ee8eb9139000154dd5e\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/e8/3e/48/5c/5c483ee8eb9139000154dd5e/k9189-1.jpg\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/e8/3e/48/5c/5c483ee8eb9139000154dd5e/k9189-1.jpg\"\n        }\n    ]\n}"},{"id":"e02add6f-b334-4dc4-9c79-4b7caa90e3b7","name":"404 Non existent product id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets",":asset_id"],"variable":[{"key":"product_id","value":null},{"key":"asset_id","value":null}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ad0e1575fae0020dd7dd3\"\n    }\n}"},{"id":"2db8779b-1507-4315-b9a5-68e5aca98f68","name":"404 Asset not related to product","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets",":asset_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"asset_id","value":"{{asset_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset_id\",\n                \"msg\": \"asset id 5c483ee8eb9139000154dd53 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n            }\n        ],\n        \"msg\": \"asset id 5c483ee8eb9139000154dd53 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n    }\n}"}],"_postman_id":"e7f73539-a9cb-42ef-ab07-7d6add720c83"}],"id":"d9684322-e384-44bb-b450-7510a1672d02","_postman_id":"d9684322-e384-44bb-b450-7510a1672d02","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Get product's related assets","id":"3dff31aa-75f3-4b9a-ba86-5f6f05a02cca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/products/:product_id/assets","description":"<p>Get all assets related to this product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","assets"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"e9e3a2e4-9ebe-4cfb-84b0-d85711bd9bc7","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/<product_id>/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products","<product_id>","assets"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"filename\": \"demo.png\",\n            \"id\": \"5bfac7d851e7590001486761\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/demo.png\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/demo.png\"\n        }\n    ]\n}"},{"id":"472d27cb-cb11-494e-bcfb-2029d3db9c4f","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/<product_id>/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products","<product_id>","assets"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ec5afb3bfd10001e45603\"\n    }\n}"}],"_postman_id":"3dff31aa-75f3-4b9a-ba86-5f6f05a02cca"},{"name":"Link an existing asset to a product media attribute","id":"8a419b2b-d7cc-4ccd-a563-13aec4865b96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233275\",\n    \"attribute_label\": \"dummy_media_attribute\"\n}"},"url":"https://pim.plytix.com/api/v1/products/:product_id/assets","description":"<p>Link an existing asset to an existing media attribute of a product.</p>\n<p>All parameters are mandatory:</p>\n<ul>\n<li>id of the product.</li>\n<li>id of the asset.</li>\n<li>label of the attribute</li>\n</ul>\n<p>Unknown parameters will be ignored from request data.</p>\n<p><strong>Note</strong>: This method does not allow the creation of new attributes, nor upload of new assets to your PIM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Type</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>asset id</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n<tr>\n<td><strong>attribute_label</strong></td>\n<td>media attribute label</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p>Assets can be linked to product thumbnail and product custom media attributes. Custom product attributes are located under “attributes” parameter.</p>\n<p><strong>Note</strong>: Assets linked to a single product are restricted to a limit of 300 assets per product.</p>\n<h3 id=\"thumbnail-and-single-media-attribute-linking\">Thumbnail and single media attribute linking</h3>\n<p>To link an existing asset to any of this kind of attribute, asset identifier and attribute_label are mandatory.<br /><strong>Caution:</strong> This action will replace existing asset in thumbnail or single media attribute if present.</p>\n<h3 id=\"media-gallery-attribute-linking\">Media gallery attribute linking</h3>\n<p>To link an existing asset to any of this kind of attribute, asset identifier and attribute_label are mandatory.<br /><strong>Attention:</strong> This action will add the asset to the media gallery attribute.</p>\n<h3 id=\"example-1-link-asset-to-thumbnail\">Example 1: link asset to thumbnail</h3>\n<p>POST /api/v1/products/6397116da02483ebd6dc76e0/assets</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"id\": \"5c4ed8002f0985001e233275\",\n   \"attribute_label\": \"thumbnail\"\n}\n\n</code></pre>\n<h3 id=\"example-2-link-asset-to-custom-attribute\">Example 2: link asset to custom attribute</h3>\n<p>POST /api/v1/products/6397116da02483ebd6dc76e0/assets</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"id\": \"5c4ed8002f0985001e233275\",\n   \"attribute_label\": \"dummy_media_gallery\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","assets"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"de94bf74-fc83-442b-8f11-35bd94740068","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233275\",\n    \"attribute_label\": \"thumbnail\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"location","value":"https://pim.plytix.com/api/v1/products/5c4ed8002f0985001e233275/assets/5c4ed8022f09850020233275","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ed8002f0985001e233275\"\n        }\n    ]\n}"},{"id":"3c57620c-d7f8-4dea-a2ed-6e9ff19bc8e6","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233275\",\n    \"attribute_label\": \"thumbnail\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"asset does not exist\"\n            }\n        ],\n        \"msg\": \"Asset id 5c4ed8002f0985001e233275 does not exist\"\n    }\n}"},{"id":"2bba2e3c-309c-4932-9336-e7fc2cba562c","name":"409 Asset already linked","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233276\",\n    \"attribute_label\": \"dummy_product_attribute\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"already linked\"\n            }\n        ],\n        \"msg\": \"Asset id 5c4ed8002f0985001e233276 is already linked to product attribute\"\n    }\n}"},{"id":"6b3eaf93-e23d-416b-bad6-981f1f092acb","name":"422 Asset id is not provided","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"\",\n    \"attribute_label\": \"dummy_attribute_label\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","assets"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"Missing data for required field.\"\n            }\n        ],\n        \"msg\": \"Schema validation error\"\n    }\n}"}],"_postman_id":"8a419b2b-d7cc-4ccd-a563-13aec4865b96"}],"id":"9eba3fd7-a274-4e8b-ab9e-acd55d1560f5","_postman_id":"9eba3fd7-a274-4e8b-ab9e-acd55d1560f5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"categories","item":[{"name":"category","item":[{"name":"Unbind category from product","id":"c8add515-f196-4bff-9a45-5bb0e5504009","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/products/:product_id/categories/:category_id","description":"<p>Removes relationship between a product and category. Category is not deleted</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","categories",":category_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"},{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"80628fc9-76f8-4a26-a42e-f0cf5866e3e5","name":"204 OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories",":category_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"category_id","value":"{{category_id}}"}]}},"code":204,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"2b24f9c3-cffd-4fd4-8eaf-4954a233cdb6","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories",":category_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"category_id","value":"{{category_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"category_id 5c482b0b06d4fc001ce9bb10 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n            }\n        ],\n        \"msg\": \"category_id 5c482b0b06d4fc001ce9bb10 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n    }\n}"}],"_postman_id":"c8add515-f196-4bff-9a45-5bb0e5504009"},{"name":"Get a category of this product","id":"9e5118a0-75e5-4dfe-87de-e0d59a7027fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/products/:product_id/categories/:category_id","description":"<p>Gets a product's category by id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","categories",":category_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"},{"type":"any","value":"{{category_id}}","key":"category_id"}]}},"response":[{"id":"5ea5e027-5ea3-4256-88a2-5c5dc4a45330","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories",":category_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"category_id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c482b0b06d4fc001ce9bb1c\",\n            \"name\": \"Drinkware\",\n            \"path\": [\n                \"Sample Categories\",\n                \"Drinkware\"\n            ]\n        }\n    ]\n}"},{"id":"cbce3814-e179-4ce8-8ba1-5dffdbf7e064","name":"404 Not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories",":category_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"category_id","value":"{{category_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"category_id 5c482b0b06d4fc001ce9bb10 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n            }\n        ],\n        \"msg\": \"category_id 5c482b0b06d4fc001ce9bb10 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n    }\n}"}],"_postman_id":"9e5118a0-75e5-4dfe-87de-e0d59a7027fd"}],"id":"7d9d486e-73de-479f-8f38-3ed52a48ca83","_postman_id":"7d9d486e-73de-479f-8f38-3ed52a48ca83","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Get product's related categories","id":"a573ca15-48ad-4387-aba5-e6cb0b9b998b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/products/:product_id/categories","description":"<p>Get all categories related to this product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","categories"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"7da40b20-e47a-4101-93dc-ccb354a1f30e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ed7f62f0985001c233276\",\n            \"name\": \"Ground Coffee\",\n            \"path\": [\n                \"Sample Categories\",\n                \"Coffee & Tea\",\n                \"Ground Coffee\"\n            ]\n        },\n        {\n            \"id\": \"5c4ed7f62f0985001c233279\",\n            \"name\": \"Kettles & Teapots\",\n            \"path\": [\n                \"Sample Categories\",\n                \"Kettles & Teapots\"\n            ]\n        }\n    ]\n}"},{"id":"497174ae-e5dd-4b14-9f69-4909746d964f","name":"404 Not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ed8002f0985001e233279\"\n    }\n}"}],"_postman_id":"a573ca15-48ad-4387-aba5-e6cb0b9b998b"},{"name":"Link an existing category to product","id":"637d39d1-d0bd-43ec-8685-e998263926f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}"},"url":"https://pim.plytix.com/api/v1/products/:product_id/categories","description":"<p>Link an existing category to this product.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","categories"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"fe87af62-c7a7-4025-9108-502b3dec4818","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"location","value":"https://pim.plytix.com/api/v1/products/5c4ed8002f0985001e233275/categories/5c4ed7f62f0985001c233279","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ed7f62f0985001c233279\",\n            \"name\": \"Kettles & Teapots\",\n            \"path\": [\n                \"Sample Categories\",\n                \"Kettles & Teapots\"\n            ]\n        }\n    ]\n}"},{"id":"205b92d9-8139-469e-9b50-6a9a7957bd69","name":"404 Product not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ed8002f0985001e233279\"\n    }\n}"},{"id":"b2fb122f-8de7-4663-834a-85592293acf8","name":"409 Category already linked","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"category.id\",\n                \"msg\": \"already linked\"\n            }\n        ],\n        \"msg\": \"Category id 5c4ed7f62f0985001c233279 is already linked to product\"\n    }\n}"},{"id":"068b636e-044f-4ce3-a3b3-9399fa5f28a3","name":"422 Category not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233288\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","categories"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"category.id\",\n                \"msg\": \"does not exist\"\n            }\n        ],\n        \"msg\": \"Unknown category 5c4ed7f62f0985001c233288\"\n    }\n}"}],"_postman_id":"637d39d1-d0bd-43ec-8685-e998263926f5"}],"id":"1f53635e-1ad5-4fa3-a216-38f5648d6340","_postman_id":"1f53635e-1ad5-4fa3-a216-38f5648d6340","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"variants","item":[{"name":"variant","item":[{"name":"Link variant to a product","id":"7c9dd5de-e731-4134-bf58-94b74dc3038e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/:product_id/variant/:variant_id","description":"<p>Link an existing product as a variant of another product</p>\n<p><strong>variant_id</strong> will become a Variant of <strong>product_id</strong></p>\n<ul>\n<li><p>Product can be a Single product or a Parent product</p>\n</li>\n<li><p>Variant must be a Single product</p>\n</li>\n</ul>\n<p>Both product and variant must belong to the same Family or be Unassigned.</p>\n<p><strong>⚠️ The result of this operation may cause data loss</strong></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","variant",":variant_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"},{"type":"any","value":"","key":"variant_id"}]}},"response":[{"id":"a49edf87-2cc0-478a-9bf7-e43913309a43","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","variant",":variant_id"],"variable":[{"key":"product_id","value":""},{"key":"variant_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": null,\n            \"assets\": [],\n            \"attributes\": {\n                \"boolean\": false,\n                \"decimal\": 23.3,\n                \"multiselect\": [\n                    \"a\",\n                    \"d\"\n                ],\n                \"short_text\": \"shorttext\",\n                \"url\": \"https://gitlab.plytix.com/\"\n            },\n            \"categories\": [],\n            \"created\": \"2023-03-20T16:21:05.923000+00:00\",\n            \"created_user_audit\": {\n                \"avatar_color\": \"#74cc66\",\n                \"type\": \"USER\",\n                \"user_display_name\": null,\n                \"user_email\": \"user@email.com\",\n                \"user_id\": \"60795d80302a91ac42e7f5f8\",\n                \"user_last_name\": \"Name\",\n                \"user_name\": \"User\",\n                \"user_thumb\": \"https://static.plytix.com/template/dev/img/user-default-image.png\",\n                \"username\": \"username\"\n            },\n            \"gtin\": null,\n            \"id\": \"641887f1d10eec81d978e10a\",\n            \"label\": null,\n            \"modified\": \"2023-03-20T16:32:13.485000+00:00\",\n            \"modified_user_audit\": {\n                \"avatar_color\": null,\n                \"type\": \"API\",\n                \"user_display_name\": null,\n                \"user_email\": \"apikey\",\n                \"user_id\": \"6405cf21f856320007dd2210\",\n                \"user_last_name\": null,\n                \"user_name\": \"apikey\",\n                \"user_thumb\": null,\n                \"username\": null\n            },\n            \"num_variations\": 1,\n            \"overwritten_attributes\": [],\n            \"product_family_id\": \"6405f5ce7288e165f149eb3c\",\n            \"product_family_model_id\": \"6405f74a7288e165f149eb47\",\n            \"product_type\": \"PARENT\",\n            \"relationships\": [],\n            \"sku\": \"1011\",\n            \"status\": \"Draft\",\n            \"thumbnail\": null\n        }\n    ]\n}"},{"id":"8255f5b1-b958-4ab9-8935-08c1e97e758d","name":"422 Variant is not single","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","variant",":variant_id"],"variable":[{"key":"product_id","value":""},{"key":"variant_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"product_type\",\n                \"msg\": \"Products to link must be single\"\n            }\n        ],\n        \"msg\": \"Link variant - variant product type exception\"\n    }\n}"},{"id":"24bd433d-41e2-4ecd-b02d-1cc56f200a25","name":"422 Parent and Variant do not belong to the same family","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","variant",":variant_id"],"variable":[{"key":"product_id","value":""},{"key":"variant_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"Parent and variants must be assigned to the same family\"\n    }\n}"}],"_postman_id":"7c9dd5de-e731-4134-bf58-94b74dc3038e"},{"name":"Unlink a variant of a product","id":"6dfc3d41-9ee2-45cc-a4e2-4651e816566a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/:parent_product_id/variant/:variant_id","description":"<p>Removes relationship between a variant and its parent. Variant becomes a Single product.</p>\n<p><strong>⚠️ This action might cause data loss</strong></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":parent_product_id","variant",":variant_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"parent_product_id"},{"type":"any","value":"","key":"variant_id"}]}},"response":[],"_postman_id":"6dfc3d41-9ee2-45cc-a4e2-4651e816566a"}],"id":"6aac12f5-e6e1-4204-a3fd-239993e1ca64","_postman_id":"6aac12f5-e6e1-4204-a3fd-239993e1ca64","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add a variant of a product","id":"b71a0e2a-8966-4b03-b904-0973e33a24e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"variant\": {\n        \"sku\": \"new variant from API\",\n        \"label\": \"new variant label\",\n        \"attributes\": {\n            \"description_create_a_rich_text_type_attribute\": \"<b>Variants</b> can be created from the API\",\n            \"price_create_a_decimal_number_type_attribute\": 23.99\n        }\n    }\n}"},"url":"https://pim.plytix.com/api/v1/products/:parent_product_id/variants","description":"<p>Add a new product as a variant of another product.</p>\n<p>It's necessary to send a dictionary with the info of the new variant.</p>\n<p><strong>⚠️ Keep in mind that converting a Single product to a Parent might cause data loss</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>variant</td>\n<td>yes</td>\n<td>Data for the new variant created. It is possible to add extra attributes information in this field, apart from the mandatory field 'sku'</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Variant</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sku</td>\n<td>yes</td>\n<td>sku for the new product</td>\n</tr>\n<tr>\n<td>label</td>\n<td>no</td>\n<td>label for the new product. Any other System attribute can be set at the same level</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>no</td>\n<td>custom attribute values for the new products. If you add a parent-level attribute here it will be set as Overwritten</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":parent_product_id","variants"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"parent_product_id"}]}},"response":[{"id":"e38a3791-b3f3-4d00-a9cc-11ac40cd23f5","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"variant\": {\n        \"sku\": \"new variant from API\",\n        \"label\": \"new variant label\",\n        \"attributes\": {\n            \"description_create_a_rich_text_type_attribute\": \"<b>Variants</b> can be created from the API\",\n            \"price_create_a_decimal_number_type_attribute\": 23.99\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:parent_product_id/variants","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":parent_product_id","variants"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Location","value":"https://pim.plytix.com/api/v1/products/5c4eeb97050d860001717698","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": \"<product_id>\",\n            \"assets\": [],\n            \"attributes\": {},\n            \"categories\": [],\n            \"created\": \"2023-03-16T11:10:37.599000+00:00\",\n            \"gtin\": null,\n            \"id\": \"6412f92da3438ee01ab81d38\",\n            \"label\": \"new variant label\",\n            \"modified\": \"2023-03-16T11:10:37.634000+00:00\",\n            \"num_variations\": 0,\n            \"overwritten_attributes\": [],\n            \"product_family_id\": \"6405f5ce7288e165f149eb3c\",\n            \"product_family_model_id\": \"6405f74a7288e165f149eb47\",\n            \"product_type\": \"VARIANT\",\n            \"relationships\": [],\n            \"sku\": \"new variant from API\",\n            \"status\": \"Draft\",\n            \"thumbnail\": null\n        }\n    ]\n}"},{"id":"4a5a2625-55ed-40a5-a885-646c5a1c584b","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"variant\": {\n        \"sku\": \"this is a duplicated sku\",\n        \"label\": \"new variant label\",\n        \"attributes\": {\n            \"description_create_a_rich_text_type_attribute\": \"<b>Variants</b> can be created from the API\",\n            \"price_create_a_decimal_number_type_attribute\": 23.99\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:parent_product_id/variants","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":parent_product_id","variants"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"sku\",\n                \"msg\": \"A product with the same SKU already exists\"\n            }\n        ],\n        \"msg\": \"product data validation failed\"\n    }\n}"}],"_postman_id":"b71a0e2a-8966-4b03-b904-0973e33a24e2"},{"name":"Resync variants","id":"80b0a745-2519-47d3-b155-532511c1a155","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"attribute_label_1\",\n        \"attribute_label_2\"\n    ],\n    \"variant_ids\": [\n        \"<variant_id_1>\",\n        \"<variant_id_2>\"\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/products/:parent_product_id/variants/resync","description":"<p>Restore the attributes at parent level of the variant with the value of the parent</p>\n<p>It's necessary to send two list, one with the labels of the attributes and another with the ids of the variant products.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attribute_labels</td>\n<td>yes</td>\n<td>List of attribute labels to reset. These attributes must be at a parent level</td>\n</tr>\n<tr>\n<td>variant_ids</td>\n<td>yes</td>\n<td>List of variant ids that are going to restore the value for the parent attributes. These ids must be variants of the parent product</td>\n</tr>\n</tbody>\n</table>\n</div><p>A 200 OK is returned upon success.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":parent_product_id","variants","resync"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"parent_product_id"}]}},"response":[{"id":"ba1f6a7c-1159-4976-a791-95f90ed92b03","name":"200 Ok","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"attribute_label_1\",\n        \"attribute_label_2\"\n    ],\n    \"variant_ids\": [\n        \"<variant_id_1>\",\n        \"<variant_id_2>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:parent_product_id/variants/resync","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":parent_product_id","variants","resync"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"f172c78c-6732-4256-925c-22db55c2d8f3","name":"400 Bad request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"attribute_at_variant_level\",\n        \"attribute_label_2\"\n    ],\n    \"variant_ids\": [\n        \"<variant_id_1>\",\n        \"<variant_id_2>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:parent_product_id/variants/resync","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":parent_product_id","variants","resync"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"attribute_labels\",\n                \"msg\": \"attributes.attribute_at_variant_level not a parent attribute from family model\"\n            }\n        ],\n        \"msg\": \"You must only supply attributes from parent product when accessing this resource\"\n    }\n}"}],"_postman_id":"80b0a745-2519-47d3-b155-532511c1a155"},{"name":"Get product's related variants","id":"7e4ca358-eb87-481e-92d6-186b658d0546","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/products/:product_id/variants","description":"<p>Get related variants of a parent product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","variants"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"df20c56a-c7c3-40ca-8482-76c4daf29ca6","name":"200 Ok","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/variants","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","variants"],"variable":[{"key":"product_id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Location","value":"https://pim.plytix.com/api/v1/products/5c4eeb97050d860001717698","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": \"64130527e3628de6cf7cdf7e\",\n            \"assets\": [],\n            \"attributes\": {},\n            \"categories\": [],\n            \"created\": \"2023-03-16T12:02:03.395000+00:00\",\n            \"gtin\": null,\n            \"id\": \"6413053be3628de6cf7cdf7f\",\n            \"label\": null,\n            \"modified\": \"2023-03-16T12:02:03.439000+00:00\",\n            \"num_variations\": 0,\n            \"overwritten_attributes\": [],\n            \"product_family_id\": \"6405f5ce7288e165f149eb3c\",\n            \"product_family_model_id\": \"6405f74a7288e165f149eb47\",\n            \"product_type\": \"VARIANT\",\n            \"relationships\": [],\n            \"sku\": \"my_variant_product\",\n            \"status\": \"Draft\",\n            \"thumbnail\": null\n        }\n    ]\n}"},{"id":"2305e8d0-9a27-4b6f-a3a2-584dcf6809b5","name":"404 Product not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/variants","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","variants"],"variable":[{"key":"product_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 64130527e3621de6cf7cdf7e\"\n    }\n}"}],"_postman_id":"7e4ca358-eb87-481e-92d6-186b658d0546"}],"id":"0c61a7e8-6730-4ee6-96b5-7f02a80e1b74","description":"<p>“Variants” is the new name given to what we previously knew as “variations.” The main difference is that Variants are added to products through a Product Family.</p>\n<p>These variants have the ability to inherit values from the parent.<br />In this section, we will talk about 3 types of products:</p>\n<ul>\n<li><p><strong>Parents</strong>: those products with variants and therefore with a family.</p>\n</li>\n<li><p><strong>Variants</strong>: those products that are children of a parent and therefore have a family.</p>\n</li>\n<li><p><strong>Singles</strong>: those products that are neither parents nor variants, they can have a family assigned or not.</p>\n</li>\n</ul>\n","_postman_id":"0c61a7e8-6730-4ee6-96b5-7f02a80e1b74","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"relationships","item":[{"name":"Assign products to relationship","id":"35b49788-22de-4c7c-bf14-017a98363171","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d190245f\"\n        },\n        {\n            \"quantity\": 9,\n            \"product_id\": \"5d0baf07d4bf5513d1902460\"\n        },\n        {\n            \"quantity\": 6,\n            \"product_id\": \"5d0baf07d4bf5513d1902461\"\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d1902462\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id","description":"<p>Assign products to an existing relationship</p>\n<h1 id=\"behaviour\">Behaviour</h1>\n<ul>\n<li>If any of the given products already exists in the relationship, its quantity will be updated</li>\n<li>If any of the given products does not exist in the relationship, it will be inserted</li>\n</ul>\n<p>A 201 Created status code is returned upon success</p>\n<p>A 200 OK status code is returned if no updates in the requested relationships were performed</p>\n<h1 id=\"request-format\">Request format</h1>\n<p>To assing a product to any relationship, the id of the product to be related along with its quantity must be provided.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_relationships</td>\n<td>Array of objects</td>\n<td>list with product and quantities</td>\n</tr>\n</tbody>\n</table>\n</div><p>A <em>product_relationship</em> object is defined by:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>string</td>\n<td>product identifier</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>number</td>\n<td>relationship quantity</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"response-format\">Response format</h1>\n<p>Successful responses will be returned in \"data\" array and will be in the form:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>relationship_id</td>\n<td>string</td>\n<td>relationship identifier</td>\n</tr>\n<tr>\n<td>relationship_label</td>\n<td>string</td>\n<td>relationship label</td>\n</tr>\n<tr>\n<td>related_products</td>\n<td>array of object</td>\n<td>related products</td>\n</tr>\n</tbody>\n</table>\n</div><p>A <em>related_product</em> object is defined by:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>string</td>\n<td>related product identifier</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>number</td>\n<td>current quantity</td>\n</tr>\n<tr>\n<td>last_modified</td>\n<td>date</td>\n<td>last modification date</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\n            \"related_products\": [\n                {\n                    \"last_modified\": \"2019-09-24T17:28:07.329000+00:00\",\n                    \"product_id\": \"5d6cfa8ae36dc76b0e5df8dd\",\n                    \"quantity\": 1\n                },\n                {\n                    \"last_modified\": \"2019-09-24T17:28:07.329000+00:00\",\n                    \"product_id\": \"5d6cfa8aedd44295ac5df8de\",\n                    \"quantity\": 3\n                }\n            ],\n            \"relationship_id\": \"5d8a50b547397aea2a603079\",\n            \"relationship_label\": \"contains\",\n        }\n    ]\n}\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","relationships",":relationship_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"},{"type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"61519cd6-9e30-47a7-860f-13254767e7ef","name":"Assign products to a relationship","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d190245f\"\n        },\n        {\n            \"quantity\": 9,\n            \"product_id\": \"5d0baf07d4bf5513d1902460\"\n        },\n        {\n            \"quantity\": 6,\n            \"product_id\": \"5d0baf07d4bf5513d1902461\"\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d1902462\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","relationships",":relationship_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"relationship_id","value":"{{relationship_id}}"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"related_products\": [\n                {\n                    \"last_modified\": \"2019-09-24T17:28:07.329000+00:00\",\n                    \"product_id\": \"5d0baf07d4bf5513d190245f\",\n                    \"quantity\": 1\n                },\n                {\n                    \"last_modified\": \"2019-09-24T17:28:07.329000+00:00\",\n                    \"product_id\": \"5d0baf07d4bf5513d1902460\",\n                    \"quantity\": 9\n                },\n                {\n                    \"last_modified\": \"2019-09-24T17:28:07.329000+00:00\",\n                    \"product_id\": \"5d0baf07d4bf5513d1902461\",\n                    \"quantity\": 6\n                },\n                {\n                    \"last_modified\": \"2019-09-24T17:28:07.329000+00:00\",\n                    \"product_id\": \"5d0baf07d4bf5513d1902462\",\n                    \"quantity\": 1\n                }\n           ],\n           \"relationship_id\": \"5d8a50b547397aea2a603079\",\n           \"relationship_label\": \"contains\"\n        }\n    ]\n}"},{"id":"a424cb54-11ea-418e-bb59-eee1dab1590c","name":"200 OK, no updates","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"product_id\": \"64df58d393861834c7ffcacb\",\n            \"quantity\": 1\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"64df58d34f8bba397effcacd\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","relationships",":relationship_id"],"variable":[{"key":"product_id","value":""},{"key":"relationship_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.4"},{"key":"Date","value":"Tue, 22 Aug 2023 10:23:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"491"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Account-Id","value":"64d20da5818c070001be3d91"},{"key":"X-User-Id","value":"5e678436cc9e97962c059bd7"},{"key":"X-User-Type","value":"PIM UI"},{"key":"Vary","value":"Cookie"},{"key":"X-Request-Id","value":"569af766adf0df6d88f326881ae1e9b5"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"related_products\": [\n                {\n                    \"last_modified\": \"2023-08-22T10:06:56.535000+00:00\",\n                    \"product_id\": \"64df58d393861834c7ffcacb\",\n                    \"quantity\": 1\n                },\n                {\n                    \"last_modified\": \"2023-08-22T10:05:07.255000+00:00\",\n                    \"product_id\": \"64df58d34f8bba397effcacd\",\n                    \"quantity\": 1\n                }\n            ],\n            \"relationship_id\": \"64e485f90fc35b27e41c2367\",\n            \"relationship_label\": \"relationship\"\n        }\n    ]\n}"},{"id":"c27b2b01-6d50-4ffd-b962-dc62c5679382","name":"409 Conflict, no product id found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"quantity\": 1,\n            \"product_id\": \"64df58d34f8bba397effcacd\"\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"64e4875575a60446300615e8\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","relationships",":relationship_id"],"variable":[{"key":"product_id","value":""},{"key":"relationship_id","value":""}]}},"status":"CONFLICT","code":409,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.4"},{"key":"Date","value":"Tue, 22 Aug 2023 10:27:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"229"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Account-Id","value":"64d20da5818c070001be3d91"},{"key":"X-User-Id","value":"5e678436cc9e97962c059bd7"},{"key":"X-User-Type","value":"PIM UI"},{"key":"Vary","value":"Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"product_id\",\n                \"msg\": \"product does not exists\",\n                \"value\": \"64e4875575a60446300615e8\"\n            }\n        ],\n        \"msg\": \"relationship data validation failed\"\n    }\n}"}],"_postman_id":"35b49788-22de-4c7c-bf14-017a98363171"},{"name":"Remove products from a relationship","id":"e03d5ca8-d9b4-4be3-9be7-cfa533391113","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"product_id\": \"5d8cf9114b1830f2192eff0c\"\n        },\n        {\n            \"product_id\": \"5d8cf911326dbd40982eff0c\"\n        }\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id/unlink","description":"<p>Remove products from an existing relationship</p>\n<p>A 204 No Content status code is returned upon success</p>\n<h1 id=\"request-format\">Request format</h1>\n<p>Request format is the same used to assign products to a relationship except for the 'quantity' field, which is not necessary and will be ignored.</p>\n","urlObject":{"protocol":"https","path":["api","v1","products",":product_id","relationships",":relationship_id","unlink"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"},{"type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"0d1d6a0f-9256-4f73-8258-3dff269ba030","name":"Remove products from a relationship","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"product_id\": \"5d8cf9114b1830f2192eff0c\"\n        },\n        {\n            \"product_id\": \"5d8cf911326dbd40982eff0c\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","relationships",":relationship_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"relationship_id","value":"{{relationship_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e03d5ca8-d9b4-4be3-9be7-cfa533391113"},{"name":"Modify relationship attributes","id":"b5bb6075-6a8d-43b5-9479-724f2ae98b89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id/product/:related_product_id","description":"<p>Modify selected relationship attributes</p>\n<p>Current version of the API only allows the modification of the 'quantity' attribute.\nA 200 OK status code will be returned upon successful call</p>\n<h1 id=\"request-format\">Request format</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>quantity</td>\n<td>number</td>\n<td>new value, must be a positive integer</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"response-format\">Response format</h1>\n<p>Successful responses will be returned in \"data\" array and will be in the form:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>string</td>\n<td>related product identifier</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>number</td>\n<td>current quantity</td>\n</tr>\n<tr>\n<td>last_modified</td>\n<td>date</td>\n<td>last modification date</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example Request and Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Request:\n{\n    \"quantity\":11\n}\n\nResponse\n{\n  \"data\": [\n    {\n      \"last_modified\": \"2019-09-27T06:50:07.851682+00:00\", \n      \"product_id\": \"5d8cf911bde76bea4e2eff13\", \n      \"quantity\": 11\n    }\n  ]\n}\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","relationships",":relationship_id","product",":related_product_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"},{"type":"any","value":"{{relationship_id}}","key":"relationship_id"},{"type":"any","value":"{{related_product_id}}","key":"related_product_id"}]}},"response":[{"id":"7ceb1f89-4431-4b5f-9d3d-a0794a02844f","name":"Modify association attributes","originalRequest":{"method":"PATCH","header":[{"key":"Conten-Type","value":"application/json","name":"Content-Type","type":"text","disabled":true},{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/relationships/:relationship_id/product/:related_product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","relationships",":relationship_id","product",":related_product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"},{"key":"relationship_id","value":"{{relationship_id}}"},{"key":"related_product_id","value":"{{related_product_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"last_modified\": \"2019-09-27T05:57:45.865974+00:00\",\n            \"product_id\": \"5d8cf911bde76bea4e2eff13\",\n            \"quantity\": 10\n        }\n    ]\n}"}],"_postman_id":"b5bb6075-6a8d-43b5-9479-724f2ae98b89"}],"id":"a01a9df6-9a53-4f92-8b1c-e4be7145016e","description":"<p>This section contains resources to assign, remove or update related products to the selected product.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"8bdac958-8035-44f1-93b0-ab9a88aa121a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"803d7baf-6199-430a-aedf-811b15ede03c"}}],"_postman_id":"a01a9df6-9a53-4f92-8b1c-e4be7145016e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Removes product from the system","id":"ac0f6a1c-fd4e-43ba-ab0b-c60720b4fdbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/products/:product_id","description":"<p>Removes a product from the PIM</p>\n<p><strong>WARNING</strong>: All variants linked to this product will be removed.</p>\n<p>If there are any variants you do not want to delete,<br />they must be unlinked from the parent first, which will turn them into single products.</p>\n<p>204 code is returned upon success</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"82dc5c53-904d-4c74-b414-246ff8455985","name":"204 OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"b622b234-51a2-4b05-b48a-a768378f4dd2","name":"404 Not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \"No results found for 5c4ad0e1575fae0020dd7eef\"\n    }\n}"}],"_postman_id":"ac0f6a1c-fd4e-43ba-ab0b-c60720b4fdbe"},{"name":"Get product data","id":"43d13568-e73d-410b-a4d3-ad0a8e6d6df7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/products/:product_id","description":"<p>Gets product attributes</p>\n<p>This verb accepts a query parameter named <strong>all_attributes</strong> which allows to specify if empty attributes should be included on response as null.</p>\n<p>200 code is returned upon success</p>\n<p><strong>Params</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Options</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>all_attributes</td>\n<td><table><thead><tr><th>Value</th><th>Descripcion</th></tr></thead><tbody><tr><td>false</td><td>Do not include empty attributes. <strong>THIS IS THE DEFAULT VALUE</strong></td></tr><tr><td>true</td><td>Include all defined attributes. Empty attributes will be returned as null</td></tr></tbody></table></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"2b6b325b-2621-4cb2-8f03-5d3c921924cd","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"assets\": [\n                {\n                    \"filename\": \"content_1.png\",\n                    \"id\": \"5bfac7d851e7590001486761\",\n                    \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/content_1.png\",\n                    \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/content_1.png\"\n                },\n                {\n                    \"filename\": \"1.jpeg\",\n                    \"id\": \"5bfaced551e7590001486763\",\n                    \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/1.jpeg\",\n                    \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/1.jpeg\"\n                },\n                {\n                    \"filename\": \"2.jpeg\",\n                    \"id\": \"5bfaced551e7590001486764\",\n                    \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486764/2.jpeg\",\n                    \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486764/2.jpeg\"\n                },\n                {\n                    \"filename\": \"3.jpeg\",\n                    \"id\": \"5bfaced551e7590001486765\",\n                    \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486765/3.jpeg\",\n                    \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486765/3.jpeg\"\n                }\n            ],\n            \"attributes\": {\n                \"boolean_attribute\": false,\n                \"completeness_all_attributes\": 80,\n                \"completeness_boolean_mediasingle1_label\": 100,\n                \"date_attribute\": \"2018-12-31\",\n                \"decimal_number\": \"\",\n                \"dropdown_attribute\": \"Option 2\",\n                \"integer_number\": \"123456\",\n                \"media_gallery\": [\n                    {\n                        \"filename\": \"1.jpeg\",\n                        \"id\": \"5bfaced551e7590001486763\",\n                        \"thumb\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/1.jpeg\",\n                        \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/1.jpeg\"\n                    },\n                    {\n                        \"filename\": \"2.jpeg\",\n                        \"id\": \"5bfaced551e7590001486764\",\n                        \"thumb\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486764/2.jpeg\",\n                        \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486764/2.jpeg\"\n                    }\n                ],\n                \"media_single_1\": {\n                    \"filename\": \"3.jpeg\",\n                    \"id\": \"5bfaced551e7590001486765\",\n                    \"path\": \"assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486765/3.jpeg\",\n                    \"thumb\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486765/3.jpeg\"\n                },\n                \"multiselect_attribute\": [\n                    \"select 1\",\n                    \"select 2\"\n                ],\n                \"paragraph\": \"Lorem ipsum dolor sit amet, consectetur. \\n\\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                \"rich_text\": \"<div><b>Bold Heading</b>&nbsp;</div><div>Lorem ipsum dolor sit amet, consectetur.&nbsp;</div><div><br></div><div>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>\",\n                \"url\": \"https://www.plytix.com/index/pricing\"\n            },\n            \"categories\": [\n                {\n                    \"id\": \"5bfa91ab8544120001bd9078\",\n                    \"name\": \"Category 1\",\n                    \"path\": [\n                        \"Category 1\"\n                    ]\n                },\n                {\n                    \"id\": \"5bfa91be8544120001bd907a\",\n                    \"name\": \"Category 3\",\n                    \"path\": [\n                        \"Category 3\"\n                    ]\n                },\n                {\n                    \"id\": \"5bfa91ea8544120001bd907d\",\n                    \"name\": \"Category 1-3\",\n                    \"path\": [\n                        \"Category 1\",\n                        \"Category 1-3\"\n                    ]\n                },\n                {\n                    \"id\": \"5bfa91f88544120001bd907e\",\n                    \"name\": \"Category 2-1\",\n                    \"path\": [\n                        \"Category 2\",\n                        \"Category 2-1\"\n                    ]\n                }\n            ],\n            \"created\": \"2018-11-25T12:04:10.045000+00:00\",\n            \"id\": \"5bfa8fba8544120001bd9073\",\n            \"label\": \"Product ~ 1\",\n            \"modified\": \"2018-11-26T16:08:47.488000+00:00\",\n            \"num_variations\": 0,\n            \"sku\": \"Product 1\",\n            \"status\": \"Draft\",\n            \"thumbnail\": {\n                \"filename\": \"assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/content_1.png\",\n                \"id\": \"5bfac7d851e7590001486761\",\n                \"thumb\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/content_1.png\",\n                \"url\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/content_1.png\"\n            }\n        }\n    ]\n}"},{"id":"d6b65f5b-5f2e-4072-b4e4-a58e393efb21","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ec5afb3bfd10001e45603\"\n    }\n}"},{"id":"5e2c5307-002b-46d3-9676-1b7d498e6cb3","name":"Get product data with all attributes","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id?all_attributes=true","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"query":[{"key":"all_attributes","value":"true"}],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": null,\n            \"assets\": [],\n            \"attributes\": {\n                \"application_place\": null,\n                \"basic_info_complete\": 100,\n                \"bowl_depth_mm\": \"455\",\n                \"bowl_length_mm\": \"160\",\n                \"bowl_position\": \"Central\",\n                \"bowl_width_mm\": null,\n                \"brand\": \"Plytix\",\n                \"collection\": \"2019\",\n                \"color\": \"Glass\",\n                \"description\": \"The frosted black glass vessel sink is manufactured using fully tempered glass. This allows for higher temperatures to come in contact with your sink without any damage. Glass is more sanitary than other materials because it is non-porous, will not absorb stains or odors and is easy to clean. The silky black surface of the sink, along with the soft wavy edges, creates a blissful look that will bring comfort and relaxation to any bathroom. A matching glass waterfall faucet is available to correspond with this sink. The overall dimensions for the G12 are 17\\\" x 17\\\" x 7\\\" and an 18\\\" minimum cabinet size is required. As always, our glass sinks are covered under a limited lifetime warranty for as long as you own the sink.\",\n                \"eta_stock_date\": null,\n                \"faucets_finish\": null,\n                \"feature_description\": \"Best practices\\nDo not submit a headline without text, or vice versa.\\nDo not use the same image for each feature description [feature_description].\\nEnsure that grammar, capitalization, and punctuations are complete and consistent within headlines and text. \\nDo not add manufacturer- or merchant-specific details, such as links, phone numbers, company information or promotional text.\\nAvoid stock values, such as \\\"n/a\\\".\\nHeadlines should not repeat the title [title] attribute.\",\n                \"fixing_kit\": null,\n                \"gtin\": \"3234567890126\",\n                \"handle_position\": null,\n                \"in_stock\": true,\n                \"installation_type\": null,\n                \"installation_type_bowls\": null,\n                \"packed_product_height_mm\": \"198\",\n                \"packed_product_length_mm\": \"167\",\n                \"packed_product_weight_kg\": 4.75,\n                \"packed_product_width_mm\": \"256\",\n                \"plug_and_waste\": null,\n                \"product_height_mm\": \"175\",\n                \"product_length_mm\": \"148\",\n                \"product_lifecycle_stage\": null,\n                \"product_owner\": \"Jon\",\n                \"product_type\": \"Bathroom Sink\",\n                \"product_weight_kg\": 3.23,\n                \"product_width_mm\": \"241\",\n                \"rich_info_complete\": 90.9090909090909,\n                \"suggested_retail_price\": 310.24,\n                \"taphole_configuration\": null,\n                \"test_date\": null,\n                \"test_multiselect\": null,\n                \"title\": \"Black Wavy Frost Glass Vessel Bowl\",\n                \"type\": \"Vessel Bowl\",\n                \"type_of_cartridge\": null,\n                \"video_url\": null,\n                \"washbasin_capacity_l\": null\n            },\n            \"categories\": [],\n            \"created\": \"2019-03-25T16:10:45.312000+00:00\",\n            \"id\": \"5c98ef754a6c252c96793574\",\n            \"label\": \"Black Wavy Frost Glass Vessel Bowl\",\n            \"modified\": \"2019-06-04T09:58:17.746000+00:00\",\n            \"num_variations\": 0,\n            \"sku\": \"1001\",\n            \"status\": \"Completed\",\n            \"thumbnail\": null\n        }\n    ]\n}"}],"_postman_id":"43d13568-e73d-410b-a4d3-ad0a8e6d6df7"},{"name":"Modify selected attributes of a product","id":"17dd4bc2-1100-417c-a936-3a1271ccae84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Blue\"\n        ],\n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\",\n        \"price_create_a_decimal_number_type_attribute\": null\n    },\n    \"label\": \"Product ~ 1 - patch example\",\n    \"status\": \"Completed\"\n}"},"url":"https://pim.plytix.com/api/v1/products/:product_id","description":"<p>Modifies attributes from product, leaving the rest unchanged.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"71760067-7ddb-4e9d-a54e-fcfb331ea44d","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Blue\"\n        ],\n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\",\n        \"price_create_a_decimal_number_type_attribute\": null\n    },\n    \"label\": \"Product ~ 1 - patch example\",\n    \"status\": \"Completed\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": null,\n            \"assets\": [\n                {\n                    \"filename\": \"Kettle handle - White.png\",\n                    \"id\": \"5c4ed8002f0985001e233276\",\n                    \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/00/d8/4e/5c/5c4ed8002f0985001e233276/Kettle handle - White.png\",\n                    \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/00/d8/4e/5c/5c4ed8002f0985001e233276/Kettle handle - White.png\"\n                }\n            ],\n            \"attributes\": {\n                \"color_create_a_multiselect_type_attribute\": [\n                    \"Blue\"\n                ],\n                \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\"\n            },\n            \"categories\": [\n                {\n                    \"id\": \"5c4ed7f62f0985001c233279\",\n                    \"name\": \"Kettles & Teapots\",\n                    \"path\": [\n                        \"Sample Categories\",\n                        \"Kettles & Teapots\"\n                    ]\n                }\n            ],\n            \"created\": \"2019-01-28T10:22:56.817000+00:00\",\n            \"id\": \"5c4ed8002f0985001e233275\",\n            \"label\": \"Product ~ 1 - patch example\",\n            \"modified\": \"2019-01-28T10:24:44.792000+00:00\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 001\",\n            \"status\": \"Completed\",\n            \"thumbnail\": {\n                \"filename\": \"assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/00/d8/4e/5c/5c4ed8002f0985001e233276/Kettle handle - White.png\",\n                \"id\": \"5c4ed8002f0985001e233276\",\n                \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/00/d8/4e/5c/5c4ed8002f0985001e233276/Kettle handle - White.png\",\n                \"url\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/00/d8/4e/5c/5c4ed8002f0985001e233276/Kettle handle - White.png\"\n            }\n        }\n    ]\n}"},{"id":"e4498871-dfa0-4261-b0d5-5c5a063bb637","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Blue\"\n        ],\n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\",\n        \"price_create_a_decimal_number_type_attribute\": null\n    },\n    \"label\": \"Product ~ 1 - patch example\",\n    \"status\": \"Completed\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ed8002f0985001e233279\"\n    }\n}"},{"id":"ff8318f2-e30a-4002-b2a8-013da431a032","name":"422 Unprocessable entity","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Red\"\n        ]\n    }\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id"],"variable":[{"key":"product_id","value":"{{product_id}}"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"color_create_a_multiselect_type_attribute\",\n                \"msg\": \"[u'Red'] are not a valid values for Color (Create a multiselect type attribute) attribute.\"\n            }\n        ],\n        \"msg\": \"product data validation failed\"\n    }\n}"}],"_postman_id":"17dd4bc2-1100-417c-a936-3a1271ccae84"},{"name":"Assign family","id":"9c00074e-41fb-4c90-b1f2-daafdb5678ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_family_id\": \"<product_family_id>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/:product_id/family","description":"<p>Assign family to a product</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>parameter</strong></th>\n<th><strong>description</strong></th>\n<th><strong>mandatory</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_family_id</td>\n<td>id of the product family that is going to be assigned to the product</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"important-notes\">Important notes:</h1>\n<ul>\n<li>Changing product family might cause data loss</li>\n<li>Product families cannot be assigned to Variant products</li>\n<li>Changing the product family will change the same fields of the variants</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products",":product_id","family"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"e063bcf8-03b0-4afa-9f92-280c9724662f","name":"200 OK Unassign family to an assigned product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_family_id\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/family","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","family"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": null,\n            \"assets\": [],\n            \"attributes\": {\n                \"boolean\": false,\n                \"date\": \"2023-02-27T00:00:00\",\n                \"decimal\": 25.3,\n                \"integer\": 25,\n                \"paragraph\": \"paragraph\",\n                \"short_text\": \"shorttext\"\n            },\n            \"categories\": [],\n            \"created\": \"2023-03-20T16:21:06.052000+00:00\",\n            \"gtin\": null,\n            \"id\": \"641887f2d10eec81d978e10e\",\n            \"label\": null,\n            \"modified\": \"2023-03-22T13:33:06.925000+00:00\",\n            \"num_variations\": 0,\n            \"overwritten_attributes\": [],\n            \"product_family_id\": \"6411ea9e07538a6fab767566\",\n            \"product_family_model_id\": null,\n            \"product_type\": \"SINGLE\",\n            \"relationships\": [],\n            \"sku\": \"1013\",\n            \"status\": \"Draft\",\n            \"thumbnail\": null\n        }\n    ]\n}"},{"id":"76257781-ffda-46b3-a6a4-3c0ed944d798","name":"200 OK Assign family to a parent product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_family_id\": \"6422dd98d732cac61a58431e\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/products/:product_id/family","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","products",":product_id","family"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": null,\n            \"assets\": [],\n            \"attributes\": {\n                \"boolean\": false,\n                \"date\": \"2023-02-27T00:00:00\",\n                \"decimal\": 25.3,\n                \"integer\": 25,\n                \"paragraph\": \"paragraph\",\n                \"short_text\": \"shorttext\"\n            },\n            \"categories\": [],\n            \"created\": \"2023-03-20T16:21:06.052000+00:00\",\n            \"gtin\": null,\n            \"id\": \"641887f2d10eec81d978e10e\",\n            \"label\": null,\n            \"modified\": \"2023-03-22T13:33:06.925000+00:00\",\n            \"num_variations\": 0,\n            \"overwritten_attributes\": [],\n            \"product_family_id\": \"6422dd98d732cac61a58431e\",\n            \"product_family_model_id\": \"6422dda9d732cac61a584320\",\n            \"product_type\": \"PARENT\",\n            \"relationships\": [],\n            \"sku\": \"1013\",\n            \"status\": \"Draft\",\n            \"thumbnail\": null\n        }\n    ]\n}"}],"_postman_id":"9c00074e-41fb-4c90-b1f2-daafdb5678ea"}],"id":"37e23966-9b65-4639-a112-14b49021c6d1","_postman_id":"37e23966-9b65-4639-a112-14b49021c6d1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add new products","id":"094a27e5-00c7-4325-b6d4-c23e87a97ba0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"Product data"},"url":"https://pim.plytix.com/api/v1/products","description":"<p>Creates a product</p>\n<p>There's only a mandatory parameter, <em>sku</em> of the product. Readonly and unknown parameters will be<br />ignored from request data.</p>\n<p><strong>Note</strong>: This method does not allow the creation of new attributes, categories or assets.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em><strong>sku</strong></em></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p>Custom product attributes are located under “attributes” parameter. Thumbnail, assets, categories, media and media galleries<br />can be <em>linked</em> to a product.</p>\n<p>Upon successful creation, a 201 http status code will be returned, the new product<br />will be in the response body of the request and it resource identifier could be found<br />in response headers.</p>\n<h3 id=\"thumbnail-assets-and-media-attribute-linking\">Thumbnail, assets and media attribute linking</h3>\n<p>You are not allowed to upload any new assets to your PIM account using this resource, thats Asset's endpoint business, but<br />you are allowed to <em>link</em> existing assets into your product.<br />To link an existing asset to any of this kind of attribute, only asset identifier is mandatory</p>\n<h3 id=\"media-gallery\">Media gallery</h3>\n<p>Media gallery contains a collection of medias, so in this case you need to indicate an array of <em>asset</em> objects.<br />All constraints described in asset linking section apply.</p>\n<h3 id=\"categories-linking\">Categories linking</h3>\n<p>All constrains described in asset linking section apply to categories. Only <em>id</em> of the category is mandatory.</p>\n<h3 id=\"example-1-product-creation\">Example 1. Product creation</h3>\n<p>POST /api/v1/products/</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"sku\": \"blue adventure mug S023\",\n   \"label\": \"Adventure mug\",\n   \"attributes\" : {\n          \"stock\" : 123,\n          \"vendor_url\": \"http://acme.com\",\n          \"since\": \"2015-03-28\",\n          \"Media_gallery\":[\n                {\"id\":\"5bfaced551e7590001486763\"},\n                {\"id\":\"5bfaced551e7590001486765\"}\n          ],\n            \"media_single_1\": {\"id\":\"5bfaced551e7590001486764\"},\n      },\n    \"categories\": [\n           {\n               \"id\": \"5bfa91ab8544120001bd9078\"\n           }\n    ]\n}\n\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">201 CREATED\nHEADER\nLocation →https://pim.plytix.com/api/v1/products/5bfad5ca5b84b100017a8f5a\nBODY\n{\n    \"data\": [\n        {\n            \"assets\": [],\n            \"attributes\": {\n              \"since\": \"2015-03-28\",\n              \"stock\" : \"123\",\n              \"vendor_url\": \"http://acme.com\",\n              \"media_gallery\": [\n                    {\n                        \"filename\": \"1.jpeg\",\n                        \"id\": \"5bfaced551e7590001486763\",\n                        \"thumb\": \"https://files.plytix.com/api/v1.0/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/1.jpeg\",\n                        \"url\": \"https://files.plytix.com/api/v1.0/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/1.jpeg\"\n                    },\n                    {\n                        \"filename\": \"3.jpeg\",\n                        \"id\": \"5bfaced551e7590001486765\",\n                        \"thumb\": \"https://files.plytix.com/api/v1.0/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486765/3.jpeg\",\n                        \"url\": \"https://files.plytix.com/api/v1.0/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486765/3.jpeg\"\n                    }\n                ],\n                \"media_single_1\": {\n                    \"filename\": \"2.jpeg\",\n                    \"id\": \"5bfaced551e7590001486764\",\n                    \"path\": \"assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486764/2.jpeg\",\n                    \"thumb\": \"https://files.plytix.com/api/v1.0/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486764/2.jpeg\"\n                },\n            },\n            \"categories\": [\n                   {\n                       \"id\": \"5bfa91ab8544120001bd9078\",\n                       \"name\" : \"Mugs\",\n                       \"path\": [ \"Mugs\" , \"Ceramic\"  ]\n                   }\n            ],\n            \"id\": \"5bfad5ca5b84b100017a8f5a\",\n            \"created\": \"2018-11-25T17:03:06.596000+00:00\",\n            \"modified\": \"2018-11-25T17:03:06.628000+00:00\",\n            \"sku\": \" blue adventure mug S023\",\n            \"label\": \"Adventure mug\",\n            \"status\": \"Draft\",\n            \"num_variations\": 0,\n            \"thumbnail\": null,\n            \"assets\": [ { \"id\":\"...\" }, { \"id\":\"...\" }]\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"4bc4409c-dd80-488a-8a23-21757306fd86","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"Black Kettle\",\n    \"label\": \"Black Kettle\",\n    \"status\": \"Complete\",\n    \"assets\": [ {\"id\": \"5c4eefca908d2d00011c8e0c\"} ],\n      \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n          \"Blue\"\n        ], \n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\"\n      }, \n      \"categories\": [\n        {\n          \"id\": \"5c4ed7f62f0985001c233276\", \n          \"name\": \"Ground Coffee\", \n          \"path\": [\n            \"Sample Categories\", \n            \"Coffee & Tea\", \n            \"Ground Coffee\"\n          ]\n        }, \n        {\n          \"id\": \"5c4ed7f62f0985001c233278\", \n          \"name\": \"Drinkware\", \n          \"path\": [\n            \"Sample Categories\", \n            \"Drinkware\"\n          ]\n        }, \n        {\n          \"id\": \"5c4ed7f62f0985001c233279\", \n          \"name\": \"Kettles & Teapots\", \n          \"path\": [\n            \"Sample Categories\", \n            \"Kettles & Teapots\"\n          ]\n        }\n      ]\n}"},"url":"https://pim.plytix.com/api/v1/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Location","value":"https://pim.plytix.com/api/v1/products/5c4ef3a9bedb5e000189befc","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"_parent_id\": null,\n            \"assets\": [],\n            \"attributes\": {\n                \"color_create_a_multiselect_type_attribute\": [\n                    \"Blue\"\n                ],\n                \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\"\n            },\n            \"categories\": [\n                {\n                    \"id\": \"5c4ed7f62f0985001c233276\",\n                    \"name\": \"Ground Coffee\",\n                    \"path\": [\n                        \"Sample Categories\",\n                        \"Coffee & Tea\",\n                        \"Ground Coffee\"\n                    ]\n                },\n                {\n                    \"id\": \"5c4ed7f62f0985001c233278\",\n                    \"name\": \"Drinkware\",\n                    \"path\": [\n                        \"Sample Categories\",\n                        \"Drinkware\"\n                    ]\n                },\n                {\n                    \"id\": \"5c4ed7f62f0985001c233279\",\n                    \"name\": \"Kettles & Teapots\",\n                    \"path\": [\n                        \"Sample Categories\",\n                        \"Kettles & Teapots\"\n                    ]\n                }\n            ],\n            \"created\": \"2019-01-28T12:20:57.341000+00:00\",\n            \"id\": \"5c4ef3a9bedb5e000189befc\",\n            \"label\": \"Black Kettle\",\n            \"modified\": \"2019-01-28T12:20:57.437000+00:00\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_1111\",\n            \"status\": \"Completed\",\n            \"thumbnail\": null\n        }\n    ]\n}"},{"id":"52119fdd-5e92-48ee-9741-7e0c95fad1af","name":"400 Bad request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    'sku': 1\n}"},"url":"https://pim.plytix.com/api/v1/products"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"http_status_code\",\n                \"msg\": 400\n            }\n        ],\n        \"msg\": \"Failed to decode JSON object: Expecting property name enclosed in double quotes: line 2 column 5 (char 6)\"\n    }\n}"},{"id":"d4574aa6-03af-4fec-a259-11d93531247a","name":"422 Unprocessable entity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"Black Kettle\",\n    \"label\": \"Black Kettle\",\n    \"status\": \"Complete\"\n}"},"url":"https://pim.plytix.com/api/v1/products"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"status\",\n                \"msg\": \"Value is not valid, valid values are [Draft, Completed, Archived]\"\n            }\n        ],\n        \"msg\": \"product data validation failed\"\n    }\n}"}],"_postman_id":"094a27e5-00c7-4325-b6d4-c23e87a97ba0"},{"name":"Product search","id":"5b994809-7729-4c1a-87bb-b08c77631b5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"field\": \"status\",\n                \"operator\": \"eq\",\n                \"value\": \"Draft\"\n            },\n            {\n                \"field\": \"categories\",\n                \"operator\": \"in\",\n                \"value\": [\n                    \"5c4ed7f62f0985001c233274\"\n                ]\n            }\n        ],\n        [\n            {\n                \"field\": \"categories\",\n                \"operator\": \"!exists\",\n                \"value\": null\n            }\n        ]\n    ],\n    \"attributes\": [\n        \"thumbnail\",\n        \"assets\",\n        \"label\",\n        \"categories\",\n        \"modified\",\n        \"created\",\n        \"status\"\n    ],\n    \"pagination\": {\n        \"order\": \"sku\",\n        \"page\": 1,\n        \"page_size\": 25\n    }\n}"},"url":"https://pim.plytix.com/api/v1/products/search","description":"<p>Filter product by multiple criteria</p>\n<p>Filter structure and format is described under <a href=\"#resources\">Resources</a> section in this guide</p>\n<p>Product search has also support to filter products based on relationship properties. Relationship filter structure and format is described later in this document.</p>\n<p><strong>Please take notice of the use of attribute labels instead of attribute names in the request</strong> (see more examples below)</p>\n<h1 id=\"restrictions\">Restrictions</h1>\n<ul>\n<li><p>Search requests</p>\n<ul>\n<li><p>Requests are limited to 50 attributes (plus ID and SKU which are always returned). Attributes (both system and user) and properties count in this limit. Requests having more than 50 attributes will be rejected and a 422 code will be returned from API</p>\n</li>\n<li><p><strong>User attributes MUST be prefixed with “attributes.” (including the dot at the end) + the label of the attribute</strong> . So for example, if there is an attribute named “In Stock” and labeled as \"in_stock\" we MUST add it to the request as “attributes.in_stock”. <strong>Attribute names and labels</strong> can be obtained by<br />  means of the filters/product endpoint</p>\n</li>\n<li><p><strong>Relationship columns can also be requested. These MUST be prefixed with “relationships.” (including the dot at the end) + the label of the relationship</strong> (response is described in later in this section). Examples:</p>\n<ul>\n<li>relationships.gift_basket</li>\n<li>relationships.recommended_products</li>\n</ul>\n</li>\n<li><p>Search filters MUST include all necessary columns. If an attribute is not explicitly requested it won’t be returned by the API.<br />  Available attributes can be obtained by means of the available <a href=\"https://pim.plytix.com/api/v1/filters/\">https://pim.plytix.com/api/v1/filters/</a> endpoint. “key” value is what MUST be used in requests.<br />  Requesting non-existing attributes will return a 422 error code<br />  You are allowed to sort by columns not included in “attributes” field however this attribute won’t be returned <strong>User attributes MUST be prefixed with “attributes.” (including the dot at the end) + the label of the attribute</strong></p>\n</li>\n<li><p>Search filters will return a 422 error code if any of the following conditions are met:<br />  a) The field does not exist<br />  b) Operator is not allowed for the given field (available operators and fields can be obtained using /filters/{item} endpoint)<br />  c) Value has no meaning for the given operator. The arity of available operators can be found in API documentation</p>\n</li>\n<li><p>Search filters will return a 428 status code if the filtered results include more than 10000 products and the order field is filled.</p>\n</li>\n<li><p>Pagination: the number of items that can be requested (pagination.page_size) is limited to a maximum of 100 items. A 422 code will be returned from API if this limit is exceeded. If pagination is omitted 25 items of the first page will be returned</p>\n</li>\n<li><p>Only one relationship can be selected in filters</p>\n</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"relationship-information-in-responses\">Relationship information in responses</h1>\n<p>When relationship columns are requested, product response will include a new field named ‘relationships’ with the following structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>relationships</td>\n<td>relationship array</td>\n<td>array of relationship information</td>\n</tr>\n</tbody>\n</table>\n</div><p>Relationship information</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>relationship_id</td>\n<td>relationship id</td>\n<td>string</td>\n</tr>\n<tr>\n<td>label</td>\n<td>relationship label</td>\n<td>string</td>\n</tr>\n<tr>\n<td>related_products</td>\n<td>related products</td>\n<td>Array of product relationship data</td>\n</tr>\n</tbody>\n</table>\n</div><p>Relationship Data</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>product ID</td>\n<td>string</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>quantity</td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Attributes: [\"categories\", \"label\", \"attributes.color\", \"relationships.gift_basket\"]\n{\n     \"id\": \"5d8200527313382d939838c4\",\n     \"sku\": \"1234567890\",\n     \"categories\": [],\n     \"label\": \"Strawberry_soap\",\n     \"attributes\": {\n         \"color\": \"red\" \n     },\n     \"relationships\": [\n       {\n         \"relationship_id\": \"5ddbf89efbe0f86e3c1574c6\",\n         \"label\": \"gift_basket\",\n         \"related_products\": [\n           {\n             \"product_id\": \"5c98ef754a6c252c96793574\",\n             \"quantity\": 1\n           }\n         ]\n       }\n     ],\n   }\n\n</code></pre><h1 id=\"relationship-filters\">Relationship filters</h1>\n<p>This section describes the structure and format for relationship filters. A Relationship filter is compound of several fields, some of them are mandatory while others depend on the values and options selected.</p>\n<h2 id=\"structure\">Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>relationship_id</td>\n<td>relationship Identifier</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operator</td>\n<td>only ‘exists’ and ‘!exists’ are supported</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>product_ids</td>\n<td>list of product constraints</td>\n<td>NO</td>\n<td>Array of object (only for “exists” operator)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Complex filters can be built defining additional constraints on relationship quantity operator when relationship “exists” operator is selected. Please check the examples section.</p>\n<h3 id=\"product_ids-structure\">Product_ids structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>product id</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>qty_operator</td>\n<td>quantity operator</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>value</td>\n<td>filter value</td>\n<td>string</td>\n<td>array of integer</td>\n</tr>\n</tbody>\n</table>\n</div><p>Available operators:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Arity</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Existence check.  <br />True when the item has its value defined</td>\n</tr>\n<tr>\n<td>!exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Non-existence check.  <br />True when the item has its value undefined</td>\n</tr>\n<tr>\n<td>eq</td>\n<td>Binary</td>\n<td>value</td>\n<td>Equality check.  <br />True if the item has the same value as the one provided  <br />When applied to a text value, the comparison ignores case</td>\n</tr>\n<tr>\n<td>in</td>\n<td>Binary</td>\n<td>list</td>\n<td>Match check.  <br />Determines if the value matches any of the values specified in the list  <br /><strong>Note</strong>: Multiselect and Dropdown attributes are case sensitive</td>\n</tr>\n<tr>\n<td>gt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than.  <br />True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>gte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than or equal to.  <br />True if item's value is greater than or equal to provided</td>\n</tr>\n<tr>\n<td>lt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Less than.  <br />True if item's value is less than provided</td>\n</tr>\n<tr>\n<td>lte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Less than or equal to.  <br />True if item's value is less than or equal to provided</td>\n</tr>\n<tr>\n<td>bte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Between. Requires two values  <br />True if item's value is between provided values</td>\n</tr>\n<tr>\n<td>last_days</td>\n<td>Unary</td>\n<td>value</td>\n<td>Date is greater than the given days check.  <br />The filter will only take into account full days (current time is dismissed)</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"examples\">Examples</h1>\n<p>1.- Return default page (1) with default items per page (25) using default order (no order)<br />Note that this query will return just ID and SKU as no <em>attributes</em> have been provided</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n     \"filters\":[\n        [\n            {\"field\":\"modified\",\"operator\":\"gt\",\"value\":\"2018-11-01\"},\n            {\"field\":\"modified\",\"operator\":\"lt\",\"value\":\"2018-11-30\"}\n        ],\n        [\n            {\"field\":\"attributes.name\",\"operator\":\"like\",\"value\":\"unicorn\"}\n        ]\n        ]\n }\n\n</code></pre>\n<p>2.- Return default page (1) with default items per page (25) using default order (no order) of product attributes SKU, Label and user attributes \"In Stock\" and \"Volumen (liters)\". <strong>Please take notice of the the use of attribute labels instead of attribute names in the request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n     \"attributes\":[\"sku\", \"label\", \"attributes.in_stock\", \"attributes.volume_liters\"]\n }\n\n</code></pre>\n<p>3.- Return page 3 of products modified [ between November the 1st AND November the 30th] OR [ contains the literal 'unicorn' ] ordered by SKU descending<br />returning system_attributes: id, sku, created, and user attribute \"In Stock\", \"Product name\", \"Quantity\" (labels: in_stock, name, qty)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"filters\":[\n        [\n            {\"field\":\"modified\",\"operator\":\"gt\",\"value\":\"2018-11-01\"},\n            {\"field\":\"modified\",\"operator\":\"lt\",\"value\":\"2018-11-30\"}\n        ],\n        [\n            {\"field\":\"attributes.name\",\"operator\":\"like\",\"value\":\"unicorn\"}\n        ]\n        ],\n    \"pagination\":{\"order\":\"-sku\",\"page\":3,\"page_size\":25},\n    \"attributes\":[\"created\", \"attributes.in_stock\", \"attributes.name\", \"attributes.qty\"]\n}\n\n</code></pre>\n<h1 id=\"relationship-filter-examples\">Relationship filter examples</h1>\n<p>The following examples assume that:</p>\n<ul>\n<li>There is a Symmetrical relationship named ‘Recommended products’.RP-001 is recommended with RP-002 (quantity 2) and RP-003 (quantity 3).<br />  So RP-002 is recommended with RP-001, and RP-003 is recommended with RP-001, however RP-002 is not related to RP-003.</li>\n<li>There is an Asymmetrical relationship named “Gift basket”.<br />  Product GF-Basket ‘includes’ GF-Wine (2 bottles), GF-Chocolates (3 packs), GF-Emmental (1 piece)</li>\n</ul>\n<ol>\n<li><p>Find products where the “recommended products” relationship is defined (exists).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n  \"attributes\":[\"relationships.recommended_products\"],\n  \"filters\":[],\n  \"relationship_filters\":[[\n    {\n      \"relationship_id\":\"5d89c6c696c8f4a322df4bbc\",\n      \"operator\":\"exists\",\n      \"product_ids\":[],\n    }]],\n  \"pagination\": {\n    \"order\":\"\",\n    \"page\":1,\n    \"page_size\":25\n  }\n }\n\n</code></pre><p> The response should include RP-001, RP-002, and RP-003</p>\n</li>\n<li><p>Find products where “recommended products” is not defined (!exists).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n  \"attributes\":[\"relationships.recommended_products\"],\n  \"filters\":[],\n  \"relationship_filters\":[[\n    {\n      \"relationship_id\":\"5d89c6c696c8f4a322df4bbc\",\n      \"operator\":\"!exists\",\n      \"product_ids\":[]\n    }]],\n    \"pagination\":{\n      \"order\":\"\",\n      \"page\":1,\n      \"page_size\":25\n    }\n }\n\n</code></pre><p> The response should not include RP-001, RP-002 or RP-003</p>\n</li>\n<li><p>Find the products for which the “recommended products” relationship is defined (a.k.a exists) with the RP-002 product</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n  \"filters\":[],\n  \"attributes\":[\"relationships.recommended_products\"],\n  \"relationship_filters\":[[\n    {\n      \"product_ids\":[\n      {\n        \"id\":\"5d89c68596c8f4a322df4bb9\",\n        \"qty_operator\":\"exists\",\n        \"value\":null\n      }],\n      \"relationship_id\":\"5d89c6c696c8f4a322df4bbc\",\n      \"operator\":\"exists\"\n    }]],\n  \"pagination\": {\n    \"order\":null,\n    \"page\":1,\n    \"page_size\":25\n  }\n }\n\n</code></pre><p> Response should include RP-001</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n  \"data\": [\n    {\n      \"attributes\": {},\n      \"id\": \"5d89c67796c8f4a322df4bb8\",\n      \"sku\": \"RP-001\",\n      \"relationships\": [\n         {\n             \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n             \"label\": \"recommended_products\",\n             \"related_products\": [\n                 {\n                     \"product_id\": \"5d89c68596c8f4a322df4bb9\",\n                     \"quantity: \"2\"\n                 },\n                 {\n                     \"product_id\": \"5d89c69496c8f4a322df4bba\",\n                     \"quantity: \"3\"\n                 }\n             ]\n         }\n      ]\n    }\n  ],\n  \"pagination\": {\n    \"count\": 1,\n    \"order\": null,\n    \"page\": 1,\n    \"page_size\": 25,\n    \"total_count\": 3\n  }\n }\n\n</code></pre></li>\n<li><p>Filter the products for which the relationship with the product RP-001 is defined and whose quantity is greater than 2Please, note that the \"value\" field is an array of one element</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n    \"filters\": [],\n    \"attributes\": [\n        \"relationships.recommended_products\"\n    ],\n    \"relationship_filters\": [\n        [\n            {\n                \"product_ids\": [\n                    {\n                        \"id\": \"5d89c67796c8f4a322df4bb8\",\n                        \"qty_operator\": \"gt\",\n                        \"value\": [\n                            2\n                        ]\n                    }\n                ],\n                \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n                \"operator\": \"exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25\n    }\n }\n\n</code></pre><p> Response should exclude RP-002, due to its quantity being 2, and include RP-003</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n  \"data\": [\n    {\n      \"attributes\": {},\n      \"id\": \"5d89c69496c8f4a322df4bba\",\n      \"sku\": \"RP-003\",\n      \"relationships\": [\n         {\n             \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n             \"label\": \"recommended_products\",\n             \"related_products\": [\n                 {\n                     \"product_id\": \"5d89c67796c8f4a322df4bb8\",\n                     \"quantity: \"3\"\n                 }\n             ]\n         }\n      ]\n    }\n  ],\n  \"pagination\": {\n    \"count\": 1,\n    \"order\": null,\n    \"page\": 1,\n    \"page_size\": 25,\n    \"total_count\": 3\n  }\n }\n\n</code></pre></li>\n<li><p>Filter the products for which the relationship is defined with the product RP-001 and whose quantity is between 1 and 2Please, notice that the \"value\" field in this case, value array must include both values, i.e. [1, 2]</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n    \"filters\": [],\n    \"attributes\": [\n        \"relationships.recommended_products\"\n    ],\n    \"relationship_filters\": [\n        [\n            {\n                \"product_ids\": [\n                    {\n                        \"id\": \"5d89c67796c8f4a322df4bb8\",\n                        \"qty_operator\": \"bte\",\n                        \"value\": [\n                            1,\n                            2\n                        ]\n                    }\n                ],\n                \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n                \"operator\": \"exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25\n    }\n }\n\n</code></pre><p> Response should exclude RP-003, which has a quantity of 3, and include RP-002</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n  \"data\": [\n    {\n      \"attributes\": {},\n      \"id\": \"5d89c68596c8f4a322df4bb9\",\n      \"sku\": \"RP-002\",\n      \"relationships\": [\n         {\n             \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n             \"label\": \"recommended_products\",\n             \"related_products\": [\n                 {\n                     \"product_id\": \"5d89c68596c8f4a322df4bb9\",\n                     \"quantity: \"2\"\n                 }\n             ]\n         }\n      ]         \n    }\n  ],\n  \"pagination\": {\n    \"order\": null,\n    \"page\": 1,\n    \"page_size\": 25,\n  }\n }\n\n</code></pre></li>\n<li><p>Find all products where ‘Gift basket’ is defined</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n    \"filters\": [],\n    \"attributes\": [\n        \"relationships.gift_basket\"\n    ],\n    \"relationship_filters\": [\n        [\n            {\n                \"product_ids\": [],\n                \"relationship_id\": \"5d89d4fd96c8f4a322df4bc0\",\n                \"operator\": \"exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25\n    }\n }\n\n</code></pre><p> The response should include 'GF-Basket' product.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n    \"data\": [\n        {\n            \"attributes\": {},\n            \"id\": \"5d89d51a96c8f4a322df4bc1\",\n            \"sku\": \"GF-Basket\",\n            \"relationships\": [\n                 {\n                     \"relationship_id\": \"5d89d4fd96c8f4a322df4bc0\",\n                     \"label\": \"gift_basket\",\n                     \"related_products\": [\n                         {\n                             \"product_id\": \"5d89d51a96c8f4a322df4bc2\",\n                             \"quantity: \"2\"\n                         },\n                         {\n                             \"product_id\": \"5d89d52f96c8f4a322df4bc3\",\n                             \"quantity: \"3\"\n                         },\n                         {\n                             \"product_id\": \"5d89d54396c8f4a322df4bc4\",\n                             \"quantity: \"1\"\n                         }                            \n                     ]\n                 }\n             ]               \n        }\n    ],\n    \"pagination\": {\n        \"count\": 1,\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 7\n    }\n }\n\n</code></pre></li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","products","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"2de9c7c7-f34b-412f-aa62-a409a4e89235","name":"200 Search example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"operator\": \"eq\",\n                \"field\": \"status\",\n                \"value\": \"Completed\"\n            },\n            {\n                \"field\": \"attributes.volume_liters\",\n                \"operator\": \"gt\",\n                \"value\": 3\n            },\n            {\n                \"field\": \"attributes.video_url\",\n                \"operator\": \"!exists\",\n                \"value\": null\n            }\n        ]\n    ],\n    \"attributes\": [\n        \"thumbnail\",\n        \"label\",\n        \"status\",\n        \"attributes.video_url\",\n        \"attributes.volume_liters\",\n        \"attributes.short_description\",\n        \"modified\"\n    ],\n    \"relationship_filters\": [],\n    \"pagination\": {\n        \"order\": \"attributes.volume_liters\",\n        \"page\": 1,\n        \"page_size\": 25\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [], \n  \"pagination\": {\n    \"count\": 0, \n    \"order\": \"attributes.volume_liters\", \n    \"page\": 1, \n    \"page_size\": 25, \n    \"total_count\": 18\n  }\n}\n"},{"id":"3846f12f-4720-4658-bf3f-7f109578baa1","name":"200 - Search by multiple AND + OR criteria","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"value\": [\n                    \"5ebe68d9bad0071cf0606631\"\n                ],\n                \"field\": \"categories\",\n                \"operator\": \"in\"\n            },\n            {\n                \"value\": 3,\n                \"field\": \"attributes.volume_liters\",\n                \"operator\": \"gt\"\n            }\n        ],\n        [\n            {\n                \"field\": \"attributes.price_store\",\n                \"operator\": \"lt\",\n                \"value\": 200\n            }\n        ]\n    ],\n    \"attributes\": [\n        \"thumbnail\",\n        \"label\",\n        \"status\",\n        \"attributes.video_url\",\n        \"attributes.volume_liters\",\n        \"attributes.short_description\",\n        \"modified\",\n        \"attributes.colorways\",\n        \"attributes.discontinued\",\n        \"attributes.features_html\",\n        \"attributes.launch_date\",\n        \"attributes.long_description\",\n        \"attributes.price_store\",\n        \"attributes.product_gallery\"\n    ],\n    \"relationship_filters\": [\n        [\n            {\n                \"relationship_id\": \"5ec62a24eeeb0a6e5dde33e6\",\n                \"product_ids\": [],\n                \"operator\": \"exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"order\": \"attributes.price_store\",\n        \"page\": 1,\n        \"page_size\": 25\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"attributes\": {\n        \"colorways\": [\n          \"Coco\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01T00:00:00\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe68dfba44f77d7c75f9d0\"\n          },\n          {\n            \"id\": \"5ebe68e0ba44f77d7c75f9d2\"\n          },\n          {\n            \"id\": \"5ebe68e1ba44f77d7c75f9d4\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d6\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383adf18d516fbbac718d\",\n      \"label\": \"Backpack Venice - Coco\",\n      \"modified\": \"2020-05-19T07:03:05.787000+00:00\",\n      \"num_variations\": 5,\n      \"sku\": \"1013\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe68e1ba44f77d7c75f9d4\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Black Rose\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01T00:00:00\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe690465931c704d75f9f4\"\n          },\n          {\n            \"id\": \"5ebe690565931c704d75f9f6\"\n          },\n          {\n            \"id\": \"5ebe690565931c704d75f9f8\"\n          },\n          {\n            \"id\": \"5ebe690665931c704d75f9fa\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383c6421a5e26d9ac71b1\",\n      \"label\": \"Backpack Venice - Black Rose\",\n      \"modified\": \"2020-05-19T07:03:29.937000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1016\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe690565931c704d75f9f8\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Almond\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01T00:00:00\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe690765931c704d75f9fe\"\n          },\n          {\n            \"id\": \"5ebe690865931c704d75fa00\"\n          },\n          {\n            \"id\": \"5ebe690965931c704d75fa02\"\n          },\n          {\n            \"id\": \"5ebe690a65931c704d75fa04\"\n          },\n          {\n            \"id\": \"5ebe690c65931c704d75fa06\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383c8421a5e26d9ac71bb\",\n      \"label\": \"Backpack Venice - Almond\",\n      \"modified\": \"2020-05-19T07:03:35.905000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1017\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe690a65931c704d75fa04\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Black Noise\"\n        ],\n        \"discontinued\": true,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01T00:00:00\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe690d65931c704d75fa0a\"\n          },\n          {\n            \"id\": \"5ebe690e65931c704d75fa0c\"\n          },\n          {\n            \"id\": \"5ebe690f65931c704d75fa0e\"\n          },\n          {\n            \"id\": \"5ebe691065931c704d75fa10\"\n          },\n          {\n            \"id\": \"5ebe691265931c704d75fa12\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383cd421a5e26d9ac71c7\",\n      \"label\": \"Backpack Venice - Black Noise\",\n      \"modified\": \"2020-05-19T07:03:41.404000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1018\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe691065931c704d75fa10\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Morning Mist\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01T00:00:00\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6912b8b8d47fc575f9ea\"\n          },\n          {\n            \"id\": \"5ebe6914b8b8d47fc575f9ec\"\n          },\n          {\n            \"id\": \"5ebe6915b8b8d47fc575f9ee\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383d17c936bcce4ac71a6\",\n      \"label\": \"Backpack Venice - Morning Mist\",\n      \"modified\": \"2020-05-19T07:03:41.582000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1014\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe6914b8b8d47fc575f9ec\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf28c84a676ac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Dead Flower\"\n        ],\n        \"discontinued\": true,\n        \"features_html\": \"<ul><li>Urban mobility bag with roll-top closure</li><li>Large, size adjustable main compartment with internal zip pocket</li><li>Padded 15” laptop pocket with external access</li><li>Quick-access travel-doc pocket</li><li>Front zip organizer pocket</li><li>Side handle</li><li>Padded ergo straps with adjustable chest straps</li><li>Soft padded mesh back panel</li><li>Gear loops</li></ul>\",\n        \"launch_date\": \"2020-06-01T00:00:00\",\n        \"long_description\": \"Designed to be well-equipped for calculated city missions and last minute adventures into uncharted terrain, the Scrambler backpack combines durable adventure solutions into a sleek urban style. The ergonomically fitted backpack straps allow you to comfortably carry your required accessaries for your next mission, while the side handle allows for easy handling and a professional look during you daily routine. The roll-top closure will allow for more space in the main compartment  if needed, and adjust to fit your required space perfectly for the day. The 15” laptop pocket with external access and quick-access travel pocket will allow you to get to your computer and documents without having to dig through the main compartment if you are in a hurry. If you are looking for a versatile bag for daily usages in and out of the city in a beautiful classic silhouette, than the Scrambler was built for you.\",\n        \"price_store\": 130.76,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d0\"\n          },\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d2\"\n          },\n          {\n            \"id\": \"5ebe6905b8b8d47fc575f9d4\"\n          },\n          {\n            \"id\": \"5ebe6906b8b8d47fc575f9d6\"\n          },\n          {\n            \"id\": \"5ebe6907b8b8d47fc575f9d8\"\n          },\n          {\n            \"id\": \"5ebe6908b8b8d47fc575f9da\"\n          },\n          {\n            \"id\": \"5ebe6909b8b8d47fc575f9dc\"\n          },\n          {\n            \"id\": \"5ebe690ab8b8d47fc575f9de\"\n          },\n          {\n            \"id\": \"5ebe690cb8b8d47fc575f9e0\"\n          },\n          {\n            \"id\": \"5ebe690db8b8d47fc575f9e2\"\n          },\n          {\n            \"id\": \"5ebe690eb8b8d47fc575f9e4\"\n          },\n          {\n            \"id\": \"5ebe6910b8b8d47fc575f9e6\"\n          }\n        ],\n        \"short_description\": \"Built For Endless Possibilities\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"30\"\n      },\n      \"id\": \"5ec383c67c936bcce4ac718d\",\n      \"label\": \"Backpack Scrambler - Dead Flower\",\n      \"modified\": \"2020-05-19T07:03:38.295000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1012\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe6903b8b8d47fc575f9d2\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf28c84a676ac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Coco\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Urban mobility bag with roll-top closure</li><li>Large, size adjustable main compartment with internal zip pocket</li><li>Padded 15” laptop pocket with external access</li><li>Quick-access travel-doc pocket</li><li>Front zip organizer pocket</li><li>Side handle</li><li>Padded ergo straps with adjustable chest straps</li><li>Soft padded mesh back panel</li><li>Gear loops</li></ul>\",\n        \"launch_date\": \"2020-06-01T00:00:00\",\n        \"long_description\": \"Designed to be well-equipped for calculated city missions and last minute adventures into uncharted terrain, the Scrambler backpack combines durable adventure solutions into a sleek urban style. The ergonomically fitted backpack straps allow you to comfortably carry your required accessaries for your next mission, while the side handle allows for easy handling and a professional look during you daily routine. The roll-top closure will allow for more space in the main compartment  if needed, and adjust to fit your required space perfectly for the day. The 15” laptop pocket with external access and quick-access travel pocket will allow you to get to your computer and documents without having to dig through the main compartment if you are in a hurry. If you are looking for a versatile bag for daily usages in and out of the city in a beautiful classic silhouette, than the Scrambler was built for you.\",\n        \"price_store\": 130.76,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d0\"\n          },\n          {\n            \"id\": \"5ebe691bdf2179290375fa06\"\n          },\n          {\n            \"id\": \"5ebe691cdf2179290375fa08\"\n          },\n          {\n            \"id\": \"5ebe691ddf2179290375fa0a\"\n          },\n          {\n            \"id\": \"5ebe691edf2179290375fa0c\"\n          },\n          {\n            \"id\": \"5ebe691edf2179290375fa0e\"\n          },\n          {\n            \"id\": \"5ebe691fdf2179290375fa10\"\n          },\n          {\n            \"id\": \"5ebe6920df2179290375fa12\"\n          },\n          {\n            \"id\": \"5ebe6921df2179290375fa14\"\n          },\n          {\n            \"id\": \"5ebe6922df2179290375fa16\"\n          },\n          {\n            \"id\": \"5ebe6923df2179290375fa18\"\n          },\n          {\n            \"id\": \"5ebe6924df2179290375fa1a\"\n          },\n          {\n            \"id\": \"5ebe6925df2179290375fa1c\"\n          },\n          {\n            \"id\": \"5ebe6925df2179290375fa1e\"\n          }\n        ],\n        \"short_description\": \"Built For Endless Possibilities\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"30\"\n      },\n      \"id\": \"5ec383d734f631942dac71c1\",\n      \"label\": \"Backpack Scrambler - Coco\",\n      \"modified\": \"2020-05-19T07:03:51.809000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1010\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe691bdf2179290375fa06\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf28c84a676ac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Black Noise\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Urban mobility bag with roll-top closure</li><li>Large, size adjustable main compartment with internal zip pocket</li><li>Padded 15” laptop pocket with external access</li><li>Quick-access travel-doc pocket</li><li>Front zip organizer pocket</li><li>Side handle</li><li>Padded ergo straps with adjustable chest straps</li><li>Soft padded mesh back panel</li><li>Gear loops</li></ul>\",\n        \"launch_date\": \"2020-06-01T00:00:00\",\n        \"long_description\": \"Designed to be well-equipped for calculated city missions and last minute adventures into uncharted terrain, the Scrambler backpack combines durable adventure solutions into a sleek urban style. The ergonomically fitted backpack straps allow you to comfortably carry your required accessaries for your next mission, while the side handle allows for easy handling and a professional look during you daily routine. The roll-top closure will allow for more space in the main compartment  if needed, and adjust to fit your required space perfectly for the day. The 15” laptop pocket with external access and quick-access travel pocket will allow you to get to your computer and documents without having to dig through the main compartment if you are in a hurry. If you are looking for a versatile bag for daily usages in and out of the city in a beautiful classic silhouette, than the Scrambler was built for you.\",\n        \"price_store\": 130.76,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d0\"\n          },\n          {\n            \"id\": \"5ebe6926df2179290375fa22\"\n          },\n          {\n            \"id\": \"5ebe6927df2179290375fa24\"\n          },\n          {\n            \"id\": \"5ebe6928df2179290375fa26\"\n          },\n          {\n            \"id\": \"5ebe6928df2179290375fa28\"\n          },\n          {\n            \"id\": \"5ebe6929df2179290375fa2a\"\n          },\n          {\n            \"id\": \"5ebe692adf2179290375fa2c\"\n          },\n          {\n            \"id\": \"5ebe692bdf2179290375fa2e\"\n          },\n          {\n            \"id\": \"5ebe692cdf2179290375fa30\"\n          },\n          {\n            \"id\": \"5ebe692ddf2179290375fa32\"\n          },\n          {\n            \"id\": \"5ebe692ddf2179290375fa34\"\n          },\n          {\n            \"id\": \"5ebe692edf2179290375fa36\"\n          },\n          {\n            \"id\": \"5ebe692edf2179290375fa38\"\n          },\n          {\n            \"id\": \"5ebe692fdf2179290375fa3a\"\n          },\n          {\n            \"id\": \"5ebe6930df2179290375fa3c\"\n          },\n          {\n            \"id\": \"5ebe6930df2179290375fa3e\"\n          },\n          {\n            \"id\": \"5ebe6931df2179290375fa40\"\n          },\n          {\n            \"id\": \"5ebe6931df2179290375fa42\"\n          },\n          {\n            \"id\": \"5ebe6932df2179290375fa44\"\n          },\n          {\n            \"id\": \"5ebe6932df2179290375fa46\"\n          }\n        ],\n        \"short_description\": \"Built For Endless Possibilities\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"30\"\n      },\n      \"id\": \"5ec383de34f631942dac71dd\",\n      \"label\": \"Backpack Scrambler - Black Noise\",\n      \"modified\": \"2020-05-19T07:03:58.533000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1011\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe6931df2179290375fa40\"\n      }\n    }\n  ],\n  \"pagination\": {\n    \"count\": 8,\n    \"order\": \"attributes.price_store\",\n    \"page\": 1,\n    \"page_size\": 25,\n    \"total_count\": 18\n  }\n}"},{"id":"41b1fccb-0a4a-4637-b6d4-c8a27ae35a9a","name":"200 Minimum search query","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://pim.plytix.com/api/v1/products/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001d233274\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 002\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f09850020233274\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 003\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001e233275\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 001\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001f233274\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 004\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001a233274\",\n            \"num_variations\": 5,\n            \"sku\": \"Sample - 005\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001b233274\",\n            \"num_variations\": 2,\n            \"sku\": \"Sample - 009\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001a23327e\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 008\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001e233279\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 007\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001b23327a\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 006\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001b233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001d233278\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 011\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001b233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f09850021233275\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 010\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4eeb97050d860001717698\",\n            \"num_variations\": 0,\n            \"sku\": \"new variant from API\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4eec84908d2d00011c8e0b\",\n            \"num_variations\": 0,\n            \"sku\": \"new variant from APId\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef0c59311990001fc3db0\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef1709311990001fc3db1\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_1\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef29d9311990001fc3db2\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_11\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef3829311990001fc3db3\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_111\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef3a9bedb5e000189befc\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_1111\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef7f7bedb5e000189befd\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle111111\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef836bedb5e000189befe\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle111111111\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 20,\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 20\n    }\n}"},{"id":"556b5352-fd78-4b73-b4ec-b07f68886ada","name":"422 Column limit exceeded","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"attributes\": [\"attributes.att_1\",\"attributes.att_2\",\"attributes.att_3\",\"attributes.att_4\",\"attributes.att_5\",\"attributes.att_6\",\"attributes.att_7\",\"attributes.att_8\",\"attributes.att_9\",\"attributes.att_10\",\"attributes.att_11\",\"attributes.att_12\",\"attributes.att_13\",\"attributes.att_14\",\"attributes.att_15\",\"attributes.att_16\",\"attributes.att_17\",\"attributes.att_18\",\"attributes.att_19\",\"attributes.att_20\", \"attributes.att_21\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/products/search"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"schema\",\n                \"msg\": \"columns limit exceeded, current limit is 20\"\n            }\n        ],\n        \"msg\": \"Schema validation error\"\n    }\n}"}],"_postman_id":"5b994809-7729-4c1a-87bb-b08c77631b5c"}],"id":"4bf9d65b-2e12-4586-b61e-076a42a4fcac","description":"<p>This section contains resources related to <em>Products</em>.</p>\n<p>Every product has two sets of attributes, first set is always returned when you GET a<br />product and its formed by attributes shown in the following table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Readonly</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em><strong>sku</strong></em></td>\n<td>string</td>\n<td></td>\n<td><strong>yes</strong></td>\n</tr>\n<tr>\n<td>label</td>\n<td>string</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>gtin</td>\n<td>string</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>created</td>\n<td>date</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>modified</td>\n<td>date</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>num_variations  <br />  <br />* <em>Number of variants connected to the product</em></td>\n<td>integer</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>assets</td>\n<td>object array</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>categories</td>\n<td>object array</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>product_family_id</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>The second set of attributes is formed by custom product attributes and only will be returned if they are set. Empty attributes will be stripped from the output.</p>\n<p>This API version supports the following set of custom attributes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Short text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Paragraph</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Rich text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Integer number</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>Decimal number</td>\n<td>decimal</td>\n</tr>\n<tr>\n<td>Dropdown</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Multiselect</td>\n<td>string array</td>\n</tr>\n<tr>\n<td>URL</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Media</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>Media Gallery</td>\n<td>Object array</td>\n</tr>\n<tr>\n<td>Boolean</td>\n<td>bool</td>\n</tr>\n<tr>\n<td>Date</td>\n<td>String date  <br />ISO 8601 Format</td>\n</tr>\n</tbody>\n</table>\n</div><p>You can read out more<br />about parameters at <a href=\"https://support.plytix.com/article/attribute-types/\">attribute types</a></p>\n<p><strong>Note</strong>: Some attributes have a custom structure that must be honored</p>\n<h3 id=\"assets-parameter\">Assets parameter</h3>\n<p>This parameter stores all assets linked to a product. Each asset has the following structure:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>Asset identifier</td>\n</tr>\n<tr>\n<td>filename</td>\n<td>string</td>\n<td>Name, including extension, of the file</td>\n</tr>\n<tr>\n<td>file_size</td>\n<td>integer</td>\n<td>Size (in bytes) of the file</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>string</td>\n<td>Url to the asset thumbnail</td>\n</tr>\n<tr>\n<td>url</td>\n<td>string</td>\n<td>Url to the asset</td>\n</tr>\n</tbody>\n</table>\n</div><p>For example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"5bfaced551e7590001486763\",\n  \"file_size\": 78213,\n  \"filename\": \"mug.jpeg\",\n  \"thumbnail\": \"https://files.plytix.com/api/v1.0/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/mug.jpeg\",\n  \"url\": \"https://files.plytix.com/api/v1.0/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d5/ce/fa/5b/5bfaced551e7590001486763/mug.jpeg\"\n}\n\n</code></pre>\n<p>When posting data to the API only asset ID is required (see examples in POST section).</p>\n<h3 id=\"thumbnail-parameter\">Thumbnail parameter</h3>\n<p>This parameter share structure and constraints as asset parameter described above</p>\n<h3 id=\"media-parameter\">Media parameter</h3>\n<p>This parameter shares the same structure and constraints as asset parameter described above</p>\n<h3 id=\"media-gallery-parameter\">Media Gallery Parameter</h3>\n<p>A Media Gallery is formed by a list of <em>media parameters</em>, each Media shares structure and constraints of asset parameters described above.</p>\n<h3 id=\"categories-parameter\">Categories parameter</h3>\n<p>This parameter shows product categories. Each category has the following structure:</p>\n<ul>\n<li><p>ID: category identifier (string)</p>\n</li>\n<li><p>name: name of the category (string)</p>\n</li>\n<li><p>path: ordered string list, showing the path from this category to root level</p>\n</li>\n</ul>\n<p>You can assign products to multiple categories.</p>\n<p>For example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"5bfa91f88544120001bd907e\",\n  \"name\": \"Grandchild of Root Category\",\n  \"path\": [\n            \"Root Category\",\n            \"Child of Root Category\",\n            \"Grandchild of Root Category\",\n          ]\n}\n\n</code></pre>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c53a3e1c-b47a-42bf-b9d2-646b576a3174"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"0fb430c1-8694-41c5-978f-0f08e4a84add"}}],"_postman_id":"4bf9d65b-2e12-4586-b61e-076a42a4fcac","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"🆕 products V2 BETA","item":[{"name":"product","item":[{"name":"assets","item":[{"name":"asset","item":[{"name":"Unbind asset from product","id":"be206b0a-9d3a-4e57-b6a1-50ed378c1d39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/:product_id/assets/:asset_id","description":"<p>Removes relationship between a product and an asset. Asset is not deleted</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","assets",":asset_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"},{"type":"any","value":"","key":"asset_id"}]}},"response":[{"id":"3435feda-2d27-4574-9f2a-300c7db9cb8c","name":"204 Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","assets",":asset_id"],"variable":[{"key":"product_id","value":""},{"key":"asset_id","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"5c84c3bf-a25b-46f6-8196-b2be336d4064","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/assets/:asset_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","assets",":asset_id"],"variable":[{"key":"product_id","value":""},{"key":"asset_id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset_id\",\n                \"msg\": \"asset id 5c483ee8eb9139000154dd53 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n            }\n        ],\n        \"msg\": \"asset id 5c483ee8eb9139000154dd53 is not related to product id 5c4ad0e1575fae0020dd7dde\"\n    }\n}"}],"_postman_id":"be206b0a-9d3a-4e57-b6a1-50ed378c1d39"}],"id":"6124600b-d2a8-4692-a99e-dfe5308d0113","_postman_id":"6124600b-d2a8-4692-a99e-dfe5308d0113","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Get product's related assets","id":"2e421576-4ee2-4ebe-aff1-d3e147efa0c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/:product_id/assets","description":"<p>Get all assets related to this product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","assets"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"6a6994c9-7e6f-4d78-9e0f-86b39a51e192","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/<product_id>/assets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"filename\": \"demo.png\",\n            \"file_size\": 39403,\n            \"id\": \"5bfac7d851e7590001486761\",\n            \"thumbnail\": \"https://files.plytix.com/api/v1.1/thumb/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/demo.png\",\n            \"url\": \"https://files.plytix.com/api/v1.1/file/public_files/pim/assets/d1/6d/8e/5b/5b8e6dd17f7f46000c7e9629/images/d8/c7/fa/5b/5bfac7d851e7590001486761/demo.png\"\n        }\n    ]\n}"},{"id":"cf7d9b2d-6131-4981-ac1d-2eb28e10e7cb","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/<product_id>/assets"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"No product found for id 671a315ac5f822881dbe6ab1\"\n    }\n}"}],"_postman_id":"2e421576-4ee2-4ebe-aff1-d3e147efa0c8"},{"name":"Link an existing asset to a product media attribute","id":"211f289e-f849-470d-aa54-dd80986d1ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233275\",\n    \"attribute_label\": \"dummy_media_attribute\"\n}"},"url":"https://pim.plytix.com/api/v2/products/:product_id/assets","description":"<p>Link an existing asset to an existing media attribute of a product.</p>\n<p>All parameters are mandatory:</p>\n<ul>\n<li><p>id of the product.</p>\n</li>\n<li><p>id of the asset.</p>\n</li>\n<li><p>label of the attribute</p>\n</li>\n</ul>\n<p>Unknown parameters will be ignored from request data.</p>\n<p><strong>Note</strong>: This method does not allow the creation of new attributes, nor upload of new assets to your PIM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Type</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>asset id</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n<tr>\n<td><strong>attribute_label</strong></td>\n<td>media attribute label</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p>Assets can be linked to product thumbnail and product custom media attributes. Custom product attributes are located under “attributes” parameter.</p>\n<p><strong>Note</strong>: Assets linked to a single product are restricted to a limit of 300 assets per product.</p>\n<h3 id=\"thumbnail-and-single-media-attribute-linking\">Thumbnail and single media attribute linking</h3>\n<p>To link an existing asset to any of this kind of attribute, asset identifier and attribute_label are mandatory.<br /><strong>Caution:</strong> This action will replace existing asset in thumbnail or single media attribute if present.</p>\n<h3 id=\"media-gallery-attribute-linking\">Media gallery attribute linking</h3>\n<p>To link an existing asset to any of this kind of attribute, asset identifier and attribute_label are mandatory.<br /><strong>Attention:</strong> This action will add the asset to the media gallery attribute.</p>\n<h3 id=\"example-1-link-asset-to-thumbnail\">Example 1: link asset to thumbnail</h3>\n<p>POST /api/v2/products/6397116da02483ebd6dc76e0/assets</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"id\": \"5c4ed8002f0985001e233275\",\n   \"attribute_label\": \"thumbnail\"\n}\n\n</code></pre>\n<h3 id=\"example-2-link-asset-to-custom-attribute\">Example 2: link asset to custom attribute</h3>\n<p>POST /api/v2/products/6397116da02483ebd6dc76e0/assets</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"id\": \"5c4ed8002f0985001e233275\",\n   \"attribute_label\": \"dummy_media_gallery\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","assets"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"28fcf8a5-78d2-4638-b534-4c6299dbc7c5","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233275\",\n    \"attribute_label\": \"thumbnail\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","assets"],"variable":[{"key":"product_id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"location","value":"https://pim.plytix.com/api/v1/products/5c4ed8002f0985001e233275/assets/5c4ed8022f09850020233275","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ed8002f0985001e233275\"\n        }\n    ]\n}"},{"id":"31bbd001-0b4b-457c-8187-80e305d79505","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233275\",\n    \"attribute_label\": \"thumbnail\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","assets"],"variable":[{"key":"product_id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"asset does not exist\"\n            }\n        ],\n        \"msg\": \"Asset id 5c4ed8002f0985001e233275 does not exist\"\n    }\n}"},{"id":"cb52869c-6395-4cc8-bc3b-815d96401c1c","name":"409 Asset already linked","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed8002f0985001e233276\",\n    \"attribute_label\": \"dummy_product_attribute\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","assets"],"variable":[{"key":"product_id","value":""}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"already linked\"\n            }\n        ],\n        \"msg\": \"Asset id 5c4ed8002f0985001e233276 is already linked to product attribute\"\n    }\n}"},{"id":"fbc42bc2-d11e-460d-814a-80211782edc3","name":"422 Asset id is not provided","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"\",\n    \"attribute_label\": \"dummy_attribute_label\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/assets","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","assets"],"variable":[{"key":"product_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"asset.id\",\n                \"msg\": \"asset id not found in request\"\n            }\n        ],\n        \"msg\": \"you must supply an id\"\n    }\n}"}],"_postman_id":"211f289e-f849-470d-aa54-dd80986d1ddb"}],"id":"fbbf7061-8c27-43cc-beaf-89fd1e8fbb77","description":"<p>This section contains resources to get, assign and remove assets to the selected product.</p>\n","_postman_id":"fbbf7061-8c27-43cc-beaf-89fd1e8fbb77","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"categories","item":[{"name":"category","item":[{"name":"Unbind category from product","id":"01492542-8732-4213-81ff-a062bda8a01f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/:product_id/categories/:category_id","description":"<p>Removes relationship between a product and category. Category is not deleted</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","categories",":category_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"},{"type":"any","value":"","key":"category_id"}]}},"response":[{"id":"2e44d524-43c4-4001-abb7-e687680e44cd","name":"204 No content","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories",":category_id"],"variable":[{"key":"product_id","value":""},{"key":"category_id","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"51563341-53b1-49fe-822d-ce636089d478","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories/:category_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories",":category_id"],"variable":[{"key":"product_id","value":""},{"key":"category_id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 6731f3686e1a5c30cfd3b7c3\"\n    }\n}"}],"_postman_id":"01492542-8732-4213-81ff-a062bda8a01f"}],"id":"ccc3db55-14bd-4eea-8b42-ecb5951c0c10","_postman_id":"ccc3db55-14bd-4eea-8b42-ecb5951c0c10","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Get product's related categories","id":"1eea14f0-d289-4eff-96e4-578738569014","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/:product_id/categories","description":"<p>Get all categories related to this product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","categories"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"d821f55c-95fa-41f5-9fb4-b344824cb7fc","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ed7f62f0985001c233276\",\n            \"name\": \"Ground Coffee\",\n            \"path\": [\n                \"Sample Categories\",\n                \"Coffee & Tea\",\n                \"Ground Coffee\"\n            ]\n        },\n        {\n            \"id\": \"5c4ed7f62f0985001c233279\",\n            \"name\": \"Kettles & Teapots\",\n            \"path\": [\n                \"Sample Categories\",\n                \"Kettles & Teapots\"\n            ]\n        }\n    ]\n}"},{"id":"41f48ee5-a35b-425e-85ea-44e828a1c6f8","name":"404 Not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories"],"variable":[{"key":"product_id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ed8002f0985001e233279\"\n    }\n}"}],"_postman_id":"1eea14f0-d289-4eff-96e4-578738569014"},{"name":"Link an existing category to product","id":"c4a1d49a-a431-4d3d-a0e4-e8947098212e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}"},"url":"https://pim.plytix.com/api/v2/products/:product_id/categories","description":"<p>Link an existing category to this product.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","categories"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"8a30c97f-7464-4096-8b49-74f2d6e03c52","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories"],"variable":[{"key":"product_id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"location","value":"https://pim.plytix.com/api/v1/products/5c4ed8002f0985001e233275/categories/5c4ed7f62f0985001c233279","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ed7f62f0985001c233279\",\n            \"name\": \"Kettles & Teapots\",\n            \"path\": [\n                \"Sample Categories\",\n                \"Kettles & Teapots\"\n            ]\n        }\n    ]\n}"},{"id":"ec59d205-6bdf-449c-b370-0a06956e5ec3","name":"404 Product not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories"],"variable":[{"key":"product_id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ed8002f0985001e233279\"\n    }\n}"},{"id":"1877b833-743e-44f0-9373-16900308aa27","name":"409 Category already linked","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233279\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories"],"variable":[{"key":"product_id","value":""}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"category.id\",\n                \"msg\": \"already linked\"\n            }\n        ],\n        \"msg\": \"Category id 5c4ed7f62f0985001c233279 is already linked to product\"\n    }\n}"},{"id":"cb3a511e-f6e3-426c-adff-7e24b243c362","name":"422 Category not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"5c4ed7f62f0985001c233288\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/categories","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","categories"],"variable":[{"key":"product_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"category.id\",\n                \"msg\": \"does not exist\"\n            }\n        ],\n        \"msg\": \"Unknown category 5c4ed7f62f0985001c233288\"\n    }\n}"}],"_postman_id":"c4a1d49a-a431-4d3d-a0e4-e8947098212e"}],"id":"4cdf00da-fd32-416a-90b6-d9f55348b5b5","description":"<p>This section contains resources to get, assign or remove categories to the selected product.</p>\n","_postman_id":"4cdf00da-fd32-416a-90b6-d9f55348b5b5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"variants","item":[{"name":"variant","item":[{"name":"Link variant to a product","id":"d134d646-9acd-4b5b-8be4-f5b64dad5e94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://pim.plytix.com/api/v2/products/:product_id/variant/:variant_id","description":"<p>Link an existing product as a variant of another product</p>\n<p><strong>variant_id</strong> will become a Variant of <strong>product_id</strong></p>\n<ul>\n<li><p>Product can be a Single product or a Parent product</p>\n</li>\n<li><p>Variant must be a Single product</p>\n</li>\n</ul>\n<p>Both product and variant must belong to the same Family or be Unassigned.</p>\n<p>It will return a 204 NO CONTENT upon success.</p>\n<p><strong>⚠️ The result of this operation may cause data loss</strong></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","variant",":variant_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"},{"type":"any","value":"","key":"variant_id"}]}},"response":[{"id":"2ebfbd8b-41f2-4aed-a36d-0a4a7399a272","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","variant",":variant_id"],"variable":[{"key":"product_id","value":""},{"key":"variant_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"184e56b2-0046-4f07-a257-3bcf624179c9","name":"422 Variant is not single","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","variant",":variant_id"],"variable":[{"key":"product_id","value":""},{"key":"variant_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"product_level\",\n                \"msg\": \"Products to link must be single\"\n            }\n        ],\n        \"msg\": \"Link variant - variant product type exception\"\n    }\n}"},{"id":"fbaa0790-64aa-4c85-8347-975bfc7a6065","name":"422 Parent and Variant do not belong to the same family","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","variant",":variant_id"],"variable":[{"key":"product_id","value":""},{"key":"variant_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"Parent and variants must be assigned to the same family\"\n    }\n}"}],"_postman_id":"d134d646-9acd-4b5b-8be4-f5b64dad5e94"},{"name":"Unlink a variant of a product","id":"504f6d24-d1a1-47f7-8652-97b4888b80ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://pim.plytix.com/api/v2/products/:parent_product_id/variant/:variant_id","description":"<p>Removes relationship between a variant and its parent. Variant becomes a Single product.</p>\n<p><strong>⚠️ This action might cause data loss</strong></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":parent_product_id","variant",":variant_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"parent_product_id"},{"type":"any","value":"","key":"variant_id"}]}},"response":[{"id":"7f390805-4bc0-4bd4-b7dc-d986e30e92da","name":"204 No content","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://pim.plytix.com/api/v2/products/:parent_product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":parent_product_id","variant",":variant_id"],"variable":[{"key":"parent_product_id","value":""},{"key":"variant_id","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"cf2a8706-a556-4853-9a81-cd7c2461879f","name":"422 Variant not linked to parent","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://pim.plytix.com/api/v2/products/:parent_product_id/variant/:variant_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":parent_product_id","variant",":variant_id"],"variable":[{"key":"parent_product_id","value":""},{"key":"variant_id","value":""}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"variant\",\n                \"msg\": \"this product is not variant of the parent product\"\n            }\n        ],\n        \"msg\": \"unlinking unrelated products\"\n    }\n}"}],"_postman_id":"504f6d24-d1a1-47f7-8652-97b4888b80ad"}],"id":"b9b145dc-8484-4cdf-afce-516280d0b72a","_postman_id":"b9b145dc-8484-4cdf-afce-516280d0b72a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add a variant of a product","id":"6167eaa0-9838-45b8-ab1f-34b8e45a87d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"new variant from API\",\n    \"label\": \"new variant label\",\n    \"attributes\": {\n        \"description_create_a_rich_text_type_attribute\": \"<b>Variants</b> can be created from the API\",\n        \"price_create_a_decimal_number_type_attribute\": 23.99\n    }\n}"},"url":"https://pim.plytix.com/api/v2/products/:parent_product_id/variants","description":"<p>Add a new product as a variant of another product.</p>\n<p>It's necessary to send a dictionary with the info of the new variant.</p>\n<p>It returns the id of the new product created.</p>\n<p><strong>⚠️ Keep in mind that converting a Single product to a Parent might cause data loss</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sku</td>\n<td>yes</td>\n<td>sku for the new product</td>\n</tr>\n<tr>\n<td>label</td>\n<td>no</td>\n<td>label for the new product. Any other System attribute can be set at the same level</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>no</td>\n<td>custom attribute values for the new products. If you add a parent-level attribute here it will be set as Overwritten</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":parent_product_id","variants"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"parent_product_id"}]}},"response":[{"id":"6548c9bb-c2fa-4473-baf3-86bde8e6e75c","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"new variant from API\",\n    \"label\": \"new variant label\",\n    \"attributes\": {\n        \"description_create_a_rich_text_type_attribute\": \"<b>Variants</b> can be created from the API\",\n        \"price_create_a_decimal_number_type_attribute\": 23.99\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:parent_product_id/variants","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":parent_product_id","variants"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Location","value":"https://pim.plytix.com/api/v1/products/5c4eeb97050d860001717698","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {            \n            \"id\": \"6734ac432bbf7d289efd7988\",\n            \"created\": \"2024-11-13T13:40:19.620951\",\n            \"created_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n            \"modified\": \"2024-11-13T13:40:19.707781\",\n            \"modified_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            }\n        }\n    ]\n}"},{"id":"0d313bf1-8e16-47d5-8c76-499e04deb716","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"this is a duplicated sku\",\n    \"label\": \"new variant label\",\n    \"attributes\": {\n        \"description_create_a_rich_text_type_attribute\": \"<b>Variants</b> can be created from the API\",\n        \"price_create_a_decimal_number_type_attribute\": 23.99\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:parent_product_id/variants","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":parent_product_id","variants"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"sku\",\n                \"msg\": \"A product with the same SKU already exists\"\n            }\n        ],\n        \"msg\": \"product data validation failed\"\n    }\n}"}],"_postman_id":"6167eaa0-9838-45b8-ab1f-34b8e45a87d6"},{"name":"Resync variants","id":"8aa1772d-25f9-4fe2-a0c3-2c97b74fcbae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"attribute_label_1\",\n        \"attribute_label_2\"\n    ],\n    \"variant_ids\": [\n        \"<variant_id_1>\",\n        \"<variant_id_2>\"\n    ]\n}"},"url":"https://pim.plytix.com/api/v2/products/:parent_product_id/variants/resync","description":"<p>Restore the attributes at parent level of the variant with the value of the parent</p>\n<p>It's necessary to send two list, one with the labels of the attributes and another with the ids of the variant products.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attribute_labels</td>\n<td>yes</td>\n<td>List of attribute labels to reset. These attributes must be at a parent level</td>\n</tr>\n<tr>\n<td>variant_ids</td>\n<td>yes</td>\n<td>List of variant ids that are going to restore the value for the parent attributes. These ids must be variants of the parent product</td>\n</tr>\n</tbody>\n</table>\n</div><p>A 200 OK is returned upon success.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":parent_product_id","variants","resync"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"parent_product_id"}]}},"response":[{"id":"1a22a588-86f7-495f-9a05-616223f1a780","name":"200 Ok","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"attribute_label_1\",\n        \"attribute_label_2\"\n    ],\n    \"variant_ids\": [\n        \"<variant_id_1>\",\n        \"<variant_id_2>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:parent_product_id/variants/resync","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":parent_product_id","variants","resync"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"c147d3f1-5f6a-45be-8dc7-d854eb80a666","name":"400 Bad request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"attribute_at_variant_level\",\n        \"attribute_label_2\"\n    ],\n    \"variant_ids\": [\n        \"<variant_id_1>\",\n        \"<variant_id_2>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:parent_product_id/variants/resync","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":parent_product_id","variants","resync"],"variable":[{"key":"parent_product_id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"attribute_labels\",\n                \"msg\": \"attributes.attribute_at_variant_level not a parent attribute from family model\"\n            }\n        ],\n        \"msg\": \"You must only supply attributes from parent product when accessing this resource\"\n    }\n}"}],"_postman_id":"8aa1772d-25f9-4fe2-a0c3-2c97b74fcbae"}],"id":"9a50dbf3-cbe3-4b79-bc20-87ff17f4c539","description":"<p>This section contains resources to assign, create, remove or update variants to the selected product.</p>\n<p>In this section, we will talk about 3 types of products:</p>\n<ul>\n<li><p><strong>Parents</strong>: those products with variants.</p>\n</li>\n<li><p><strong>Variants</strong>: those products that are children of a parent.</p>\n</li>\n<li><p><strong>Sub-variants</strong>: those products that are children of a variant.</p>\n</li>\n<li><p><strong>Singles</strong>: those products that are neither parents nor variants.</p>\n</li>\n</ul>\n<p>Note that if the product has a family with attribute inheritance enabled, those attributes will be inherited from their specified level.</p>\n","_postman_id":"9a50dbf3-cbe3-4b79-bc20-87ff17f4c539","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"relationships","item":[{"name":"Assign products to relationship","id":"a1d6047f-e758-418c-9303-b0509f7c46cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d190245f\"\n        },\n        {\n            \"quantity\": 9,\n            \"product_id\": \"5d0baf07d4bf5513d1902460\"\n        },\n        {\n            \"quantity\": 6,\n            \"product_id\": \"5d0baf07d4bf5513d1902461\"\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d1902462\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products/:product_id/relationships/:relationship_id","description":"<p>Assign products to an existing relationship</p>\n<p><strong>Note:</strong> If the payload includes a product that doesn't exist or has already been added, it will be silently ignored. No error will be returned, as the system avoids extra processing to check for product validity.</p>\n<p>A 200 OK status code is returned upon success</p>\n<h1 id=\"request-format\">Request format</h1>\n<p>To assing a product to any relationship, the id of the product to be related along with its quantity must be provided.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_relationships</td>\n<td>Array of objects</td>\n<td>list with product and quantities</td>\n</tr>\n</tbody>\n</table>\n</div><p>A <em>product_relationship</em> object is defined by:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>string</td>\n<td>product identifier</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>number</td>\n<td>relationship quantity</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","relationships",":relationship_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"},{"type":"any","value":"","key":"relationship_id"}]}},"response":[{"id":"23141e86-1b60-4bb8-9642-7d6092042fb7","name":"Assign products to a relationship","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d190245f\"\n        },\n        {\n            \"quantity\": 9,\n            \"product_id\": \"5d0baf07d4bf5513d1902460\"\n        },\n        {\n            \"quantity\": 6,\n            \"product_id\": \"5d0baf07d4bf5513d1902461\"\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d1902462\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","relationships",":relationship_id"],"variable":[{"key":"product_id","value":""},{"key":"relationship_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a1d6047f-e758-418c-9303-b0509f7c46cd"},{"name":"Remove products from a relationship","id":"7b466601-7f49-47f3-88cb-34730a5f19f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        \"671b9614919135f2b585e0z2\", \"671b9614919135f2b585e0c3\"\n    ]\n}"},"url":"https://pim.plytix.com/api/v2/products/:product_id/relationships/:relationship_id","description":"<p>Remove products from an existing relationship</p>\n<p><strong>Note:</strong> If the payload includes a product that doesn't exist or is not linked to the product, it will be silently ignored. No error will be returned, as the system avoids extra processing to check for product validity.</p>\n<p>A 204 No Content status code is returned upon success</p>\n<h1 id=\"request-format\">Request format</h1>\n<p>Request format is a dictionary with \"product_relationships\" as key, and a list of relatiosnhips to unlik as value.<br />Ids that does not belong the relationship in that product will be ignored</p>\n","urlObject":{"protocol":"https","path":["api","v2","products",":product_id","relationships",":relationship_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"},{"type":"any","value":"","key":"relationship_id"}]}},"response":[{"id":"26343a24-cbd1-482a-a3bd-5a4e647d54e8","name":"Remove products from a relationship","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        \"671b9614919135f2b585e0z2\", \"671b9614919135f2b585e0c3\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","relationships",":relationship_id"],"variable":[{"key":"product_id","value":""},{"key":"relationship_id","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"7b466601-7f49-47f3-88cb-34730a5f19f9"},{"name":"Modify relationship attributes","id":"dac777ca-35a3-4f52-954a-0158172845ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d190245f\"\n        },\n        {\n            \"quantity\": 9,\n            \"product_id\": \"5d0baf07d4bf5513d1902460\"\n        },\n        {\n            \"quantity\": 6,\n            \"product_id\": \"5d0baf07d4bf5513d1902461\"\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d1902462\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products/:product_id/relationships/:relationship_id","description":"<p>Modify selected relationship attributes</p>\n<p>Modify the quantity of the related products.  </p>\n<p><strong>Note:</strong> If the payload includes a product that doesn't exist or is not linked to the product, it will be silently ignored. No error will be returned, as the system avoids extra processing to check for product validity.  </p>\n<p>A 200 OK status code will be returned upon successful call</p>\n<h1 id=\"request-format\">Request format</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_relationships</td>\n<td>Array of objects</td>\n<td>list with product and quantities</td>\n</tr>\n</tbody>\n</table>\n</div><p>A <em>product_relationship</em> object is defined by:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>string</td>\n<td>product identifier</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>number</td>\n<td>relationship quantity</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","relationships",":relationship_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"},{"type":"any","value":"","key":"relationship_id"}]}},"response":[{"id":"709e2c10-8a23-475b-9908-d352e6fbb737","name":"Modify association attributes","originalRequest":{"method":"PATCH","header":[{"key":"Conten-Type","value":"application/json","type":"text","disabled":true},{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_relationships\": [\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d190245f\"\n        },\n        {\n            \"quantity\": 9,\n            \"product_id\": \"5d0baf07d4bf5513d1902460\"\n        },\n        {\n            \"quantity\": 6,\n            \"product_id\": \"5d0baf07d4bf5513d1902461\"\n        },\n        {\n            \"quantity\": 1,\n            \"product_id\": \"5d0baf07d4bf5513d1902462\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","relationships",":relationship_id"],"variable":[{"key":"product_id","value":""},{"key":"relationship_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"dac777ca-35a3-4f52-954a-0158172845ad"}],"id":"5af32877-11cd-422e-894d-e0fee3538be7","description":"<p>This section contains resources to assign, remove or update related products to the selected product.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1de87714-d314-4b23-8143-c6e73daaed81"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a30a55e3-fb26-45c6-8737-acefbe327365"}}],"_postman_id":"5af32877-11cd-422e-894d-e0fee3538be7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Removes product from the system","id":"95b67a94-b7a1-42b7-a022-d515b699e52b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/:product_id","description":"<p>Removes a product from the PIM</p>\n<p><strong>WARNING</strong>: All variants linked to this product will be removed.</p>\n<p>If there are any variants you do not want to delete,<br />they must be unlinked from the parent first, which will turn them into single products.</p>\n<p>204 code is returned upon success</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"caa98be4-2304-4d83-b479-ecd5a1570099","name":"204 No Content","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"c8ce5165-4f3f-498b-9217-f31439d9a29e","name":"404 Not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id"],"variable":[{"key":"product_id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \"No results found for 5c4ad0e1575fae0020dd7eef\"\n    }\n}"}],"_postman_id":"95b67a94-b7a1-42b7-a022-d515b699e52b"},{"name":"Get product data","id":"68a97c2c-a0b4-43ec-8a55-463e55b3e6c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v2/products/:product_id","description":"<p>Gets product attributes</p>\n<p>Every product has two sets of attributes, first set is always returned when you GET a<br />product and its formed by attributes shown in the following table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Readonly</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em><strong>sku</strong></em></td>\n<td>string</td>\n<td></td>\n<td><strong>yes</strong></td>\n</tr>\n<tr>\n<td>label</td>\n<td>string</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>gtin</td>\n<td>string</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>created</td>\n<td>date</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>modified</td>\n<td>date</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>num_variations  <br />  <br />* <em>Number of variants connected to the product</em></td>\n<td>integer</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>asset_ids</td>\n<td>string array</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>category_ids</td>\n<td>string array</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>string array</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>product_family_id</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>overwritten_attributes</td>\n<td>string array</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>product_type</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>The second set of attributes is formed by custom product attributes and only will be returned if they are set. Empty attributes will be stripped from the output.</p>\n<p>This API version supports the following set of custom attributes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Short text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Paragraph</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Rich text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Integer number</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>Decimal number</td>\n<td>decimal</td>\n</tr>\n<tr>\n<td>Dropdown</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Multiselect</td>\n<td>string array</td>\n</tr>\n<tr>\n<td>URL</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Media</td>\n<td>string array</td>\n</tr>\n<tr>\n<td>Media Gallery</td>\n<td>string array</td>\n</tr>\n<tr>\n<td>Boolean</td>\n<td>bool</td>\n</tr>\n<tr>\n<td>Date</td>\n<td>String date  <br />ISO 8601 Format</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notice that this endpoint <strong>will not return the media or categories structure.</strong> To get that endpoints you have to make another request with the specific endpoint</p>\n<p>200 code is returned upon success</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"bc289e67-b43f-457f-9405-7b47f40d752d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"67348b7e2bbf7d289efd7984\",\n            \"created\": \"2024-11-13T11:20:30.578000\",\n            \"account_id\": \"5b30cfabe6eecf41df89a3a3\",\n            \"assets\": [\n                \"671b5ffcc0c8f0e5fd21b9b9\",\n                \"671918ceb301fed08f12f804\",\n                \"671918c4b301fed08f12f803\"\n            ],\n            \"attributes\": {\n                \"boolean\": true,\n                \"completeness\": 71.43,\n                \"date\": \"2015-03-28\",\n                \"decimal\": 12.3,\n                \"integer\": 123,\n                \"media_gallery\": [\n                    \"671b5ffcc0c8f0e5fd21b9b9\",\n                    \"671918ceb301fed08f12f804\"\n                ],\n                \"media_single\": [\n                    \"671918c4b301fed08f12f803\"\n                ],\n                \"short_text\": \"lorem ipsum\",\n                \"url\": \"http://acme.com\"\n            },\n            \"categories\": [\n                \"67191873b301fed08f12f7fb\"\n            ],\n            \"created_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n            \"label\": \"Adventure mug\",\n            \"mark_as_deleted\": false,\n            \"modified\": \"2024-11-13T12:12:20.698000\",\n            \"modified_user_audit\": {\n                \"type\": \"USER\",\n                \"user_email\": \"user@email.com\",\n                \"user_id\": \"5e678436cc9e97962c059bd7\",\n                \"user_last_name\": \"God\",\n                \"user_name\": \"The Owner\",\n                \"user_thumb\": \"https://static.plytix.com/template/3.14.0/img/user-default-image.png\",\n                \"username\": \"5e678436cc9e97962c059bd7\"\n            },\n            \"num_variations\": 0,\n            \"overwritten_attributes\": [],\n            \"product_level\": 0,\n            \"relationships\": [\n                {\n                    \"relationship_label\": \"related_to\",\n                    \"relationship_id\": \"6372284da99fdeceabff05ba\",\n                    \"related_products\": [\n                        {\n                            \"product_id\": \"669fdaed59cf441db9df928b\",\n                            \"quantity\": 1\n                        },\n                        {\n                            \"product_id\": \"669fdaed59cf441db9df928d\",\n                            \"quantity\": 1\n                        }\n                    ]\n                },\n                {\n                    \"relationship_label\": \"matching_products\",\n                    \"relationship_id\": \"6372284da99fdeceabff05b9\",\n                    \"related_products\": [\n                        {\n                            \"product_id\": \"669fdaf12a51570ff89b343a\",\n                            \"quantity\": 1\n                        },\n                        {\n                            \"product_id\": \"669fdaf12a51570ff89b3438\",\n                            \"quantity\": 1\n                        },\n                        {\n                            \"product_id\": \"669fdaf12a51570ff89b3436\",\n                            \"quantity\": 1\n                        },\n                        {\n                            \"product_id\": \"669fdaf12a51570ff89b3434\",\n                            \"quantity\": 1\n                        },\n                        {\n                            \"product_id\": \"669fdaf12a51570ff89b3432\",\n                            \"quantity\": 1\n                        },\n                        {\n                            \"product_id\": \"669fdaf12a51570ff89b3430\",\n                            \"quantity\": 1\n                        }\n                    ]\n                }\n            ],\n            \"sku\": \"red adventure mug S02223\",\n            \"static_list_ids\": [],\n            \"status\": \"Draft\",\n            \"thumbnail\": [\n                \"671b5ffcc0c8f0e5fd21b9b9\"\n            ],\n            \"product_type\": \"SINGLE\"\n        }\n    ]\n}"},{"id":"15c62532-6ff0-4a54-978b-d2c0986fa403","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id"],"variable":[{"key":"product_id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ec5afb3bfd10001e45603\"\n    }\n}"}],"_postman_id":"68a97c2c-a0b4-43ec-8a55-463e55b3e6c9"},{"name":"Modify selected attributes of a product","id":"1bca8948-e7eb-433c-a47d-4107e2260777","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Blue\"\n        ],\n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\",\n        \"price_create_a_decimal_number_type_attribute\": null\n    },\n    \"label\": \"Product ~ 1 - patch example\",\n    \"status\": \"Completed\"\n}"},"url":"https://pim.plytix.com/api/v2/products/:product_id","description":"<p>Modifies attributes from product, leaving the rest unchanged. It will return the id of the product updated.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"b9683585-069a-4ab8-9579-0f0250dcaa72","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Blue\"\n        ],\n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\",\n        \"price_create_a_decimal_number_type_attribute\": null\n    },\n    \"label\": \"Product ~ 1 - patch example\",\n    \"status\": \"Completed\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ed8002f0985001e233275\",\n            \"created\": \"2019-01-28T10:22:56.817000+00:00\",\n            \"modified\": \"2019-01-28T10:24:44.792000+00:00\",\n            \"created_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n            \"modified_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            }\n        }\n    ]\n}"},{"id":"aa16d2f3-62fd-4b00-8718-9b180d9f1e76","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Blue\"\n        ],\n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\",\n        \"price_create_a_decimal_number_type_attribute\": null\n    },\n    \"label\": \"Product ~ 1 - patch example\",\n    \"status\": \"Completed\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id"],"variable":[{"key":"product_id","value":""}]}},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"product does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 5c4ed8002f0985001e233279\"\n    }\n}"},{"id":"d9e0015d-20f3-4f84-8e29-c153ad917081","name":"422 Unprocessable entity","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n            \"Red\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id"],"variable":[{"key":"product_id","value":""}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"color_create_a_multiselect_type_attribute\",\n                \"msg\": \"[u'Red'] are not a valid values for Color (Create a multiselect type attribute) attribute.\"\n            }\n        ],\n        \"msg\": \"product data validation failed\"\n    }\n}"}],"_postman_id":"1bca8948-e7eb-433c-a47d-4107e2260777"},{"name":"Assign family","id":"993aaa36-77fe-465f-af1a-aa900bbb63ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_family_id\": \"<product_family_id>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products/:product_id/family","description":"<p>Assign family to a product. It will return the id of the product and the modification date.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>parameter</strong></th>\n<th><strong>description</strong></th>\n<th><strong>mandatory</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_family_id</td>\n<td>id of the product family that is going to be assigned to the product</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"important-notes\">Important notes:</h1>\n<ul>\n<li><p>Changing product family might cause data loss</p>\n</li>\n<li><p>Product families cannot be assigned to Variant products</p>\n</li>\n<li><p>Changing the product family will change the same fields of the variants</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products",":product_id","family"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_id"}]}},"response":[{"id":"7785b393-5a5f-4016-8f26-7c1240b6511e","name":"200 OK Unassign family to an assigned product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_family_id\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/family","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","family"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"641887f2d10eec81d978e10e\",\n            \"created\": \"2023-03-21T13:33:06.925000+00:00\",\n            \"modified\": \"2023-03-22T13:33:06.925000+00:00\",\n            \"created_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n            \"modified_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            }\n        }\n    ]\n}"},{"id":"72736085-adb3-4bfc-b808-00bbbca4b559","name":"200 OK Assign family to a parent product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_family_id\": \"6422dd98d732cac61a58431e\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v2/products/:product_id/family","protocol":"https","host":["pim","plytix","com"],"path":["api","v2","products",":product_id","family"],"variable":[{"key":"product_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"641887f2d10eec81d978e10e\",\n            \"created\": \"2023-03-21T13:33:06.925000+00:00\",\n            \"modified\": \"2023-03-22T13:33:06.925000+00:00\",\n            \"created_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n            \"modified_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            }\n        }\n    ]\n}"}],"_postman_id":"993aaa36-77fe-465f-af1a-aa900bbb63ad"}],"id":"71ea33da-1e15-42ec-9795-cacc74dfa974","_postman_id":"71ea33da-1e15-42ec-9795-cacc74dfa974","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add new products","id":"5a6d2e16-691c-4d9a-835c-d0b309c6368b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_data\": \"your_product_data\"\n}"},"url":"https://pim.plytix.com/api/v2/products","description":"<p>Creates a product</p>\n<p>There's only a mandatory parameter, <em>sku</em> of the product. Readonly and unknown parameters will be<br />ignored from request data.</p>\n<p><strong>Note</strong>: This method does not allow the creation of new attributes, categories or assets.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em><strong>sku</strong></em></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p>Custom product attributes are located under “attributes” parameter. Thumbnail, assets, categories, media and media galleries<br />can be <em>linked</em> to a product.</p>\n<p>Upon successful creation, a 201 http status code will be returned. The id of the new product will be included in the response.</p>\n<h3 id=\"thumbnail-assets-and-media-attribute-linking\">Thumbnail, assets and media attribute linking</h3>\n<p>You are not allowed to upload any new assets to your PIM account using this resource, thats Asset's endpoint business, but<br />you are allowed to <em>link</em> existing assets into your product.<br />To link an existing asset to any of this kind of attribute, only asset identifier is mandatory</p>\n<h3 id=\"media-gallery\">Media gallery</h3>\n<p>Media gallery contains a collection of medias, so in this case you need to indicate an array of <em>asset</em> objects.<br />All constraints described in asset linking section apply.</p>\n<h3 id=\"categories-linking\">Categories linking</h3>\n<p>All constrains described in asset linking section apply to categories. Only <em>id</em> of the category is mandatory.</p>\n<h3 id=\"example-1-product-creation\">Example 1. Product creation</h3>\n<p>POST /api/v2/products/</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"sku\": \"blue adventure mug S023\",\n   \"label\": \"Adventure mug\",\n   \"attributes\" : {\n          \"stock\" : 123,\n          \"vendor_url\": \"http://acme.com\",\n          \"since\": \"2015-03-28\",\n          \"Media_gallery\":[\n                {\"id\":\"5bfaced551e7590001486763\"},\n                {\"id\":\"5bfaced551e7590001486765\"}\n          ],\n            \"media_single_1\": {\"id\":\"5bfaced551e7590001486764\"},\n      },\n    \"categories\": [\n           {\n               \"id\": \"5bfa91ab8544120001bd9078\"\n           }\n    ]\n}\n\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">201 CREATED\nBODY\n{\n    \"data\": [\n        {\n            \"id\": \"5bfad5ca5b84b100017a8f5a\",\n            \"created\": \"2018-11-25T17:03:06.596000+00:00\",\n            \"modified\": \"2018-11-25T17:03:06.628000+00:00\",\n            \"created_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n            \"modified_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"49402e8a-bd1e-4ec7-9d55-2b754e99d8d9","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"Black Kettle\",\n    \"label\": \"Black Kettle\",\n    \"status\": \"Complete\",\n    \"assets\": [ {\"id\": \"5c4eefca908d2d00011c8e0c\"} ],\n      \"attributes\": {\n        \"color_create_a_multiselect_type_attribute\": [\n          \"Blue\"\n        ], \n        \"description_create_a_rich_text_type_attribute\": \"Try making the description a <b>Rich Text</b> attribute so that you can format the text however you'd like.\"\n      }, \n      \"categories\": [\n        {\n          \"id\": \"5c4ed7f62f0985001c233276\", \n          \"name\": \"Ground Coffee\", \n          \"path\": [\n            \"Sample Categories\", \n            \"Coffee & Tea\", \n            \"Ground Coffee\"\n          ]\n        }, \n        {\n          \"id\": \"5c4ed7f62f0985001c233278\", \n          \"name\": \"Drinkware\", \n          \"path\": [\n            \"Sample Categories\", \n            \"Drinkware\"\n          ]\n        }, \n        {\n          \"id\": \"5c4ed7f62f0985001c233279\", \n          \"name\": \"Kettles & Teapots\", \n          \"path\": [\n            \"Sample Categories\", \n            \"Kettles & Teapots\"\n          ]\n        }\n      ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Location","value":"https://pim.plytix.com/api/v1/products/5c4ef3a9bedb5e000189befc","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c4ef3a9bedb5e000189befc\",\n            \"created\": \"2019-01-28T12:20:57.341000+00:00\",\n            \"modified\": \"2019-01-28T12:20:57.437000+00:00\",\n            \"created_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            },\n            \"modified_user_audit\": {\n                \"type\": \"API\",\n                \"user_email\": \"api\",\n                \"user_id\": \"67191ed7d6e8e300016f1414\",\n                \"user_name\": \"api\"\n            }\n        }\n    ]\n}"},{"id":"3761e0a6-ba1f-4088-812c-854b8a8b6683","name":"400 Bad request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"http_status_code\",\n                \"msg\": 400\n            }\n        ],\n        \"msg\": \"Failed to decode JSON object: Expecting property name enclosed in double quotes: line 2 column 5 (char 6)\"\n    }\n}"},{"id":"84ecf51f-7325-4364-9e54-71454488c1dd","name":"422 Unprocessable entity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"Black Kettle\",\n    \"label\": \"Black Kettle\",\n    \"status\": \"Complete\"\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"status\",\n                \"msg\": \"Value is not valid, valid values are [Draft, Completed, Archived]\"\n            }\n        ],\n        \"msg\": \"product data validation failed\"\n    }\n}"}],"_postman_id":"5a6d2e16-691c-4d9a-835c-d0b309c6368b"},{"name":"Product search","id":"1cdf025d-9784-4881-9dbc-3a49c5291a3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"field\": \"status\",\n                \"operator\": \"eq\",\n                \"value\": \"Draft\"\n            },\n            {\n                \"field\": \"categories\",\n                \"operator\": \"in\",\n                \"value\": [\n                    \"5c4ed7f62f0985001c233274\"\n                ]\n            }\n        ],\n        [\n            {\n                \"field\": \"categories\",\n                \"operator\": \"!exists\",\n                \"value\": null\n            }\n        ]\n    ],\n    \"attributes\": [\n        \"thumbnail\",\n        \"assets\",\n        \"label\",\n        \"categories\",\n        \"modified\",\n        \"created\",\n        \"status\"\n    ],\n    \"pagination\": {\n        \"order\": \"sku\",\n        \"page\": 1,\n        \"page_size\": 25\n    }\n}"},"url":"https://pim.plytix.com/api/v2/products/search","description":"<p>Filter product by multiple criteria</p>\n<p>Filter structure and format is described under <a href=\"#resources\">Resources</a> section in this guide</p>\n<p>Product search has also support to filter products based on relationship properties. Relationship filter structure and format is described later in this document.</p>\n<p><strong>Please take notice of the use of attribute labels instead of attribute names in the request</strong> (see more examples below)</p>\n<p>Also <strong>take into account that the response now will not return the media or categories structure</strong>. To get that info, you have to use the specific endpoints for that</p>\n<h1 id=\"restrictions\">Restrictions</h1>\n<ul>\n<li><p>Search requests</p>\n<ul>\n<li><p>Requests are limited to 50 attributes (plus ID and SKU which are always returned). Attributes (both system and user) and properties count in this limit. Requests having more than 50 attributes will be rejected and a 422 code will be returned from API</p>\n</li>\n<li><p><strong>User attributes MUST be prefixed with “attributes.” (including the dot at the end) + the label of the attribute</strong> . So for example, if there is an attribute named “In Stock” and labeled as \"in_stock\" we MUST add it to the request as “attributes.in_stock”. <strong>Attribute names and labels</strong> can be obtained by<br />  means of the filters/product endpoint</p>\n</li>\n<li><p><strong>Relationship columns can also be requested. These MUST be prefixed with “relationships.” (including the dot at the end) + the label of the relationship</strong> (response is described in later in this section). Examples:</p>\n<ul>\n<li><p>relationships.gift_basket</p>\n</li>\n<li><p>relationships.recommended_products</p>\n</li>\n</ul>\n</li>\n<li><p>Search filters MUST include all necessary columns. If an attribute is not explicitly requested it won’t be returned by the API.<br />  Available attributes can be obtained by means of the available <a href=\"https://pim.plytix.com/api/v1/filters/\">https://pim.plytix.com/api/v1/filters/</a> endpoint. “key” value is what MUST be used in requests.<br />  Requesting non-existing attributes will return a 422 error code<br />  You are allowed to sort by columns not included in “attributes” field however this attribute won’t be returned <strong>User attributes MUST be prefixed with “attributes.” (including the dot at the end) + the label of the attribute</strong></p>\n</li>\n<li><p>Search filters will return a 422 error code if any of the following conditions are met:<br />  a) The field does not exist<br />  b) Operator is not allowed for the given field (available operators and fields can be obtained using /filters/{item} endpoint)<br />  c) Value has no meaning for the given operator. The arity of available operators can be found in API documentation</p>\n</li>\n<li><p>Search filters will return a 428 status code if the filtered results include more than 10000 products and the order field is filled.</p>\n</li>\n<li><p>Pagination: the number of items that can be requested (pagination.page_size) is limited to a maximum of 100 items. A 422 code will be returned from API if this limit is exceeded. If pagination is omitted 25 items of the first page will be returned</p>\n</li>\n<li><p>Only one relationship can be selected in filters</p>\n</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"relationship-information-in-responses\">Relationship information in responses</h1>\n<p>When relationship columns are requested, product response will include a new field named ‘relationships’ with the following structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>relationships</td>\n<td>relationship array</td>\n<td>array of relationship information</td>\n</tr>\n</tbody>\n</table>\n</div><p>Relationship information</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>relationship_id</td>\n<td>relationship id</td>\n<td>string</td>\n</tr>\n<tr>\n<td>label</td>\n<td>relationship label</td>\n<td>string</td>\n</tr>\n<tr>\n<td>related_products</td>\n<td>related products</td>\n<td>Array of product relationship data</td>\n</tr>\n</tbody>\n</table>\n</div><p>Relationship Data</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>product ID</td>\n<td>string</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>quantity</td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Attributes: [\"categories\", \"label\", \"attributes.color\", \"relationships.gift_basket\"]\n{\n     \"id\": \"5d8200527313382d939838c4\",\n     \"sku\": \"1234567890\",\n     \"categories\": [],\n     \"label\": \"Strawberry_soap\",\n     \"attributes\": {\n         \"color\": \"red\" \n     },\n     \"relationships\": [\n       {\n         \"relationship_id\": \"5ddbf89efbe0f86e3c1574c6\",\n         \"label\": \"gift_basket\",\n         \"related_products\": [\n           {\n             \"product_id\": \"5c98ef754a6c252c96793574\",\n             \"quantity\": 1\n           }\n         ]\n       }\n     ],\n   }\n\n</code></pre><h1 id=\"relationship-filters\">Relationship filters</h1>\n<p>This section describes the structure and format for relationship filters. A Relationship filter is compound of several fields, some of them are mandatory while others depend on the values and options selected.</p>\n<h2 id=\"structure\">Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>relationship_id</td>\n<td>relationship Identifier</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operator</td>\n<td>only ‘exists’ and ‘!exists’ are supported</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>product_ids</td>\n<td>list of product constraints</td>\n<td>NO</td>\n<td>Array of object (only for “exists” operator)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Complex filters can be built defining additional constraints on relationship quantity operator when relationship “exists” operator is selected. Please check the examples section.</p>\n<h3 id=\"product_ids-structure\">Product_ids structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>product id</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>qty_operator</td>\n<td>quantity operator</td>\n<td>YES</td>\n<td>string</td>\n</tr>\n<tr>\n<td>value</td>\n<td>filter value</td>\n<td>string</td>\n<td>array of integer</td>\n</tr>\n</tbody>\n</table>\n</div><p>Available operators:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Arity</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Existence check.  <br />True when the item has its value defined</td>\n</tr>\n<tr>\n<td>!exists</td>\n<td>Unary</td>\n<td>-</td>\n<td>Non-existence check.  <br />True when the item has its value undefined</td>\n</tr>\n<tr>\n<td>eq</td>\n<td>Binary</td>\n<td>value</td>\n<td>Equality check.  <br />True if the item has the same value as the one provided  <br />When applied to a text value, the comparison ignores case</td>\n</tr>\n<tr>\n<td>in</td>\n<td>Binary</td>\n<td>list</td>\n<td>Match check.  <br />Determines if the value matches any of the values specified in the list  <br /><strong>Note</strong>: Multiselect and Dropdown attributes are case sensitive</td>\n</tr>\n<tr>\n<td>gt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than.  <br />True if items' value is greater than provided</td>\n</tr>\n<tr>\n<td>gte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Greater than or equal to.  <br />True if item's value is greater than or equal to provided</td>\n</tr>\n<tr>\n<td>lt</td>\n<td>Binary</td>\n<td>value</td>\n<td>Less than.  <br />True if item's value is less than provided</td>\n</tr>\n<tr>\n<td>lte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Less than or equal to.  <br />True if item's value is less than or equal to provided</td>\n</tr>\n<tr>\n<td>bte</td>\n<td>Binary</td>\n<td>value</td>\n<td>Between. Requires two values  <br />True if item's value is between provided values</td>\n</tr>\n<tr>\n<td>last_days</td>\n<td>Unary</td>\n<td>value</td>\n<td>Date is greater than the given days check.  <br />The filter will only take into account full days (current time is dismissed)</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"examples\">Examples</h1>\n<p>1.- Return default page (1) with default items per page (25) using default order (no order)<br />Note that this query will return just ID and SKU as no <em>attributes</em> have been provided</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n     \"filters\":[\n        [\n            {\"field\":\"modified\",\"operator\":\"gt\",\"value\":\"2018-11-01\"},\n            {\"field\":\"modified\",\"operator\":\"lt\",\"value\":\"2018-11-30\"}\n        ],\n        [\n            {\"field\":\"attributes.name\",\"operator\":\"like\",\"value\":\"unicorn\"}\n        ]\n        ]\n }\n\n</code></pre>\n<p>2.- Return default page (1) with default items per page (25) using default order (no order) of product attributes SKU, Label and user attributes \"In Stock\" and \"Volumen (liters)\". <strong>Please take notice of the the use of attribute labels instead of attribute names in the request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n     \"attributes\":[\"sku\", \"label\", \"attributes.in_stock\", \"attributes.volume_liters\"]\n }\n\n</code></pre>\n<p>3.- Return page 3 of products modified [ between November the 1st AND November the 30th] OR [ contains the literal 'unicorn' ] ordered by SKU descending<br />returning system_attributes: id, sku, created, and user attribute \"In Stock\", \"Product name\", \"Quantity\" (labels: in_stock, name, qty)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"filters\":[\n        [\n            {\"field\":\"modified\",\"operator\":\"gt\",\"value\":\"2018-11-01\"},\n            {\"field\":\"modified\",\"operator\":\"lt\",\"value\":\"2018-11-30\"}\n        ],\n        [\n            {\"field\":\"attributes.name\",\"operator\":\"like\",\"value\":\"unicorn\"}\n        ]\n        ],\n    \"pagination\":{\"order\":\"-sku\",\"page\":3,\"page_size\":25},\n    \"attributes\":[\"created\", \"attributes.in_stock\", \"attributes.name\", \"attributes.qty\"]\n}\n\n</code></pre>\n<h1 id=\"relationship-filter-examples\">Relationship filter examples</h1>\n<p>The following examples assume that:</p>\n<ul>\n<li><p>There is a Symmetrical relationship named ‘Recommended products’.RP-001 is recommended with RP-002 (quantity 2) and RP-003 (quantity 3).<br />  So RP-002 is recommended with RP-001, and RP-003 is recommended with RP-001, however RP-002 is not related to RP-003.</p>\n</li>\n<li><p>There is an Asymmetrical relationship named “Gift basket”.<br />  Product GF-Basket ‘includes’ GF-Wine (2 bottles), GF-Chocolates (3 packs), GF-Emmental (1 piece)</p>\n</li>\n</ul>\n<ol>\n<li><p>Find products where the “recommended products” relationship is defined (exists).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n       \"attributes\":[\"relationships.recommended_products\"],\n       \"filters\":[],\n       \"relationship_filters\":[[\n         {\n           \"relationship_id\":\"5d89c6c696c8f4a322df4bbc\",\n           \"operator\":\"exists\",\n           \"product_ids\":[],\n         }]],\n       \"pagination\": {\n         \"order\":\"\",\n         \"page\":1,\n         \"page_size\":25\n       }\n      }\n\n</code></pre><p> The response should include RP-001, RP-002, and RP-003</p>\n</li>\n<li><p>Find products where “recommended products” is not defined (!exists).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n       \"attributes\":[\"relationships.recommended_products\"],\n       \"filters\":[],\n       \"relationship_filters\":[[\n         {\n           \"relationship_id\":\"5d89c6c696c8f4a322df4bbc\",\n           \"operator\":\"!exists\",\n           \"product_ids\":[]\n         }]],\n         \"pagination\":{\n           \"order\":\"\",\n           \"page\":1,\n           \"page_size\":25\n         }\n      }\n\n</code></pre><p> The response should not include RP-001, RP-002 or RP-003</p>\n</li>\n<li><p>Find the products for which the “recommended products” relationship is defined (a.k.a exists) with the RP-002 product</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n       \"filters\":[],\n       \"attributes\":[\"relationships.recommended_products\"],\n       \"relationship_filters\":[[\n         {\n           \"product_ids\":[\n           {\n             \"id\":\"5d89c68596c8f4a322df4bb9\",\n             \"qty_operator\":\"exists\",\n             \"value\":null\n           }],\n           \"relationship_id\":\"5d89c6c696c8f4a322df4bbc\",\n           \"operator\":\"exists\"\n         }]],\n       \"pagination\": {\n         \"order\":null,\n         \"page\":1,\n         \"page_size\":25\n       }\n      }\n\n</code></pre><p> Response should include RP-001</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n       \"data\": [\n         {\n           \"attributes\": {},\n           \"id\": \"5d89c67796c8f4a322df4bb8\",\n           \"sku\": \"RP-001\",\n           \"relationships\": [\n              {\n                  \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n                  \"label\": \"recommended_products\",\n                  \"related_products\": [\n                      {\n                          \"product_id\": \"5d89c68596c8f4a322df4bb9\",\n                          \"quantity: \"2\"\n                      },\n                      {\n                          \"product_id\": \"5d89c69496c8f4a322df4bba\",\n                          \"quantity: \"3\"\n                      }\n                  ]\n              }\n           ]\n         }\n       ],\n       \"pagination\": {\n         \"count\": 1,\n         \"order\": null,\n         \"page\": 1,\n         \"page_size\": 25,\n         \"total_count\": 3\n       }\n      }\n\n</code></pre></li>\n<li><p>Filter the products for which the relationship with the product RP-001 is defined and whose quantity is greater than 2Please, note that the \"value\" field is an array of one element</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n         \"filters\": [],\n         \"attributes\": [\n             \"relationships.recommended_products\"\n         ],\n         \"relationship_filters\": [\n             [\n                 {\n                     \"product_ids\": [\n                         {\n                             \"id\": \"5d89c67796c8f4a322df4bb8\",\n                             \"qty_operator\": \"gt\",\n                             \"value\": [\n                                 2\n                             ]\n                         }\n                     ],\n                     \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n                     \"operator\": \"exists\"\n                 }\n             ]\n         ],\n         \"pagination\": {\n             \"order\": null,\n             \"page\": 1,\n             \"page_size\": 25\n         }\n      }\n\n</code></pre><p> Response should exclude RP-002, due to its quantity being 2, and include RP-003</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n       \"data\": [\n         {\n           \"attributes\": {},\n           \"id\": \"5d89c69496c8f4a322df4bba\",\n           \"sku\": \"RP-003\",\n           \"relationships\": [\n              {\n                  \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n                  \"label\": \"recommended_products\",\n                  \"related_products\": [\n                      {\n                          \"product_id\": \"5d89c67796c8f4a322df4bb8\",\n                          \"quantity: \"3\"\n                      }\n                  ]\n              }\n           ]\n         }\n       ],\n       \"pagination\": {\n         \"count\": 1,\n         \"order\": null,\n         \"page\": 1,\n         \"page_size\": 25,\n         \"total_count\": 3\n       }\n      }\n\n</code></pre></li>\n<li><p>Filter the products for which the relationship is defined with the product RP-001 and whose quantity is between 1 and 2Please, notice that the \"value\" field in this case, value array must include both values, i.e. [1, 2]</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n         \"filters\": [],\n         \"attributes\": [\n             \"relationships.recommended_products\"\n         ],\n         \"relationship_filters\": [\n             [\n                 {\n                     \"product_ids\": [\n                         {\n                             \"id\": \"5d89c67796c8f4a322df4bb8\",\n                             \"qty_operator\": \"bte\",\n                             \"value\": [\n                                 1,\n                                 2\n                             ]\n                         }\n                     ],\n                     \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n                     \"operator\": \"exists\"\n                 }\n             ]\n         ],\n         \"pagination\": {\n             \"order\": null,\n             \"page\": 1,\n             \"page_size\": 25\n         }\n      }\n\n</code></pre><p> Response should exclude RP-003, which has a quantity of 3, and include RP-002</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n       \"data\": [\n         {\n           \"attributes\": {},\n           \"id\": \"5d89c68596c8f4a322df4bb9\",\n           \"sku\": \"RP-002\",\n           \"relationships\": [\n              {\n                  \"relationship_id\": \"5d89c6c696c8f4a322df4bbc\",\n                  \"label\": \"recommended_products\",\n                  \"related_products\": [\n                      {\n                          \"product_id\": \"5d89c68596c8f4a322df4bb9\",\n                          \"quantity: \"2\"\n                      }\n                  ]\n              }\n           ]         \n         }\n       ],\n       \"pagination\": {\n         \"order\": null,\n         \"page\": 1,\n         \"page_size\": 25,\n       }\n      }\n\n</code></pre></li>\n<li><p>Find all products where ‘Gift basket’ is defined</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n         \"filters\": [],\n         \"attributes\": [\n             \"relationships.gift_basket\"\n         ],\n         \"relationship_filters\": [\n             [\n                 {\n                     \"product_ids\": [],\n                     \"relationship_id\": \"5d89d4fd96c8f4a322df4bc0\",\n                     \"operator\": \"exists\"\n                 }\n             ]\n         ],\n         \"pagination\": {\n             \"order\": null,\n             \"page\": 1,\n             \"page_size\": 25\n         }\n      }\n\n</code></pre><p> The response should include 'GF-Basket' product.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      {\n         \"data\": [\n             {\n                 \"attributes\": {},\n                 \"id\": \"5d89d51a96c8f4a322df4bc1\",\n                 \"sku\": \"GF-Basket\",\n                 \"relationships\": [\n                      {\n                          \"relationship_id\": \"5d89d4fd96c8f4a322df4bc0\",\n                          \"label\": \"gift_basket\",\n                          \"related_products\": [\n                              {\n                                  \"product_id\": \"5d89d51a96c8f4a322df4bc2\",\n                                  \"quantity: \"2\"\n                              },\n                              {\n                                  \"product_id\": \"5d89d52f96c8f4a322df4bc3\",\n                                  \"quantity: \"3\"\n                              },\n                              {\n                                  \"product_id\": \"5d89d54396c8f4a322df4bc4\",\n                                  \"quantity: \"1\"\n                              }                            \n                          ]\n                      }\n                  ]               \n             }\n         ],\n         \"pagination\": {\n             \"count\": 1,\n             \"order\": null,\n             \"page\": 1,\n             \"page_size\": 25,\n             \"total_count\": 7\n         }\n      }\n\n</code></pre></li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v2","products","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"6cfe0f4d-8624-4e0f-b453-53e86a5bc054","name":"200 Search example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"operator\": \"eq\",\n                \"field\": \"status\",\n                \"value\": \"Completed\"\n            },\n            {\n                \"field\": \"attributes.volume_liters\",\n                \"operator\": \"gt\",\n                \"value\": 3\n            },\n            {\n                \"field\": \"attributes.video_url\",\n                \"operator\": \"!exists\",\n                \"value\": null\n            }\n        ]\n    ],\n    \"attributes\": [\n        \"thumbnail\",\n        \"label\",\n        \"status\",\n        \"attributes.video_url\",\n        \"attributes.volume_liters\",\n        \"attributes.short_description\",\n        \"modified\"\n    ],\n    \"relationship_filters\": [],\n    \"pagination\": {\n        \"order\": \"attributes.volume_liters\",\n        \"page\": 1,\n        \"page_size\": 25\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [], \n  \"pagination\": {\n    \"count\": 0, \n    \"order\": \"attributes.volume_liters\", \n    \"page\": 1, \n    \"page_size\": 25, \n    \"total_count\": 18\n  }\n}\n"},{"id":"43c11295-bf0b-4251-9506-ea21e60332b3","name":"200 - Search by multiple AND + OR criteria","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"value\": [\n                    \"5ebe68d9bad0071cf0606631\"\n                ],\n                \"field\": \"categories\",\n                \"operator\": \"in\"\n            },\n            {\n                \"value\": 3,\n                \"field\": \"attributes.volume_liters\",\n                \"operator\": \"gt\"\n            }\n        ],\n        [\n            {\n                \"field\": \"attributes.price_store\",\n                \"operator\": \"lt\",\n                \"value\": 200\n            }\n        ]\n    ],\n    \"attributes\": [\n        \"thumbnail\",\n        \"label\",\n        \"status\",\n        \"attributes.video_url\",\n        \"attributes.volume_liters\",\n        \"attributes.short_description\",\n        \"modified\",\n        \"attributes.colorways\",\n        \"attributes.discontinued\",\n        \"attributes.features_html\",\n        \"attributes.launch_date\",\n        \"attributes.long_description\",\n        \"attributes.price_store\",\n        \"attributes.product_gallery\"\n    ],\n    \"relationship_filters\": [\n        [\n            {\n                \"relationship_id\": \"5ec62a24eeeb0a6e5dde33e6\",\n                \"product_ids\": [],\n                \"operator\": \"exists\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"order\": \"attributes.price_store\",\n        \"page\": 1,\n        \"page_size\": 25\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"attributes\": {\n        \"colorways\": [\n          \"Coco\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe68dfba44f77d7c75f9d0\"\n          },\n          {\n            \"id\": \"5ebe68e0ba44f77d7c75f9d2\"\n          },\n          {\n            \"id\": \"5ebe68e1ba44f77d7c75f9d4\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d6\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383adf18d516fbbac718d\",\n      \"label\": \"Backpack Venice - Coco\",\n      \"modified\": \"2020-05-19T07:03:05.787000+00:00\",\n      \"num_variations\": 5,\n      \"sku\": \"1013\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe68e1ba44f77d7c75f9d4\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Black Rose\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe690465931c704d75f9f4\"\n          },\n          {\n            \"id\": \"5ebe690565931c704d75f9f6\"\n          },\n          {\n            \"id\": \"5ebe690565931c704d75f9f8\"\n          },\n          {\n            \"id\": \"5ebe690665931c704d75f9fa\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383c6421a5e26d9ac71b1\",\n      \"label\": \"Backpack Venice - Black Rose\",\n      \"modified\": \"2020-05-19T07:03:29.937000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1016\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe690565931c704d75f9f8\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Almond\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe690765931c704d75f9fe\"\n          },\n          {\n            \"id\": \"5ebe690865931c704d75fa00\"\n          },\n          {\n            \"id\": \"5ebe690965931c704d75fa02\"\n          },\n          {\n            \"id\": \"5ebe690a65931c704d75fa04\"\n          },\n          {\n            \"id\": \"5ebe690c65931c704d75fa06\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383c8421a5e26d9ac71bb\",\n      \"label\": \"Backpack Venice - Almond\",\n      \"modified\": \"2020-05-19T07:03:35.905000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1017\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe690a65931c704d75fa04\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Black Noise\"\n        ],\n        \"discontinued\": true,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe690d65931c704d75fa0a\"\n          },\n          {\n            \"id\": \"5ebe690e65931c704d75fa0c\"\n          },\n          {\n            \"id\": \"5ebe690f65931c704d75fa0e\"\n          },\n          {\n            \"id\": \"5ebe691065931c704d75fa10\"\n          },\n          {\n            \"id\": \"5ebe691265931c704d75fa12\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383cd421a5e26d9ac71c7\",\n      \"label\": \"Backpack Venice - Black Noise\",\n      \"modified\": \"2020-05-19T07:03:41.404000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1018\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe691065931c704d75fa10\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf18d516fbbac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Morning Mist\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Internal 15” padded laptop sleeve</li><li>Padded tablet sleeve</li><li>Large main compartment with string cord closure</li><li>Magnet closures on the flap</li><li>Flap pocket with keyring</li><li>Premium urban fashion fabric</li><li>Comfort straps with metal buckles</li><li>Quilted back panel</li></ul>\",\n        \"launch_date\": \"2019-12-01\",\n        \"long_description\": \"Classic minimalist look meets modern conveniences. This classical looking bag looks simple from the outside, but once you take a closer look you will find that is has organizational compartments for your everyday travel like the Quick-access “15 Padded Laptop Sleeve and iPod compartment, and 28L volume.\",\n        \"price_store\": 97.43,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6912b8b8d47fc575f9ea\"\n          },\n          {\n            \"id\": \"5ebe6914b8b8d47fc575f9ec\"\n          },\n          {\n            \"id\": \"5ebe6915b8b8d47fc575f9ee\"\n          },\n          {\n            \"id\": \"5ebe68e3ba44f77d7c75f9d8\"\n          }\n        ],\n        \"short_description\": \"Minimalist look meets modern conveniences\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"26\"\n      },\n      \"id\": \"5ec383d17c936bcce4ac71a6\",\n      \"label\": \"Backpack Venice - Morning Mist\",\n      \"modified\": \"2020-05-19T07:03:41.582000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1014\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe6914b8b8d47fc575f9ec\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf28c84a676ac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Dead Flower\"\n        ],\n        \"discontinued\": true,\n        \"features_html\": \"<ul><li>Urban mobility bag with roll-top closure</li><li>Large, size adjustable main compartment with internal zip pocket</li><li>Padded 15” laptop pocket with external access</li><li>Quick-access travel-doc pocket</li><li>Front zip organizer pocket</li><li>Side handle</li><li>Padded ergo straps with adjustable chest straps</li><li>Soft padded mesh back panel</li><li>Gear loops</li></ul>\",\n        \"launch_date\": \"2020-06-01\",\n        \"long_description\": \"Designed to be well-equipped for calculated city missions and last minute adventures into uncharted terrain, the Scrambler backpack combines durable adventure solutions into a sleek urban style. The ergonomically fitted backpack straps allow you to comfortably carry your required accessaries for your next mission, while the side handle allows for easy handling and a professional look during you daily routine. The roll-top closure will allow for more space in the main compartment  if needed, and adjust to fit your required space perfectly for the day. The 15” laptop pocket with external access and quick-access travel pocket will allow you to get to your computer and documents without having to dig through the main compartment if you are in a hurry. If you are looking for a versatile bag for daily usages in and out of the city in a beautiful classic silhouette, than the Scrambler was built for you.\",\n        \"price_store\": 130.76,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d0\"\n          },\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d2\"\n          },\n          {\n            \"id\": \"5ebe6905b8b8d47fc575f9d4\"\n          },\n          {\n            \"id\": \"5ebe6906b8b8d47fc575f9d6\"\n          },\n          {\n            \"id\": \"5ebe6907b8b8d47fc575f9d8\"\n          },\n          {\n            \"id\": \"5ebe6908b8b8d47fc575f9da\"\n          },\n          {\n            \"id\": \"5ebe6909b8b8d47fc575f9dc\"\n          },\n          {\n            \"id\": \"5ebe690ab8b8d47fc575f9de\"\n          },\n          {\n            \"id\": \"5ebe690cb8b8d47fc575f9e0\"\n          },\n          {\n            \"id\": \"5ebe690db8b8d47fc575f9e2\"\n          },\n          {\n            \"id\": \"5ebe690eb8b8d47fc575f9e4\"\n          },\n          {\n            \"id\": \"5ebe6910b8b8d47fc575f9e6\"\n          }\n        ],\n        \"short_description\": \"Built For Endless Possibilities\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"30\"\n      },\n      \"id\": \"5ec383c67c936bcce4ac718d\",\n      \"label\": \"Backpack Scrambler - Dead Flower\",\n      \"modified\": \"2020-05-19T07:03:38.295000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1012\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe6903b8b8d47fc575f9d2\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf28c84a676ac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Coco\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Urban mobility bag with roll-top closure</li><li>Large, size adjustable main compartment with internal zip pocket</li><li>Padded 15” laptop pocket with external access</li><li>Quick-access travel-doc pocket</li><li>Front zip organizer pocket</li><li>Side handle</li><li>Padded ergo straps with adjustable chest straps</li><li>Soft padded mesh back panel</li><li>Gear loops</li></ul>\",\n        \"launch_date\": \"2020-06-01\",\n        \"long_description\": \"Designed to be well-equipped for calculated city missions and last minute adventures into uncharted terrain, the Scrambler backpack combines durable adventure solutions into a sleek urban style. The ergonomically fitted backpack straps allow you to comfortably carry your required accessaries for your next mission, while the side handle allows for easy handling and a professional look during you daily routine. The roll-top closure will allow for more space in the main compartment  if needed, and adjust to fit your required space perfectly for the day. The 15” laptop pocket with external access and quick-access travel pocket will allow you to get to your computer and documents without having to dig through the main compartment if you are in a hurry. If you are looking for a versatile bag for daily usages in and out of the city in a beautiful classic silhouette, than the Scrambler was built for you.\",\n        \"price_store\": 130.76,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d0\"\n          },\n          {\n            \"id\": \"5ebe691bdf2179290375fa06\"\n          },\n          {\n            \"id\": \"5ebe691cdf2179290375fa08\"\n          },\n          {\n            \"id\": \"5ebe691ddf2179290375fa0a\"\n          },\n          {\n            \"id\": \"5ebe691edf2179290375fa0c\"\n          },\n          {\n            \"id\": \"5ebe691edf2179290375fa0e\"\n          },\n          {\n            \"id\": \"5ebe691fdf2179290375fa10\"\n          },\n          {\n            \"id\": \"5ebe6920df2179290375fa12\"\n          },\n          {\n            \"id\": \"5ebe6921df2179290375fa14\"\n          },\n          {\n            \"id\": \"5ebe6922df2179290375fa16\"\n          },\n          {\n            \"id\": \"5ebe6923df2179290375fa18\"\n          },\n          {\n            \"id\": \"5ebe6924df2179290375fa1a\"\n          },\n          {\n            \"id\": \"5ebe6925df2179290375fa1c\"\n          },\n          {\n            \"id\": \"5ebe6925df2179290375fa1e\"\n          }\n        ],\n        \"short_description\": \"Built For Endless Possibilities\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"30\"\n      },\n      \"id\": \"5ec383d734f631942dac71c1\",\n      \"label\": \"Backpack Scrambler - Coco\",\n      \"modified\": \"2020-05-19T07:03:51.809000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1010\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe691bdf2179290375fa06\"\n      }\n    },\n    {\n      \"_parent_id\": \"5ec383adf28c84a676ac718d\",\n      \"attributes\": {\n        \"colorways\": [\n          \"Black Noise\"\n        ],\n        \"discontinued\": false,\n        \"features_html\": \"<ul><li>Urban mobility bag with roll-top closure</li><li>Large, size adjustable main compartment with internal zip pocket</li><li>Padded 15” laptop pocket with external access</li><li>Quick-access travel-doc pocket</li><li>Front zip organizer pocket</li><li>Side handle</li><li>Padded ergo straps with adjustable chest straps</li><li>Soft padded mesh back panel</li><li>Gear loops</li></ul>\",\n        \"launch_date\": \"2020-06-01\",\n        \"long_description\": \"Designed to be well-equipped for calculated city missions and last minute adventures into uncharted terrain, the Scrambler backpack combines durable adventure solutions into a sleek urban style. The ergonomically fitted backpack straps allow you to comfortably carry your required accessaries for your next mission, while the side handle allows for easy handling and a professional look during you daily routine. The roll-top closure will allow for more space in the main compartment  if needed, and adjust to fit your required space perfectly for the day. The 15” laptop pocket with external access and quick-access travel pocket will allow you to get to your computer and documents without having to dig through the main compartment if you are in a hurry. If you are looking for a versatile bag for daily usages in and out of the city in a beautiful classic silhouette, than the Scrambler was built for you.\",\n        \"price_store\": 130.76,\n        \"product_gallery\": [\n          {\n            \"id\": \"5ebe6903b8b8d47fc575f9d0\"\n          },\n          {\n            \"id\": \"5ebe6926df2179290375fa22\"\n          },\n          {\n            \"id\": \"5ebe6927df2179290375fa24\"\n          },\n          {\n            \"id\": \"5ebe6928df2179290375fa26\"\n          },\n          {\n            \"id\": \"5ebe6928df2179290375fa28\"\n          },\n          {\n            \"id\": \"5ebe6929df2179290375fa2a\"\n          },\n          {\n            \"id\": \"5ebe692adf2179290375fa2c\"\n          },\n          {\n            \"id\": \"5ebe692bdf2179290375fa2e\"\n          },\n          {\n            \"id\": \"5ebe692cdf2179290375fa30\"\n          },\n          {\n            \"id\": \"5ebe692ddf2179290375fa32\"\n          },\n          {\n            \"id\": \"5ebe692ddf2179290375fa34\"\n          },\n          {\n            \"id\": \"5ebe692edf2179290375fa36\"\n          },\n          {\n            \"id\": \"5ebe692edf2179290375fa38\"\n          },\n          {\n            \"id\": \"5ebe692fdf2179290375fa3a\"\n          },\n          {\n            \"id\": \"5ebe6930df2179290375fa3c\"\n          },\n          {\n            \"id\": \"5ebe6930df2179290375fa3e\"\n          },\n          {\n            \"id\": \"5ebe6931df2179290375fa40\"\n          },\n          {\n            \"id\": \"5ebe6931df2179290375fa42\"\n          },\n          {\n            \"id\": \"5ebe6932df2179290375fa44\"\n          },\n          {\n            \"id\": \"5ebe6932df2179290375fa46\"\n          }\n        ],\n        \"short_description\": \"Built For Endless Possibilities\",\n        \"video_url\": \"https://www.youtube.com/channel/UC2dNxluXutX8vabK_eO1k5Q/featured\",\n        \"volume_liters\": \"30\"\n      },\n      \"id\": \"5ec383de34f631942dac71dd\",\n      \"label\": \"Backpack Scrambler - Black Noise\",\n      \"modified\": \"2020-05-19T07:03:58.533000+00:00\",\n      \"num_variations\": 0,\n      \"sku\": \"1011\",\n      \"status\": \"Draft\",\n      \"thumbnail\": {\n        \"id\": \"5ebe6931df2179290375fa40\"\n      }\n    }\n  ],\n  \"pagination\": {\n    \"count\": 8,\n    \"order\": \"attributes.price_store\",\n    \"page\": 1,\n    \"page_size\": 25,\n    \"total_count\": 18\n  }\n}"},{"id":"e5ec1f33-7d45-42c4-94cd-eada21dc9c51","name":"200 Minimum search query","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://pim.plytix.com/api/v2/products/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001d233274\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 002\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f09850020233274\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 003\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001e233275\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 001\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001f233274\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 004\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001a233274\",\n            \"num_variations\": 5,\n            \"sku\": \"Sample - 005\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ed8002f0985001b233274\",\n            \"num_variations\": 2,\n            \"sku\": \"Sample - 009\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001a23327e\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 008\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001e233279\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 007\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001b23327a\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 006\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001b233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f0985001d233278\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 011\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001b233274\",\n            \"attributes\": {},\n            \"id\": \"5c4ed80c2f09850021233275\",\n            \"num_variations\": 0,\n            \"sku\": \"Sample - 010\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4eeb97050d860001717698\",\n            \"num_variations\": 0,\n            \"sku\": \"new variant from API\"\n        },\n        {\n            \"_parent_id\": \"5c4ed8002f0985001a233274\",\n            \"attributes\": {},\n            \"id\": \"5c4eec84908d2d00011c8e0b\",\n            \"num_variations\": 0,\n            \"sku\": \"new variant from APId\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef0c59311990001fc3db0\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef1709311990001fc3db1\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_1\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef29d9311990001fc3db2\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_11\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef3829311990001fc3db3\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_111\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef3a9bedb5e000189befc\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle_1111\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef7f7bedb5e000189befd\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle111111\"\n        },\n        {\n            \"attributes\": {},\n            \"id\": \"5c4ef836bedb5e000189befe\",\n            \"num_variations\": 0,\n            \"sku\": \"Black Kettle111111111\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 20,\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 20\n    }\n}"},{"id":"c0746dc3-3f4f-446c-9700-eb81b08babde","name":"422 Column limit exceeded","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"attributes\": [\"attributes.att_1\", \"attributes.att_2\", \"attributes.att_3\", \"attributes.att_4\", \"attributes.att_5\", \"attributes.att_6\", \"attributes.att_7\", \"attributes.att_8\", \"attributes.att_9\", \"attributes.att_10\", \"attributes.att_11\", \"attributes.att_12\", \"attributes.att_13\", \"attributes.att_14\", \"attributes.att_15\", \"attributes.att_16\", \"attributes.att_17\", \"attributes.att_18\", \"attributes.att_19\", \"attributes.att_20\", \"attributes.att_21\", \"attributes.att_22\", \"attributes.att_23\", \"attributes.att_24\", \"attributes.att_25\", \"attributes.att_26\", \"attributes.att_27\", \"attributes.att_28\", \"attributes.att_29\", \"attributes.att_30\", \"attributes.att_31\", \"attributes.att_32\", \"attributes.att_33\", \"attributes.att_34\", \"attributes.att_35\", \"attributes.att_36\", \"attributes.att_37\", \"attributes.att_38\", \"attributes.att_39\", \"attributes.att_40\", \"attributes.att_41\", \"attributes.att_42\", \"attributes.att_43\", \"attributes.att_44\", \"attributes.att_45\", \"attributes.att_46\", \"attributes.att_47\", \"attributes.att_48\", \"attributes.att_49\", \"attributes.att_50\", \"attributes.att_51\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v2/products/search"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"schema\",\n                \"msg\": \"columns limit exceeded, current limit is 50\"\n            }\n        ],\n        \"msg\": \"Schema validation error\"\n    }\n}"}],"_postman_id":"1cdf025d-9784-4881-9dbc-3a49c5291a3a"}],"id":"c616a27a-2ee0-4561-8acb-f950b259d052","description":"<p>We recently launched our <strong>API v2 open beta</strong>, which is publicly available to all Plytix accounts. Throughout the beta process, we’ll be adding more features, improving performance, and expanding documentation.</p>\n<p>We appreciate your involvement and invite you to share with us your feedback. If you have any questions or need assistance, feel free to reach out to our support team.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"317ec7a5-4e54-4b89-8381-dd36a1acea0e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c7a21d2a-1850-4d57-bcf0-85130e77802c"}}],"_postman_id":"c616a27a-2ee0-4561-8acb-f950b259d052","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"product attributes","item":[{"name":"product attribute","item":[{"name":"Get product attribute","id":"d5b9477f-77db-42dc-8894-14312da9e5e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pim.plytix.com/api/v1/attributes/product/:product_attribute_id","description":"<p>Retrieves a product attribute by id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attributes","product",":product_attribute_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_attribute_id"}]}},"response":[{"id":"03599d67-32fd-41b8-adc3-e7aa09863d6d","name":"Get product attribute","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/attributes/:product_attribute_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","attributes",":product_attribute_id"],"variable":[{"key":"product_attribute_id","value":"{{product_attribute_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 20 Jun 2019 10:08:57 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"92"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"groups\": [],\n            \"id\": \"5d0b4ea525abd700016fc037\",\n            \"label\": \"in_stock\",\n            \"name\": \"In Stock\",\n            \"type_class\": \"BooleanAttribute\"\n        }\n    ]\n}"},{"id":"47b7b334-21cb-4d85-84a6-96a79e2d03bf","name":"Not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://pim.plytix.com/api/v1/attributes/:product_attribute_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","attributes",":product_attribute_id"],"variable":[{"key":"product_attribute_id","value":"{{product_attribute_id}}"}]}},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 20 Jun 2019 10:11:59 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"92"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"id\",\n                \"msg\": \"id does not exist\"\n            }\n        ],\n        \"msg\": \" No results found for 6d0b4ea525abd700016fc037\"\n    }\n}"}],"_postman_id":"d5b9477f-77db-42dc-8894-14312da9e5e7"},{"name":"Modify attribute","id":"af55448e-3615-45d7-9447-f3f91fcd3104","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/attributes/product/:product_attribute_id","description":"<p>This resource allows you to modify some properties of existing attributes.</p>\n<ul>\n<li>All attributes can patch name and description fields</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>friendly name for the attribute</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>to help other users to understand what kind of information this attribute holds</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><p>DropdownAttribute and MultiselecAttributes can also patch available options. <em>NOTE</em> options will replace existing ones</p>\n</li>\n<li><p>CompletenessAttribute can patch its \"attributes\".</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attributes","product",":product_attribute_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{product_attribute_id}}","key":"product_attribute_id"}]}},"response":[{"id":"898353a9-7c1e-4fd2-a59f-139d5f2497b5","name":"Patch dropdown attribute options","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"available sizes\",\n\t\"options\": [\n\t\t\"XS\",\n        \"S\", \n        \"L\", \n        \"M\", \n        \"XL\",\n        \"XXL\"\n      ]\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/attributes/product/:product_attribute_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","attributes","product",":product_attribute_id"],"variable":[{"key":"product_attribute_id","value":"{{product_attribute_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"groups\": [],\n            \"id\": \"5d0b50f525abd700016fc03b\",\n            \"label\": \"size\",\n            \"name\": \"available sizes\",\n            \"options\": [\n                \"XS\",\n                \"S\",\n                \"L\",\n                \"M\",\n                \"XL\",\n                \"XXL\"\n            ],\n            \"type_class\": \"DropdownAttribute\"\n        }\n    ]\n}"},{"id":"13941f10-dece-4c05-a076-9e7849281085","name":"Patch attribute name","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"new name\"\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/attributes/product/:product_attribute_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","attributes","product",":product_attribute_id"],"variable":[{"key":"product_attribute_id","value":"{{product_attribute_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"groups\": [],\n            \"id\": \"5d0b4ea525abd700016fc037\",\n            \"label\": \"in_stock\",\n            \"name\": \"new name\",\n            \"type_class\": \"BooleanAttribute\"\n        }\n    ]\n}"},{"id":"495c41dd-49c5-4b50-9350-683d27e6b963","name":"Patch completeness attribute","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": [\n        {\n            \"id\": \"5d0b50f525abd700016fc03b\",\n            \"label\": \"size\"\n        }\n    ]\n}"},"url":{"raw":"https://pim.plytix.com/api/v1/attributes/product/:product_attribute_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","attributes","product",":product_attribute_id"],"variable":[{"key":"product_attribute_id","value":"{{product_attribute_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": [\n                {\n                    \"id\": \"5d0b50f525abd700016fc03b\",\n                    \"label\": \"size\"\n                }\n            ],\n            \"groups\": [],\n            \"id\": \"5d0b51a925abd700016fc03f\",\n            \"label\": \"ready_to_ship\",\n            \"name\": \"Ready to ship\",\n            \"type_class\": \"CompletenessAttribute\"\n        }\n    ]\n}"}],"_postman_id":"af55448e-3615-45d7-9447-f3f91fcd3104"},{"name":"Delete product attribute","id":"44f75e50-53f4-498c-97d1-6e438bbd1b97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/attributes/product/:product_attribute_id","description":"<p>Deletes an attribute. An empty response and 202 code is returned upon successful call.</p>\n<p>You are not allowed to delete any attribute used in some E-Catalog, Channel or Pdf-Catalog and a 409 CONFLICT response code will be returned and some information on where this attribue is used.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attributes","product",":product_attribute_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_attribute_id"}]}},"response":[{"id":"5c2e0b6b-de44-4224-8a03-3ed63aa774d2","name":"Delete product attribute used in ecatalog","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/attributes/:product_attribute_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","attributes",":product_attribute_id"],"variable":[{"key":"product_attribute_id","value":"{{product_attribute_id}}"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"usages\",\n                \"msg\": {\n                    \"channels\": [],\n                    \"ecatalogs\": [\n                        {\n                            \"id\": \"5d00be27ebd6f0000170c3dd\",\n                            \"name\": \"Europe 2019 catalog\"\n                        }\n                    ],\n                    \"pdfcatalogs\": [\n                        {\n                            \"id\": \"5d03879a39d49f0001391973\",\n                            \"name\": \"2019 template\"\n                        },\n                        {\n                            \"id\": \"5d03629a7048e9000142d970\",\n                            \"name\": \"2019 full template\"\n                        }\n                    ]\n                }\n            }\n        ],\n        \"msg\": \"Error deleting 5d0384a939d49f0001391961 attribute\"\n    }\n}"},{"id":"37efeed6-39b6-4f53-b5dd-c66430d6257f","name":"Delete UNUSED product attribute","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://pim.plytix.com/api/v1/attributes/:product_attribute_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","attributes",":product_attribute_id"],"variable":[{"key":"product_attribute_id","value":"{{product_attribute_id}}"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"44f75e50-53f4-498c-97d1-6e438bbd1b97"}],"id":"29096cc9-f431-4861-bae2-7ede4c51fb28","_postman_id":"29096cc9-f431-4861-bae2-7ede4c51fb28","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Product attribute search","id":"6303cb66-4f3b-4361-b4ac-59adc822c8d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://pim.plytix.com/api/v1/attributes/product/search","description":"<p>Filter product attributes by multiple criteria</p>\n<p>Filter structure and format is described under Resources section in this guide.</p>\n<h1 id=\"restrictions\">Restrictions</h1>\n<ul>\n<li><p>Search requests</p>\n<ul>\n<li>Search filters MUST include all necessary columns. If an attribute is not explicitly requested it won’t be returned by the API. Available attributes can be found later in this section. \n  Requesting non-existing attributes will return a 422 error code.\n  You are allowed to sort by columns not included in “attributes” field, however this attribute won’t be returned</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"response-format\">Response Format</h1>\n<p>Endpoint successful responses are wrapped in { data: [ ...] } object as in any other search endpoint. You can read more about response format in <strong>Resources</strong> section in this guide.</p>\n<p>All attributes share a set of common fields while some attributes also have some custom attributes, current version supports the following attributes*.</p>\n<ul>\n<li>Please ** DO NOT ** rely in any other attribute returned by endpoints as they can dissapear in future releases of the API</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Attribute type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Attribute unique identifier</td>\n<td>ALL</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Attribute name, usually contains some human friendly name</td>\n<td>ALL</td>\n</tr>\n<tr>\n<td>label</td>\n<td>Attribute unique label, generated by PIM and used in searches, etc.</td>\n<td>ALL</td>\n</tr>\n<tr>\n<td>type_class</td>\n<td>Attribute class identifier, you can check available values in Product Attributes main section in this guide</td>\n<td>ALL</td>\n</tr>\n<tr>\n<td>groups</td>\n<td>Array of group identifiers where this attribute belongs to</td>\n<td>ALL</td>\n</tr>\n<tr>\n<td>options</td>\n<td>Array of available values for attribute</td>\n<td>MultiSelectAttribute, DropdownAttribute</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>Array of objects of the form {'id': ..., 'label': ...}</td>\n<td>CompletenessAttribute</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"basic-example\">Basic Example</h1>\n<p>Complex examples can be found in code examples</p>\n<p>1.- Search for all product attributes and all fields (a.k.a no-filters) 100 items max.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{  \n   \"filters\":[],\n   \"attributes\":[  \n      \"name\",\n      \"label\",\n      \"attributes\",\n      \"groups\",\n      \"type_class\",\n      \"options\"\n   ],\n   \"pagination\":{  \n      \"page_size\":100,\n      \"page\":1,\n      \"order\":\"\"\n   }\n}\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{  \n   \"data\":[\n       {\n            \"id\": \"5d00ae1aebd6f0000170c3d5\", \n            \"label\": \"in_stock\", \n            \"name\": \"In Stock\", \n            \"type_class\": \"BooleanAttribute\",\n            \"groups\": [\n                \"5d00d00fc3ddd200018d92f4\"\n             ] \n        },\n        {\n            \"id\": \"5d0384c339d49f0001391965\", \n            \"name\": \"color\", \n            \"label\": \"color\", \n            \"groups\": [], \n            \"options\": [\n                \"blue\",\n                \"black\", \n                \"green\", \n                \"red\"\n            ], \n            \"type_class\": \"MultiSelectAttribute\"\n        }\n   ],\n   \"pagination\":{\n     \"count\": 2, \n     \"order\": \"\", \n     \"page\": 1, \n     \"page_size\": 100, \n     \"total_count\": 2\n   }\n}\n</code></pre>\n<p> 2.- Search for \"Rich info complete\" completeness attribute. This completeness attribute is formed by System attributes: 'sku' and 'label' and product attribute 'Additional Image Gallery'</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{  \n   \"filters\":[[{\"field\":\"name\",\"operator\":\"like\",\"value\":\"RiCh InFo\"}]],\n   \"attributes\":[  \n      \"name\",\n      \"label\",\n      \"attributes\",\n      \"type_class\",\n   ],\n   \"pagination\":{  \n      \"page_size\":25,\n      \"page\":1,\n      \"order\":\"\"\n   }\n}\n\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{\n  \"data\": [\n    {\n      \"attributes\": [\n        {\n          \"id\": null, \n          \"label\": \"sku\"\n        }, \n        {\n          \"id\": null, \n          \"label\": \"label\"\n        }, \n        {\n          \"id\": \"5c582c9c9e877f04666c64ac\", \n          \"label\": \"additional_image_gallery\"\n        }\n      ], \n      \"id\": \"5c766b364931b805abd334a0\", \n      \"label\": \"rich_info_complete\", \n      \"name\": \"Rich Info Complete \", \n      \"type_class\": \"CompletenessAttribute\"\n    }\n  ], \n  \"pagination\": {\n    \"count\": 1, \n    \"order\": null, \n    \"page\": 1, \n    \"page_size\": 25, \n    \"total_count\": 82\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attributes","product","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"b01bdc28-93d0-414f-8ef1-7f20354b8fe1","name":"Search by type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"field\": \"type_class\",\n                \"operator\": \"eq\",\n                \"value\": \"MultilineAttribute\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"count\": 10,\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 82\n    },\n    \"attributes\": [\n        \"id\",\n        \"name\",\n        \"label\",\n        \"attributes\",\n        \"groups\",\n        \"type_class\",\n        \"options\"\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/attributes/product/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c582a979e877f04666c649c\"\n            ],\n            \"id\": \"5c19ffda0b64d40460c50d1e\",\n            \"label\": \"description\",\n            \"name\": \"Description\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c582a979e877f04666c649c\"\n            ],\n            \"id\": \"5c582c819e877f04666c64a8\",\n            \"label\": \"feature_description\",\n            \"name\": \"Feature Description\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad3d9e877f04655791c2\"\n            ],\n            \"id\": \"5c59ad8a9e877f04666c676c\",\n            \"label\": \"description_de\",\n            \"name\": \"Description DE\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad4e9e877f04655791c3\"\n            ],\n            \"id\": \"5c59ad929e877f04666c676e\",\n            \"label\": \"description_it\",\n            \"name\": \"Description IT\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad5a9e877f0467b57c6a\"\n            ],\n            \"id\": \"5c59ad9d9e877f04655791c6\",\n            \"label\": \"description_es\",\n            \"name\": \"Description ES\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad639e877f04655791c4\"\n            ],\n            \"id\": \"5c59ada39e877f04655791c8\",\n            \"label\": \"description_dk\",\n            \"name\": \"Description DK\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad3d9e877f04655791c2\"\n            ],\n            \"id\": \"5c59adb79e877f04666c6770\",\n            \"label\": \"feature_description_de\",\n            \"name\": \"Feature Description DE\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad4e9e877f04655791c3\"\n            ],\n            \"id\": \"5c59adbc9e877f04666c6772\",\n            \"label\": \"feature_description_it\",\n            \"name\": \"Feature Description IT\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad5a9e877f0467b57c6a\"\n            ],\n            \"id\": \"5c59adc39e877f04666c6774\",\n            \"label\": \"feature_description_es\",\n            \"name\": \"Feature Description ES\",\n            \"type_class\": \"MultilineAttribute\"\n        },\n        {\n            \"filter_type\": \"TextAttribute\",\n            \"groups\": [\n                \"5c59ad639e877f04655791c4\"\n            ],\n            \"id\": \"5c59adca9e877f0467b57c6e\",\n            \"label\": \"feature_description_dk\",\n            \"name\": \"Feature Description DK\",\n            \"type_class\": \"MultilineAttribute\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 10,\n        \"order\": null,\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 82\n    }\n}"},{"id":"2194b6b0-1ec9-4f39-8a9e-fc4ae8737838","name":"Search product attributes with no filter","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [[]],\n    \"attributes\": [\n        \"name\",\n        \"label\",\n        \"options\",\n        \"attributes\",\n        \"groups\",\n        \"type_class\"\n    ],\n    \"pagination\": {\n        \"page_size\": 100,\n        \"page\": 1,\n        \"order\": \"\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"filter_type\": \"MediaGalleryAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c582c9c9e877f04666c64ac\", \n      \"label\": \"additional_image_galery\", \n      \"name\": \"additional image galery\", \n      \"type_class\": \"MediaGalleryAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf227264792045ec5e57d\", \n      \"label\": \"amazon_1000_image\", \n      \"name\": \"amazon_1000_image\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf22b7eda920463fda679\", \n      \"label\": \"amazon_110_image\", \n      \"name\": \"amazon_110_image\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf231264792045d16e6d8\", \n      \"label\": \"amazon_other_image_1\", \n      \"name\": \"amazon_other_image_1\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf235264792045d16e6da\", \n      \"label\": \"amazon_other_image_2\", \n      \"name\": \"amazon_other_image_2\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf2387eda920462da36c7\", \n      \"label\": \"amazon_other_image_3\", \n      \"name\": \"amazon_other_image_3\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf23b7eda920462da36c9\", \n      \"label\": \"amazon_other_image_4\", \n      \"name\": \"amazon_other_image_4\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf23f264792045ec5e57f\", \n      \"label\": \"amazon_other_image_5\", \n      \"name\": \"amazon_other_image_5\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf243264792045d16e6dc\", \n      \"label\": \"amazon_other_image_6\", \n      \"name\": \"amazon_other_image_6\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf247264792045cd5a743\", \n      \"label\": \"amazon_other_image_7\", \n      \"name\": \"amazon_other_image_7\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5e39e877f0467b57c81\"\n      ], \n      \"id\": \"5c59b6ba9e877f0467b57c83\", \n      \"label\": \"application_place\", \n      \"name\": \"Application place\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c9a59a76112fe04618d71e1\", \n      \"label\": \"availability\", \n      \"name\": \"availability\", \n      \"options\": [\n        \"in stock\", \n        \"out of stock\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"attributes\": [\n        {\n          \"id\": \"5c582c419e877f04666c64a4\", \n          \"label\": \"gtin\"\n        }, \n        {\n          \"id\": \"5c582c269e877f04666c64a1\", \n          \"label\": \"brand\"\n        }, \n        {\n          \"id\": \"5c582c6e9e877f04666c64a6\", \n          \"label\": \"title\"\n        }\n      ], \n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5c582a769e877f0467b57ab5\"\n      ], \n      \"id\": \"5c59b93e9e877f04666c67a3\", \n      \"label\": \"basic_info_complete\", \n      \"name\": \"Basic Info Complete \", \n      \"type_class\": \"CompletenessAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c6165c2e4db4e0461c9bfba\", \n      \"label\": \"bathroom_picture\", \n      \"name\": \"Display Picture\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b7879e877f0467b57c89\", \n      \"label\": \"bowl_depth_mm\", \n      \"name\": \"Bowl depth (mm)\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b7919e877f0467b57c8b\", \n      \"label\": \"bowl_length_mm\", \n      \"name\": \"Bowl length (mm)\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b79c9e877f04655791f1\", \n      \"label\": \"bowl_position\", \n      \"name\": \"Bowl position\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b7a99e877f0467b57c8d\", \n      \"label\": \"bowl_width_mm\", \n      \"name\": \"Bowl width (mm)\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c582a769e877f0467b57ab5\"\n      ], \n      \"id\": \"5c582c269e877f04666c64a1\", \n      \"label\": \"brand\", \n      \"name\": \"Brand\", \n      \"options\": [\n        \"Plytix\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1f4264792045d16e6d0\", \n      \"label\": \"bullet_1\", \n      \"name\": \"bullet_1\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1f7264792045d16e6d2\", \n      \"label\": \"bullet_2\", \n      \"name\": \"bullet_2\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1fa264792045cd5a741\", \n      \"label\": \"bullet_3\", \n      \"name\": \"bullet_3\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1fd264792045ec5e577\", \n      \"label\": \"bullet_4\", \n      \"name\": \"bullet_4\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf2017eda920463fda671\", \n      \"label\": \"bullet_5\", \n      \"name\": \"bullet_5\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c617428e4db4e0461c9bffd\", \n      \"label\": \"collection\", \n      \"name\": \"Collection \", \n      \"options\": [\n        \"2019\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c19ffd30b64d40460c50d1c\", \n      \"label\": \"color\", \n      \"name\": \"Color\", \n      \"options\": [\n        \"Stone\", \n        \"Chrome\", \n        \"Brushed Nickel\", \n        \"Black\", \n        \"Beige\", \n        \"White\", \n        \"Antique Bronze\", \n        \"Bamboo\", \n        \"Bisque\", \n        \"Copper\", \n        \"Natural Wood\", \n        \"Slate\", \n        \"Mocha\", \n        \"Glass\", \n        \"Silver\", \n        \"Bronze\", \n        \"Stainless Steel\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c9a5a2f6112fe0462038617\", \n      \"label\": \"condition\", \n      \"name\": \"condition\", \n      \"options\": [\n        \"new\", \n        \"used\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c19ffda0b64d40460c50d1e\", \n      \"label\": \"description\", \n      \"name\": \"Description\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad3d9e877f04655791c2\"\n      ], \n      \"id\": \"5c59ad8a9e877f04666c676c\", \n      \"label\": \"description_de\", \n      \"name\": \"Description DE\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad639e877f04655791c4\"\n      ], \n      \"id\": \"5c59ada39e877f04655791c8\", \n      \"label\": \"description_dk\", \n      \"name\": \"Description DK\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad5a9e877f0467b57c6a\"\n      ], \n      \"id\": \"5c59ad9d9e877f04655791c6\", \n      \"label\": \"description_es\", \n      \"name\": \"Description ES\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad4e9e877f04655791c3\"\n      ], \n      \"id\": \"5c59ad929e877f04666c676e\", \n      \"label\": \"description_it\", \n      \"name\": \"Description IT\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1f0264792045ec5e575\", \n      \"label\": \"display_dimensions_unit_of_measure\", \n      \"name\": \"display_dimensions_unit_of_measure\", \n      \"options\": [\n        \"cm\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c5837619e877f0465578ea4\"\n      ], \n      \"id\": \"5c19fff00b64d40460c50d20\", \n      \"label\": \"eta_stock_date\", \n      \"name\": \"ETA Stock Date\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5e39e877f0467b57c81\"\n      ], \n      \"id\": \"5c59b6e69e877f04666c679a\", \n      \"label\": \"faucets_finish\", \n      \"name\": \"Faucets Finish \", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c582c819e877f04666c64a8\", \n      \"label\": \"feature_description\", \n      \"name\": \"Feature Description\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad3d9e877f04655791c2\"\n      ], \n      \"id\": \"5c59adb79e877f04666c6770\", \n      \"label\": \"feature_description_de\", \n      \"name\": \"Feature Description DE\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad639e877f04655791c4\"\n      ], \n      \"id\": \"5c59adca9e877f0467b57c6e\", \n      \"label\": \"feature_description_dk\", \n      \"name\": \"Feature Description DK\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad5a9e877f0467b57c6a\"\n      ], \n      \"id\": \"5c59adc39e877f04666c6774\", \n      \"label\": \"feature_description_es\", \n      \"name\": \"Feature Description ES\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59ad4e9e877f04655791c3\"\n      ], \n      \"id\": \"5c59adbc9e877f04666c6772\", \n      \"label\": \"feature_description_it\", \n      \"name\": \"Feature Description IT\", \n      \"type_class\": \"MultilineAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b7b89e877f0467b57c8f\", \n      \"label\": \"fixing_kit\", \n      \"name\": \"Fixing kit\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"IntAttribute\", \n      \"groups\": [\n        \"5c582a769e877f0467b57ab5\"\n      ], \n      \"id\": \"5c582c419e877f04666c64a4\", \n      \"label\": \"gtin\", \n      \"name\": \"GTIN\", \n      \"type_class\": \"IntAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5e39e877f0467b57c81\"\n      ], \n      \"id\": \"5c59b6f79e877f04655791e9\", \n      \"label\": \"handle_position\", \n      \"name\": \"Handle position\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c582c8f9e877f04666c64aa\", \n      \"label\": \"hero_image\", \n      \"name\": \"Hero Image\", \n      \"type_class\": \"MediaAttribute\"\n    }, \n    {\n      \"filter_type\": \"BooleanAttribute\", \n      \"groups\": [\n        \"5c5837619e877f0465578ea4\"\n      ], \n      \"id\": \"5c19fffa0b64d40461359457\", \n      \"label\": \"in_stock\", \n      \"name\": \"In Stock\", \n      \"type_class\": \"BooleanAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5e39e877f0467b57c81\"\n      ], \n      \"id\": \"5c59b7039e877f0467b57c86\", \n      \"label\": \"installation_type\", \n      \"name\": \"Installation type\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b7d89e877f04655791f4\", \n      \"label\": \"installation_type_bowls\", \n      \"name\": \"Installation type Bowls\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"MediaGalleryAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5cde82fecd91d60469de0323\", \n      \"label\": \"new_images_gallery\", \n      \"name\": \"New Images Gallery \", \n      \"type_class\": \"MediaGalleryAttribute\"\n    }, \n    {\n      \"filter_type\": \"IntAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c5836be9e877f0467b57acf\", \n      \"label\": \"packed_product_height_mm\", \n      \"name\": \"Packed product height (mm)\", \n      \"type_class\": \"IntAttribute\"\n    }, \n    {\n      \"filter_type\": \"IntAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c5836aa9e877f04666c64d3\", \n      \"label\": \"packed_product_length_mm\", \n      \"name\": \"Packed product length (mm)\", \n      \"type_class\": \"IntAttribute\"\n    }, \n    {\n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c5836a39e877f04666c64d1\", \n      \"label\": \"packed_product_weight_kg\", \n      \"name\": \"Packed product weight (kg)\", \n      \"type_class\": \"DecimalAttribute\"\n    }, \n    {\n      \"filter_type\": \"IntAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c5836b49e877f04666c64d5\", \n      \"label\": \"packed_product_width_mm\", \n      \"name\": \"Packed product width (mm)\", \n      \"type_class\": \"IntAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf24a264792045d16e6de\", \n      \"label\": \"parent_child\", \n      \"name\": \"parent_child\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b7ea9e877f04655791f6\", \n      \"label\": \"plug_and_waste\", \n      \"name\": \"Plug and Waste\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"IntAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c58369c9e877f04666c64cf\", \n      \"label\": \"product_height_mm\", \n      \"name\": \"Product height (mm)\", \n      \"type_class\": \"IntAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1db7eda920461360afc\", \n      \"label\": \"product_id_type\", \n      \"name\": \"product_id_type\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"IntAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c58368f9e877f04666c64cb\", \n      \"label\": \"product_length_mm\", \n      \"name\": \"Product length (mm)\", \n      \"type_class\": \"IntAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c5837619e877f0465578ea4\"\n      ], \n      \"id\": \"5c6c072df7195104605a7aae\", \n      \"label\": \"product_lifecycle_stage\", \n      \"name\": \"Product Lifecycle Stage\", \n      \"options\": [\n        \"Dev\", \n        \"Marketing\", \n        \"Active\", \n        \"Inactive\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c5837619e877f0465578ea4\"\n      ], \n      \"id\": \"5c6c06eef71951045ed9d3b9\", \n      \"label\": \"product_owner\", \n      \"name\": \"Product Owner\", \n      \"options\": [\n        \"Jon\", \n        \"Tim\", \n        \"Kevin\", \n        \"Pili\", \n        \"Kresten\", \n        \"Peter\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1df7eda920463fda66f\", \n      \"label\": \"product_tax_code\", \n      \"name\": \"product_tax_code\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c19fff45e9b0f045e7d2f2d\", \n      \"label\": \"product_type\", \n      \"name\": \"Product Type\", \n      \"options\": [\n        \"Bath Fixture\", \n        \"Kitchen Faucet\", \n        \"Kitchen Sink\", \n        \"Shower Fixture\", \n        \"Kitchen Fixture\", \n        \"Bathroom Faucet\", \n        \"Bathroom Sink\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1d6264792045cd5a73d\", \n      \"label\": \"product_type_amazon\", \n      \"name\": \"product_type_amazon\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c5836889e877f04666c64c9\", \n      \"label\": \"product_weight_kg\", \n      \"name\": \"Product weight (kg)\", \n      \"type_class\": \"DecimalAttribute\"\n    }, \n    {\n      \"filter_type\": \"IntAttribute\", \n      \"groups\": [\n        \"5c5836f59e877f0465578ea3\"\n      ], \n      \"id\": \"5c5836969e877f04666c64cd\", \n      \"label\": \"product_width_mm\", \n      \"name\": \"Product width (mm)\", \n      \"type_class\": \"IntAttribute\"\n    }, \n    {\n      \"attributes\": [\n        {\n          \"id\": \"5c582c9c9e877f04666c64ac\", \n          \"label\": \"additional_image_galery\"\n        }, \n        {\n          \"id\": \"5c19ffd30b64d40460c50d1c\", \n          \"label\": \"color\"\n        }, \n        {\n          \"id\": \"5c19ffda0b64d40460c50d1e\", \n          \"label\": \"description\"\n        }, \n        {\n          \"id\": \"5c582c819e877f04666c64a8\", \n          \"label\": \"feature_description\"\n        }, \n        {\n          \"id\": \"5c582c8f9e877f04666c64aa\", \n          \"label\": \"hero_image\"\n        }, \n        {\n          \"id\": \"5c19fff45e9b0f045e7d2f2d\", \n          \"label\": \"product_type\"\n        }, \n        {\n          \"id\": \"5c582cc79e877f0465578e81\", \n          \"label\": \"suggested_retail_price\"\n        }, \n        {\n          \"id\": \"5c19ffeb0b64d404624d3bcc\", \n          \"label\": \"type\"\n        }, \n        {\n          \"id\": \"5c582cb89e877f0465578e7e\", \n          \"label\": \"video_url\"\n        }, \n        {\n          \"id\": \"5c6165c2e4db4e0461c9bfba\", \n          \"label\": \"bathroom_picture\"\n        }, \n        {\n          \"id\": \"5c617428e4db4e0461c9bffd\", \n          \"label\": \"collection\"\n        }\n      ], \n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c766b364931b805abd334a0\", \n      \"label\": \"rich_info_complete\", \n      \"name\": \"Rich Info Complete\", \n      \"type_class\": \"CompletenessAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf2177eda920463fda675\", \n      \"label\": \"search_terms1\", \n      \"name\": \"search_terms1\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf21a7eda920462da36c5\", \n      \"label\": \"search_terms2\", \n      \"name\": \"search_terms2\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf21d264792045ec5e57b\", \n      \"label\": \"search_terms3\", \n      \"name\": \"search_terms3\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf220264792045d16e6d6\", \n      \"label\": \"search_terms4\", \n      \"name\": \"search_terms4\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf2247eda920463fda677\", \n      \"label\": \"search_terms5\", \n      \"name\": \"search_terms5\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1ec264792045ec5e573\", \n      \"label\": \"shipping_template\", \n      \"name\": \"shipping_template\", \n      \"options\": [\n        \"Migrated Template\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf1e6264792045cd5a73f\", \n      \"label\": \"store_price\", \n      \"name\": \"store_price\", \n      \"type_class\": \"DecimalAttribute\"\n    }, \n    {\n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c582cc79e877f0465578e81\", \n      \"label\": \"suggested_retail_price\", \n      \"name\": \"Suggested retail price\", \n      \"type_class\": \"DecimalAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b7f89e877f04666c679f\", \n      \"label\": \"taphole_configuration\", \n      \"name\": \"Taphole configuration\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf20a264792045ec5e579\", \n      \"label\": \"target_audience1\", \n      \"name\": \"target_audience1\", \n      \"options\": [\n        \"women\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf20e264792045d16e6d4\", \n      \"label\": \"target_audience2\", \n      \"name\": \"target_audience2\", \n      \"options\": [\n        \"men\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5cecf30b7eda920462da36ca\"\n      ], \n      \"id\": \"5cecf2117eda920463fda673\", \n      \"label\": \"target_audience3\", \n      \"name\": \"target_audience3\", \n      \"options\": [\n        \"unisex\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c582a769e877f0467b57ab5\"\n      ], \n      \"id\": \"5c582c6e9e877f04666c64a6\", \n      \"label\": \"title\", \n      \"name\": \"Title\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"DropdownAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c19ffeb0b64d404624d3bcc\", \n      \"label\": \"type\", \n      \"name\": \"Type\", \n      \"options\": [\n        \"Handcrafted 90 Degree\", \n        \"Solid Surface\", \n        \"Handcrafted Tight Radius\", \n        \"3 Hole Kitchen Faucet\", \n        \"1 Hole Faucet Kitchen\", \n        \"Shower Fixture\", \n        \"Kitchen Faucets\", \n        \"Bamboo\", \n        \"Accessory\", \n        \"Under Mount\", \n        \"4\\\" Centerset Lav Faucet\", \n        \"Quartzite\", \n        \"Copper\", \n        \"Wide Spread 8\\\" Centerset Lav Faucet\", \n        \"Vessel Bowl\", \n        \"Porcelain\", \n        \"4 Hole Kitchen Faucet\", \n        \"1 Hole Lav Faucet\", \n        \"Standard\", \n        \"Top Mount\"\n      ], \n      \"type_class\": \"DropdownAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5e39e877f0467b57c81\"\n      ], \n      \"id\": \"5c59b70e9e877f04655791ec\", \n      \"label\": \"type_of_cartridge\", \n      \"name\": \"Type of cartridge\", \n      \"type_class\": \"TextAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c582cb89e877f0465578e7e\", \n      \"label\": \"video_url\", \n      \"name\": \"Video URL\", \n      \"type_class\": \"UrlAttribute\"\n    }, \n    {\n      \"filter_type\": \"TextAttribute\", \n      \"groups\": [\n        \"5c59b5d99e877f0467b57c80\"\n      ], \n      \"id\": \"5c59b80f9e877f0467b57c91\", \n      \"label\": \"washbasin_capacity_l\", \n      \"name\": \"Washbasin capacity (l)\", \n      \"type_class\": \"TextAttribute\"\n    }\n  ], \n  \"pagination\": {\n    \"count\": 82, \n    \"order\": null, \n    \"page\": 1, \n    \"page_size\": 1000, \n    \"total_count\": 82\n  }\n}\n"},{"id":"28837947-6b05-4d76-80f9-53811da5518f","name":"Completeness example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n        [\n            {\n                \"field\": \"type_class\",\n                \"operator\": \"eq\",\n                \"value\": \"CompletenessAttribute\"\n            }\n        ]\n    ],\n    \"pagination\": {\n        \"order\": \"\",\n        \"page\": 1,\n        \"page_size\": 25\n    },\n    \"attributes\": [\n        \"id\",\n        \"name\",\n        \"label\",\n        \"attributes\",\n        \"groups\",\n        \"type_class\",\n        \"options\"\n    ]\n}"},"url":"https://pim.plytix.com/api/v1/attributes/product/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"attributes\": [\n        {\n          \"id\": \"5c582c419e877f04666c64a4\", \n          \"label\": \"gtin\"\n        }, \n        {\n          \"id\": \"5c582c269e877f04666c64a1\", \n          \"label\": \"brand\"\n        }, \n        {\n          \"id\": \"5c582c6e9e877f04666c64a6\", \n          \"label\": \"title\"\n        }\n      ], \n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5c582a769e877f0467b57ab5\"\n      ], \n      \"id\": \"5c59b93e9e877f04666c67a3\", \n      \"label\": \"basic_info_complete\", \n      \"name\": \"Basic Info Complete \", \n      \"type_class\": \"CompletenessAttribute\"\n    }, \n    {\n      \"attributes\": [\n        {\n          \"id\": \"5c582c9c9e877f04666c64ac\", \n          \"label\": \"additional_image_galery\"\n        }, \n        {\n          \"id\": \"5c19ffd30b64d40460c50d1c\", \n          \"label\": \"color\"\n        }, \n        {\n          \"id\": \"5c19ffda0b64d40460c50d1e\", \n          \"label\": \"description\"\n        }, \n        {\n          \"id\": \"5c582c819e877f04666c64a8\", \n          \"label\": \"feature_description\"\n        }, \n        {\n          \"id\": \"5c582c8f9e877f04666c64aa\", \n          \"label\": \"hero_image\"\n        }, \n        {\n          \"id\": \"5c19fff45e9b0f045e7d2f2d\", \n          \"label\": \"product_type\"\n        }, \n        {\n          \"id\": \"5c582cc79e877f0465578e81\", \n          \"label\": \"suggested_retail_price\"\n        }, \n        {\n          \"id\": \"5c19ffeb0b64d404624d3bcc\", \n          \"label\": \"type\"\n        }, \n        {\n          \"id\": \"5c582cb89e877f0465578e7e\", \n          \"label\": \"video_url\"\n        }, \n        {\n          \"id\": \"5c6165c2e4db4e0461c9bfba\", \n          \"label\": \"bathroom_picture\"\n        }, \n        {\n          \"id\": \"5c617428e4db4e0461c9bffd\", \n          \"label\": \"collection\"\n        }\n      ], \n      \"filter_type\": \"DecimalAttribute\", \n      \"groups\": [\n        \"5c582a979e877f04666c649c\"\n      ], \n      \"id\": \"5c766b364931b805abd334a0\", \n      \"label\": \"rich_info_complete\", \n      \"name\": \"Rich Info Complete\", \n      \"type_class\": \"CompletenessAttribute\"\n    }\n  ], \n  \"pagination\": {\n    \"count\": 2, \n    \"order\": \"\", \n    \"page\": 1, \n    \"page_size\": 25, \n    \"total_count\": 82\n  }\n}\n"}],"_postman_id":"6303cb66-4f3b-4361-b4ac-59adc822c8d3"},{"name":"Add new product attribute","id":"df874010-fea6-4d11-a93f-945921d24a3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"In Stock\",\n    \"type_class\": \"BooleanAttribute\",\n    \"description\": \"this attribute is used to indicate when a producto is in stock or not\"\n}"},"url":"https://pim.plytix.com/api/v1/attributes/product","description":"<p>Create a new product attribute.</p>\n<p>Upon successful creation, a 201 CREATED status code is returned and product attribute can be found in response body.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Mandatory</th>\n<th>Description</th>\n<th>Applies to</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>YES</td>\n<td>product attribute friendly name</td>\n<td>ALL</td>\n<td>\"name\": \"In stock\"</td>\n</tr>\n<tr>\n<td>type_class</td>\n<td>YES</td>\n<td>product attribute type (see available types at the begining of this section)</td>\n<td>ALL</td>\n<td>\"type_class\": \"BooleanAttribute\"</td>\n</tr>\n<tr>\n<td>description</td>\n<td></td>\n<td>product attribute description</td>\n<td>ALL</td>\n<td>\"description\": \"this attribute is used to indicate when a proudct is in stock or not\"</td>\n</tr>\n<tr>\n<td>product_families * (extra information given right under this table)</td>\n<td></td>\n<td>list of product families that will contain the new attribute. It's also possible to indicate at what level of the family the attribute will be placed</td>\n<td>ALL</td>\n<td>\"product_families\": [{\"id\": \"6422dd98d732cac61a58431e\", \"attribute_level\": \"parent_level\"}, {\"id\": \"6422dd98d732cac61a58431f\", \"attribute_level\": \"variant_level\"}]</td>\n</tr>\n<tr>\n<td>options</td>\n<td></td>\n<td>array of available options</td>\n<td>MultiselectAttribute, DropdownAttribute</td>\n<td>\"options\": [\"red\", \"blue\", \"white\"]</td>\n</tr>\n<tr>\n<td>manual_sorting</td>\n<td></td>\n<td>Boolean. When true, options will respect options array order, when false options will be sorted alphabetically using english rules. Default value is manual_sorting = true</td>\n<td>MultiselectAttribute, DropdownAttribute</td>\n<td>\"manual_sorting\": false</td>\n</tr>\n<tr>\n<td>sort_ascending</td>\n<td></td>\n<td>Boolean. Options values will be sorted in ascending (true) or descending (false) order. Default value is sort_ascending = true. If manual_sorting = true this option has no effect</td>\n<td>MultiselectAttribute, DropdownAttribute</td>\n<td>\"manual_sorting\": false</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td></td>\n<td>array of attributes related to a completeness attribute</td>\n<td>CompletenessAttribute</td>\n<td>[ {\"id\": null, \"label\": \"sku\"} , {\"id\": \"...\", \"label\": \"in_stock\"} ]</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"product_families-field\">product_families field</h4>\n<p>This field is a list of dictionaries. These dictionaries must follow the following fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>mandatory</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>yes</td>\n<td>id of the Product Family that the attribute is going to belong to.</td>\n</tr>\n<tr>\n<td>attribute_level</td>\n<td>no</td>\n<td>To indicate whether the attributes will not be inherited (\"no_level\"), inherited from level 1 (\"parent_level\") or from level 2 (\"variant_level\"). Default: \"no_level\".</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>The \"parent_level\" and \"variant_level\" options are available only when automatic inheritance is active on the account. Contact your account manager for more information. </p>\n</blockquote>\n<h1 id=\"example\">Example</h1>\n<p>More examples can be found in example requests</p>\n<p>1.- Create new True/ False (Boolean) attribute named \"In Stock\"</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{\n    \"name\":\"In Stock\",\n    \"type_class\":\"BooleanAttribute\"\n}\n\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{\n  \"data\": [\n    {\n      \"id\": \"5d0b4ea525abd700016fc037\", \n      \"label\": \"in_stock\", \n      \"name\": \"In Stock\", \n      \"groups\": [], \n      \"type_class\": \"BooleanAttribute\"\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attributes","product"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"972963a9-0fa9-4b4c-8942-5aa3575ae0a5","name":"Add Completeness Attribute bad attributes","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Ready to ship non existing attribute foo\",\n    \"type_class\": \"CompletenessAttribute\",\n    \"attributes\": [\n        {\n            \"id\": \"5d0b50f525abd700016fc03b\",\n            \"label\": \"size\"\n        },\n        {\n            \"id\": \"000000000000000000000000\",\n            \"label\": \"sku\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"attributes\",\n                \"msg\": [\n                    \"000000000000000000000000\"\n                ]\n            }\n        ],\n        \"msg\": \"Missing attributes\"\n    }\n}"},{"id":"eb1d37ff-5521-4b21-be5a-7788e288238e","name":"Add Completeness Attribute","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Ready to ship\",\n    \"type_class\": \"CompletenessAttribute\",\n    \"attributes\": [\n        {\n            \"id\": \"5d0b50f525abd700016fc03b\",\n            \"label\": \"size\"\n        },\n        {\n            \"id\": null,\n            \"label\": \"sku\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": [\n                {\n                    \"id\": \"5d0b50f525abd700016fc03b\",\n                    \"label\": \"size\"\n                },\n                {\n                    \"id\": null,\n                    \"label\": \"sku\"\n                }\n            ],\n            \"groups\": [],\n            \"id\": \"5d0b51a925abd700016fc03f\",\n            \"label\": \"ready_to_ship\",\n            \"name\": \"Ready to ship\",\n            \"type_class\": \"CompletenessAttribute\"\n        }\n    ]\n}"},{"id":"3fa2dc23-9c27-4101-8756-6c16476cd16d","name":"Add Dropdown attribute","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Size\",\n    \"type_class\": \"DropdownAttribute\",\n    \"options\": [\n        \"S\",\n        \"L\",\n        \"M\",\n        \"XL\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5d0b50f525abd700016fc03b\",\n            \"label\": \"size\",\n            \"name\": \"Size\",\n            \"options\": [\n                \"S\",\n                \"L\",\n                \"M\",\n                \"XL\"\n            ],\n            \"type_class\": \"DropdownAttribute\",\n            \"groups\": []\n        }\n    ]\n}"},{"id":"1e4509d2-9fe8-4bf0-b166-0362d69f734d","name":"Add multiselect attribute sorted by name, descending","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Locations\",\n    \"type_class\": \"MultiSelectAttribute\",\n    \"manual_sorting\": false,\n    \"sort_ascending\": false,\n    \"options\": [\n        \"Metropolis\",\n        \"R'lyeh\",\n        \"Lagado\",\n        \"Arkham\",\n        \"Hill Valley\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"filter_type\": \"MultiSelectAttribute\",\n            \"groups\": [],\n            \"id\": \"5e60ad6e2526f346c0894f7c\",\n            \"label\": \"locations\",\n            \"manual_sorting\": false,\n            \"name\": \"Locations\",\n            \"options\": [\n                \"R'lyeh\",\n                \"Metropolis\",\n                \"Lagado\",\n                \"Hill Valley\",\n                \"Arkham\"\n            ],\n            \"sort_ascending\": false,\n            \"type_class\": \"MultiSelectAttribute\"\n        }\n    ]\n}"},{"id":"c784d27c-4e2b-46c9-b6f1-b9987b5fde9a","name":"Add Boolean attribute","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"In Stock\",\n    \"type_class\": \"BooleanAttribute\"\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5d0b4ea525abd700016fc037\",\n            \"label\": \"in_stock\",\n            \"name\": \"In Stock\",\n            \"groups\": [],\n            \"type_class\": \"BooleanAttribute\"\n        }\n    ]\n}"},{"id":"fb5749c2-33ce-4dc8-9dad-92100ea6cda2","name":"Add Boolean attribute and options","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"In Stock\",\n    \"type_class\": \"BooleanAttribute\",\n    \"options\": [\"1\", \"2\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"errors\": [\n            {\n                \"field\": \"options\",\n                \"msg\": \"is not allowed for this product attribute\"\n            }\n        ],\n        \"msg\": \"Schema validation error\"\n    }\n}"},{"id":"a900b772-b983-487a-8a5d-886df38283a4","name":"Create attribute assigned to a Family","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"In Stock\",\n    \"type_class\": \"BooleanAttribute\",\n    \"product_families\": [{\"id\": \"6422dd98d732cac61a58431e\", \"attribute_level\": \"parent_level\"}]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5d0b4ea525abd700016fc037\",\n            \"label\": \"in_stock\",\n            \"name\": \"In Stock\",\n            \"groups\": [],\n            \"type_class\": \"BooleanAttribute\"\n        }\n    ]\n}"},{"id":"d7c1b591-885e-43f6-a1e3-5a5ff8529867","name":"Product Already exist","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"In Stock\",\n    \"type_class\": \"BooleanAttribute\"\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attributes/product"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"msg\": \"a product attribute with same name already exists\"\n    }\n}"}],"_postman_id":"df874010-fea6-4d11-a93f-945921d24a3a"}],"id":"9e305324-e96f-4875-953c-df98ad74489e","description":"<p>This section contains resources related to <strong>Product Attributes</strong></p>\n<p>You can choose from a selection of attribute types to fit the type of data you're looking to store for your products. </p>\n<h1 id=\"available-attribute-types\">Available attribute types</h1>\n<p>Current version support the following types of attributes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>PIM Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TextAttribute</td>\n<td>Short Text</td>\n<td>Names, identifiers with letters, and other short values of text</td>\n</tr>\n<tr>\n<td>MultilineAttribute</td>\n<td>Paragraph</td>\n<td>Longer pieces of plain text, ie. description, instructions and warranty content</td>\n</tr>\n<tr>\n<td>HtmlAttribute</td>\n<td>Rich Text</td>\n<td>Content that uses any styling, and outputs in HTML format</td>\n</tr>\n<tr>\n<td>IntAttribute</td>\n<td>Integer Number</td>\n<td>Quantities, numerical identifiers, i.e. weight in grams, volume in ml</td>\n</tr>\n<tr>\n<td>DecimalAttribute</td>\n<td>Decimal Number</td>\n<td>Prices, measurements - any numerical values separated by a . or ,</td>\n</tr>\n<tr>\n<td>DropdownAttribute</td>\n<td>Dropdown</td>\n<td>For a set of options where only one option can apply at the time, i.e. a color'</td>\n</tr>\n<tr>\n<td>MultiSelectAttribute</td>\n<td>MultiSelect</td>\n<td>For a set options where multiple options can apply simultaneously, i.e. colors'</td>\n</tr>\n<tr>\n<td>DateAttribute</td>\n<td>Date</td>\n<td>Fairly self-explanatory, some examples are Launch dates, end of life dates...</td>\n</tr>\n<tr>\n<td>UrlAttribute</td>\n<td>Url</td>\n<td>Clickable link to an external resource ie. YouTube or external documentation</td>\n</tr>\n<tr>\n<td>BooleanAttribute</td>\n<td>Boolean</td>\n<td>All yes and no questions for your products ie. Dishwasher Safe or Discontinued</td>\n</tr>\n<tr>\n<td>MediaAttribute</td>\n<td>Media</td>\n<td>Encapsulate a linked file for a product ie. main image or instruction booklet</td>\n</tr>\n<tr>\n<td>MediaGalleryAttribute</td>\n<td>MediaGallery</td>\n<td>Encapsulate multiple linked files ie. packshots, specifications, firmware updates</td>\n</tr>\n<tr>\n<td>CompletenessAttribute</td>\n<td>Completeness</td>\n<td>Pick essential attributes, and track how complete a product's information is</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a81aa432-60e6-4cfe-8137-b558e909349c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"e0054b9a-67d2-4ebb-9eb4-091e49763c36"}}],"_postman_id":"9e305324-e96f-4875-953c-df98ad74489e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"product attribute groups","item":[{"name":"product attribute group","item":[{"name":"Modify attribute group","id":"92708ba1-5e5c-43e1-af37-9dd9bcd86858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"basic_info_complete\",\n        \"brand\",\n        \"color\",\n        \"colors\",\n        \"decimal\",\n        \"description\",\n        \"gallery\",\n        \"gtin\"\n    ],\n    \"name\": \"Dimensions\",\n    \"order\": 2\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attribute-groups/product/:attribute_group_id","description":"<p>Using this verb you can change some of the properties of any group.</p>\n<p>Allowed properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>product attribute group friendly-name</td>\n</tr>\n<tr>\n<td>attribute_labels</td>\n<td>array of strings</td>\n<td>array of user attribute labels. <em>NOTE</em> that attribute labels <em>MUST NOT</em> contain \"attributes.\"</td>\n</tr>\n<tr>\n<td>order</td>\n<td>number</td>\n<td>position of this group  <strong>using zero-based numbering</strong>, so the first group will be ordered starting with 0</td>\n</tr>\n</tbody>\n</table>\n</div><p>A 200 OK is returned upon successful request</p>\n<ul>\n<li>order: if group order is greater than the number of existing groups, group will be moved to the last position</li>\n<li>attribute_labels: If present, group will be modified. Please note that a request like 'attribute_labels': null will remove ALL attributes from this group</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attribute-groups","product",":attribute_group_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{attribute_group_id}}","key":"attribute_group_id"}]}},"response":[{"id":"ce627927-4a97-471e-847a-80efe325b6c2","name":"Modify attribute labels of a group","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"},{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"basic_info_complete\",\n        \"brand\",\n        \"decimal\",\n        \"description\",\n        \"gallery\",\n        \"gtin\",\n        \"stock\"\n    ],\n    \"name\": \"Dimensions\",\n    \"order\": 2\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attribute-groups/product/<group_id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attribute_labels\": [\n                \"basic_info_complete\",\n                \"brand\",\n                \"decimal\",\n                \"description\",\n                \"gallery\",\n                \"gtin\",\n                \"stock\"\n            ],\n            \"id\": \"5d9993554a275f16fb01b246\",\n            \"name\": \"Dimensions\",\n            \"order\": 2\n        }\n    ]\n}"},{"id":"62ff5587-2d10-41f9-9599-8583f2cf94af","name":"Modify attribute grop order and name","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"},{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Dimensions\",\n    \"order\": 9999\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attribute-groups/product/<group_id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attribute_labels\": [\n                \"basic_info_complete\",\n                \"brand\",\n                \"color\",\n                \"colors\",\n                \"decimal\",\n                \"description\",\n                \"gallery\",\n                \"gtin\",\n                \"import\",\n                \"model\",\n                \"multi_api_test\",\n                \"paragraph\",\n                \"price\",\n                \"title\",\n                \"url\",\n                \"year\"\n            ],\n            \"id\": \"5d9993554a275f16fb01b246\",\n            \"name\": \"Dimensions\",\n            \"order\": 4\n        }\n    ]\n}"},{"id":"d2208d8d-b8eb-43e4-8df9-a07ec80057b3","name":"Modify name, order and attributes","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"},{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": [\n        \"basic_info_complete\",\n        \"brand\",\n        \"color\",\n        \"colors\",\n        \"decimal\",\n        \"description\",\n        \"gallery\",\n        \"gtin\"\n    ],\n    \"name\": \"Dimensions\",\n    \"order\": 2\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attribute-groups/product/<group_id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attribute_labels\": [\n                \"basic_info_complete\",\n                \"brand\",\n                \"color\",\n                \"colors\",\n                \"decimal\",\n                \"description\",\n                \"gallery\",\n                \"gtin\",\n                \"import\",\n                \"model\",\n                \"multi_api_test\",\n                \"paragraph\",\n                \"price\",\n                \"title\",\n                \"url\",\n                \"year\"\n            ],\n            \"id\": \"5d9993554a275f16fb01b246\",\n            \"name\": \"Dimensions\",\n            \"order\": 2\n        }\n    ]\n}"},{"id":"cfac44a3-39c8-4ad7-a81b-637905fd5774","name":"Remove all attribute labels","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"},{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_labels\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/attribute-groups/product/<group_id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attribute_labels\": [],\n            \"id\": \"5d9993554a275f16fb01b246\",\n            \"name\": \"Dimensions\",\n            \"order\": 2\n        }\n    ]\n}"}],"_postman_id":"92708ba1-5e5c-43e1-af37-9dd9bcd86858"},{"name":"Remove group","id":"9d33b147-e7ea-466f-809a-c7e7dcfe71e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://pim.plytix.com/api/v1/attribute-groups/product/:attribute_group_id","description":"<p>Remove a group from the system</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attribute-groups","product",":attribute_group_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{attribute_group_id}}","key":"attribute_group_id"}]}},"response":[],"_postman_id":"9d33b147-e7ea-466f-809a-c7e7dcfe71e9"}],"id":"ece3e4aa-afb4-453b-8a85-26bec7736da3","description":"<p>This section contains resources to manage any existing product attribute group</p>\n","_postman_id":"ece3e4aa-afb4-453b-8a85-26bec7736da3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Product attribute groups search","id":"614601ff-c7ac-4441-9a58-5bd6cb24e1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\": [\n    ],\n    \"attributes\": [\n        \"name\",\n        \"label\",\n        \"attribute_labels\",\n        \"order\"\n    ],\n    \"pagination\": {\n        \"page_size\": 100,\n        \"page\": 1,\n        \"order\": \"order\"\n    }\n}"},"url":"https://pim.plytix.com/api/v1/attribute-groups/product/search","description":"<p>Filter product attribute groups by multiple criteria</p>\n<p>Filter structure and format is described under the Resources section in this guide.</p>\n<h1 id=\"restrictions\">Restrictions</h1>\n<ul>\n<li><p>Search requests</p>\n<ul>\n<li>Search filters MUST include all necessary columns. If an attribute is not explicitly requested it won’t be returned by the API. Available attributes can be found later in this section. \n  Requesting non-existing attributes will return a 422 error code.\n  You are allowed to sort by columns not included in the “attributes” field, however, this attribute won’t be returned</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"response-format\">Response Format</h1>\n<p>Endpoint successful responses are wrapped in { data: [ ...] } object as in any other search endpoint.\nYou can read more about response format in the <strong>Resources</strong> section in this guide.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Group unique identifier</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Group name usually contains a human-friendly name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>attribute_labels</td>\n<td>Array with <em>attribute labels</em> belonging this group <br /> Attributes are not prefixed with \"attributes.\"</td>\n<td>array of strings</td>\n</tr>\n<tr>\n<td>order</td>\n<td>Position of this group in groups sequence <strong>using zero-based numbering</strong>, so the first group will be ordered starting with 0</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"basic-example\">Basic Example</h1>\n<p>1.- Search for all product groups and all fields (a.k.a no-filters) 100 items max.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{  \n   \"filters\":[],\n   \"attributes\":[  \n      \"name\",\n      \"order\",\n      \"attribute_labels\",\n   ],\n   \"pagination\":{  \n      \"page_size\":100,\n      \"page\":1,\n      \"order\":\"\"\n   }\n}\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{\n    \"data\": [\n        {\n            \"order\": 0,\n            \"name\": \"Basic Information\",\n            \"id\": \"5d0baf02d4bf5513d19023f3\",\n            \"attribute_labels\": [\n                \"gtin\",\n                \"brand\",\n                \"title\",\n                \"basic_info_complete\"\n            ]\n        },\n        {\n            \"order\": 2,\n            \"name\": \"Rich Information\",\n            \"id\": \"5d0baf02d4bf5513d19023f4\",\n            \"attribute_labels\": [\n                \"gtin\",\n                \"brand\",\n                \"title\",\n                \"new_images_gallery\",\n                \"description\",\n                \"feature_description\",\n                \"hero_image\",\n                \"additional_image_galery\",\n                \"video_url\",\n                \"suggested_retail_price\",\n                \"type\",\n                \"product_type\",\n                \"color\",\n                \"rich_info_complete\",\n                \"bathroom_picture\",\n                \"collection\",\n                \"availability\",\n                \"condition\"\n            ]\n        },\n        {\n            \"attribute_labels\": [\n                \"product_weight_kg\",\n                \"product_length_mm\",\n                \"product_width_mm\",\n                \"product_height_mm\",\n                \"packed_product_weight_kg\",\n                \"packed_product_length_mm\",\n                \"packed_product_width_mm\",\n                \"packed_product_height_mm\"\n            ],\n            \"order\": 1,\n            \"name\": \"Dimensions\",\n            \"id\": \"5d0baf02d4bf5513d19023f5\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 3,\n        \"total_count\": 3,\n        \"page\": 1,\n        \"page_size\": 100,\n        \"order\": \"\"\n    },\n\n}\n</code></pre>\n<p> 2.- Search for \"Rich info complete\" group.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{  \n   \"filters\":[[{\"field\":\"name\",\"operator\":\"like\",\"value\":\"RiCh InFo\"}]],\n   \"attributes\":[  \n      \"name\",\n      \"order\",\n      \"attribute_labels\"\n   ],\n   \"pagination\":{  \n      \"page_size\":25,\n      \"page\":1,\n      \"order\":\"\"\n   }\n}\n\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{\n  \"data\": [\n        {\n            \"order\": 2,\n            \"name\": \"Rich Information\",\n            \"id\": \"5d0baf02d4bf5513d19023f4\",\n            \"attribute_labels\": [\n                \"gtin\",\n                \"brand\",\n                \"title\",\n                \"new_images_gallery\",\n                \"description\",\n                \"feature_description\",\n                \"hero_image\",\n                \"additional_image_galery\",\n                \"video_url\",\n                \"suggested_retail_price\",\n                \"type\",\n                \"product_type\",\n                \"color\",\n                \"rich_info_complete\",\n                \"bathroom_picture\",\n                \"collection\",\n                \"availability\",\n                \"condition\"\n            ]\n        }\n  ], \n  \"pagination\": {\n    \"count\": 1, \n    \"order\": null, \n    \"page\": 1, \n    \"page_size\": 25, \n    \"total_count\": 3\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attribute-groups","product","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"614601ff-c7ac-4441-9a58-5bd6cb24e1a1"},{"name":"Add new product attribute group","id":"df91bd42-8bdc-48fc-92fa-110b73bdc18b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://pim.plytix.com/api/v1/attribute-groups/product","description":"<p>Upon successful creation, a 201 CREATED status code is returned and product attribute group data can be found in response body.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>YES</td>\n<td>product attribute group friendly-name</td>\n</tr>\n<tr>\n<td>attribute_labels</td>\n<td>array of strings</td>\n<td></td>\n<td>array of user attribute labels. <em>NOTE</em> that attribute labels <em>MUST NOT</em> contain \"attributes.\"</td>\n</tr>\n<tr>\n<td>order</td>\n<td>number</td>\n<td></td>\n<td>position of this group  <strong>using zero-based numbering</strong>, so the first group will be ordered starting with 0</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"example\">Example</h1>\n<p>More examples can be found in example requests</p>\n<p>1.- Create new group named \"Dimensions\"</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{\n    \"name\":\"Dimensions\",\n}\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Formatted JSON Data\n{\n    \"attribute_labels\": [\n        \"product_weight_kg\",\n        \"product_length_mm\",\n        \"product_width_mm\",\n        \"product_height_mm\",\n        \"packed_product_weight_kg\",\n        \"packed_product_length_mm\",\n        \"packed_product_width_mm\",\n        \"packed_product_height_mm\"\n        ],\n        \"order\": 1,\n        \"name\": \"Dimensions\",\n        \"id\": \"5d0baf02d4bf5513d19023f5\"\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","attribute-groups","product"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"df91bd42-8bdc-48fc-92fa-110b73bdc18b"}],"id":"19c1b58c-6a21-4d1b-acd4-82445e0df5b1","description":"<p>This section contains resources related to product attribute group management</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1f615705-92ec-4fdb-b5c6-5e8234d8447a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"cd3a0efd-128a-48d9-8c37-60985a28a3a5"}}],"_postman_id":"19c1b58c-6a21-4d1b-acd4-82445e0df5b1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"relationships","item":[{"name":"relationship","item":[{"name":"Get relationship data","id":"09710d8c-027a-4519-897b-4bb251bb31db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/relationships/:relationship_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","relationships",":relationship_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"eaa99f11-b04f-440f-b0a6-ccb089e1804e","name":"Get relationship data","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all request are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{relationship_id}}"}]}},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5d8362c226387abb39cddb88\",\n            \"created_at\": \"2019-09-19T00:00:00.000000+00:00\",\n            \"modified\": \"2019-09-19T00:00:00.000008+00:00\",\n            \"name\": \"Gift basket\",\n            \"label\": \"gift_basket\"\n        }\n    ]\n}"}],"_postman_id":"09710d8c-027a-4519-897b-4bb251bb31db"},{"name":"Modify attributes of a relationship","id":"26068e1f-d0d4-4d12-b47d-9c272998a469","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"new name\"\n}"},"url":"https://pim.plytix.com/api/v1/relationships/:relationship_id","description":"<p>Current version of the API supports the following attributes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>human-friendly name</td>\n</tr>\n</tbody>\n</table>\n</div><p>any other attributes will be ignored</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","relationships",":relationship_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"5aa049c3-4cf0-4f3b-9311-26e7904ba1b5","name":"Modify attributes","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Gift Basket\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://pim.plytix.com/api/v1/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{relationship_id}}"}]}},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5d8362c226387abb39cddb88\",\n            \"created_at\": \"2019-09-19T00:00:00.000000+00:00\",\n            \"modified\": \"2019-09-19T00:00:00.000008+00:00\",\n            \"name\": \"Gift basket\",\n            \"label\": \"gift_basket\"\n        }\n    ]\n}"}],"_postman_id":"26068e1f-d0d4-4d12-b47d-9c272998a469"},{"name":"Remove relationships from account","id":"92b118f9-e2d0-4667-86d3-cddbaa165cc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://pim.plytix.com/api/v1/relationships/:relationship_id","description":"<p>Remove a relationship from user’s account.</p>\n<p>If the relationship is in use in an ecatalog, channel or pdf-template a 409 status code is returned along with elements where this relationship is being used.</p>\n<p>A 204 No content is returned upon success</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","relationships",":relationship_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"384a1c83-a7dd-44d9-98b8-b7d8cead4098","name":"Remove in-use relationship","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://pim.plytix.com/api/v1/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{relationship_id}}"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"errors\": [\n      {\n        \"field\": \"usages\",\n        \"msg\": {\n          \"ecatalogs\": [\n            {\n              \"id\": \"5d88684a58ab2325c4991206\",\n              \"name\": \"All products - 2019\"\n            }\n          ]\n        }\n      }\n    ],\n    \"msg\": \"Relationship id 5d8362c226387abb39cddb88 is in use\"\n  }\n}"},{"id":"5930d8ce-a5b4-44a1-b114-e9407fdab2e1","name":"Successful deletion of relationship","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all request are in json","type":"text"}],"url":{"raw":"https://pim.plytix.com/api/v1/relationships/:relationship_id","protocol":"https","host":["pim","plytix","com"],"path":["api","v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{relationship_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"92b118f9-e2d0-4667-86d3-cddbaa165cc6"}],"id":"cca42c22-5f4c-45ed-b870-70fcc4b16c51","_postman_id":"cca42c22-5f4c-45ed-b870-70fcc4b16c51","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add new relationship","id":"0013280b-99a4-4dec-8261-dd12c013f2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Recommended products\"\n}"},"url":"https://pim.plytix.com/api/v1/relationships","description":"<p>Create a new relationship.</p>\n<p>Each product can have a maximum of 300 products related to it per relationship.</p>\n<p>Upon successful creation, a 201 http status code will be returned.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","relationships"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0013280b-99a4-4dec-8261-dd12c013f2ef"},{"name":"Search relationships","id":"db2d2c30-e90b-4fb8-83bd-fa5033da90f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": [\n        \"id\",\n        \"modified\",\n        \"name\",\n        \"symmetrical\"\n    ],\n    \"filters\": [\n        [\n            {\n                \"field\": \"name\",\n                \"operator\": \"like\",\n                \"value\": \"free\"\n            },\n            {\n                \"field\": \"symmetrical\",\n                \"operator\": \"eq\",\n                \"value\": true\n            }\n        ]\n    ],\n    \"relationship_filters\": [],\n    \"pagination\": {\n        \"count\": 4,\n        \"order\": \"name\",\n        \"page\": 1\n    }\n}"},"url":"https://pim.plytix.com/api/v1/relationships/search","description":"<p>Filter relationships by multiple criteria.</p>\n<p>Filter structure and format is described under the <a href=\"#resources\">Resources</a> section in this guide, available fields can be queried using relationship filters endpoint</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","relationships","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"0d340c59-846d-4259-8327-a95eb73518b7","name":"Sample search","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All request must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all request are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": [\n        \"id\",\n        \"modified\",\n        \"name\",\n        \"label\"\n    ],\n    \"filters\": [\n        [\n            {\n                \"field\": \"name\",\n                \"operator\": \"like\",\n                \"value\": \"gift\"\n            }\n        ]\n    ],\n    \"relationship_filters\": [],\n    \"pagination\": {\n        \"count\": 4,\n        \"order\": \"name\",\n        \"page\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/relationships/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"64ad0d69573a2e83cd38b146\",\n            \"label\": \"gift_pack\",\n            \"modified\": \"2023-07-11T08:06:01.419000+00:00\",\n            \"name\": \"Gift pack\"\n        }\n    ],\n    \"pagination\": {\n        \"count\": 1,\n        \"order\": \"name\",\n        \"page\": 1,\n        \"page_size\": 25,\n        \"total_count\": 4\n    }\n}"}],"_postman_id":"db2d2c30-e90b-4fb8-83bd-fa5033da90f0"}],"id":"029e2aa4-852e-4548-97f6-acf67d2b38ee","_postman_id":"029e2aa4-852e-4548-97f6-acf67d2b38ee","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"product families","item":[{"name":"attributes","item":[{"name":"Add attribute to product family","id":"9d262653-0578-4c6d-8b86-723399c9f034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"attributes\":[\"attribute1_id\",\"attribute2_id\"],\n    \"attributes_level\": \"parent_level\"\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id/attributes/link","description":"<p>Add attributes to an existing product family</p>\n<ul>\n<li><p>The attributes that do not belong to the product familly will be added</p>\n</li>\n<li><p><strong>Existing attributes will change their inheritance levels (inheritance ON from level 1 / level 2 or inheritance OFF)</strong></p>\n</li>\n</ul>\n<h3 id=\"body\">Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes</td>\n<td>list</td>\n<td><strong>yes</strong></td>\n<td>List of attribute IDs</td>\n</tr>\n<tr>\n<td>attributes_level</td>\n<td>string</td>\n<td>no</td>\n<td>To indicate whether the attributes will not be inherited (\"no_level\"), inherited from level 1 (\"parent_level\") or from level 2 (\"variant_level\"). Default: \"no_level\".</td>\n</tr>\n</tbody>\n</table>\n</div><p>A 202 ACCEPTED status code is returned upon success.</p>\n<blockquote>\n<p>The \"parent_level\" and \"variant_level\" options are available only when automatic inheritance is active on the account. Contact your account manager for more information.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id","attributes","link"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"9d262653-0578-4c6d-8b86-723399c9f034"},{"name":"Edit product family attributes inheritance","id":"c7aebaa6-7d4a-4c70-9b88-451f99073b6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"parent_level\":[\"attribute1_label\",\"attribute2_label\"],\n    \"variant_level\":[\"attribute3_label\",\"attribute4_label\"],\n    \"no_level\":[\"attribute5_label\",\"attribute6_label\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id/attributes/edit","description":"<p>Edit product family attributes inheritance. Only the attributes included will be modified</p>\n<h3 id=\"body\">Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>parent_level</td>\n<td>list</td>\n<td>no</td>\n<td>List of attribute labels for which you want to set the level 1 inheritance ON</td>\n</tr>\n<tr>\n<td>variant_level</td>\n<td>list</td>\n<td>no</td>\n<td>List of attribute labels for which you want to set the level 2 inheritance ON</td>\n</tr>\n<tr>\n<td>no_level</td>\n<td>list</td>\n<td>no</td>\n<td>List of attribute labels for which you want to set the inheritance OFF</td>\n</tr>\n</tbody>\n</table>\n</div><p>A 202 ACCEPTED status code is returned upon success.</p>\n<blockquote>\n<p>The \"parent_level\" and \"variant_level\" options are available only when automatic inheritance is active on the account. Contact your account manager for more information.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id","attributes","edit"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"c7aebaa6-7d4a-4c70-9b88-451f99073b6f"},{"name":"Edit product family attributes, including system attributes","id":"4f9b35a5-c3ae-4f9f-b606-5d952877e061","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"parent_level\":[\"label\",\"attributes.attribute1_label\"],\n    \"variant_level\":[\"thumbnail\",\"attributes.attribute2_label\"],\n    \"no_level\":[\"status\",\"categories\",\"attributes.attribute3_label\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id/all_attributes/edit","description":"<p>Edits the inheritance configuration of product family attributes, including system attributes. Only the attributes included in the request will be updated.</p>\n<h3 id=\"body\">Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>parent_level</td>\n<td>list</td>\n<td>no</td>\n<td>List of attribute labels for which you want to set the level 1 inheritance ON</td>\n</tr>\n<tr>\n<td>variant_level</td>\n<td>list</td>\n<td>no</td>\n<td>List of attribute labels for which you want to set the level 2 inheritance ON</td>\n</tr>\n<tr>\n<td>no_level</td>\n<td>list</td>\n<td>no</td>\n<td>List of attribute labels for which you want to set the inheritance OFF</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Custom attributes must be prefixed with <code>attributes.</code> followed by the attribute label (e.g., <code>attributes.my_attribute</code>).</strong></p>\n</blockquote>\n<h3 id=\"inheritable-system-attributes\">Inheritable system attributes</h3>\n<p>The following system attributes can be included without any prefix:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>label</code></td>\n<td>Product label</td>\n</tr>\n<tr>\n<td><code>thumbnail</code></td>\n<td>Product thumbnail</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Product status</td>\n</tr>\n<tr>\n<td><code>categories</code></td>\n<td>Product categories</td>\n</tr>\n</tbody>\n</table>\n</div><p>A 202 ACCEPTED status code is returned upon success.</p>\n<blockquote>\n<p>The \"parent_level\" and \"variant_level\" options are available only when automatic inheritance is active on the account. Contact your account manager for more information.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id","all_attributes","edit"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"4f9b35a5-c3ae-4f9f-b606-5d952877e061"},{"name":"Unlink attribute from product family","id":"7a1c631e-0530-4ffa-bf05-2d8f4b918110","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"attributes\":[\"attribute1_id\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id/attributes/unlink","description":"<p>Unlink attributes from an existing product family</p>\n<p>* The given attributes that belong to the family will be unlinked</p>\n<p><strong>This action may cause data loss</strong></p>\n<h3 id=\"body\">Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes</td>\n<td>list</td>\n<td><strong>yes</strong></td>\n<td>list of attributes ids</td>\n</tr>\n</tbody>\n</table>\n</div><p>A 202 ACCEPTED status code is returned upon success.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id","attributes","unlink"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"7a1c631e-0530-4ffa-bf05-2d8f4b918110"},{"name":"Get family attributes","id":"58a61b84-8726-430f-923a-fb31e5f7e565","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id/attributes","description":"<p>Retrieves the product family attributes and for each one, whether it is set with level 1 inheritance (“parent_level”), level 2 inheritance (“variant_level”) or OFF (“no_level”).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id","attributes"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"58a61b84-8726-430f-923a-fb31e5f7e565"},{"name":"Get family attributes, including system attributes","id":"fd8990d7-a326-4cd6-9d82-2e119ae95d1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id/all_attributes","description":"<p>Retrieves all product family attributes, including system attributes, and indicates for each whether it has inheritance set to Level 1 (“parent_level”), Level 2 (“variant_level”) or OFF (“no_level”).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id","all_attributes"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"fd8990d7-a326-4cd6-9d82-2e119ae95d1a"}],"id":"9e8b71d5-1f4e-4dbc-8517-4b5c3c94a42b","description":"<p>This section contains resources to <strong>link and unlink</strong> <strong>attributes</strong> to/from a product family in the PIM.</p>\n","_postman_id":"9e8b71d5-1f4e-4dbc-8517-4b5c3c94a42b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}},{"name":"Add new family","id":"93229d03-c51d-4583-8ba2-cd993eea0386","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"product_family_name\",\n    \"attributes\":[\"attribute1_id\",\"attribute2_id\",\"attribute3_id\"],\n    \"parent_attributes\":[\"attribute4_id\",\"attribute5_id\"],\n    \"variant_attributes\":[\"attribute6_id\",\"attribute7_id\"]\n}"},"url":"https://pim.plytix.com/api/v1/product_families","description":"<p>Create a new product family.</p>\n<p>Upon successful creation, a 201 CREATED status code is returned and product family can be found in response body.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>human friendly name</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>list</td>\n<td><strong>no</strong></td>\n<td>List of attribute IDs or objects that include a label and, optionally, an id.  <br />  <br /><strong>*attributes with inheritance OFF</strong></td>\n</tr>\n<tr>\n<td>parent_attributes</td>\n<td>list</td>\n<td><strong>no</strong></td>\n<td>List of attribute IDs or objects that include a label and, optionally, an id.  <br />  <br /><strong>*attributes with level 1 inheritance ON</strong></td>\n</tr>\n<tr>\n<td>variant_attributes</td>\n<td>list</td>\n<td><strong>no</strong></td>\n<td>List of attribute IDs or objects that include a label and, optionally, an id.  <br />  <br /><strong>*attributes with level 2 inheritance ON</strong></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><em>\"attributes\"</em>, <em>\"parent_attributes\"</em>, and <em>\"variant_attributes\"</em> can each be provided as either a list of IDs or a list of objects containing a label and, optionally, an id. You cannot mix IDs and objects within the same request. Attributes can also be sent as objects to define the inheritance level for system attributes. </p>\n</blockquote>\n<blockquote>\n<p>The \"parent_attributes\" and \"variant_attributes\" options are available only when automatic inheritance is active on the account. Contact your account manager for more information.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[{"id":"06d56ad4-f3d2-44ea-a101-1c466155d935","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"product_family_name\",\n    \"attributes\":[\"attribute1_id\",\"attribute2_id\",\"attribute3_id\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/product_families"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"created\": \"2023-03-27T07:39:28.167000+00:00\",\n            \"created_at\": \"2023-03-27T07:39:28.167000+00:00\",\n            \"id\": \"64214830d9a5d3244f24ce97\",\n            \"modified\": \"2023-03-27T07:39:28.245000+00:00\",\n            \"name\": \"product_family_name\",\n            \"total_attributes\": 7,\n            \"total_models\": 0,\n            \"total_products\": 0\n        }\n    ]\n}"},{"id":"b44bc9e4-6df3-4e14-94e3-0c562a9d9520","name":"201 Created including a system attribute","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"All requests must include Bearer+space+your token value","type":"text"},{"key":"Content-Type","value":"application/json","description":"all requests are in json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"product_family_name\",\n    \"attributes\":[{\"label\": \"dev_media\"}],\n    \"parent_attributes\": [{\"label\": \"thumbnail\"}, {\"label\": \"label\"}]\n}","options":{"raw":{"language":"json"}}},"url":"https://pim.plytix.com/api/v1/product_families"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"created\": \"2023-03-27T07:39:28.167000+00:00\",\n            \"created_at\": \"2023-03-27T07:39:28.167000+00:00\",\n            \"id\": \"64214830d9a5d3244f24ce97\",\n            \"modified\": \"2023-03-27T07:39:28.245000+00:00\",\n            \"name\": \"product_family_name\",\n            \"total_attributes\": 5,\n            \"total_models\": 0,\n            \"total_products\": 0\n        }\n    ]\n}"}],"_postman_id":"93229d03-c51d-4583-8ba2-cd993eea0386"},{"name":"Search families","id":"da3d0d37-5b6a-4dc1-9eb9-a2e1bfb17b65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filters\":[],\n    \"relationship_filters\":[],\n    \"pagination\":\n    {\n        \"page\":1,\n        \"order\":\"name\"\n    },\n    \"attributes\":[\"name\",\"total_products\",\"total_attributes\", \"total_models\",\"_created_at\",\"modified\",\"created_user_audit\",\"modified_user_audit\"]\n}"},"url":"https://pim.plytix.com/api/v1/product_families/search","description":"<p>Search existing product families.</p>\n<p>Filter structure and format is described under the <a href=\"#resources\">Resources</a> section in this guide.</p>\n<h6 id=\"comments\">Comments:</h6>\n<ul>\n<li><p>Search filters MUST include all necessary columns. If an attribute is not explicitly requested it won’t be returned by the API. Available attributes can be found later in this section.</p>\n</li>\n<li><p>Requesting non-existing attributes will return a 422 error</p>\n</li>\n<li><p>You are allowed to sort by columns not included in the “attributes” field. However, those attributes won’t be returned.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families","search"],"host":["pim","plytix","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"da3d0d37-5b6a-4dc1-9eb9-a2e1bfb17b65"},{"name":"Get family data","id":"524a9b0a-1322-43b1-9ac1-324475df03d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All requests must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id","description":"<p>Retrieves a product family by the family id.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"524a9b0a-1322-43b1-9ac1-324475df03d0"},{"name":"Edit family name","id":"b502f0a4-f7c7-4445-8637-e5909e00e328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Your.Token.Value","description":"<p>All request must include Bearer+space+your token value</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>all requests are in json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"new name\"\n}"},"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id","description":"<p>Edit product family name.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><em>field</em></th>\n<th><em>type</em></th>\n<th><em>mandatory</em></th>\n<th><em>description</em></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>human-friendly name</td>\n</tr>\n</tbody>\n</table>\n</div><p>Any other attributes will be ignored.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"b502f0a4-f7c7-4445-8637-e5909e00e328"},{"name":"Remove family","id":"058aa6af-7c9b-4f66-8867-770291c39154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://pim.plytix.com/api/v1/product_families/:product_family_id","description":"<p>Remove a product family from user’s account.</p>\n<p>⚠️ <strong>If the family is assigned to a Parent product this action might cause data loss</strong></p>\n<p>A 202 ACCEPTED status code is returned upon success.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","product_families",":product_family_id"],"host":["pim","plytix","com"],"query":[],"variable":[{"type":"any","value":"","key":"product_family_id"}]}},"response":[],"_postman_id":"058aa6af-7c9b-4f66-8867-770291c39154"}],"id":"6e9045b0-7a35-4089-ac44-191093f300a8","description":"<p>Product Families are a way for you to assign attributes to products of the same type so that you can see only relevant attributes for each family. Product Families are especially useful if you have a variety of products in your catalog that share only a specific set of attributes.</p>\n<p>This section contains resources to manage <strong>Product Families</strong> in PIM.</p>\n","_postman_id":"6e9045b0-7a35-4089-ac44-191093f300a8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":true,"source":{"_postman_id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","id":"9c8e4c8c-aa56-4cc0-8f20-c987f723024b","name":"Plytix Api V1","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"00806e8d-774c-43b0-bedc-2bd3f8f3ddb7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"41cadae5-74e7-4e55-af3b-708bf8112e91"}}]}