---
updatedAt: 2026-10-05T19:58:24.000Z
---

# Create Order Fulfillment (Amazon v2)

## Fulfillment update for an Order

This endpoint allows you to update the the fulfillment details for a specific order identified by `orderId`. It posts information about the package, tracking details, items included in the fulfillment, and the location associated with the fulfillment.

### Purpose

The purpose of this request is to provide the necessary details for fulfilling an order, including the package information, tracking number, shipping company, and items being shipped.

### Request Parameters

- **orderId** (path parameter): The unique identifier of the order for which fulfillment details are being processed.
    

### Package ID Handling

When creating or updating a fulfillment, it is now possible to include a **`package.id`**.

#### Requirements

- The `package.id` must be stored in order to perform a future **Update Fulfillment** request.
    
- For the update to succeed, the `orderId`, `package.id`, `orderItem`, and `quantity` must be consistent with the initial POST request.
    

#### Important Notes

- The `package.id` sent when creating a fulfillment is retrievable later via the `GET /orders/{orderId}/fulfillments` endpoint. The response includes a `packages.id` field that matches the reference used when the shipment was created.

**Rate Limit**

| Rate (requests per second) | Burst |
| --- | --- |
| 2 | 10 |

### Expected Input Structure

The request body should be structured as follows:

``` json
{
    "fulfillment": {
        "package": {
            "id": "string" // Required. Use this package identifier to update
        },
        "tracking": {
            "number": "string", // Required. The tracking number for the shipment
            "companyId": "string" //Required.  The identifier codee for the shipping company
        },
        "items": [
            {
                "id": "string", //  Required. The unique identifier for the item being fulfilled
                "quantity": "integer" // Required. The quantity of the item being fulfilled
            }
        ]
    }
}

 ```

### Valid companyId values for Amazon carriers

Refer to the extensive list of valid `companyId` values provided in the documentation to ensure that the correct shipping company identifier is used.

# OpenAPI definition

````json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Amazon v2"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/orders/{orderId}/fulfillments": {
      "post": {
        "summary": "Create Order Fulfillment (Amazon v2)",
        "description": "## Fulfillment update for an Order\n\nThis endpoint allows you to update the the fulfillment details for a specific order identified by `orderId`. It posts information about the package, tracking details, items included in the fulfillment, and the location associated with the fulfillment.\n\n### Purpose\n\nThe purpose of this request is to provide the necessary details for fulfilling an order, including the package information, tracking number, shipping company, and items being shipped.\n\n### Request Parameters\n\n- **orderId** (path parameter): The unique identifier of the order for which fulfillment details are being processed.\n    \n\n### Package ID Handling\n\nWhen creating or updating a fulfillment, it is now possible to include a **`package.id`**.\n\n#### Requirements\n\n- The `package.id` must be stored in order to perform a future **Update Fulfillment** request.\n    \n- For the update to succeed, the `orderId`, `package.id`, `orderItem`, and `quantity` must be consistent with the initial POST request.\n    \n\n#### Important Notes\n\n- The `package.id` sent when creating a fulfillment is retrievable later via the `GET /orders/{orderId}/fulfillments` endpoint. The response includes a `packages.id` field that matches the reference used when the shipment was created.\n    \n\n**Rate Limit**\n\n| Rate (requests per second) | Burst |\n| --- | --- |\n| 2 | 10 |\n\n### Expected Input Structure\n\nThe request body should be structured as follows:\n\n``` json\n{\n    \"fulfillment\": {\n        \"package\": {\n            \"id\": \"string\" // Required. Use this package identifier to update\n        },\n        \"tracking\": {\n            \"number\": \"string\", // Required. The tracking number for the shipment\n            \"companyId\": \"string\" //Required.  The identifier codee for the shipping company\n        },\n        \"items\": [\n            {\n                \"id\": \"string\", //  Required. The unique identifier for the item being fulfilled\n                \"quantity\": \"integer\" // Required. The quantity of the item being fulfilled\n            }\n        ]\n    }\n}\n\n ```\n\n### Valid companyId values for Amazon carriers\n\nRefer to the extensive list of valid `companyId` values provided in the documentation to ensure that the correct shipping company identifier is used.",
        "operationId": "create_orders_fulfillment_amazon_v2",
        "responses": {
          "200": {
            "description": "Successful response"
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orderId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the order."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fulfillment": {
                    "type": "object",
                    "properties": {
                      "package": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "123",
                            "description": "Required. Use this package identifier to update."
                          }
                        }
                      },
                      "tracking": {
                        "type": "object",
                        "properties": {
                          "number": {
                            "type": "string",
                            "example": "987654321",
                            "description": "Required. The tracking number for the shipment"
                          },
                          "companyId": {
                            "type": "string",
                            "example": "fedex",
                            "description": "Required. The identifier code for the shipping company"
                          },
                          "company": {
                            "type": "string",
                            "example": "external carrier name",
                            "description": "Required when companyId is 'other'"
                          },
                          "url": {
                            "type": "string",
                            "example": "https://example.com/track/TRACK123",
                            "description": "Public tracking page URL."
                          }
                        }
                      },
                      "shippingMethod": {
                        "type": "string",
                        "example": "ground"
                      },
                      "shippingDate": {
                        "type": "string",
                        "example": "2026-10-01T21:00:00.000Z",
                        "description": "Ship date in ISO 8601. Must include T (e.g. 2026-10-01T21:00:00.000Z). Sent as shipDate. Without T, the current timestamp is used."
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "891"
                            },
                            "quantity": {
                              "type": "string",
                              "example": "1"
                            }
                          }
                        }
                      },
                      "locationId": {
                        "type": "string",
                        "example": ""
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
````