Skip to main content
POST
Fulfill an order line item

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Headers

Idempotency-Key
string

Unique key for safely retrying this request. Responses are replayed for 24 hours; use a fresh key after correcting a rejected request body.

Required string length: 1 - 128

Path Parameters

id
string
required
itemId
string
required

Body

At least one content field (message, codes, links, or files) is required.

delivery_id
string

The deliveryId from the dynamic webhook request. Omit only when exactly one delivery for this product is awaiting fulfillment; ambiguous callbacks require manual review.

message
string

Text content to deliver to the buyer.

codes
string[]

License keys or other redeemable codes.

HTTP or HTTPS links to deliver to the buyer.

files
object[]

Shop-owned attachment IDs to deliver to the buyer.

notify_customer
boolean

Whether to email the buyer. Defaults to true.

Response

Response for status 200

data
object
required