Get orders

GET https://api.ecartapi.com/api/v2/orders

Request Params

KeyDatatypeRequiredDescription
limitstringMax number of results that can be returned. Max limit is 100
pagestringAllows results pagination
createdAt[from]string
createdAt[to]string
updatedAt[from]string
updatedAt[to]string
fulfillmentStatusstringFilter orders by their fulfillment state. Only allowed value [ fulfilled ]
sortstringSort order by create_at (date field) in ascendent or descent.
status[financial]stringwhen paid, returns orders with payment received or when pending, return orders without payment received

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"orders":[{"id":"2098218716","number":"1405186252","marketPlaceId":null,"groupId":null,"name":"DANIELA ZAPATA","email":"dacoj31692@w3boats.com","fulfillmentStatus":{"id":null,"status":"false","ecartapi":"unfulfilled","ecartapiId":"3","partiallAvailable":"false"},"currency":"MXN","totals":{"subtotal":"15.00","total":"15.00","tax":"0.00","discount":"0","weight":null,"shipping":null},"taxesIncluded":null,"taxLines":null,"units":{"weight":null},"status":{"id":null,"status":true,"financial":"paid","ecartapi":"paid","ecartapiId":"1"},"locationId":null,"reference":null,"tags":null,"payment":{"method":"cc","status":"paid"},"customer":506285919,"billingAddress":{"id":null,"firstName":"DANIELA ZAPATA","lastName":null,"address1":"AVENIDA 2, 905","address2":null,"address3":null,"country":150,"state":"COAHUILA","city":"MONCLOVA","postalCode":"25720","phone":null,"company":null,"references":null},"shippingMethod":"Standard Shipping","shippingAddress":{"id":null,"firstName":"DANIELA ZAPATA","lastName":null,"address1":"AVENIDA 2, 905","address2":null,"address3":null,"country":150,"state":"COAHUILA","city":"MONCLOVA","postalCode":"25720","phone":null,"company":null,"references":null},"items":null,"packages":null,"meta":null,"dates":{"canceledAt":null,"closedAt":null,"createdAt":"1624899233","updatedAt":"1624899252","paidAt":null},"cancelReason":null,"note":null,"checkoutId":null}]}