{"info":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"2413517","collectionId":"0df83cfc-5874-46f7-8e25-27c370a0085d","publishedId":"UUxui9bS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-09-21T11:55:58.000Z"},"item":[{"name":"Order","item":[{"name":"List of orders","id":"f8e27dc4-a41a-4276-82f8-4dd66676e048","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://seller.digikala.com/api/v1/orders/","description":"<p>Get list of seller`s orders.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","orders",""],"host":["https://seller.digikala.com"],"query":[{"disabled":true,"description":{"content":"<p>Comma seperated list of order items.</p>\n","type":"text/plain"},"key":"search[order_ids]","value":""},{"disabled":true,"description":{"content":"<p>Comma seperated list of variant ids.</p>\n","type":"text/plain"},"key":"search[variant_ids]","value":""},{"disabled":true,"description":{"content":"<p>String and valid value is one of digikala, seller or both</p>\n","type":"text/plain"},"key":"search[shipping_type]","value":null},{"disabled":true,"key":"search[product_id]","value":null},{"disabled":true,"key":"search[category_id]","value":null},{"disabled":true,"key":"search[supplier_code]","value":null},{"disabled":true,"description":{"content":"<p>Comma seperated list of shipping nature ids.</p>\n","type":"text/plain"},"key":"search[shipping_nature_ids]","value":null},{"disabled":true,"description":{"content":"<p>Available statuses are (confirmed, warehouse, warehouse_processing)</p>\n","type":"text/plain"},"key":"search[order_status]","value":null}],"variable":[]}},"response":[],"_postman_id":"f8e27dc4-a41a-4276-82f8-4dd66676e048"},{"name":"View an order","id":"2b835b74-59a7-4eba-9752-0aa826a19598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://seller.digikala.com/api/v1/orders/{{order_item_id}}/","description":"<p>View full detail of one order item.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_item_id}}",""],"host":["https://seller.digikala.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b835b74-59a7-4eba-9752-0aa826a19598"},{"name":"Cancel Order","id":"c22cca4c-b5c0-40b2-b3cc-06de00946c02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"count\": 1,\n    \"reason_id\": 18\n}","options":{"raw":{"language":"json"}}},"url":"https://seller.digikala.com/api/v1/orders/{{order_item_id}}/","description":"<p>Cancel an order item.\nAvailable reasons are:</p>\n<ul>\n<li>18: seller out of stock</li>\n<li>30: wrong pricing</li>\n<li>39: seller suspended</li>\n<li>54: partial out of stock</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_item_id}}",""],"host":["https://seller.digikala.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c22cca4c-b5c0-40b2-b3cc-06de00946c02"}],"id":"efe9dbc4-3c7e-4bd8-bd3a-9413d5513611","_postman_id":"efe9dbc4-3c7e-4bd8-bd3a-9413d5513611","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}}},{"name":"Variant","item":[{"name":"List of variants","id":"69a05ccd-00b8-47d3-ad65-3264805e8fa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://seller.digikala.com/api/v1/variants/?search[id]&search[product_id]&search[category_ids]&search[brand_ids]&search[has_warehouse_stock]&search[shipping_type]&search[is_active]&search[is_archived]&search[is_buy_box_winner]&search[is_in_promotion]&search[is_in_competition]&search[supplier_code]&search[active_b2b]","description":"<p>List of seller`s variants.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","variants",""],"host":["https://seller.digikala.com"],"query":[{"description":{"content":"<p>Variant id</p>\n","type":"text/plain"},"key":"search[id]","value":null},{"description":{"content":"<p>Product id</p>\n","type":"text/plain"},"key":"search[product_id]","value":null},{"description":{"content":"<p>Comma seperated list of category ids.</p>\n","type":"text/plain"},"key":"search[category_ids]","value":null},{"description":{"content":"<p>Comma seperated list of brand ids.</p>\n","type":"text/plain"},"key":"search[brand_ids]","value":null},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"search[has_warehouse_stock]","value":null},{"description":{"content":"<p>Shipping type.</p>\n","type":"text/plain"},"key":"search[shipping_type]","value":null},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"search[is_active]","value":null},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"search[is_archived]","value":null},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"search[is_buy_box_winner]","value":null},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"search[is_in_promotion]","value":null},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"search[is_in_competition]","value":null},{"description":{"content":"<p>String</p>\n","type":"text/plain"},"key":"search[supplier_code]","value":null},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"search[active_b2b]","value":null}],"variable":[]}},"response":[],"_postman_id":"69a05ccd-00b8-47d3-ad65-3264805e8fa8"},{"name":"View variant","id":"4a9fc2c9-6647-448c-98e3-f56770584351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://seller.digikala.com/api/v1/variants/{{variant_id}}/","description":"<p>View full detail of a variant.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","variants","{{variant_id}}",""],"host":["https://seller.digikala.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a9fc2c9-6647-448c-98e3-f56770584351"},{"name":"Update variant","id":"91428867-6802-49e4-accd-6d092e4f20f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"site\": \"digikala\",\n    \"shipping_type\": \"both\",\n    \"seller_stock\": 10,\n    \"max_per_order\": 10,\n    \"digikala_lead_time\": 2,\n    \"ship_by_seller_lead_time\": 48,\n    \"is_archived\": false,\n    \"is_active\": true,\n    \"price\": 12000,\n    \"gold_wage\": null,\n    \"non_gold_parts_cost\": null,\n    \"non_gold_parts_wage\": null,\n    \"gold_profit\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://seller.digikala.com/api/v1/variants/{{variant_id}}/","description":"<p>Note:\nDo not send gold params and price toghether.\nUse gold params to set price for gold products and in other cases, use price field.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","variants","{{variant_id}}",""],"host":["https://seller.digikala.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"91428867-6802-49e4-accd-6d092e4f20f9"}],"id":"8ce1f76f-dabb-4d7e-a344-dd419a2a133c","_postman_id":"8ce1f76f-dabb-4d7e-a344-dd419a2a133c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}}},{"name":"Profile","item":[{"name":"Seller Profile","id":"0887c9a6-c57a-45fd-b002-bfe7de41de73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://seller.digikala.com/api/v1/profile/","description":"<p>Show user profile details.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","profile",""],"host":["https://seller.digikala.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0887c9a6-c57a-45fd-b002-bfe7de41de73"},{"name":"List of seller holidays","id":"55b9a52a-86f1-4b67-94d5-47ac26086763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://seller.digikala.com/api/v1/profile/holidays/?search[filter]=ahead_holidays","description":"<p>Show seller holidays.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","profile","holidays",""],"host":["https://seller.digikala.com"],"query":[{"description":{"content":"<p>One item from ahead_holidays, past_holidays,  removed_holidays</p>\n","type":"text/plain"},"key":"search[filter]","value":"ahead_holidays"}],"variable":[]}},"response":[],"_postman_id":"55b9a52a-86f1-4b67-94d5-47ac26086763"},{"name":"Seller holiday calendar","id":"3260d194-2a1f-4233-b7b8-4fd3818543b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://seller.digikala.com/api/v1/profile/holidays/calendar/?year=1400&month=6","description":"<p>Show seller holidays and order commitments on a calendar.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}},"urlObject":{"path":["api","v1","profile","holidays","calendar",""],"host":["https://seller.digikala.com"],"query":[{"description":{"content":"<p>Persian year</p>\n","type":"text/plain"},"key":"year","value":"1400"},{"description":{"content":"<p>Persian month</p>\n","type":"text/plain"},"key":"month","value":"6"}],"variable":[]}},"response":[],"_postman_id":"3260d194-2a1f-4233-b7b8-4fd3818543b1"}],"id":"d1456d57-fe0a-4cd8-b398-7eb2541452df","_postman_id":"d1456d57-fe0a-4cd8-b398-7eb2541452df","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]},"isInherited":true,"source":{"_postman_id":"0df83cfc-5874-46f7-8e25-27c370a0085d","id":"0df83cfc-5874-46f7-8e25-27c370a0085d","name":"Marketplace API documents","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"************"}]}},"event":[{"listen":"prerequest","script":{"id":"82bdadd1-7bc0-447b-b50a-f3d3a881e3d0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"58f7ceb8-36e0-46f5-beb0-8a49c1f161cc","type":"text/javascript","exec":[""]}}],"variable":[{"key":"host","value":"https://seller.digikala.com"},{"key":"token","value":"************"},{"key":"variant_id","value":"{{variant_id}}"},{"key":"order_item_id","value":"{{order_item_id}}"}]}