Skip to main content
POST
Attach file to product

Autorizações

Authorization
string
header
obrigatório

Send an API key or an OAuth access token in the Authorization header as a Bearer token. See Authentication for details.

Parâmetros de caminho

id
string
obrigatório

Product identifier (id or product_pid).

Corpo

application/json

Send either file_id (reuse an existing store file) or name + link (create a new one on the fly).

file_id
integer
name
string

Resposta

File attached

The response is of type object.