Skip to main content
Send an array of fulfillment options. Each item creates the option when its id does not exist, or updates it when it does. Send only the fields to change. id comes from each item and cannot be renamed here.
Requires an access token with the fulfillment:write scope. See Token to obtain a token.
An item with only id refreshes updated_at when the option already exists. A new id requires name and type. Omitted status defaults to ACTIVE and omitted channel_ids defaults to [].

Request

Body

An array of 1 to 100 items. Each item takes these fields: workflow, preset, labels, uid, merchant_id, and env are ignored if sent.

Response

Zod validates the entire body before saving. If any field is invalid, HTTP 400 is returned and no items are saved. When the body is valid, items are saved one after another. HTTP 200 only when every item is saved. If a later item hits a business error, HTTP is that item’s status (422 or 500).

Error responses