Get all fulfillments
GET https://api.ecartapi.com/api/v2/orders/{{orderId}}/fulfillments
Gets a list of all shipments on an order.
More information about the ecommerce's resource.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | string | Default value: 50. The maximum number of products returned in the response | |
page | string | Index of page of results to be returned. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
{"success":true,"fulfillments":[{"id":"2155","shippingMethod":{"id":null,"service":"Standard (Free Shipping)"},"tracking":{"number":"AAAAAAAAA*****","url":null,"company":"Carrier company."},"status":{"id":null,"status":null,"shipment":null},"location":{"id":null,"name":null,"country":{},"state":{},"postalCode":null},"items":[{"id":"1947","variantId":null,"productId":"282","quantity":"1","ecartapiUrl":"https://eshop-deve.herokuapp.com/api/v2/products/1947"},{"id":"1948","variantId":null,"productId":"177","quantity":"1","ecartapiUrl":"https://eshop-deve.herokuapp.com/api/v2/products/1948"},{"id":"1949","variantId":null,"productId":"176","quantity":"1","ecartapiUrl":"https://eshop-deve.herokuapp.com/api/v2/products/1949"},{"id":"1950","variantId":null,"productId":"173","quantity":"1","ecartapiUrl":"https://eshop-deve.herokuapp.com/api/v2/products/1950"},{"id":"1951","variantId":null,"productId":"170","quantity":"1","ecartapiUrl":"https://eshop-deve.herokuapp.com/api/v2/products/1951"},{"id":"1952","variantId":null,"productId":"168","quantity":"1","ecartapiUrl":"https://eshop-deve.herokuapp.com/api/v2/products/1952"}],"packages":[],"dates":{"createdAt":"Wed, 14 Sep 2022 12:04:20 +0000","updatedAt":null,"shippedAt":null}}]}