Next Commerce
Assets

Assets Retrieve

GET
/assets/{id}/

Authorization

oauth2 assets:read
AuthorizationBearer <token>

Generate an Access Token through Settings > API Access for single store access or use the Authorization Code flow with your partner App Client ID. Use required permission scopes for API endpoint access. Example Authorization: Bearer 123

In: header

Scope: assets:read

Path Parameters

id*integer

A unique integer value identifying this asset.

Header Parameters

X-29next-API-Version*"2023-02-10"
Default"2023-02-10"

Value in

  • "2023-02-10"

Response Body

application/json

curl -X GET "https://example.com/assets/0/" \  -H "X-29next-API-Version: 2023-02-10"
{  "created_at": "2019-08-24T14:15:22Z",  "file": "http://example.com",  "id": 0,  "name": "string"}