ParcelPanel API **API** <p style=""> <span style="background-color: #dff0d8;color:#3c763d;padding:10px 20px 10px 6px;border-radius: 4px;">POST : www.parcelpanel.com/api/v1/order/post </span> </p> <span style="background-color: #f0ad4e;color:#fff;padding:2px 10px;border-radius: 4px;">Headers</span> | Key | Value | Description | | ------------ | ------------ | ------------ | | Content-Type | application/json | | | Parcelpanel-Api-Key | {{api_key}} | | | <span style="background-color: #337ab7;color:#fff;padding:2px 10px;border-radius: 4px;">Body</span> <span> <pre> { "order_name": "#1479" } </pre> </span> <span style="background-color: #5cb85c;color:#fff;padding:2px 10px;border-radius: 4px;">Response</span> <span> <pre> { "meta": { "code": 200, "type": "Success", "measage": "The request was successful." }, "data": { "order_id":"2600441643094", "order_name":"#1001", "store_name":"test.myshopify.com", "customer_name":"Tom Alix", "email":"test@parcelpanel.org", "phone":"888-888-8888", "created_at":"2020-08-25 11:36:23", "total_price":"24.96", "subtotal_price":"24.96", "tax":"0.00", "currency":"CNY", "fulfillments":[ { "shop_url":"https://test.myshopify.com", "order_id":"2600441643094", "order_name":"#1001", "track_number":"123456789", "shopify_carrier":"DHL Express", "carrier":{ "slug":"dhl", "name":"DHL Express", "website":"http://www.dhl.com/", "phone":"800-810-8000", "track_url":"http://www.dhl.com/en/express/tracking.html?brand=DHL&AWB=123456789" }, "shipment_status":"delivered", "created_at":"2020-08-25 11:36:31", "last_event":"Delivered - Signed for by: LCP009 Plt dhl", "origin_country":"Thailand", "origin_weblink":"http://www.dhl.co.th/en/contact_center/contact_express.html#local_contact", "origin_phone":"800-810-8000", "destination_country":"New Zealand", "destination_weblink":"http://www.dhl.com/", "destination_phone":"800-810-8000", "line_items":[ { "name":"(10 colors) 2019 autumn and winter new men's woolen coat 5XL large size slim long trench coat, fashion slim wild men's jacket - Khaki / M", "quantity":"1", "img":"https://cdn.shopify.com/s/files/1/1297/6081/products/product-image-974429930.jpg?v=1571353016", "product_id":"4001561247830", "variant_id":"29718845685846" } ], "trackinfo":[ { "Date":"2020-06-19 09:58:00", "StatusDescription":"Delivered - Signed for by: LCP009 Plt dhl", "Details":"BLENHEIM", "checkpoint_status":"delivered" }, { "Date":"2020-06-19 07:33:00", "StatusDescription":"with a courier for delivery", "Details":"NZ REGIONAL SERVICE AREA - NEW ZEALAND", "checkpoint_status":"out for delivery" }, { "Date":"2020-06-17 11:30:00", "StatusDescription":"Arrived at Sort Facility AUCKLAND - NEW ZEALAND", "Details":"AUCKLAND - NEW ZEALAND", "checkpoint_status":"transit" }, { "Date":"2020-06-16 04:33:00", "StatusDescription":"Arrived at Sort Facility SINGAPORE - SINGAPORE", "Details":"SINGAPORE - SINGAPORE", "checkpoint_status":"transit" }, { "Date":"2020-06-15 17:09:00", "StatusDescription":"Processed at BANGKOK - THAILAND", "Details":"BANGKOK - THAILAND", "checkpoint_status":"transit" }, { "Date":"2020-06-15 16:58:00", "StatusDescription":"Shipment picked up", "Details":"BANGKOK - THAILAND", "checkpoint_status":"transit", "ItemNode":"ItemReceived" } ] } ], "shipping_address":{ "address1":"6399 Cable Avenue", "phone":"3212989961", "city":"Cocoa", "province":"Anhui", "country":"China", "address2":null, "company":null, "latitude":"28.4707401", "longitude":"-80.8050111", "name":"Tom Alix", "country_code":"CN", "province_code":"AH" } } } </pre> </span> <style> .editormd-html-preview ol.linenums {padding-left: 0.5em !important;margin:0} .editormd-html-preview ol.linenums li{list-style-type: none !important;} p{margin-bottom: 0.5em !important;} #fullArticle pre{margin-bottom: 0em !important;} </style> | Code | Type | Message | | ------------ | ------------ | ------------ | | 200 | <span style="background-color: #F9F2F4;border: 1px solid #FAD5DF;border-radius: 4px;padding:2px 4px">Success</span> | The request was successful. | | 201 | <span style="background-color: #F9F2F4;border: 1px solid #FAD5DF;border-radius: 4px;padding:2px 4px">Not Found</span> | Resource was empty. | | 4001 | <span style="background-color: #F9F2F4;border: 1px solid #FAD5DF;border-radius: 4px;padding:2px 4px">Bad Request</span> | Api-Key is empty | | 4002 | <span style="background-color: #F9F2F4;border: 1px solid #FAD5DF;border-radius: 4px;padding:2px 4px">Bad Request</span> | Order_name is required. | | 4003 | <span style="background-color: #F9F2F4;border: 1px solid #FAD5DF;border-radius: 4px;padding:2px 4px">Unauthorized</span> | Invalid API key. | | 429 | <span style="background-color: #F9F2F4;border: 1px solid #FAD5DF;border-radius: 4px;padding:2px 4px">Too Many Requests</span> | Wait one second and try again. | <span style="background-color: #5cb85c;color:#fff;padding:2px 10px;border-radius: 4px;">Rate Limit</span> If the rate limit is hit, the API will return a 429 status code (Too Many Requests), your application should not send any further requests and wait 60 sec. POST v1/order/post –––– ≤50 requets per sec