Package
POST https://api.ecartapi.com/api/v2/packages/{{orderId}}
Request Body
{"package"=>{"date"=>"2019-10-21", "items"=>[{"id"=>"1928302000000103069", "quantity"=>"1"}], "notes"=>"notes"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"success":true,"package":{"id":"1928302000000106001","orderId":"1928302000000103059","fulfillmentId":null,"customerId":"1928302000000069024","status":"not_shipped","number":"PKG-00080","date":"2019-10-21","notes":"notes","items":[{"id":"1928302000000106009","productId":"1928302000000103069","sku":"MOTOG7fpajt","name":"Moto fpajt","quantity":"1"}]}}