The
/product/{id}/assets
endpoint updates the assets associated with a specific product. It replaces all existing asset associations with the provided list.
Method:PUT
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the product. |
Parameter | Type | Description |
---|---|---|
assets | array | Array of asset objects to associate with the product. |
Parameter | Type | Description |
---|---|---|
asset | string | The ID of the asset to associate. |
number | integer | The track number for this asset in the product. |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ā | Product ID |
Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
assets | array | ā |
Responses
ā 200 - Success
ā ļø 401 - Unauthorized
ā ļø 404 - Not Found
ā 500 - Internal Server Error
Tags
Product
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Product ID
Body
application/json
Response
Success