{"info":{"_postman_id":"87031a31-2d12-4661-b301-0452cce89dbe","name":"ApiSellerCenter","description":"<html><head></head><body><p>{sellerId} = Este parametro podras obtenerlo en tu dashboard general de SC, tambien podras remplazarlo por el vtexId de tu seller que igualmente podras obtenerlo en tu dashboard general.  </p>\n<p>{warehouseId} = Este parametro podras obterlo en tu dashboard general, podras remplazarlo por el vtexid del warehouse, igualmente podras obtenerlo en tu dashboard general.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"27522341","collectionId":"87031a31-2d12-4661-b301-0452cce89dbe","publishedId":"2s93sZ5tCh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-24T02:56:39.000Z"},"item":[{"name":"Auth","item":[{"name":"Profile","item":[{"name":"me","id":"f00ab9b7-f334-42cc-becc-fcae538aab2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://sandboxseller.doto.com.mx/api/user","description":"<p>Utiliza este endpoint para obtener los datos actuales de la sesion iniciada.</p>\n","urlObject":{"path":["user"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"41aeabf1-3ce5-4f64-a7ed-cfc41a5fdfae","name":"me","originalRequest":{"method":"GET","header":[],"url":"https://sandboxseller.doto.com.mx/api/user"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"user example\",\n    \"email\": \"example-user@doto.com.mx\",\n    \"email_verified_at\": \"2023-04-17T21:46:20.000000Z\",\n    \"created_at\": \"2023-04-17T21:46:20.000000Z\",\n    \"updated_at\": \"2023-07-24T03:06:33.000000Z\",\n    \"profile_photo_url\": \"https://ui-avatars.com/api/?background=d2bf20&color=fff&name=user example\"\n}"}],"_postman_id":"f00ab9b7-f334-42cc-becc-fcae538aab2e"},{"name":"logout","id":"739301be-ac8f-4454-9fc9-446cf0c23cbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://sandboxseller.doto.com.mx/api/logout","urlObject":{"path":["logout"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"69584bb0-4e70-43f8-8a71-3951d49e9517","name":"logout","originalRequest":{"method":"POST","header":[],"url":"https://sandboxseller.doto.com.mx/api/logout"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"success\",\n        \"title\": \"Correcto\",\n        \"text\": \"La sesión se ha cerrado correctamente\",\n        \"success\": true\n    }\n}"}],"_postman_id":"739301be-ac8f-4454-9fc9-446cf0c23cbc"}],"id":"a08e5924-499e-4d74-9406-a641af40e42a","_postman_id":"a08e5924-499e-4d74-9406-a641af40e42a","description":""},{"name":"Login","id":"fb1b126c-f51c-4378-afba-cef44e4252bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"emaiil","value":"","description":"<p>required</p>\n","type":"text"},{"key":"password","value":"","description":"<p>required</p>\n","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/login","urlObject":{"path":["login"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"a13583bb-4bd5-42bc-9c6a-f94af6488005","name":"Login(200 ok)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"example-user@doto.com.mx","description":"required, email","type":"text"},{"key":"password","value":"password-example","description":"required","type":"text"}]},"url":"https://sellercenter.doto.com.mx/api/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"00|AAABBBBCCCCCVVVVRRRFGG\",\n    \"token_type\": \"bearer\",\n}"},{"id":"6fd09222-363f-430a-adf5-0e92169038da","name":"Login(400 bat request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"","description":"required","type":"text"},{"key":"password","value":"","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"El campo email es obligatorio. (and 1 more error)\"\n}"},{"id":"c42ffd08-0c96-43d1-aea4-238a8d37e244","name":"Login(404 user not found)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"userNotFound@doto.com.mx","description":"required","type":"text"},{"key":"password","value":"password-example","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/login"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"El email ingresado no se encuentra en nuestros registros\"\n}"},{"id":"09f75458-4647-4d11-afee-b0bba8e506cc","name":"Login(401 Unauthorized)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"example-user@doto.com.mx","description":"required","type":"text"},{"key":"password","value":"passwordNotCorrect","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"La contraseña es incorrecta\"\n}"}],"_postman_id":"fb1b126c-f51c-4378-afba-cef44e4252bc"}],"id":"ac30dc98-5b8a-44c1-9406-11eb5be09dfe","_postman_id":"ac30dc98-5b8a-44c1-9406-11eb5be09dfe","description":""},{"name":"Product","item":[{"name":"Integration","item":[{"name":"store-buybox","id":"e798ff3c-a045-44f7-94df-e58f810254c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"vtex_seller_id","value":"","type":"text"},{"key":"bind_sku_id","value":"","type":"text"},{"key":"bind_product_id","value":"","type":"text"},{"key":"price","value":"","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/storebuybox","description":"<p>Integracion con shipment para almacenar el buybox de cada producto.</p>\n","urlObject":{"path":["storebuybox"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"bb4cfb2d-becd-4097-99f3-3aedcfc69ffa","name":"sotre-buybox(200 ok)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"18|JTnvWv0hQYl6OgjdjFci62Vxhi8FOOsfPAAW7kfY","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"vtex_seller_id","value":"dtor322","type":"text"},{"key":"bind_sku_id","value":"18","type":"text"},{"key":"bind_product_id","value":"13","type":"text"},{"key":"price","value":"1234","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/storebuybox"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"true"},{"id":"ad00f376-cbed-42ba-b709-17d429e0a4f1","name":"store-buybox Failed any field","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"18|JTnvWv0hQYl6OgjdjFci62Vxhi8FOOsfPAAW7kfY","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"vtex_seller_id","value":"dtor322","type":"text"},{"key":"bind_product_id","value":"qwe1","type":"text"},{"key":"price","value":"1234","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/storebuybox"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"El campo bind sku id es obligatorio.\"\n}"},{"id":"69224fe7-939d-4b3d-98c6-6e46d96b0807","name":"store-buybox Unauthenticated (400)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"vtex_seller_id","value":"dtor322","type":"text"},{"key":"bind_sku_id","value":"18","type":"text"},{"key":"bind_product_id","value":"13","type":"text"},{"key":"price","value":"1234","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/storebuybox"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthenticated.\"\n}"}],"_postman_id":"e798ff3c-a045-44f7-94df-e58f810254c7"}],"id":"d7cb9df4-11d5-4671-b580-7e25c98bf139","_postman_id":"d7cb9df4-11d5-4671-b580-7e25c98bf139","description":""},{"name":"getProduct","id":"b8480eed-ab6b-4c0c-a12d-1cecd875e384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/warehouse/{warehouseId}/product?sku=","description":"<p>Utiliza este endpoint para obtener los datos actuales del producto por sku.  </p>\n<p>Retorna la info actual del producto en vtex.</p>\n","urlObject":{"path":["seller","{sellerId}","warehouse","{warehouseId}","product"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[{"description":{"content":"<p>required, numeric</p>\n","type":"text/plain"},"key":"sku","value":""}],"variable":[]}},"response":[{"id":"ad479465-f934-4723-ad3f-f09bbc6390df","name":"getProduct(200 ok)","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/2/warehouse/1/product?sku=12","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","2","warehouse","1","product"],"query":[{"key":"sku","value":"12","description":"required, numeric"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": 4,\n        \"reserved\": 9,\n        \"on_hand\": 47,\n        \"vtex_reserved\": 9,\n        \"available\": 38,\n        \"base_price\": \"750\",\n        \"name\": \"Apple iPad Air 10.9\\\" 4a Gen 2020 WiFi+LTE 64GB Verde\",\n        \"sku\": \"12\",\n        \"ean\": \"190199791794\",\n        \"refid\": \"dotomxqa-9087\",\n        \"vtex_name\": \"Dropshipping\",\n        \"warehauseId\": 1\n    }\n}"},{"id":"59f68d7e-628a-4025-8685-3936756a96fc","name":"getProduct(400 bat request)","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/2/warehouse/1/product?sku=notSku","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","2","warehouse","1","product"],"query":[{"key":"sku","value":"notSku","description":"required, numeric"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"error\",\n        \"title\": \"Oh no\",\n        \"text\": {\n            \"sku\": [\n                \"El campo sku debe ser un número.\"\n            ]\n        },\n        \"success\": false\n    }\n}"},{"id":"238cb467-8685-407c-9c60-105607908eea","name":"getProduct(404 not found)","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/warehouse/{warehouseId}/product?sku=1044","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","{sellerId}","warehouse","{warehouseId}","product"],"query":[{"key":"sku","value":"1044","description":"required, numeric"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"No se encontro un producto con estas coincidencias de busqueda\"\n}"}],"_postman_id":"b8480eed-ab6b-4c0c-a12d-1cecd875e384"},{"name":"updateOnHand","id":"3377d8bd-65d7-4220-9ff9-accbf45834cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"sku","value":"required, numeric","type":"text"},{"key":"onhand","value":"required, numeric","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/warehouse/{warehouseId}/product/update/onhand","description":"<p>Utiliza este endpoint para <strong>actualizar el onhand (stock) del producto</strong> en SC y vtex.</p>\n","urlObject":{"path":["seller","{sellerId}","warehouse","{warehouseId}","product","update","onhand"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[{"disabled":true,"description":{"content":"<p>required, numeric</p>\n","type":"text/plain"},"key":"sku","value":null},{"disabled":true,"description":{"content":"<p>required, numeric</p>\n","type":"text/plain"},"key":"onhand","value":null}],"variable":[]}},"response":[{"id":"5cb06159-2b1a-4ece-bc0a-1d1ae7c14363","name":"updateOnHand(200 ok)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/2/warehouse/24/product/update/onhand?sku&on_hand","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","2","warehouse","24","product","update","onhand"],"query":[{"key":"sku","value":null,"type":"text"},{"key":"on_hand","value":null,"type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Resultado exitoso, Se actualizo el onHand del producto: Apple iPad Air 10.9\\\" 4a Gen 2020 WiFi+LTE 64GB Verde, Sku: 12\"\n}"},{"id":"d14c59e4-dec0-474f-886c-1e7bc6a2a3b8","name":"updateOnHand(400 bat request)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/product/update/onhand/seller/2/warehouse/1?sku&onhand","host":["https://sandboxseller.doto.com.mx/api"],"path":["product","update","onhand","seller","2","warehouse","1"],"query":[{"key":"sku","value":null,"description":"required, numeric"},{"key":"onhand","value":null,"description":"required, numeric"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"message\": {\n\t\t\"type\": \"error\",\n\t\t\"title\": \"Oh no\",\n\t\t\"text\": {\n\t\t\t\"sku\": [\n\t\t\t\t\"El campo sku es obligatorio.\"\n\t\t\t],\n\t\t\t\"onhand\": [\n\t\t\t\t\"El campo onhand es obligatorio.\"\n\t\t\t]\n\t\t},\n\t\t\"success\": false\n\t}\n}"},{"id":"7266c283-11b0-41f4-9183-b396861edda1","name":"updateOnHand(404 seller not found)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/product/update/onhand/seller/3423/warehouse/1?sku=12&onhand=48","host":["https://sandboxseller.doto.com.mx/api"],"path":["product","update","onhand","seller","3423","warehouse","1"],"query":[{"key":"sku","value":"12","description":"required, numeric"},{"key":"onhand","value":"48","description":"required, numeric"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"error\",\n        \"title\": \"Oh no\",\n        \"text\": \"Seller not found\",\n        \"success\": false\n    }\n}"},{"id":"badc9300-8125-4ccb-acd9-511ba1ee74f6","name":"updateOnHand(404 warehouse not found)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/product/update/onhand/seller/2/warehouse/2342?sku=12&onhand=48","host":["https://sandboxseller.doto.com.mx/api"],"path":["product","update","onhand","seller","2","warehouse","2342"],"query":[{"key":"sku","value":"12","description":"required, numeric","type":"default"},{"key":"onhand","value":"48","description":"required, numeric","type":"default"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"error\",\n        \"title\": \"Oh no\",\n        \"text\": \"warehouse not found\",\n        \"success\": false\n    }\n}"},{"id":"1b1b7594-b015-4c8e-b762-ddad03bac913","name":"updateOnHand(404 sku not found)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/product/update/onhand/seller/2/warehouse/1?sku=3443&onhand=45","host":["https://sandboxseller.doto.com.mx/api"],"path":["product","update","onhand","seller","2","warehouse","1"],"query":[{"key":"sku","value":"3443","description":"required, numeric"},{"key":"onhand","value":"45","description":"required, numeric"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"error\",\n        \"title\": \"Oh no\",\n        \"text\": \"product sku not found\",\n        \"success\": false\n    }\n}"}],"_postman_id":"3377d8bd-65d7-4220-9ff9-accbf45834cc"},{"name":"updatePrice","id":"7dee9311-ec2b-4367-9315-9d77aab90dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"url":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/product/update/price","description":"<p>Este endpoint <strong>actualiza el precio (base price)</strong> del producto en SC y vtex.</p>\n","urlObject":{"path":["seller","{sellerId}","product","update","price"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[{"disabled":true,"description":{"content":"<p>required, numeric</p>\n","type":"text/plain"},"key":"sku","value":null},{"disabled":true,"description":{"content":"<p>required, numeric</p>\n","type":"text/plain"},"key":"price","value":null}],"variable":[]}},"response":[{"id":"25337084-3474-46ae-bffb-392e60c056eb","name":"updatePrice(200 ok)","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/2/product/update/price?sku=12&price=755","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","2","product","update","price"],"query":[{"key":"sku","value":"12","description":"required, numeric"},{"key":"price","value":"755","description":"required, numeric"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Resultado exitoso, se actualizo el precio del producto: Apple iPad Air 10.9\\\" 4a Gen 2020 WiFi+LTE 64GB Verde, Sku: 12\"\n}"},{"id":"709f531c-3d5c-4daa-a4bb-94d430764bf9","name":"updatePrice(400 bat request)","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/2/product/update/price?price=760","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","2","product","update","price"],"query":[{"key":"sku","value":"12324","description":"required, numeric","disabled":true},{"key":"price","value":"760","description":"required, numeric"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"error\",\n        \"title\": \"Oh no\",\n        \"text\": {\n            \"sku\": [\n                \"El campo sku es obligatorio.\"\n            ]\n        },\n        \"success\": false\n    }\n}"},{"id":"07a291ee-8dd6-4be1-a0e9-eb5d32e90bb8","name":"updatePrice(404 seller not found)","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/345/product/update/price?sku=12&price=769","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","345","product","update","price"],"query":[{"key":"sku","value":"12","description":"required, numeric","type":"default"},{"key":"price","value":"769","description":"required, numeric","type":"default"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"error\",\n        \"title\": \"Oh no\",\n        \"text\": \"Seller not found\",\n        \"success\": false\n    }\n}"},{"id":"f081177c-4702-44ee-ab39-d1faf1e1f332","name":"updatePrice(404 sku not found)","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://sandboxseller.doto.com.mx/api/seller/2/product/update/price?sku=2343&price=23","host":["https://sandboxseller.doto.com.mx/api"],"path":["seller","2","product","update","price"],"query":[{"key":"sku","value":"2343","description":"required, numeric"},{"key":"price","value":"23","description":"required, numeric"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"type\": \"error\",\n        \"title\": \"Oh no\",\n        \"text\": \"Product sku not found\",\n        \"success\": false\n    }\n}"}],"_postman_id":"7dee9311-ec2b-4367-9315-9d77aab90dd0"},{"name":"syncProduct","id":"5cf82122-ac71-457e-905b-32c4b159cabc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://sandboxseller.doto.com.mx/api/sync/product","description":"<p>Este sincronizara el stock y precio del producto con los valores de vtex.</p>\n","urlObject":{"path":["sync","product"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[{"disabled":true,"description":{"content":"<p>required</p>\n","type":"text/plain"},"key":"vtex_seller_id","value":null},{"disabled":true,"description":{"content":"<p>required</p>\n","type":"text/plain"},"key":"sku","value":null}],"variable":[]}},"response":[{"id":"73c67c5a-94b8-4c32-8805-a3c0527a8aec","name":"syncProduct(200 ok)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxseller.doto.com.mx/api/sync/product?vtex_seller_id=example258&sku=39","host":["https://sandboxseller.doto.com.mx/api"],"path":["sync","product"],"query":[{"key":"vtex_seller_id","value":"example258","description":"required"},{"key":"sku","value":"39","description":"required"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"Producto con el sku: 39 sincronizado con exito\"\n}"},{"id":"3846fcba-18ea-4ff8-a412-5e010bd782f1","name":"syncProduct(404 seller not found)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxseller.doto.com.mx/api/sync/product?vtex_seller_id=example258&sku=29","host":["https://sandboxseller.doto.com.mx/api"],"path":["sync","product"],"query":[{"key":"vtex_seller_id","value":"example258","description":"required"},{"key":"sku","value":"29","description":"required"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"No se encontro un producto con este sku dentro del seller\"\n}"},{"id":"b3b8fa75-80be-427f-9f77-e4fb4c40d676","name":"syncProduct","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxseller.doto.com.mx/api/sync/product?vtex_seller_id=&sku=","host":["https://sandboxseller.doto.com.mx/api"],"path":["sync","product"],"query":[{"key":"vtex_seller_id","value":"","description":"required"},{"key":"sku","value":"","description":"required"}]}},"code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"No se encontro un producto con este sku dentro del seller\"\n}"}],"_postman_id":"5cf82122-ac71-457e-905b-32c4b159cabc"}],"id":"4009ecfb-334a-4a4a-9f9d-b94948edb4dd","description":"<p>SellerId: Puede ser el de sellerCenter o el vtex id de vtex</p>\n<p>WarehouseId: Puede ser el de sellerCenter o el vtex id de vtex</p>\n","_postman_id":"4009ecfb-334a-4a4a-9f9d-b94948edb4dd"},{"name":"Order","item":[{"name":"Invoice","item":[{"name":"invoiceOrder","id":"faa1b57c-2dc5-4c6a-873c-7a7e5180b649","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"sellerVtexId","value":"","description":"<p>required</p>\n","type":"text"},{"key":"vtexOrderId","value":"","description":"<p>required</p>\n","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/package","urlObject":{"path":["order","package"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"66034801-2724-4619-bf1c-9f528674d3ec","name":"invoiceOrder(200 ok)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"sellerVtexId","value":"example258","description":"required","type":"text"},{"key":"vtexOrderId","value":"NOT-0230302300-01","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/package"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"la orden: NOT-0230302300-01 se empaqueto correctamente\",\n}"},{"id":"b94776d9-bb6f-4f95-9af4-966baa4f8570","name":"invoiceOrder(404 order not found)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"sellerVtexId","value":"","description":"required","type":"text"},{"key":"vtexOrderId","value":"","description":"required","type":"text"}]},"url":{"raw":"https://sandboxseller.doto.com.mx/api/order/package?sellerVtexId=example258&vtexOrderId=NOT-0230302300-01","host":["https://sandboxseller.doto.com.mx/api"],"path":["order","package"],"query":[{"key":"sellerVtexId","value":"example258"},{"key":"vtexOrderId","value":"NOT-0230302300-01"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"orden no encontrada\",\n}"}],"_postman_id":"faa1b57c-2dc5-4c6a-873c-7a7e5180b649"}],"id":"5c88254e-4143-416f-b9ca-e9d0cb4191ee","_postman_id":"5c88254e-4143-416f-b9ca-e9d0cb4191ee","description":""},{"name":"Integration","item":[{"name":"Shipment-api","item":[{"name":"update-status-orders","id":"5b74070d-a367-4f90-aab9-f57311a63b0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"shipments\": [\n        {\n            \"number\": \"shipment_number_1\",\n            \"carrier\": \"carrier_name_1\",\n            \"events\": [\n                {\n                    \"city\": \"city_name_1\",\n                    \"state\": \"state_name_1\",\n                    \"description\": \"event_description_1\",\n                    \"date\": \"event_date_1\"\n                },\n                {\n                    \"city\": \"city_name_2\",\n                    \"state\": \"state_name_2\",\n                    \"description\": \"event_description_2\",\n                    \"date\": \"event_date_2\"\n                },\n                ...\n            ]\n        },\n        {\n            \"number\": \"shipment_number_2\",\n            \"carrier\": \"carrier_name_2\",\n            \"events\": [\n                {\n                    \"city\": \"city_name_3\",\n                    \"state\": \"state_name_3\",\n                    \"description\": \"event_description_3\",\n                    \"date\": \"event_date_3\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxseller.doto.com.mx/api/shipment/update","urlObject":{"path":["shipment","update"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"a8ea6deb-3dba-482e-a339-90d169dfd893","name":"update-status-orders","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"shipments\": [\n        {\n            \"number\": \"shipment_number_1\",\n            \"carrier\": \"carrier_name_1\",\n            \"events\": [\n                {\n                    \"city\": \"city_name_1\",\n                    \"state\": \"state_name_1\",\n                    \"description\": \"event_description_1\",\n                    \"date\": \"event_date_1\"\n                },\n                {\n                    \"city\": \"city_name_2\",\n                    \"state\": \"state_name_2\",\n                    \"description\": \"event_description_2\",\n                    \"date\": \"event_date_2\"\n                },\n                ...\n            ]\n        },\n        {\n            \"number\": \"shipment_number_2\",\n            \"carrier\": \"carrier_name_2\",\n            \"events\": [\n                {\n                    \"city\": \"city_name_3\",\n                    \"state\": \"state_name_3\",\n                    \"description\": \"event_description_3\",\n                    \"date\": \"event_date_3\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxseller.doto.com.mx/api/shipment/update"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n}"}],"_postman_id":"5b74070d-a367-4f90-aab9-f57311a63b0f"}],"id":"e5f056bd-ea4b-499c-879c-4c65ee3bb5f0","_postman_id":"e5f056bd-ea4b-499c-879c-4c65ee3bb5f0","description":""},{"name":"Automation","item":[{"name":"retrace","id":"7795909b-9df8-4acf-8002-8fab39a9f4f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"","description":"<p>required</p>\n","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retrace","urlObject":{"path":["order","retrace"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"3c576577-7e55-4c96-a9de-4504e1c081e4","name":"200 (ok)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retrace"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"Se Actualizaron los datos de la orden correctamente! NTF-000000000000-01\"\n}"},{"id":"df1e2398-5bcc-431e-809f-97cf709597db","name":"404 (not found)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retrace"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"Orden no encontrada\"\n}"},{"id":"0edcd515-a567-4f89-84a6-97419a9b880d","name":"401 (unauthorized)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retrace"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"No tienes los permisos para realizar esta accion\"\n}"},{"id":"e027916f-194b-4d3c-a4dc-937e5543b15e","name":"403 (forbidden)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retrace"},"status":"Forbidden","code":403,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"Esta Orden ya tiene situacion stock out!, Por lo cual, no es posible realizar el cambio\"\n}"}],"_postman_id":"7795909b-9df8-4acf-8002-8fab39a9f4f5"},{"name":"retain","id":"072179a7-3caf-4752-af8b-26617d7485ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"","description":"<p>required</p>\n","type":"text"},{"key":"is_gifcard","value":"","description":"<p>required, true para hacer el invoice con leyenda \"surtido con saldo\" false, para leyenda \"rembolsado\"</p>\n","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retain","urlObject":{"path":["order","retain"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"5594dab1-9b46-4786-8ad4-c6e299a14535","name":"200 (ok)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"},{"key":"required","value":"true","description":"required, true para hacer el invoice con leyenda \"surtido con saldo\" false, para leyenda \"rembolsado\"","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retain"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"Se Actualizaron los datos de la orden correctamente! NTF-000000000000-01\"\n}"},{"id":"a43a4c9d-e46e-4dda-a250-ef3e97f03fcf","name":"404 (not found)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"},{"key":"is_gifcard","value":"true","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retain"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"Orden no encontrada\"\n}"},{"id":"e87a7813-276e-482f-a4a1-bb2e6ab9fe1f","name":"403 (unauthorized)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"},{"key":"is_gifcard","value":"true","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retain"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"No tienes los permisos para realizar esta accion\"\n}"},{"id":"45d43718-f9f7-4622-8cb4-ea0cf3888548","name":"403 (forbidden)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"NTF-000000000000-01","description":"required","type":"text"},{"key":"is_gifcard","value":"true","description":"required","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/retain"},"status":"Forbidden","code":403,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"Esta Orden ya tiene situacion stock out!, Por lo cual, no es posible realizar el cambio\"\n}"}],"_postman_id":"072179a7-3caf-4752-af8b-26617d7485ad"}],"id":"f10fbdcf-ddae-4b1b-8ae5-31d88ede0859","description":"<p>integracion de automatizaciones para notificaciones de retrazos y stocks out.</p>\n","_postman_id":"f10fbdcf-ddae-4b1b-8ae5-31d88ede0859"}],"id":"beb384b2-b187-4518-b30c-f3a6fe70055d","_postman_id":"beb384b2-b187-4518-b30c-f3a6fe70055d","description":""},{"name":"Update","item":[],"id":"4f041d5a-b815-419a-a2d7-1ffea4828b8c","_postman_id":"4f041d5a-b815-419a-a2d7-1ffea4828b8c","description":""},{"name":"Cancellation","item":[{"name":"cancellation","id":"857b6d49-7eb9-4702-b40b-4d99870121e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"vtex_order_id","value":"","description":"<p>requred</p>\n","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/cancellation","urlObject":{"path":["order","cancellation"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"b6be6d91-2cea-40c3-b664-3db0d3ad836e","name":"200 (ok)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"vtex_order_id","value":"DTO-923841013-01","description":"requred","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/cancellation"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"Se cancelo la orden correctamente: DTO-923841013-01\"\n}"},{"id":"5b745b9c-93ac-4efd-9cb0-e9a1922d3fc5","name":"404 (not found)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"vtex_order_id","value":"DTO-923841013-01","description":"requred","type":"text"}]},"url":"https://sandboxseller.doto.com.mx/api/order/cancellation"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"response\": \"No se encontro la orden: DTO-923841013-01\"\n}"}],"_postman_id":"857b6d49-7eb9-4702-b40b-4d99870121e6"}],"id":"5c0480fb-f593-48c9-a0f2-a2fb98771498","_postman_id":"5c0480fb-f593-48c9-a0f2-a2fb98771498","description":""},{"name":"getOrder","id":"e3b58b0d-5643-4d72-930e-2c5e66c067e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/order/{vtexId}","description":"<p>Utiliza este endpoint para recibir la informacion completa la orden solicitada.</p>\n","urlObject":{"path":["seller","{sellerId}","order","{vtexId}"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"faac9c81-6a01-44b8-b94f-cf0f86e977a4","name":"getOrder(200 ok)","originalRequest":{"method":"GET","header":[],"url":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/order/{vtexId}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"este endpoint se encuentra en desarrollo\"\n}"}],"_postman_id":"e3b58b0d-5643-4d72-930e-2c5e66c067e4"},{"name":"feedOrders","id":"3747a57a-d3b9-4f42-92bf-4d9d03b1dd40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/orders/feed","urlObject":{"path":["seller","{sellerId}","orders","feed"],"host":["https://sandboxseller.doto.com.mx/api"],"query":[],"variable":[]}},"response":[{"id":"1a4ba41c-40d7-43e0-8c5d-94f8efa03dad","name":"FeedOrders(200 ok)","originalRequest":{"method":"GET","header":[],"url":"https://sandboxseller.doto.com.mx/api/seller/{sellerId}/orders/feed"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": \"este endpoint se encuentra en desarrollo\"\n}"}],"_postman_id":"3747a57a-d3b9-4f42-92bf-4d9d03b1dd40"}],"id":"ce2b86fa-a46b-45ff-a36a-634f4eb19ff3","_postman_id":"ce2b86fa-a46b-45ff-a36a-634f4eb19ff3","description":""}],"event":[{"listen":"prerequest","script":{"id":"65eef5fe-bf4e-4231-ba8b-879e5ff6d73e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"097ba41e-54af-45c7-b97e-7aeb12846e5d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseurl","value":"https://sandboxseller.doto.com.mx/api"}]}