File links are signed for the order; send them to the customer, never publish them, and read them again instead of storing them. See Digital products and delivery.
Path parameters
idstringrequired
Response
dataobjectrequired
order_idstringrequired
itemsarray<object>required
product_idstringrequired
namestring
typestringrequired
codelinkfiletext
valuestringrequired
The code, link or text. File links are signed and tied to the order: send them to the customer, never publish them, and read them again when needed instead of storing them.
expires_atstring | null (date-time)
null today for every type. If links gain an expiry, its time will appear here.
metaobjectrequired
request_idstring (uuid)
The request ID; include it in any support request.
Errors
HTTP
Code
Meaning
409
ORDER_NOT_PAID
The order is not paid.
404
RESOURCE_NOT_FOUND
The ID does not exist in this store.
403
SCOPE_REQUIRED
The token does not carry the required scope.
503
APPS_SCOPE_RUNTIME_NOT_READY
The resource is not enabled on this merchant's store yet.