POST https://api.ecartapi.com/api/v2/orders/{{orderId}}/fulfillments
Creates an order's fulfillment. Important information:
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Authorization
|
string |
RESPONSES
status OK
{
"success": true,
"fulfillment": {
"id": "4613821595903",
"orderId": "5132352356607",
"shippingMethod": {
"id": null,
"service": "manual"
},
"tracking": {
"number": "987654321",
"url": "https://shipping.xyz/track.php?num=123456789",
"company": "FedEx"
},
"status": {
"id": null,
"status": "success",
"shipment": null
},
"location": {
"id": null,
"name": null,
"country": {
"code": null,
"name": null
},
"state": {
"code": null,
"name": null
},
"postalCode": null
},
"items": [
{
"id": "12944051536127",
"variantId": "41930307436799",
"productId": "7351872258303",
"quantity": "1",
"ecartapiUrl": "https://api.ecartapi.com/api/v2/products/7351872258303"
}
],
"packages": [],
"dates": {
"createdAt": "2023-03-15T18:27:37+01:00",
"updatedAt": "2023-03-15T18:27:37+01:00",
"shippedAt": null
}
}
} |
ENDPOINTS