Przejdź do głównej zawartości

Zleć aktualizację zdjęć obiektu

POST
/api/v2/schedule-update/{entityName}/{entityId}
curl --request POST \
--url https://twoja-instancja-image-gallery-api.enterprise.sellrocket.pl/api/v2/schedule-update/example/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'UploadImages=[ { "slot": 1, "imageFile": "binary", "imageLink": "example" } ]'

Asynchroniczna wersja aktualizacji zdjęć obiektu; stan sprawdzisz przez /api/jobs/picture-update/{id}.

entityName
wymagane
string
entityId
wymagane
string
Typ treścimultipart/form-data
object
UploadImages
Array<object>
object
slot
integer format: int32
imageFile
string format: binary
nullable
imageLink
string
nullable

Accepted

Bad Request

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