List order downloads
Returns signed download links for the digital items of an order. Proof is either the customer token (the order must belong to that customer on this channel) or, for a guest right after paying, the checkout_id of the completed checkout. Each link expires after the number of days set on the product, or after a platform default when none is set.
For /api/vc/{connectionId}/* routes the connectionId (vc_*) is in the URL path — not a header. Live-mode requests must also send a matching Origin header.
In: header
Path Parameters
Sales channel ID (vc_*), the canonical salesChannelId. connectionId is the deprecated name of the same value and is still the literal path segment.
Order id.
Query Parameters
Id of the completed checkout that produced the order. The guest proof when no customer token is sent.
Header Parameters
Origin of the storefront page making the call, for example https://shop.example.com. Required: a request with no Origin header is refused with 403. On a LIVE channel its host must equal the channel's registered domain (or one of its subdomains) or match an allowed origin. A TEST channel with no domain accepts any origin; once a domain is set it is matched as on LIVE.
Customer token as Bearer <token>. Send it or checkout_id; with neither the route answers 403.
Version of the calling SDK (the Brainerce SDK sends it automatically). Informational: it is recorded on the channel and never changes the response.
curl -X GET "https://api.brainerce.com/api/vc/string/customers/me/orders/string/downloads?checkout_id=string" \ -H "origin: string" \ -H "authorization: string" \ -H "X-SDK-Version: string"[
{
"productName": "Wallpaper pack",
"fileName": "wallpapers.zip",
"downloadUrl": "https://api.brainerce.com/api/stores/clst_abc/downloads/eyJ...",
"downloadsUsed": 0,
"downloadLimit": 5,
"expiresAt": "2026-01-15T10:30:00.000Z"
}
]{
"statusCode": 401,
"code": "UNAUTHORIZED",
"message": "Invalid or expired credential",
"timestamp": "2026-08-23T10:15:00.000Z",
"path": "/api/vc/{connectionId}/customers/me/orders/{orderId}/downloads"
}{
"statusCode": 403,
"code": "INSUFFICIENT_SCOPE",
"message": "API key does not have the required scope: products:write",
"timestamp": "2026-08-23T10:15:00.000Z",
"path": "/api/vc/{connectionId}/customers/me/orders/{orderId}/downloads"
}{
"statusCode": 404,
"code": "RESOURCE_NOT_FOUND",
"message": "Resource not found",
"timestamp": "2026-08-23T10:15:00.000Z",
"path": "/api/vc/{connectionId}/customers/me/orders/{orderId}/downloads"
}{
"statusCode": 429,
"code": "RATE_LIMITED",
"message": "Too many requests",
"details": {
"retryAfterSeconds": 12
},
"timestamp": "2026-08-23T10:15:00.000Z",
"path": "/api/vc/{connectionId}/customers/me/orders/{orderId}/downloads"
}