Fulfillments
Fulfill line items within a sale
Fulfills line items for a given sale. This is an idempotent action.
Each line item may optionally include a source_breakdown, which specifies how a fulfillment quantity should be sourced. When provided, all three fields are required and must sum to the parent quantity.
🔒 Requires: sales:write scope
post/fulfillments/{fulfillment_id}/fulfill
Path parameters
fulfillment_idstring required
The unique identifier of the fulfillment
Request body
Example request
{
"line_items": [
{
"quantity": 1,
"sale_line_item_id": "f3a8d2c1-9b7e-4f56-8a12-3e4d5c6b7a89"
}
],
"version": 5
}Response
Sale line item fulfilled successfully.
Example response
{
"data": {
"id": "7428951063847291856",
"version": 3
}
}