01.software Docs

createFulfillment

Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.

All HTTP operations
POST
/api/orders/create-fulfillment

Tenant-editor write; shared lifecycle quantity/lock rules. Returns document or {id,order} fallback. Optional X-Idempotency-Key retains same-body retry identity.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Public integration credentials: verified opaque sk01_ secret key or pat01_ personal access token; operation policy and read/write scopes still apply. These credentials are not Customer JWTs.

Header Parameters

X-Idempotency-Key?string

Optional retry identity. Preserve exact body and identity for the same operation; absence does not imply safe automatic retry.

Length1 <= length

Request Body

application/json
  1. body
orderNumber*string
Length1 <= length
fulfillmentOrderId?string|number
carrier?string
Length1 <= length
trackingNumber?string
Length1 <= length
items?array<>
Items1 <= items <= 100

Response Body

Actual shaped success body

application/json
  1. response

Actual authenticated Payload Fulfillment document. Relationship depth and field access vary. This is server-only legacy wire, not the canonical public DTO or a browser discovery promise.

id*string
createdAt?string
updatedAt?string
order?string|number|
status?string
carrier?string|null
trackingNumber?string|null
[key: string]?any

Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.

Example Request
curl -X POST 'https://api.01.software/api/orders/create-fulfillment' \  -H 'Content-Type: application/json' \  -d '{  "orderNumber": "string"}'
Example Response
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "order": "string",  "status": "string",  "carrier": "string",  "trackingNumber": "string"}