cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The fulfillment has been successfully created.
The response is of type object.
object