POST
/
v1
/
orders
/
{sourceOrderId}
/
fulfillments
curl --request POST \
  --url https://api.production.orderprotection.com/v1/orders/{sourceOrderId}/fulfillments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceItemIds": [
    {
      "sourceItemId": "1478",
      "quantity": 1
    },
    {
      "sourceItemId": "1479",
      "quantity": 2
    }
  ],
  "fulfillmentStatus": "Fulfilled",
  "trackingCompany": "FedEx",
  "trackingNumber": [
    "AB0303456"
  ],
  "trackingUrl": [
    "https://example-follow-shipment.com/AB0303456"
  ],
  "sourceFulfillmentId": "fulfillment-123"
}'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sourceOrderId
string
required

Body

application/json

Response

201
application/json

The fulfillment has been successfully created.

The response is of type object.