v1

latestOpenAPI 3.0.1Apache 2.02026-07-26193304444.4 KB
Fulfillments

Partial Pick line items within a sale

Sets pick quantity for line items for a given sale. This is an idempotent action.

🔒 Requires: sales:write scope

post/fulfillments/{fulfillment_id}/pick

Path parameters

fulfillment_idstring required

The unique identifier of the fulfillment

Request body

versioninteger required

The current version number of the fulfillment.

Example request

{
  "line_items": [
    {
      "quantity": 1,
      "sale_line_item_id": "f3a8d2c1-9b7e-4f56-8a12-3e4d5c6b7a89"
    }
  ],
  "version": 5
}

Response

Sale line item picked successfully.

Example response

{
  "data": {
    "id": "7428951063847291856",
    "version": 3
  }
}