{"info":{"_postman_id":"820b8981-2c8a-4e89-b3ee-6a0949be42c9","name":"Pluggto Public API","description":"<html><head></head><body><p>Use this postman collection to easy connect to PluggTo;</p>\n<h3>EndPoints</h3>\n\n<p>PluggTo API is accessible by the URL https://api.plugg.to</p>\n\n<p>Actualy exists 4 types of resources:\n</p><ul>\n<li><i>Products/Skus</i></li>\n<li><i>Orders</i></li>\n<li><i>Messages</i></li>\n<li><i>Shipping</i></li>\n</ul>\n\n<p>Products and Skus is the same, the Skus endpoint was builded to avoid the need to  to know the internal id of some sku to view it or updated</p>\n\n<p>We recommeded to use the Products endpoint ONLY if you need to search some product by attribute or get all, or if you received a notification with the product resource id and with notication type = product</p>\n\n\n<h3>Authentication</h3>\n\n<p>To make any request, you will need a valid access token that is sent in the header of the example calls:<br>\ncurl --request GET \\<br>\n  --url https://api.plugg.to/orders \\<br>\n  --header 'Accept: application/json' \\<br>\n  --header 'Authorization: Bearer {ACCESS_TOKEN}' \\ <br>\n  --header 'Content-Type: application/json'</p>\n\n<p>To get a access tokens you have to make authenticate using APP authentication method or Plugin authentication method.\n\n</p><p>Check the Authentication Api</p></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"249752","collectionId":"820b8981-2c8a-4e89-b3ee-6a0949be42c9","publishedId":"T1DpAwbJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-23T12:10:44.000Z"},"item":[{"name":"Authentication","item":[{"name":"Authentication By Password","id":"0ffdb078-6ed6-4c44-8939-3a223dcec029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"raw","raw":"grant_type=password&client_id=[client_id]&client_secret=[client_secret]&username=[app_user]&password=[app_password]"},"url":"https://api.plugg.to/oauth/token","description":"<p><b>Use this method if yor application is connecting to Pluggto and have just one user or you know who your user is.</b></p>\n<p>To get a access_token from plugin authetication method you need 4 credencials.</p>\n<br />\n<ul>\n<li>client_id - Plugin API id</li>\n<li>client_secret - Plugin API password</li>\n<li>username - User API key</li>\n<li>password - User API password</li>\n</ul>\n<br />\n<b>IMPORTANT</b>\nBe aware that all this credencials are exclusive to connect to the API, and not to use access the PluggTo panel ","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8855bc06-2447-42be-b9ad-e76dcdcee065","id":"8855bc06-2447-42be-b9ad-e76dcdcee065","name":"Authentication","type":"folder"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["api","plugg","to"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ffdb078-6ed6-4c44-8939-3a223dcec029"},{"name":"Authentication by authorization_code  (App)","id":"f112b8f7-a457-4423-b398-08f7b690ef2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"raw","raw":"grant_type=authorization_code&client_id={client_id}&client_secret={client_secret}&code={pluggtocode}"},"url":"https://api.plugg.to/oauth/token","description":"<p><b>Use this method if you want that your application oppened inside PluggTo</b></p>\n<p>When create an APP in Pluggto you will register a URL that all users will be redirect when they click your application.  </p>\n<p>In the URL we will gonna send a parameter called \"pluggtocode\" that you should access an send to our API with your \"client_id\" and \"client_secreat\", passing it as the parameter \"code\". This code is valid only for the first called, or few minutes, and will give as return the user access_token and refresh_token that you should keep in your database.</p>\n<p>To get a access_token from plugin authetication method you need 3 credencials.</p>\n<br />\n<ul>\n<li>client_id - Plugin API id</li>\n<li>client_secret - Plugin API password</li>\n<li>code - Pluggtocode parameter passed on the url</li>\n</ul>\n\n<p>When using the ENDPOINT \"users\" will allow you to know the user who is acessing your application.</p>\n<p>Once that you have the refresh_token will be possible to authenticate next time by refresh_token method.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8855bc06-2447-42be-b9ad-e76dcdcee065","id":"8855bc06-2447-42be-b9ad-e76dcdcee065","name":"Authentication","type":"folder"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["api","plugg","to"],"query":[],"variable":[]}},"response":[],"_postman_id":"f112b8f7-a457-4423-b398-08f7b690ef2c"},{"name":"Authentication By Refresh Token","id":"e5495a70-1848-448e-bdad-c82c1b8807d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"raw","raw":"grant_type=refresh_token&client_id=[client_id]&client_secret=[client_secret]&refresh_token=[refresh_token_keeped]"},"url":"https://api.plugg.to/oauth/token","description":"<p><b>This is a second part authentiction.</b>\n<b>this method if you already have been authenticate the API and already have a refresh_token valid</b></p>\n<p>To get a access_token from plugin authetication method you need 3 credencials.</p>\n<br />\n<ul>\n<li>client_id - Plugin API id</li>\n<li>client_secret - Plugin API password</li>\n<li>refresh_token - RefreshToken Keeped</li>\n</ul>\n<br />\n<b>IMPORTANT</b>\nEvery time that you authenticatea new refresh_token is generate that is valid for just few calls, you must keep in your database.","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8855bc06-2447-42be-b9ad-e76dcdcee065","id":"8855bc06-2447-42be-b9ad-e76dcdcee065","name":"Authentication","type":"folder"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["api","plugg","to"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5495a70-1848-448e-bdad-c82c1b8807d4"}],"id":"8855bc06-2447-42be-b9ad-e76dcdcee065","description":"<p><b>Introduction to authentication</b></p>\n<p><b>Pluggto authentication was built folowing <a href=\"https://oauth.net/2/\">Oauth 2.0 Protocol</a></b></p>\n\n<p>To access the Pluggto Resouces (Products,Orders,Messages) you must in all call the access_token parameter.</p> \n\n\n<p>To get a access token you should one of the folowing authentication methods. By (password,authorization_code,refresh_token)</p>\n\n\n<p><b>Each \"access_token\" is valid for 1 hour, after is necessary to repet the authentication.</b></p>\n\n<p><b>For better performace DONT'T generate a new authentication for each call that you make.</b></p>\n<p>To get your keys you must go Pluggtos painel, on top menu , click in your account name, than goes to developer and select if want to create a Plugin click on Create on Plugin tab else on create on App tab.</p>\n\n\n\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"1d66338f-5cf3-4a50-a6d8-82d6486579e9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"89044531-0e1a-4f14-8dd1-e97b63047a68","type":"text/javascript","exec":[""]}}],"_postman_id":"8855bc06-2447-42be-b9ad-e76dcdcee065"},{"name":"Notifications/Webhook","item":[],"id":"928798e8-7106-4863-bcf6-df2966e01b31","description":"<br />\n<p>PluggTo sends notifications to your app or plugin to you easy know when a product or orders was created or modified on PluggTo</p>\n\n<p>Notifications are send as POST with a Json message to an URL previusly register in PluggTo in the moment that you have created your Application or Plugin</p>\n\n<p>You going to receive in the menssage the user_id of the resource owner, the resource type (products or orders), the resource id that has changed and the action (\"created\" or \"updated\")</p>\n\n<p>The post will be send in the following format:</p>\n\n<p>{\"type\":\"PRODUCTS/SKUS/ORDERS\",\"id\":\"PLUGGTO_ID\",\"action\":\"UPDATEORCREATE\",\"user\":1120, \"changes\" : {\"status\" : false,\"stock\" : false,\"price\":false }}</p>\n\n<p>Exemple:</p>\n<p>{\n  \"user\" : 129,\n  \"id\" : \"5b9169c309eacd415056aa3a\",\n  \"changes\" : {\n    \"status\" : false,\n    \"stock\" : false,\n    \"price\" : false\n  },\n  \"type\" : \"products\",\n  \"action\" : \"updated\"\n}</p>\n<p><b>Important:</b></p>\n<p>PluggTo expecteds a <b>200 code</b> return, to kwnow that your application has received the menssage, if PluggTo do not receive the 200 code, the menssage will to a retry queue</p>\n\n<p>Retry intervals:</p>\n<ul>\n<li>5 minutes</li>\n<li>15 minutes</li>\n<li>1 hour</li>\n<li>2 hours</li>\n<li>3 hours</li>\n<li>12 hours</li>\n<li>24 hours</li>\n<li>2 days (then if yeat do not get yet 200 code, the notification will be discarded</li>\n<ul>\n\n<p><br /><br /></p>\n</ul></ul>","event":[{"listen":"prerequest","script":{"id":"039e81da-76e7-4a4f-8929-aac85a680e79","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d2cc6c59-de10-4687-a8d8-456541c9bac8","type":"text/javascript","exec":[""]}}],"_postman_id":"928798e8-7106-4863-bcf6-df2966e01b31"},{"name":"Orders","item":[{"name":"Create Order","id":"80577176-15ac-4335-8a6a-01764549261c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"receiver_name\":\"Andre\",\n  \"receiver_lastname\":\"Teste2\",\n  \"receiver_address_number\":\"440\",\n  \"receiver_address\":\"Rua do Bosque\",\n  \"receiver_address_complement\":\"Ap 22\",\n  \"receiver_address_reference\":\"Prox a padaria\",\n  \"receiver_city\": \"São Paulo\",\n  \"receiver_state\":\"SP\",\n  \"receiver_email\":\"teste@teste.com.br\",\n  \"receiver_zipcode\":\"4457-115\",\n  \"receiver_phone\":\"9911-22111\",\n  \"receiver_phone2_area\":\"21\",\n  \"receiver_phone2\":\"9911-22112\",\n  \"receiver_neighborhood\": \"Barra funda\",\n  \"receiver_phone_area\":\"11\",\n  \"payer_name\":\"Luizo\",\n  \"payer_lastname\":\"Santos\",\n  \"payer_address\":\"Rua do Bosque\",\n  \"payer_address_number\": \"440\",\n  \"payer_address_complement\":\"Ap 22\",\n  \"payer_additional_info\":\"Prox a padaria\",\n  \"payer_neighborhood\": \"Mooca\",\n  \"payer_city\": \"São Paulo\",\n  \"payer_state\": \"SP\",\n  \"payer_zipcode\":\"4457-115\",\n  \"payer_phone_area\":\"11\",\n  \"payer_phone\":\"2233-1111\",\n  \"payer_phone2_area\":\"21\",\n  \"payer_phone2\":\"2233-1111\",\n  \"payer_cpf\": \"000.000.000-00\",\n  \"payer_tax_id\":\"000.000.000-00\",\n  \"payer_cnpj\": \"22.211.221/0001-21\",\n  \"payer_document\":\"22.211.221/0001-21\",\n  \"payer_razao_social\": \"EMPRESA LTDA\",\n  \"payer_company_name\":\"EMPRESA LTDA\",\n  \"payer_country\": \"BR\",\n  \"payer_email\": \"999999992016@mail.com.br\",\n  \"sale_intermediary\": \"22211221000121\", \n  \"payment_intermediary\": \"20231221000121\",\n  \"intermediary_seller_id\": \"seller@marketplace\",\n  \"total_paid\": \"18\",\n  \"payer_gender\": \"male|female|n/a\",\n  \"shipping\": 10.21,\n  \"subtotal\": 18.21,\n  \"discount\": 0.0,\n  \"total\": 18,\n  \"payment_installments\":3,\n  \"user_client_id\":\"129\",\n  \"status\": \"pending\",\n  \"original_id\": \"id_2_no_meu_sistema_teste_stock_history\",\n  \"expected_send_date\":\"2016-11-05\",\n  \"expected_delivery_date\":\"2016-11-05\",\n  \"receiver_schedule_date\":\"2016-11-05\",\n  \"receiver_schedule_period\":\"morning|afternoon|night\",\n  \"stock_code\":\"warehouse_1\",\n  \"price_code\":\"price_reseller\",\n  \"auto_reserve\":true,\n  \"payments\":[{\n  \t\"payment_type\":\"credit\",\n  \t\"payment_method\":\"Nome do método como enviado pelo canal de venda\",\n  \t\"payment_installments\":3,\n  \t\"payment_total\":100,\n  \t\"payment_quota\":30,\n  \t\"payment_interest\":3\n  }],\n  \"shipments\":[{\n    \"shipping_company\":\"Correios\",\n    \"shipping_method\":\"PAC\",\n    \"track_code\":\"11111\",\n    \"track_url\":\"http://correios.com.br\",\n    \"status\":\"shipped|delivered|issue\",\n    \"estimate_delivery_date\":\"2016-11-05\",\n    \"date_shipped\":\"2016-11-01\",\n    \"date_delivered\":\"2016-11-05\",\n    \"date_cancelled\":\"2016-12-01\",\n    \"nfe_key\":\"44444444444444444444444444444\",\n    \"nfe_link\":\"http://nfe.com.br/nsaasa\",\n    \"nfe_number\":\"12\",\n    \"nfe_serie\":\"1\",\n    \"nfe_date\":\"2016-11-01\",\n    \"cfops\":\"String com todos CFOPs do pedido\",\n    \"documents\":\n    \t[\n    \t\t{\n    \t\t\"url\":\"http://www.etiqueta.com.br\",\n    \t\t\"external\":\"http://www.etiqueta.com.br\",\n    \t\t\"type\":\"label|packing_list|invoice\"\n    \t\t}\n    \t],\n    \"issues\":[\n        {\n        \"description\":\"Atrasa na entrega\",\n        \"date\":\"2016-11-04\"\n        }\n      ],\n    \"shipping_items\":\n      [\n        {\n          \"sku\":\"136-CT997\",\n          \"quantity\":1\n        },\n        {\n          \"sku\":\"136-D0004\",\n          \"quantity\":5\n        },\n        {\n          \"sku\":\"136-D0002\",\n          \"quantity\":5\n        }\n      ]\n  }],\n  \"items\": [ \n  \t\n    {\t\t\"quantity\": 3,\n            \"sku\": \"4544646464\",\n            \"price\": 30,\n            \"total\": 90,\n            \"name\": \"Camiseta Básica Azul\",\n            \"stock_code\": \"136\",\n            \"commission\":{\n            \t\"fixed\":4,\n            \t\"tax\":2,\n            \t\"total_charged\":10\n            },\n            \"variation\": {\n              \"sku\": \"variacao-1\"\n            },\n            \"supplier_id\":\"136\"\n    },\n      {    \"quantity\": 1,\n            \"sku\": \"5464647976546\",\n            \"price\": 10,\n            \"total\": 10,\n            \"name\": \"PRODUTO XYZ\",\n            \"supplier_id\":\"136\",\n            \"commission\":{\n            \t\"fixed\":4,\n            \t\"tax\":2,\n            \t\"total_charged\":10\n            }\n       \n      }\n    \n      ]\n}"},"url":"https://api.plugg.to/orders","urlObject":{"protocol":"https","path":["orders"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":null}],"variable":[]}},"response":[],"_postman_id":"80577176-15ac-4335-8a6a-01764549261c"},{"name":"Get one Order","id":"76214ed3-338e-4f7c-b7de-33fb5eca89a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.plugg.to/orders/{plugg_order_id}","urlObject":{"protocol":"https","path":["orders","{plugg_order_id}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"76214ed3-338e-4f7c-b7de-33fb5eca89a9"},{"name":"Update Order","id":"36f2bd8e-0fec-4cac-a3d1-67c59a3f7642","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"receiver_name\":\"Andre\",\n  \"receiver_lastname\":\"Teste\",\n  \"receiver_address_number\":\"440\",\n  \"receiver_address\":\"Rua do Bosque\",\n  \"receiver_address_complement\":\"Ap 22\",\n  \"receiver_address_reference\":\"Prox a padaria\",\n  \"receiver_city\": \"São Paulo\",\n  \"receiver_state\":\"SP\",\n  \"receiver_email\":\"teste@teste.com.br\",\n  \"receiver_zipcode\":\"4457-115\",\n  \"receiver_phone\":\"9911-22111\",\n  \"receiver_phone2_area\":\"21\",\n  \"receiver_phone2\":\"9911-22112\",\n  \"receiver_neighborhood\": \"Barra funda\",\n  \"receiver_phone_area\":\"11\",\n  \"payer_name\":\"Luizo\",\n  \"payer_lastname\":\"Santos\",\n  \"payer_address\":\"Rua do Bosque\",\n  \"payer_address_number\": \"440\",\n  \"payer_address_complement\":\"Ap 22\",\n  \"payer_additional_info\":\"Prox a padaria\",\n  \"payer_neighborhood\": \"Mooca\",\n  \"payer_city\": \"São Paulo\",\n  \"payer_state\": \"SP\",\n  \"payer_zipcode\":\"4457-115\",\n  \"payer_phone_area\":\"11\",\n  \"payer_phone\":\"2233-1111\",\n  \"payer_phone2_area\":\"21\",\n  \"payer_phone2\":\"2233-1111\",\n  \"payer_cpf\": \"000.000.000-00\",\n  \"payer_tax_id\":\"000.000.000-00\",\n  \"payer_cnpj\": \"22.211.221/0001-21\",\n  \"payer_document\":\"22.211.221/0001-21\",\n  \"payer_razao_social\": \"EMPRESA LTDA\",\n  \"payer_company_name\":\"EMPRESA LTDA\",\n  \"payer_country\": \"BR\",\n  \"payer_email\": \"999999992016@mail.com.br\",\n  \"sale_intermediary\": \"22211221000121\", \n  \"payment_intermediary\": \"20231221000121\",\n  \"intermediary_seller_id\": \"seller@marketplace\",\n  \"total_paid\": \"18\",\n  \"payer_gender\": \"male\",\n  \"shipping\": 10.21,\n  \"subtotal\": 18.21,\n  \"discount\": 0.0,\n  \"total\": 18,\n  \"payment_installments\":3,\n  \"user_client_id\":\"129\",\n  \"status\": \"pending|partial_payment|approved|waiting_invoice|invoiced|partial_invoiced|invoice_error|shipping_informed|shipped|partial_shipped|shipping_error|delivered|partial_delivered|canceled|under_review\",\n  \"external\": \"53453543534353\",\n  \"delivery_type\": \"standard\",\n  \"channel\": \"minha_aplicacao\",\n  \"currency\":\"BRL|ARS|VEF|MXN|MXV|MCR|COP|BOB|ARS|EUR|UYU|CAD|CLP|CRC|PYG|PEN|PAB|GBP|AUD|CUP|CUC|USD\",\n  \"original_id\": \"id_2_no_meu_sistema\",\n  \"expected_send_date\":\"2016-11-05\",\n  \"expected_delivery_date\":\"2016-11-05\",\n  \"receiver_schedule_date\":\"2016-11-05\",\n  \"receiver_schedule_period\":\"morning\",\n  \"stock_code\":\"warehouse_1\",\n  \"price_code\":\"price_reseller\",\n  \"shipments\":[{\n  \t\"id\":\"SEND_INTERNAL_ID_TO_UPDATE_SHIPMENT_NOT_SEND_THIS_FIELD_TO_CREATE_A_NEW_SHIPMENT\",\n    \"shipping_company\":\"Correios\",\n    \"shipping_method\":\"PAC\",\n    \"track_code\":\"11111\",\n    \"track_url\":\"http://correios.com.br\",\n    \"status\":\"shipped|delivered|issue\",\n    \"estimate_delivery_date\":\"2016-11-05\",\n    \"date_shipped\":\"2016-11-01\",\n    \"date_delivered\":\"2016-11-05\",\n    \"date_cancelled\":\"2016-12-01\",\n    \"nfe_key\":\"44444444444444444444444444444\",\n    \"nfe_link\":\"http://nfe.com.br/nsaasa\",\n    \"nfe_number\":\"12\",\n    \"nfe_serie\":\"1\",\n    \"nfe_date\":\"2016-11-01\",\n    \"cfops\":\"String com todos CFOPs do pedido\",\n    \"documents\":\n    [\n    \t{\n    \t\t\"url\":\"http://www.etiqueta.com.br\",\n    \t\t\"external\":\"http://www.etiqueta.com.br\",\n    \t\t\"type\":\"label|packing_list|invoice\"\n    \t}\n    ],\n    \"issues\":[\n        {\n        \"description\":\"Atrasa na entrega\",\n        \"date\":\"2016-11-04\"\n        }\n      ],\n    \"shipping_items\":\n      [\n        {\n          \"sku\":\"136-CT997\",\n          \"quantity\":1\n        },\n        {\n          \"sku\":\"136-D0004\",\n          \"quantity\":5\n        },\n        {\n          \"sku\":\"136-D0002\",\n          \"quantity\":5\n        }\n      ]\n  }],\n  \"items\": [{\n    \"quantity\": 1,\n    \"sku\": \"136-CT997\",\n    \"price\": \"90\",\n    \"total\": \"90\",\n    \"name\": \"Camiseta Básica Azul\"\n  },\n  {\n    \"quantity\": 5,\n    \"sku\": \"136-D0004\",\n    \"price\": \"90\",\n    \"total\": \"90\",\n    \"name\": \"Camiseta Básica Azul\"\n  },\n  {\n    \"quantity\": 5,\n    \"sku\": \"136-D0002\",\n    \"price\": \"90\",\n    \"total\": \"90\",\n    \"name\": \"Camiseta Básica Azul\"\n  }]\n}"},"url":"https://api.plugg.to/orders/5877efb70280833e402e54bc","description":"<p>Method to update order.</p>\n<p>Your system must create a shippiment with status <b>\"invoiced\"</b>, when sending invoice data.</p>\n<p>Your system must create a shippiment with status <b>\"shipping_informed\"</b>, when sending shipment data.</p>\n<p><b>Attention:</b>The \"shipped\" status is register by Pluggto when we have success to send the information to the MarketPlace, while in case of unsuccess we mark the order with the status \"shipping_error\".</p>\n<p><b>In case of  \"invoiced\" or \"shipping_informed\". If you change just the status order withou send the information, this status will not be update on the Marketplace. </b></p>\n<p><b>I case of status \"canceled\", not all Marketplace accept to cancel orders by API check with our team if this update will be reflected on a specific marketplace</b></p>\n<p>If alreay exists one shipment created in the order, is necessary to send the field \"id\" that return from our API, otherwise you will create a new shipment.</p>\n<p>Exemple:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n\"status\":\"shipping_informed\",\n\"shipments\":\n [{\"id\":\"32132311311\",   \n\"shipping_company\":\"Correios\",\n\"shipping_method\":\"PAC\",\n\"track_code\":\"11111\",\n\"track_url\":\"http://correios.com.br\",\n\"status\":\"shipped\",\n\"date_shipped\":\"2016-11-01\",\n\"nfe_key\":\"44444444444444444444444444444\",\n\"nfe_link\":\"http://nfe.com.br/nsaasa\",\n\"nfe_number\":\"12\",\n\"nfe_serie\":\"1\",\n\"nfe_date\":\"2016-11-01\"\n}]\n</code></pre><p>  }</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n\"status\":\"invoice\",\n\"shipments\":\n [{\"id\":\"32132311311\",   \n\"status\":\"invoiced\",\n\"nfe_key\":\"44444444444444444444444444444\",\n\"nfe_link\":\"http://nfe.com.br/nsaasa\",\n\"nfe_number\":\"12\",\n\"nfe_serie\":\"1\",\n\"nfe_date\":\"2016-11-01\"\n}]\n</code></pre><p>  }</p>\n","urlObject":{"protocol":"https","path":["orders","5877efb70280833e402e54bc"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"23b2bd1d1b73fa42506bd4c9f2c3223414d9d3af"}],"variable":[]}},"response":[],"_postman_id":"36f2bd8e-0fec-4cac-a3d1-67c59a3f7642"},{"name":"Get All Orders","id":"ffe237e5-1c77-4032-8ac1-c3bab1093835","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.plugg.to/orders?next={last_pluggto_id}&limit=100","description":"<p>From this endpoint is possible to get all orders from PluggTo.</p>\n<div class=\"headers-heading\">Paging</div>\n<table>\n<tr>\n<td>next</td>\n<td>Insert the last id found in the previus call</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Insert the number or registers to be returned</td>\n</tr>\n</table>\n\n<div class=\"headers-heading\">Filters</div>\n\n<table>\n\n\n<tr>\n<td>created</td>\n<td>Check from creation date (ie 2017-01-01to2017-02-01)</td>\n</tr><tr>\n<td>modified</td>\n<td>Check from update date. (ie 2017-01-01to2017-02-01)</td>\n</tr>\n<tr>\n<td>sku</td>\n<td>Search orders that contains this sku </td>\n</tr>\n<tr>\n<td>channel_id</td>\n<td>Search by original channel id (ie 1231)</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>Search by channel name (ie. Mercadolivre)</td>\n</tr>\n<tr>\n<td>attribute</td>\n<td>Search by attribute code or attribute value field (exact)</td>\n</tr>\n<tr>\n<td>nfe_number</td>\n<td>Search by invoice number</td>\n</tr>\n<tr>\n<td>has_nfe</td>\n<td>See if has invoice number</td>\n</tr>\n<tr>\n<td>track_code</td>\n<td>Search by track code</td>\n</tr>\n<tr>\n<td>shipping_company</td>\n<td>Search by shipping company</td>\n</tr>\n<tr>\n</tr><tr>\n<td>external</td>\n<td>Search by your application id</td>\n</tr>\n<tr>\n</tr><tr>\n<td>ack</td>\n<td>Show olders that is or not know (ie. ack=1 or ack=0)</td>\n</tr>\n<tr>\n<td>others</td>\n<td>you can search by any other api propriety, like \"receiver_name=Anny or status=active\"</td>\n</tr>\n</table>","urlObject":{"protocol":"https","path":["orders"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"},{"key":"next","value":"{last_pluggto_id}"},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"ffe237e5-1c77-4032-8ac1-c3bab1093835"},{"name":"Get Labels","id":"564c309e-9366-4073-bafa-84d157bc25e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://api.plugg.to/labels?orders={{pluggto_order_id_1}},{{pluggto_order_id_2}},","description":"<p>With this method you can get multiple orders labels and PLPs in a single page</p>\n<p><b>Parameters</b></p>\n<ul>\n<li>Orders Ids (separed by comma)</li>\n<li>Access_token</li>\n</ul>\n\n<p><b>Returned</b></p>\n<ul>\n<li>PLP URL</li>\n<li>Labels URL</li>\n</ul>\n<br />\n<b>Returned Exemple</b>\n<br />\n<code>\n{\n\"urls\": [\n\"https://..../plps.pdf\",\n\"https://..../labels.pdf\"\n]\n}\n</code>","urlObject":{"protocol":"http","path":["labels"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{{access_token}}"},{"key":"orders","value":"{{pluggto_order_id_1}},{{pluggto_order_id_2}},"}],"variable":[]}},"response":[],"_postman_id":"564c309e-9366-4073-bafa-84d157bc25e9"}],"id":"f09e1eaf-5f82-4232-a59d-e02bb940de42","description":"<p>Order Status</p>\n<ul>\n<li>'pending' - Order is not paid</li>\n<li>'partial_payment' - Order is paid, but freight not</li>\n<li>'approved' - Order is paid and approved</li>\n<li>'waiting_invoice' - Store request to generate Invoice</li>\n<li>'invoice_error' - ERP was not able generate the Invoice</li>\n<li>'invoiced' - Invoice is done</li>\n<li>'shipping_informed' - Store informed the track code and shipped the product</li>\n<li>'shipped' - MarketPlace accept the shipping information and informed de customer</li>\n<li>'shipping_error' - MarketPlace not accept the shipping information, need to fix the invoice information</li>\n<li>'delivered' - Store market as delivered to the customer the product </li>\n<li>'canceled' - The order was canceled</li>\n<li>'under_review' - The order should not be send, untile the MarketPlace approved again the order</li>\n</ul>\n<br /><br />\n\n<p>Status Rules</p>\n<ul>\n<li>Order cannot rollback to smaller state (ie. Approved order cannot be mark as Pending, Shipped Order Cannot be Mark as Approved or Pending....</li>\n<li>In any time, an Order CAN be mark as Canceled</li>\n<li>An Delivered Order can Only be mark as Canceled</li>\n</ul>\n\n<p>Delivery Type</p>\n<ul>\n<li>'standard' - Standard Type</li>\n<li>'express' - Faster Type</li>\n<li>'onehour' - Shipping from Store / Motoboy</li>\n<li>'pickup' - Pickup on Store</li>\n<li>'fulfillment' - Direct from Marketplace Warehouse</li>\n<li>'economy' - Slowly delivery type</li>\n<li>'international' - To/From other countries</li>\n<li>'scheduled' - With appointment </li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"b8e4c76e-aab4-4796-90d2-0bcf8a7d912b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c9e5d044-96c9-453f-b0db-2385461b1339","type":"text/javascript","exec":[""]}}],"_postman_id":"f09e1eaf-5f82-4232-a59d-e02bb940de42"},{"name":"Products","item":[{"name":"Get one product (by pluggto id)","id":"56f5a40d-2bd0-4f1f-8926-8efc68c592be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.plugg.to/products/{pluggto_product_id}","urlObject":{"protocol":"https","path":["products","{pluggto_product_id}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"56f5a40d-2bd0-4f1f-8926-8efc68c592be"},{"name":"Create or Update a Sku Simple or With Variation","id":"cef2c57c-6d1f-4a6b-9745-3892d6ecae98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"sku\":\"produto_pai\",\n \"ean\":\"21313213131\",\n \"ncm\":\"111\",\n \"name\":\"Nome do produto pai\",\n \"external\":\"Codigo_do_produto_pai_no_outro_sistema\",\n \"quantity\":2,\n \"special_price\":9.90,\n \"price\":12.45,\n \"short_description\":\"Descrição resumida do produto\",\n \"description\": \"descrição detalada do produto\",\n \"brand\":\"marca\",\n \"cost\":2.21,\n \"warranty_time\":3,\n \"warranty_message\":\"3 meses de garantia\",\n \"link\":\"http://site.com.br/esseproduto\",\n \"available\":1,\n \"categories\":[\n \t{\"name\":\"categoria base\"},\n \t{\"name\":\"categoria base > subcatgoria\"},\n \t{\"name\":\"categoria base > subcatgoria > tipo\"},\n \t{\"name\":\"categoria base > outrasubcategoria > outrotipo\"}\n ],\n \"handling_time\":1,\n \"manufacture_time\":1,\n \"dimension\":{\n \t\"length\":22,\n \t\"width\":22,\n \t\"height\":22,\n \t\"weight\":22\n },\n \"attributes\":\n \t[\n \t\t{\n \t\t\t\"code\":\"gender\",\"label\":\"Genero\",\"value\":{\"code\":\"f\",\"label\":\"feminino\"}\n \t\t} \n \t],\n \"photos\":[\n \t{\n \t\t\"url\": \"http://www.site.com.br/enderecoimagem.jpg\",\n    \t\"name\": \"imagem 1 do produto\",\n    \t\"title\": \"imagem 1 do produto\",\n    \t\"order\": 1,\n    \t\"external\": \"http://www.site.com.br/enderecoimagem.jpg\"\n \t},\n \t{\n \t\t\"url\": \"http://www.site.com.br/enderecoimagem2.jpg\",\n    \t\"name\": \"imagem 2 do produto\",\n    \t\"title\": \"imagem 2 do produto\",\n    \t\"order\": 2,\n    \t\"external\": \"http://www.site.com.br/enderecoimagem.jpg\"\n \t}\n ],\n \n \"price_table\":[\n \t{\n \t \"code\":\"reseller\",\n \t \"label\":\"Preço para reseller\",\n \t \"price\":5.50,\n \t \"special_price\":4.32,\n \t \"action\":\"overwrite\"\n \t},\n \t {\n \t \"code\":\"mercadolivre\",\n \t \"label\":\"Preço para o mercadolivre\",\n \t \"price\":22.50,\n \t \"special_price\":14.32,\n \t \"action\":\"overwrite\"\n \t},\n \t {\n \t \"code\":\"b2w\",\n \t \"label\":\"Preço para a b2w\",\n \t \"action\":\"increase\",\n \t \"percentage\":10\n \t}\n \t],\n\"stock_table\":[\n \t  {\n\t\t \t \"code\":\"{YOUR_CODE}\",\n\t\t \t \"type\":\"{own OR supplier}\",\n\t\t \t \"priority\":\"{0 is the high priority}\",\n\t\t \t \"quantity\":2,\n\t\t \t \"price\":2.22,\n\t\t \t \"special_price\":1.22,\n\t\t \t \"handling_time\":10\n \t  },\n \t {\n\t\t \t \"code\":\"{YOUR_CODE_2}\",\n\t\t \t \"type\":\"{own OR supplier}\",\n\t\t \t \"priority\":\"{0 is the high priority}\",\n\t\t \t \"quantity\":3,\n\t\t \t \"price\":2.22,\n\t\t \t \"special_price\":1.22,\n\t\t \t \"handling_time\":10\n\t\t \t }\n],\n\"variations\":[\n\t{\n\t\"sku\": \"produto_filho\",\n \t\"ean\": \"21313213131\",\n \t\"name\":\"Nome do produto pai\",\n \t\"external\":\"Codigo_do_produto_pai_no_outro_sistema\",\n \t\"quantity\":2,\n \t\"special_price\":9.90,\n \t\"price\":12.45,\n \t\"attributes\":\n \t[\n \t\t{\n \t\t\t\"code\":\"size\",\"label\":\"Tamanho\",\"value\":{\"code\":\"p\",\"label\":\"pequeno\"}\n \t\t} \n \t],\n\t\"stock_table\":[\n\t\t \t {\n\t\t \t \"code\":\"{YOUR_CODE}\",\n\t\t \t \"type\":\"{own OR supplier}\",\n\t\t \t \"priority\":\"{0 is the high priority}\",\n\t\t \t \"quantity\":2,\n\t\t \t \"price\":2.22,\n\t\t \t \"special_price\":1.22,\n\t\t \t \"handling_time\":10\n\t\t \t },\n\t\t \t {\n\t\t \t \"code\":\"{YOUR_CODE_2}\",\n\t\t \t \"type\":\"{own OR supplier}\",\n\t\t \t \"priority\":\"{0 is the high priority}\",\n\t\t \t \"quantity\":3,\n\t\t \t \"price\":2.22,\n\t\t \t \"special_price\":1.22,\n\t\t \t \"handling_time\":10\n\t\t \t }\n\t],\n\t \"photos\":[\n\t\t \t{\n\t\t \t\t\"url\": \"http://www.site.com.br/enderecoimagem.jpg\",\n\t\t    \t\"name\": \"imagem 1 do produto\",\n\t\t    \t\"title\": \"imagem 1 do produto\",\n\t\t    \t\"order\": 1,\n\t\t    \t\"external\": \"http://www.site.com.br/enderecoimagem.jpg\"\n\t\t \t},\n\t\t \t{\n\t\t \t\t\"url\": \"http://www.site.com.br/enderecoimagem2.jpg\",\n\t\t    \t\"name\": \"imagem 2 do produto\",\n\t\t    \t\"title\": \"imagem 2 do produto\",\n\t\t    \t\"order\": 2,\n\t\t    \t\"external\": \"http://www.site.com.br/enderecoimagem.jpg\"\n\t\t \t}\n\t\t \t]\n\t}\n\t]\n}"},"url":"https://api.plugg.to/skus/{sku_id}","urlObject":{"protocol":"https","path":["skus","{sku_id}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"cef2c57c-6d1f-4a6b-9745-3892d6ecae98"},{"name":"Create or update a product Kit","id":"40f25a73-5172-4948-a140-fb458a359de7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"sku\":\"produto_pai\",\n \"ean\":\"21313213131\",\n \"name\":\"Nome do kit\",\n \"external\":\"Codigo_do_produto_pai_no_outro_sistema\",\n \"quantity\":2,\n \"special_price\":9.90,\n \"price\":12.45,\n \"short_description\":\"Descrição resumida do produto\",\n \"description\": \"descrição detalada do produto\",\n \"brand\":\"marca\",\n \"cost\":2.21,\n \"warranty_time\":3,\n \"warranty_message\":\"3 meses de garantia\",\n \"link\":\"http://site.com.br/esseproduto\",\n \"available\":1,\n \"categories\":[\n \t{\"name\":\"categoria base\"},\n \t{\"name\":\"categoria base > subcatgoria\"},\n \t{\"name\":\"categoria base > subcatgoria > tipo\"},\n \t{\"name\":\"categoria base > outrasubcategoria > outrotipo\"}\n ],\n \"handling_time\":1,\n \"manufacture_time\":1,\n \"dimension\":{\n \t\"length\":22,\n \t\"width\":22,\n \t\"height\":22,\n \t\"weight\":22\n },\n \"attributes\":\n \t[\n \t\t{\n \t\t\t\"code\":\"gender\",\"label\":\"Genero\",\"value\":{\"code\":\"f\",\"label\":\"feminino\"}\n \t\t} \n \t],\n \"photos\":[\n \t{\n \t\t\"url\": \"http://www.site.com.br/enderecoimagem.jpg\",\n    \t\"name\": \"imagem 1 do produto\",\n    \t\"title\": \"imagem 1 do produto\",\n    \t\"order\": 1,\n    \t\"external\": \"http://www.site.com.br/enderecoimagem.jpg\"\n \t},\n \t{\n \t\t\"url\": \"http://www.site.com.br/enderecoimagem2.jpg\",\n    \t\"name\": \"imagem 2 do produto\",\n    \t\"title\": \"imagem 2 do produto\",\n    \t\"order\": 2,\n    \t\"external\": \"http://www.site.com.br/enderecoimagem.jpg\"\n \t}\n ],\n \n \"price_table\":[\n \t{\n \t \"code\":\"reseller\",\n \t \"label\":\"Preço para reseller\",\n \t \"price\":5.50,\n \t \"special_price\":4.32,\n \t \"action\":\"overwrite\"\n \t},\n \t {\n \t \"code\":\"mercadolivre\",\n \t \"label\":\"Preço para o mercadolivre\",\n \t \"price\":22.50,\n \t \"special_price\":14.32,\n \t \"action\":\"overwrite\"\n \t},\n \t {\n \t \"code\":\"b2w\",\n \t \"label\":\"Preço para a b2w\",\n \t \"action\":\"increase\",\n \t \"percentage\":10\n \t}\n \t],\n \t\"package_skus\":[\n \t\t{\n \t\t\"sku\":\"valid_parent_sku_1\",\n \t\t\"quantity\": \"1\" \t\n \t\t},\n \t\t\t{\n \t\t\"sku\":\"valid_parent_sku_2\",\n \t\t\"quantity\": \"1\"\n \t\t}\n\t]\n}"},"url":"https://api.plugg.to/skus/{sku_id}","description":"<p>\nUse to sell multiple products as a kit, always provide the \"parent\" product sku, if a product has variations, KIT variations will automatically be created, each SKU code of each variation of the KIT is generated dynamically.\n</p>\n<p>\nAfter the KIT is generated, if the KIT has variations, it will no longer be possible to change the structure of products that make up the KIT.\n</p>","urlObject":{"protocol":"https","path":["skus","{sku_id}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"40f25a73-5172-4948-a140-fb458a359de7"},{"name":"Update Sku Stock","id":"e824a117-8316-4a34-85a7-2a08cb96028c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\t{\"action\":\"increase/decrease/update\",\"quantity\":1,\"sku\":\"id_sku\"}"},"url":"https://api.plugg.to/skus/{sku_id}/stock","description":"<p>THis method is used to update just the stock of one sku, you can choose between:</p>\n<ol>\n<li><p>Increase: If you send the action \"increase\" will add the quantity send to the product. Ie. If you send 3 as quantity and the product already has 4, the product will ends with 7 of stock. The common use for this action is when you need to return a item to the stock</p>\n</li>\n<li><p>Decrease: If you send the action \"decrease\" will decrease the quantity send to the product. Ie. If you send 1 as quantity and the product has 4, the product will ends with 3 of stock. The common use for this action is when you have a sale.</p>\n</li>\n<li><p>Update: If you send the action \"update\" this quantity will overwrite the actual product stock, so if you send 5 not matter how quantity the sku has, will ends with 5, the common use for that is in a stock balance moment.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["skus","{sku_id}","stock"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"e824a117-8316-4a34-85a7-2a08cb96028c"},{"name":"Delete One Sku","id":"977de8da-da70-4bb9-bb40-e1dbc62d8794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"file","file":{"src":""}},"url":"https://api.plugg.to/skus/{sku_id}","description":"<p>Delete one SKU by sku code</p>\n","urlObject":{"protocol":"https","path":["skus","{sku_id}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"977de8da-da70-4bb9-bb40-e1dbc62d8794"},{"name":"Get one product (by sku)","id":"698221ae-73f5-4bf0-b16b-50af901d0823","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.plugg.to/skus/{product_sku}","urlObject":{"protocol":"https","path":["skus","{product_sku}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"698221ae-73f5-4bf0-b16b-50af901d0823"},{"name":"Get all products","id":"acfb418f-4f75-4a45-8e06-68622fb48b08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.plugg.to/products?next={last_pluggto_id}&limit=100","description":"<p>From this endpoint is possible to get all products from PluggTo.</p>\n<div class=\"headers-heading\">Paging</div>\n<table>\n<tr>\n<td>next</td>\n<td>Insert the last id found in the previus call</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Insert the number or registers to be returned</td>\n</tr>\n</table>\n\n<div class=\"headers-heading\">Filters</div>\n\n<table>\n\n<td>created</td>\n<td>Check from creation date (ie 2017-01-01to2017-02-01)</td>\n<tr>\n<td>modified</td>\n<td>Check from update date. (ie 2017-01-01to2017-02-01)</td>\n</tr>\n<tr>\n<td>available</td>\n<td>Check if is available in your app</td>\n</tr><tr>\n<td>all</td>\n<td>Search a string (like) in name or description field</td>\n</tr>\n<tr>\n<td>sku</td>\n<td>Search by sku (exact) sku in parent or child</td>\n</tr>\n<tr>\n<td>bysku</td>\n<td>Search by sku (like) in parent or child</td>\n</tr>\n<tr>\n<td>category</td>\n<td>Search by string in category field (like)</td>\n</tr>\n<tr>\n<td>attribute</td>\n<td>Search by attribute code or attribute value field (exact)</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Search by pluggto id in parent or child</td>\n</tr>\n<tr>\n<td>has_external</td>\n<td>See if has your application product id</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Search by quantity/td&gt;\n</td></tr>\n<tr>\n<td>quantity</td>\n<td>Search by quantity in parent or child </td>\n</tr>\n<tr>\n<td>others</td>\n<td>you can search by any other api propriety, like \"brand=MyBrand\"</td>\n</tr>\n</table>","urlObject":{"protocol":"https","path":["products"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"},{"key":"next","value":"{last_pluggto_id}"},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"acfb418f-4f75-4a45-8e06-68622fb48b08"}],"id":"64bd835a-ae9e-4cd5-b37b-40fb14424256","_postman_id":"64bd835a-ae9e-4cd5-b37b-40fb14424256","description":""},{"name":"Freight","item":[{"name":"Freight (Client)","id":"c2e78df6-3777-4ee5-a2ec-59e6cf7c6f3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.plugg.to/shipping?postalcode=06543210&country=BRA&skus={sku}:{quantity}","description":"<p>Method for consulting the freight of a product</p>","urlObject":{"protocol":"https","path":["shipping"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"},{"key":"postalcode","value":"06543210"},{"key":"country","value":"BRA"},{"key":"skus","value":"{sku}:{quantity}"}],"variable":[]}},"response":[],"_postman_id":"c2e78df6-3777-4ee5-a2ec-59e6cf7c6f3b"},{"name":"Freight (Source)","id":"fddb4227-0a65-4edd-b4a4-c6ac36e97384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \n\"destination_postalcode\" : \"05004010\", \n\"country\" : \"BR\", \n\"origin_country\" : \"BR\", \n\"user_id\" : 1793, \n\"products\" : [ \n{ \n\"weight\" : 10, \n\"height\" : 10,\n\"length\" : 10,\n\"width\" : 10, \n\"sku\" : \"parent-000000000001000906\", \n\"quantity\" : \"1\",\n\"crossdocking\":0,\n\"unit_price\":0.00\n}],\n\"origin_city\" : \"SAO PAULO\", \n\"origin_postalcode\" : \"05004015\", \n\"state\" : \"SP\", \n\"origin_state\" : \"SP\"\n} "},"url":"https://yoursite.com/shipping","description":"<br />\n\n<p>This API is to partners that provide SHIPPING INFORMATION and should be implemented in the parter side to provide to PluggTo information about the shipping cost.</p>\n\n<p>Attention: This answer shoud take 0.200 seconds maximum</p>\n\n<p>\n<b>PluggTo will POST to a URL pre-register with the folling information: </b>\n</p>\n(be aware that depending the MarketPlace one or other information maybe will be empty)\n<br />\n{ <br />\n  \"destination_postalcode\" : 23131331, // zipcode <br />\n  \"country\" : \"BR\", // país <br />\n  \"origin_country\" : \"BR\", // país de origem <br />\n  \"products\" : [ <br />\n    {  <br />\n      \"weight\" : 10, // peso <br />\n      \"height\" : 10, // altura <br />\n      \"length\" : 10, // comprimento <br />\n      \"width\" : 10, // largura <br />\n      \"sku\" : \"MLB673212405\", // sku do produto <br />\n      \"id\" : \"559c45d77c5580f1155d0fec\", // id  <br />\n      \"quantity\" : \"1\" // quantidade <br />\n      \"unit_price\":21.21, <br />\n       \"crossdocking\":0 <br />\n    },<br />\n    { <br />\n      \"weight\" : 100, <br />\n      \"height\" : 100, <br />\n      \"length\" : 100, <br />\n      \"sku\" : \"MLB675906701\", <br />\n      \"id\" : \"559c45e37c5580f1155d1013\", <br />\n      \"width\" : 100, <br />\n      \"quantity\" : \"4\" <br />\n      \"unit_price\":21.21, <br />\n       \"crossdocking\":0 <br />\n    }\n  ],\n  \"user_id\" : 129, <br />\n  \"origin_city\" : \"SAO PAULO\", <br />\n  \"origin_postalcode\" : \"06543210\", <br />\n  \"state\" : null, <br />\n  \"origin_state\" : \"SP\"<br />\n} <br />\n<p>\n<b>The success answer should be:</b>\n</p>\n<br />\n[ <br />\n { <br />\n   \"method\" : \"Service 1\", <br />\n   \"company\" : \"Company Name\", <br />\n   \"price\" : 40.52, <br />\n   \"estimate\" : 2 <br />\n }, <br />\n {  <br />\n   \"method\" : \"Service 2\", <br />\n   \"company\" : \"Company Name\", <br />\n   \"price\" : 50.52, <br />\n   \"estimate\" : 1 <br />\n } <br />\n ]<br />\n \n<p>\n<b>In case of error:</b>\n</p>\n\n<p>[<br />\n{ <br />\n  \"mensage\" : \"Error Mensagem\"<br />\n} <br />\n]<br /></p>\n","urlObject":{"protocol":"https","path":["shipping"],"host":["yoursite","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fddb4227-0a65-4edd-b4a4-c6ac36e97384"}],"id":"3037a1b5-4384-414d-b597-c7476345587b","_postman_id":"3037a1b5-4384-414d-b597-c7476345587b","description":""},{"name":"Messages","item":[{"name":"Create Message (Beta)","id":"db3e7c69-a4c9-4514-856f-37c8dc10f2f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \"channel\":\"core\",\n \"original_id\":\"123\",\n \"status\":\"['new','answered','pending','closed']\",\n \"type\":\"['question','problem','incident','task','warning']\",\n \"priority\":\"['urgent','high','normal','low']\",\n \"customer_name\":\"Andre\",\n \"customer_phone\":\"1111111111\",\n \"copy_emails\":\"name@teste.com,name@plugg.to\",\n \"subject\":\"Uma nova mensagem\",\n \"tags\":\"anytext\",\n \"item_related\":\"some Order or Sku Id\",\n \"interections\":[\n\t{\n    \"from\":\"['external','seller']\",\n\t\"comment\":\"Ola Essa é uma nova mensagem urgente lala4\",\n\t\"attachments\":[\n\t\t  \t {\t\n\t\t  \t \t\"url\":\"http://www.usjt.br/app/uploads/2017/08/pdf_teste.pdf\"\n\t\t  \t }\n  \t\t]\n    }\n    ]\n}"},"url":"https://api.plugg.to/messages","urlObject":{"protocol":"https","path":["messages"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"db3e7c69-a4c9-4514-856f-37c8dc10f2f0"},{"name":"List Messages (Beta)","id":"4dcaced4-8467-4bc9-9d35-fa7900d55ed0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.plugg.to/messages","description":"<p>From this endpoint is possible to get all messages from PluggTo.</p>\n<div class=\"headers-heading\">Paging</div>\n<table>\n<tr>\n<td>next</td>\n<td>Insert the last id found in the previus call</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Insert the number or registers to be returned</td>\n</tr>\n</table>\n\n<div class=\"headers-heading\">Filters</div>\n\n<table>\n\n<td>created</td>\n<td>Check from creation date (ie 2017-01-01to2017-02-01)</td>\n<tr>\n<td>modified</td>\n<td>Check from update date. (ie 2017-01-01to2017-02-01)</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>Any channel</td>\n</tr><tr>\n<td>all</td>\n<td>Search a string (like) in name or description field</td>\n</tr>\n<tr>\n<td>others</td>\n<td>you can search by any other api propriety, like \"brand=MyBrand\"</td>\n</tr>\n</table>","urlObject":{"protocol":"https","path":["messages"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{token}"}],"variable":[]}},"response":[],"_postman_id":"4dcaced4-8467-4bc9-9d35-fa7900d55ed0"},{"name":"Add an interection (Beta)","id":"5e0be47e-5ec7-4182-a6c8-1ecc33cf6198","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"interections\":[\n\t{\n    \"id\":\"59b82c194b537bb43462fd9d\",\t\t\n\t\"from\":\"customer\",\n\t\"comment\":\"Nova outra interação reformada\"\n    }\n ]\n\t\n\t\n\t\n\t\n}"},"url":"https://api.plugg.to/messages","urlObject":{"protocol":"https","path":["messages"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"5e0be47e-5ec7-4182-a6c8-1ecc33cf6198"},{"name":"Add an interection (Beta)","id":"ef1425b9-a837-432e-afcc-ad036e4164df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"interections\":[\n\t{\n\t\"from\":\"customer\",\n\t\"comment\":\"Nova outra interação reformada\"\n    }\n ]\n\t\n\t\n\t\n\t\n}"},"url":"https://api.plugg.to/messages","urlObject":{"protocol":"https","path":["messages"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[],"_postman_id":"ef1425b9-a837-432e-afcc-ad036e4164df"}],"id":"f3680cac-2898-4400-b29d-d3f7fd38a599","_postman_id":"f3680cac-2898-4400-b29d-d3f7fd38a599","description":""},{"name":"Places  (Multiple Stock Points)","item":[{"name":"Get one Stock Point","event":[{"listen":"test","script":{"id":"4b234d69-dc47-4fc7-a1c3-27c85a50032f","exec":[""],"type":"text/javascript"}}],"id":"32e457d6-85c4-4afe-9f51-c5ecc22fa990","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.plugg.to/places/{sku_id}/{code}","description":"<p>Create or Update one Stock SKU Point</p>","urlObject":{"protocol":"https","path":["places","{sku_id}","{code}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[{"id":"96bee231-bf37-4393-b22c-5d604c4ff947","name":"View one Stock Point","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.plugg.to/places/{sku_id}/{code}?access_token={access_token}","protocol":"https","host":["api","plugg","to"],"path":["places","{sku_id}","{code}"],"query":[{"key":"access_token","value":"{access_token}"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"Place\": {\n\t\t\"code\": \"129\",\n\t\t\"created\": \"2020-07-23T18:57:21.381Z\",\n\t\t\"created_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\"handling_time\": 2,\n\t\t\"id\": \"5f19dd911682526c240fd681\",\n\t\t\"inspected\": null,\n\t\t\"modified\": \"2020-07-23T18:57:21.381Z\",\n\t\t\"modified_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\"price\": 200,\n\t\t\"price_history\": [\n\t\t],\n\t\t\"priority\": null,\n\t\t\"quantity\": 20,\n\t\t\"reserved\": null,\n\t\t\"reserverdOrders\": [\n\t\t],\n\t\t\"sku\": \"900\",\n\t\t\"special_price\": 9.9,\n\t\t\"specialprice_history\": [\n\t\t],\n\t\t\"stock_history\": [\n\t\t],\n\t\t\"total_stock\": null,\n\t\t\"user_id\": \"129\"\n\t}\n}"}],"_postman_id":"32e457d6-85c4-4afe-9f51-c5ecc22fa990"},{"name":"Create or Update One Stock Point","id":"4cbce533-a707-41c7-aab9-ab162bb124fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"129\",\n    \"handling_time\": 2,\n    \"price\": 200,\n    \"quantity\": 20,\n    \"sku\": \"900\",\n    \"special_price\": 9.9\n}","options":{"raw":{"language":"json"}}},"url":"https://api.plugg.to/places/{sku_id}/{code}","urlObject":{"protocol":"https","path":["places","{sku_id}","{code}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[{"id":"65e82b75-e43a-4ecc-9dd1-7bdfae74c2cf","name":"Create or Update One Stock Point","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"129\",\n    \"handling_time\": 2,\n    \"price\": 200,\n    \"quantity\": 20,\n    \"sku\": \"900\",\n    \"special_price\": 9.9\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.plugg.to/places/{sku_id}/{code}?access_token={access_token}","protocol":"https","host":["api","plugg","to"],"path":["places","{sku_id}","{code}"],"query":[{"key":"access_token","value":"{access_token}"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"Place\": {\n\t\t\"code\": \"129\",\n\t\t\"created\": \"2020-07-23T18:57:21.381Z\",\n\t\t\"created_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\"handling_time\": 2,\n\t\t\"id\": \"5f19dd911682526c240fd681\",\n\t\t\"inspected\": null,\n\t\t\"modified\": \"2020-07-23T18:57:21.381Z\",\n\t\t\"modified_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\"price\": 200,\n\t\t\"price_history\": [\n\t\t],\n\t\t\"priority\": null,\n\t\t\"quantity\": 20,\n\t\t\"reserved\": null,\n\t\t\"reserverdOrders\": [\n\t\t],\n\t\t\"sku\": \"900\",\n\t\t\"special_price\": 9.9,\n\t\t\"specialprice_history\": [\n\t\t],\n\t\t\"stock_history\": [\n\t\t],\n\t\t\"total_stock\": null,\n\t\t\"user_id\": \"129\"\n\t}\n}"}],"_postman_id":"4cbce533-a707-41c7-aab9-ab162bb124fa"},{"name":"Get All Stock Points for One Sku","event":[{"listen":"test","script":{"id":"4b234d69-dc47-4fc7-a1c3-27c85a50032f","exec":[""],"type":"text/javascript"}}],"id":"956fcb38-dc8f-41f2-8a5a-dddae74b47fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.plugg.to/places/{sku_id}","urlObject":{"protocol":"https","path":["places","{sku_id}"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[{"id":"23d78b7b-b17a-4bfc-90e2-c1debb579673","name":"Get All Stock Points for One Sku","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.plugg.to/places/{sku_id}?access_token={access_token}","protocol":"https","host":["api","plugg","to"],"path":["places","{sku_id}"],"query":[{"key":"access_token","value":"{access_token}"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"hash_next\": \"2020-07-23T18:57:21.381Z\",\n\t\"hash_prev\": \"2020-07-23T18:57:21.381Z\",\n\t\"limit\": 50,\n\t\"result\": [\n\t\t{\n\t\t\t\"Place\": {\n\t\t\t\t\"code\": \"129\",\n\t\t\t\t\"created\": \"2020-07-23T18:57:21.381Z\",\n\t\t\t\t\"created_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"handling_time\": 2,\n\t\t\t\t\"id\": \"5f19dd911682526c240fd681\",\n\t\t\t\t\"inspected\": null,\n\t\t\t\t\"modified\": \"2020-07-23T18:57:21.381Z\",\n\t\t\t\t\"modified_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"price\": 200,\n\t\t\t\t\"price_history\": [\n\t\t\t\t],\n\t\t\t\t\"priority\": null,\n\t\t\t\t\"quantity\": 20,\n\t\t\t\t\"reserved\": null,\n\t\t\t\t\"reserverdOrders\": [\n\t\t\t\t],\n\t\t\t\t\"sku\": \"900\",\n\t\t\t\t\"special_price\": 9.9,\n\t\t\t\t\"specialprice_history\": [\n\t\t\t\t],\n\t\t\t\t\"stock_history\": [\n\t\t\t\t],\n\t\t\t\t\"total_stock\": null,\n\t\t\t\t\"user_id\": \"129\"\n\t\t\t}\n\t\t}\n\t],\n\t\"showing\": 1,\n\t\"total\": 1\n}"}],"_postman_id":"956fcb38-dc8f-41f2-8a5a-dddae74b47fc"},{"name":"Get All Points of All SKUs","event":[{"listen":"test","script":{"id":"4b234d69-dc47-4fc7-a1c3-27c85a50032f","exec":[""],"type":"text/javascript"}}],"id":"39b76886-a99b-470b-9b17-d40bc5f29894","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.plugg.to/places","urlObject":{"protocol":"https","path":["places"],"host":["api","plugg","to"],"query":[{"disabled":true,"key":"access_token","value":"{access_token}"}],"variable":[]}},"response":[{"id":"2db3f254-3c03-4265-a815-608a23f4d3bd","name":"Get All Points of All SKUs","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.plugg.to/places?access_token={access_token}","protocol":"https","host":["api","plugg","to"],"path":["places"],"query":[{"key":"access_token","value":"{access_token}"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"hash_next\": \"2020-07-22T18:16:08.113Z\",\n\t\"hash_prev\": \"2020-07-23T18:57:21.381Z\",\n\t\"limit\": 50,\n\t\"result\": [\n\t\t{\n\t\t\t\"Place\": {\n\t\t\t\t\"code\": \"129\",\n\t\t\t\t\"created\": \"2020-07-23T18:57:21.381Z\",\n\t\t\t\t\"created_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"handling_time\": 2,\n\t\t\t\t\"id\": \"5f19dd911682526c240fd681\",\n\t\t\t\t\"inspected\": null,\n\t\t\t\t\"modified\": \"2020-07-23T18:57:21.381Z\",\n\t\t\t\t\"modified_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"price\": 200,\n\t\t\t\t\"price_history\": [\n\t\t\t\t],\n\t\t\t\t\"priority\": null,\n\t\t\t\t\"quantity\": 20,\n\t\t\t\t\"reserved\": null,\n\t\t\t\t\"reserverdOrders\": [\n\t\t\t\t],\n\t\t\t\t\"sku\": \"900\",\n\t\t\t\t\"special_price\": 9.9,\n\t\t\t\t\"specialprice_history\": [\n\t\t\t\t],\n\t\t\t\t\"stock_history\": [\n\t\t\t\t],\n\t\t\t\t\"total_stock\": null,\n\t\t\t\t\"user_id\": \"129\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"Place\": {\n\t\t\t\t\"code\": \"200\",\n\t\t\t\t\"created\": \"2020-07-23T18:27:28.796Z\",\n\t\t\t\t\"created_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"handling_time\": 2,\n\t\t\t\t\"id\": \"5f19d6903d66e1703cc4c8ec\",\n\t\t\t\t\"inspected\": null,\n\t\t\t\t\"modified\": \"2020-07-23T18:38:33.925Z\",\n\t\t\t\t\"modified_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"price\": 200,\n\t\t\t\t\"price_history\": [\n\t\t\t\t],\n\t\t\t\t\"priority\": null,\n\t\t\t\t\"quantity\": 20,\n\t\t\t\t\"reserved\": null,\n\t\t\t\t\"reserverdOrders\": [\n\t\t\t\t],\n\t\t\t\t\"sku\": \"222\",\n\t\t\t\t\"special_price\": 9.9,\n\t\t\t\t\"specialprice_history\": [\n\t\t\t\t],\n\t\t\t\t\"stock_history\": [\n\t\t\t\t],\n\t\t\t\t\"total_stock\": null,\n\t\t\t\t\"user_id\": \"129\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"Place\": {\n\t\t\t\t\"code\": \"200\",\n\t\t\t\t\"created\": \"2020-07-23T18:26:27.909Z\",\n\t\t\t\t\"created_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"handling_time\": 2,\n\t\t\t\t\"id\": \"5f19d6533d66e1703cc4c8e7\",\n\t\t\t\t\"inspected\": null,\n\t\t\t\t\"modified\": \"2020-07-23T18:26:27.909Z\",\n\t\t\t\t\"modified_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"price\": 200,\n\t\t\t\t\"price_history\": [\n\t\t\t\t],\n\t\t\t\t\"priority\": null,\n\t\t\t\t\"quantity\": 22,\n\t\t\t\t\"reserved\": null,\n\t\t\t\t\"reserverdOrders\": [\n\t\t\t\t],\n\t\t\t\t\"sku\": \"123\",\n\t\t\t\t\"special_price\": 9.9,\n\t\t\t\t\"specialprice_history\": [\n\t\t\t\t],\n\t\t\t\t\"stock_history\": [\n\t\t\t\t],\n\t\t\t\t\"total_stock\": null,\n\t\t\t\t\"user_id\": \"129\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"Place\": {\n\t\t\t\t\"code\": \"129\",\n\t\t\t\t\"created\": \"2020-07-23T18:15:38.171Z\",\n\t\t\t\t\"created_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"handling_time\": 2,\n\t\t\t\t\"id\": \"5f19d3cab70f566d593c5ed6\",\n\t\t\t\t\"inspected\": null,\n\t\t\t\t\"modified\": \"2020-07-22T18:16:08.113Z\",\n\t\t\t\t\"modified_by\": \"NTJhYTI3MTc4MDYyZjNk\",\n\t\t\t\t\"price\": 200,\n\t\t\t\t\"price_history\": [\n\t\t\t\t],\n\t\t\t\t\"priority\": null,\n\t\t\t\t\"quantity\": 22,\n\t\t\t\t\"reserved\": null,\n\t\t\t\t\"reserverdOrders\": [\n\t\t\t\t],\n\t\t\t\t\"sku\": \"123\",\n\t\t\t\t\"special_price\": 9.9,\n\t\t\t\t\"specialprice_history\": [\n\t\t\t\t],\n\t\t\t\t\"stock_history\": [\n\t\t\t\t],\n\t\t\t\t\"total_stock\": null,\n\t\t\t\t\"user_id\": \"129\"\n\t\t\t}\n\t\t}\n\t],\n\t\"showing\": 4,\n\t\"total\": 4\n}"}],"_postman_id":"39b76886-a99b-470b-9b17-d40bc5f29894"}],"id":"d8eaa98a-8be1-4343-a586-6b8af18d9dd6","description":"<h3>Explanation</h3>\n\n<p>Places is special endpoint for stores that have multiple stock points (ie. Physical Store), this feature allow Stores to use special shipping methods (Ie. Pickup Up  or Motoboy )</p>\n\n<h3>Data structure</h3>\n\n<table>\n<tr>\n<td><b>sku</b></td><td>\n</td><td>SKU code</td><td>\n</td></tr>\n\n<tr>\n<td><b>code</b></td><td>\n</td><td>Representes one point (ie store id)</td><td>\n</td></tr>\n<tr>\n<td><b>price</b></td><td>\n</td><td>Price of this stock</td><td>\n</td></tr>\n<tr>\n<td><b>special_price</b></td><td>\n</td><td>Specoial Price of this stock</td><td>\n</td></tr>\n<tr>\n<td><b>handling_time</b></td><td>\n</td><td>Time to handle the product</td><td>\n</td></tr>\n</table>\n","_postman_id":"d8eaa98a-8be1-4343-a586-6b8af18d9dd6"},{"name":"Invoices","item":[{"name":"Create or Update an Invoice","id":"64c658d5-64cb-4be4-8b50-cff95aaae718","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"url":"https://api.plugg.to/invoices/{{number}}/{{serie}}","description":"<h3>Endpoint to create or update and Invoice</h3>\n<p>If and invoice do not existis with this number/serie wil be created else updated</p>\n<br />\n<h3>Parameters</h3>\n<ul>\n<li>Number: Invoice Number</li>\n<li>Serie: Invoice Serie</li>\n</ul>","urlObject":{"protocol":"https","path":["invoices","{{number}}","{{serie}}"],"host":["api","plugg","to"],"query":[],"variable":[]}},"response":[],"_postman_id":"64c658d5-64cb-4be4-8b50-cff95aaae718"},{"name":"Get One Invoice","id":"8b3cb397-0751-405c-8a0d-871876835df8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.plugg.to/invoices/{{number}}/{{serie}}","description":"<h3>Endpoint to get One Invoice</h3>\n<br />\n<h3>Parameters</h3>\n<ul>\n<li>Number: Invoice Number</li>\n<li>Serie: Invoice Serie</li>\n</ul>","urlObject":{"protocol":"https","path":["invoices","{{number}}","{{serie}}"],"host":["api","plugg","to"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b3cb397-0751-405c-8a0d-871876835df8"},{"name":"List Invoices","id":"1849b1b8-bff4-45de-b2b3-0169a36d698f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.plugg.to/invoices","description":"<h3>Endpoint to list invoices</h3>\n<p>If and invoice do not existis with this number/serie wil be created else updated</p>\n<br />\n<h3>Filters</h3>\n<ul>\n<li>created: yy-mm-dd or yy-mm-ddtoyy-mm-dd</li>\n<li>modified: yy-mm-dd or yy-mm-ddtoyy-mm-dd</li>\n<li>Any attribute returned is also filterable</li>\n</ul>\n\n","urlObject":{"protocol":"https","path":["invoices"],"host":["api","plugg","to"],"query":[],"variable":[]}},"response":[],"_postman_id":"1849b1b8-bff4-45de-b2b3-0169a36d698f"}],"id":"40c0943b-0779-4776-bb8a-fefcb2f557fc","description":"<p>With this API is possible to send and get invoices (I.E Fiscal documents) that do not belongs to orders resources. (i.e) Fulfillment invoices.... \n</p>","_postman_id":"40c0943b-0779-4776-bb8a-fefcb2f557fc"}],"event":[{"listen":"prerequest","script":{"id":"be9b2607-ab3e-4830-bf1a-559ca740e793","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c0017f66-c80c-4c5e-ad5a-7c7022c2e301","type":"text/javascript","exec":[""]}}]}