Order fulfillment locations
GET https://api.ecartapi.com/api/v2/orders/{{orderId}}/locations
This request will provide information for all the posible locations and packages fulfillments that can be made from the different shopify locations available.
The default flag will tell you the store's default shipping location
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | string | Set the max results to be responded in the request. | |
active | string | Filters results by active or inactive Fulfillment Order Ids. Default all results are returned |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"locations":[{"id":"61382492326","fulfillmentOrderId":"5305356812454","locationName":"Crisol Cafe 302","address1":"Crisol Cafe","address2":"302","country":{"code":"MX","name":"Mexico","codeIso2":"MX","codeIso3":"MEX"},"state":{"code":"NL","name":"Nuevo León","codeIso2":null,"codeIso3":null},"city":"Monterrey","postalCode":"64520","phone":null,"company":null,"references":null,"productIds":["10958210793638"],"default":"true"},{"id":"63321538726","fulfillmentOrderId":"5305356845222","locationName":"Santiago","address1":"Toro Mazotte","address2":"076","country":{"code":"CL","name":"Chile","codeIso2":"CL","codeIso3":"CHL"},"state":{"code":"RM","name":"Santiago","codeIso2":null,"codeIso3":null},"city":"Santiago","postalCode":"7501183","phone":"+568111111111","company":null,"references":null,"productIds":["10958210826406"],"default":"false"}]}