Przejdź do głównej zawartości

Zleć aktualizację zdjęć wielu obiektów

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

Asynchronicznie aktualizuje zdjęcia wielu obiektów; stan sprawdzisz przez /api/jobs/picture-update/{id}. Zalecane przy dużych wolumenach.

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

Accepted

Bad Request

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