Przejdź do głównej zawartości

Wgraj plik o podanej nazwie do pola produktu

POST
/api/v3/products/{productId}/complex-fields/{complexFieldName}/File/{fileName}
curl --request POST \
--url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/v3/products/1/complex-fields/example/File/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/octet-stream' \
--data example

Działa jak wgrywanie pliku do pola złożonego produktu, ale z nazwą pliku podaną jawnie w ścieżce.

Uploads file to the storage and creates or updates complex field for a given product id and owner type

productId
wymagane
integer format: int64
complexFieldName
wymagane
string
fileName
wymagane
string
Typ treściapplication/octet-stream
string format: byte

Created

object
downloadLink
string
nullable

Bad Request

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties