{"collection":{"info":{"_postman_id":"03f89e07-32e2-46e8-b34b-2aebae4e386d","name":"Softline Products API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","createdAt":"2023-10-26T06:31:09.000Z","updatedAt":"2025-06-05T07:28:08.000Z","lastUpdatedBy":"15240180","uid":"15240180-03f89e07-32e2-46e8-b34b-2aebae4e386d"},"item":[{"name":"Create product (POST)","item":[{"name":"Create product (min dataset)","id":"797d252a-2e06-4cec-a7cd-d6e8278e5753","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"AuthorizationJWT","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"family_name\": \"Демо-продукт\",\r\n    \"name\": \"Базовая лицензия\",\r\n    \"variants\": [\r\n        {\r\n            \"price\": {\r\n                \"RUB\": {\r\n                    \"currency\": \"USD\",\r\n                    \"price\": \"99.99\"\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{Base API URL}}/v1/product","host":["{{Base API URL}}"],"path":["v1","product"]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-30T06:23:50.000Z","uid":"15240180-797d252a-2e06-4cec-a7cd-d6e8278e5753"},{"name":"Create product (common price)","id":"023bd01e-ae3d-4a4c-b395-d076f91d0d0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"AuthorizationJWT","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"family_name\": \"Демо-продукт\",\r\n    \"name\": \"Базовая лицензия\",\r\n    \"variants\": [\r\n        {\r\n            \"vendor_code\": \"1\",\r\n            \"sku\": \"111\",\r\n            \"from\": 1,\r\n            \"to\": 5,\r\n            \"price\": {\r\n                \"common\": {\r\n                    \"currency\": \"RUB\",\r\n                    \"price\": \"99.99\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"vendor_code\": \"1\",\r\n            \"sku\": \"111\",\r\n            \"from\": 6,\r\n            \"price\": {\r\n                \"common\": {\r\n                    \"currency\": \"RUB\",\r\n                    \"price\": \"80.99\"\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{Base API URL}}/v1/product","host":["{{Base API URL}}"],"path":["v1","product"]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-26T06:35:12.000Z","uid":"15240180-023bd01e-ae3d-4a4c-b395-d076f91d0d0a"},{"name":"Create product (full dataset)","id":"798f8a19-d771-4d35-bcb3-40c3b7c04a72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"AuthorizationJWT","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"family_name\": \"Демо-продукт\",\r\n    \"name\": \"Лицензия на 1 год\",\r\n    \"is_publish\": true,\r\n    \"image_url\": \"https://my-shop.com/images/product-1234.png\",\r\n    \"description\": \"<p><strong>Тестовый продукт</strong></p>\",\r\n    \"comment_for_manager\": \"Комментарий для менеджера\",\r\n    \"url_to_instructions\": \"https://www.google.com\",\r\n    \"url_to_download\": \"https://www.google.com\",\r\n    \"business_segment\": \"b2c\",\r\n    \"available_for_sale\": \"all\",\r\n    \"is_service\": true,\r\n    \"license_type\": \"new\",\r\n    \"licence_term\": \"P1Y\",\r\n    \"device_quantity\": 1,\r\n    \"renew_settings\": {\r\n        \"product_id_for_renew\": [\r\n            4645130,\r\n            4645131,\r\n            4645131\r\n        ],\r\n        \"renew_ar\": {\r\n            \"enable\": true,\r\n            \"required\": false\r\n        },\r\n        \"renew_pmr\": true,\r\n        \"renew_email\": false\r\n    },\r\n    \"localization_values\": {\r\n        \"en_EN\": {\r\n            \"family_name\": \"Test product\",\r\n            \"name\": \"1 PC/1 year\",\r\n            \"description\": \"<p><strong>Test product</strong> for test purchase</p>\",\r\n            \"comment_for_cart\": \"This is a test purchase.\",\r\n            \"comment_for_product_top\": \"The license is valid for 1 year.\",\r\n            \"comment_for_product_middle\": \"New version of the test product.\",\r\n            \"comment_for_product_for_AR\": \"The license is renewed automatically.\",\r\n            \"comment_for_product_for_MR\": \"You will need to manually renew your license after 1 year.\",\r\n            \"comment_for_product_bottom\": \"This license is not for sale or activation outside of the country.\"\r\n        }\r\n    },\r\n    \"display_settings\": {\r\n        \"hide_name\": true,\r\n        \"hide_item_quantity\": true\r\n    },\r\n    \"variants\": [\r\n        {\r\n            \"vendor_code\": \"1\",\r\n            \"sku\": \"111\",\r\n            \"from\": 1,\r\n            \"to\": 5,\r\n            \"price\": {\r\n                \"RUB\": {\r\n                    \"currency\": \"USD\",\r\n                    \"price\": \"99.99\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"vendor_code\": \"1\",\r\n            \"sku\": \"111\",\r\n            \"from\": 6,\r\n            \"price\": {\r\n                \"RUB\": {\r\n                    \"currency\": \"USD\",\r\n                    \"price\": \"80.99\"\r\n                }\r\n            }\r\n        }\r\n    ],\r\n    \"cross_sell\": {\r\n        \"type\": \"add_to_basket\",\r\n        \"status\": true,\r\n        \"date_from\": \"2020-10-15 14:18:00\",\r\n        \"date_to\": \"2020-10-25 14:18:00\",\r\n        \"removal_available\": true,\r\n        \"quantity_change_available\": false,\r\n        \"product_id\": [\r\n            4645130,\r\n            4645131\r\n        ]\r\n    },\r\n    \"typo\": {\r\n        \"status\": true,\r\n        \"date_from\": \"2020-10-15 14:18:40\",\r\n        \"date_to\": \"2020-10-25 14:18:40\",\r\n        \"localization_values\": {\r\n            \"ru_RU\": {\r\n                \"comment_for_typo\": \"Специальное предложение\"\r\n            },\r\n            \"en_EN\": {\r\n                \"comment_for_typo\": \"Special offer\"\r\n            }\r\n        },\r\n        \"product_id\": [\r\n            4645130,\r\n            4645131\r\n        ]\r\n    },\r\n    \"license_data\": {\r\n        \"ru_RU\": {\r\n            \"customer_notification\": \"Ключ активации: {KEY}\"\r\n        },\r\n        \"en_EN\": {\r\n            \"customer_notification\": \"Key: {KEY}\"\r\n        }\r\n    },\r\n    \"software_registry\": {\r\n        \"status\": true,\r\n        \"date\": \"2020-10-15\",\r\n        \"url\": \"https://reestr.digital.gov.ru/reestr/111\",\r\n        \"registration_number\": 111\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{Base API URL}}/v1/product","host":["{{Base API URL}}"],"path":["v1","product"]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-26T06:53:50.000Z","uid":"15240180-798f8a19-d771-4d35-bcb3-40c3b7c04a72"}],"id":"facf9416-63f2-4c84-a096-840e0f1a94c4","createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2025-06-05T07:28:32.000Z","uid":"15240180-facf9416-63f2-4c84-a096-840e0f1a94c4"},{"name":"Update product","id":"1efeba11-514c-4119-b5b3-00b48fde4eab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"AuthorizationJWT","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"family_name\": \"Демо-продукт\",\r\n  \"name\": \"Лицензия на 1 год\",\r\n  \"is_publish\": true,\r\n  \"image_url\": \"https://my-shop.com/images/product-1234.png\",\r\n  \"description\": \"<p><strong>Тестовый продукт</strong></p>\",\r\n  \"comment_for_manager\": \"Комментарий для менеджера\",\r\n  \"url_to_instructions\": \"https://www.google.com\",\r\n  \"url_to_download\": \"https://www.google.com\",\r\n  \"business_segment\": \"b2c\",\r\n  \"available_for_sale\": \"all\",\r\n  \"is_service\": true,\r\n  \"license_type\": \"new\",\r\n  \"licence_term\": \"P1Y\",\r\n  \"device_quantity\": 1,\r\n  \"renew_settings\": {\r\n    \"product_id_for_renew\": [\r\n      4645130,\r\n      4645131,\r\n      4645131\r\n    ],\r\n    \"renew_ar\": {\r\n      \"enable\": true,\r\n      \"required\": false\r\n    },\r\n    \"renew_pmr\": true,\r\n    \"renew_email\": false\r\n  },\r\n  \"localization_values\": {\r\n    \"en_EN\": {\r\n      \"family_name\": \"Test product\",\r\n      \"name\": \"1 PC/1 year\",\r\n      \"description\": \"<p><strong>Test product</strong> for test purchase</p>\",\r\n      \"comment_for_cart\": \"This is a test purchase.\",\r\n      \"comment_for_product_top\": \"The license is valid for 1 year.\",\r\n      \"comment_for_product_middle\": \"New version of the test product.\",\r\n      \"comment_for_product_for_AR\": \"The license is renewed automatically.\",\r\n      \"comment_for_product_for_MR\": \"You will need to manually renew your license after 1 year.\",\r\n      \"comment_for_product_bottom\": \"This license is not for sale or activation outside of the country.\"\r\n    }\r\n  },\r\n  \"display_settings\": {\r\n    \"hide_name\": true,\r\n    \"hide_item_quantity\": true\r\n  },\r\n  \"variants\": [\r\n    {\r\n      \"vendor_code\": \"1\",\r\n      \"sku\": \"111\",\r\n      \"from\": 1,\r\n      \"to\": 5,\r\n      \"price\": {\r\n        \"RUB\": {\r\n          \"currency\": \"USD\",\r\n          \"price\": \"99.99\"\r\n        }\r\n      }\r\n    },\r\n    {\r\n      \"vendor_code\": \"1\",\r\n      \"sku\": \"111\",\r\n      \"from\": 6,\r\n      \"price\": {\r\n        \"RUB\": {\r\n          \"currency\": \"USD\",\r\n          \"price\": \"80.99\"\r\n        }\r\n      }\r\n    }\r\n  ],\r\n  \"cross_sell\": {\r\n    \"type\": \"add_to_basket\",\r\n    \"status\": true,\r\n    \"date_from\": \"2020-10-15 14:18:00\",\r\n    \"date_to\": \"2020-10-25 14:18:00\",\r\n    \"removal_available\": true,\r\n    \"quantity_change_available\": false,\r\n    \"product_id\": [\r\n      4645130,\r\n      4645131\r\n    ]\r\n  },\r\n  \"typo\": {\r\n    \"status\": true,\r\n    \"date_from\": \"2020-10-15 14:18:40\",\r\n    \"date_to\": \"2020-10-25 14:18:40\",\r\n    \"localization_values\": {\r\n      \"ru_RU\": {\r\n        \"comment_for_typo\": \"Специальное предложение\"\r\n      },\r\n      \"en_EN\": {\r\n        \"comment_for_typo\": \"Special offer\"\r\n      }\r\n    },\r\n    \"product_id\": [\r\n      4645130,\r\n      4645131\r\n    ]\r\n  },\r\n  \"license_data\": {\r\n    \"ru_RU\": {\r\n      \"customer_notification\": \"Ключ активации: {KEY}\"\r\n    },\r\n    \"en_EN\": {\r\n      \"customer_notification\": \"Key: {KEY}\"\r\n    }\r\n  },\r\n  \"software_registry\": {\r\n    \"status\": true,\r\n    \"date\": \"2020-10-15\",\r\n    \"url\": \"https://reestr.digital.gov.ru/reestr/111\",\r\n    \"registration_number\": 111\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{Base API URL}}/v1/product/123456","host":["{{Base API URL}}"],"path":["v1","product","123456"]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-26T06:46:27.000Z","uid":"15240180-1efeba11-514c-4119-b5b3-00b48fde4eab"},{"name":"Get list of product IDs","id":"1805af6f-22ad-466b-95e9-4934ba20ca4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"AuthorizationJWT","value":"Bearer {{Token}}","type":"text"}],"url":{"raw":"{{Base API URL}}/v1/product?limit=10&offset=0&search_string=test&exclude_renew_ar_products=0&sort_by_update_date=desc","host":["{{Base API URL}}"],"path":["v1","product"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"},{"key":"search_string","value":"test"},{"key":"exclude_renew_ar_products","value":"0"},{"key":"sort_by_update_date","value":"desc"}]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-26T06:31:10.000Z","uid":"15240180-1805af6f-22ad-466b-95e9-4934ba20ca4e"},{"name":"Get product info","id":"9166ec11-0a2b-43dc-989a-e1567e3e8ba4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"AuthorizationJWT","value":"Bearer {{Token}}","type":"text"}],"url":{"raw":"{{Base API URL}}/v1/product/4652354","host":["{{Base API URL}}"],"path":["v1","product","4652354"]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-26T06:31:10.000Z","uid":"15240180-9166ec11-0a2b-43dc-989a-e1567e3e8ba4"},{"name":"Delete product","id":"d021f1c9-40af-4c36-b845-ed3319c4eb6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"AuthorizationJWT","value":"Bearer {{Token}}","type":"text"}],"url":{"raw":"{{Base API URL}}/v1/product/4652354","host":["{{Base API URL}}"],"path":["v1","product","4652354"]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-26T06:31:10.000Z","uid":"15240180-d021f1c9-40af-4c36-b845-ed3319c4eb6a"},{"name":"Get token for authentication","id":"ad2d6a5b-b1c9-4da8-9fb8-ff90ebdf6a34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"{{Username}}\",\r\n    \"password\": \"{{Password}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{Base API URL}}/v1/login_check","host":["{{Base API URL}}"],"path":["v1","login_check"]}},"response":[],"createdAt":"2023-10-26T06:31:10.000Z","updatedAt":"2023-10-26T06:31:10.000Z","uid":"15240180-ad2d6a5b-b1c9-4da8-9fb8-ff90ebdf6a34"}]}}