Fulfillment

POST https://api.ecartapi.com/api/v2/orders/{{orderId}}/fulfillments

Get companyId of carrier using Get all carriers service.

If companyId does not have your carrier pick and ID to represent your carrier and ask the seller to add it into their store settings.

Request Body

{"fulfillment"=>{"tracking"=>{"companyId"=>"99", "number"=>"123456"}, "package"=>{"dimensions"=>{"weight"=>"1"}}}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"fulfillment":{"id":"37","shippingMethod":{"id":null,"service":null},"tracking":{"number":"123456","url":null,"company":"99"},"status":{"id":null,"status":null,"shipment":null},"items":[],"packages":[],"dates":{"createdAt":"2022-01-17 11:12:33","updatedAt":null,"shippedAt":null}}}