{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/label_purchase_requests/:request_id/status.json","auth":"required","settings":"","results":{"codes":[{"name":"","code":"{\n  \"orders\": [\n    {\n      \"id\": 123,\n      \"label_url\": \"https://www.label.com/123.pdf\",\n\t\t\t\"status\": \"successful\"\n    },\n    {\n      \"id\": 124,\n      \"label_url\": \"https://www.label.com/124.pdf\",\n\t\t\t\"status\": \"successful\"\n    },\n    {\n      \"id\": 125,\n      \"label_url\": \"https://www.label.com/125.pdf\",\n\t\t\t\"status\": \"successful\"\n    },\n    {\n      \"id\": 126,\n\t\t\t\"error\": \"invalid product code\",\n\t\t\t\"status\": \"failed\"\n    },\n    {\n      \"id\": 127,\n\t\t\t\"error\": \"invalid buyer address\",\n\t\t\t\"status\": \"failed\"\n    }\n  ],\n  \"request_id\": \"XYZ123\"\n}","language":"json","status":200}]},"params":[{"name":"request_id","type":"string","default":"","desc":"Request id is returned in the response from label purchase request API","required":false,"in":"path","ref":"","_id":"610b6cc6b1171c0117d69824"},{"name":"access_token","type":"string","default":"","desc":"Your Access Token for accessing Tophatter APIs","required":false,"in":"query","ref":"","_id":"610b6cc6b1171c0117d69825"},{"name":"X-ERP-Name","type":"string","default":"","desc":"A name to identify your software","required":false,"in":"header","ref":"","_id":"610b6cc6b1171c0117d69826"}],"examples":{"codes":[{"code":"curl -X GET https://tophatter.com/merchant_api/v1/label_purchase_requests/:request_id/status.json \\\n-H 'X-ERP-Name: company_name' \\\n-H 'User-Agent: CompanyName/1.0.0' \\\n-d 'access_token=YOUR_ACCESS_TOKEN'","language":"curl"}]},"method":"get"},"next":{"description":"","pages":[]},"title":"Status","type":"endpoint","slug":"status","excerpt":"To get the label purchase status for the order","body":"","updates":[],"order":999,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"610b69dc7d8723001dd0551f","createdAt":"2021-08-05T04:32:28.735Z","user":"567f0baca74a1c0d003e1fba","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Labels","slug":"labels","order":9999,"from_sync":false,"reference":false,"_id":"60f505090c9c97000f61acce","createdAt":"2021-07-19T04:52:25.264Z","version":"567f0c06143cc60d00c1fdc1","project":"567f0c06143cc60d00c1fdbe","__v":0},"version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["567f0c07143cc60d00c1fdc2","56a9783109cb9c0d00f0c7d3","56a97837f834950d0037b363","56a9783b2d8fd90d0036eed6","56a979912d8fd90d0036eed8","5834b5691a80690f00d31faf","5834b5e4f775120f00c45f9d","5bf1a1473031e4005075ae14","5c64c200244bda003204b97f","6036b3ce32fcbe02eb8d7011","60f505090c9c97000f61acce"],"_id":"567f0c06143cc60d00c1fdc1","__v":11,"createdAt":"2015-12-26T21:52:06.734Z","releaseDate":"2015-12-26T21:52:06.734Z","project":"567f0c06143cc60d00c1fdbe"},"project":"567f0c06143cc60d00c1fdbe","__v":1}