Create an asset on a product

Create an asset for the given product id

Request

POST https://api.nexway.store/products/{id}/assets

Path parameters

Parameter name Value Description Additional
id string

product ID

Required

Query parameters

Parameter name Value Description Additional
type string

type

Required
url string

url

Form parameters

Parameter name Value Description Additional
file file

file

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
201 Created

Success

success
401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not Found

500 Internal Server Error

Failure


Explore this API

id

product ID

type

type

url

url

file

file

Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!