Przejdź do głównej zawartości

Zaktualizuj opakowanie

PUT
/api/packing/v2/containers/{id}
curl --request PUT \
--url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/packing/v2/containers/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "id": 1, "name": "example", "height": 1, "length": 1, "width": 1, "position": 1, "marginLength": 1, "marginWidth": 1, "marginHeight": 1, "itemsNumberThesholdToApplyMargin": 1 }'

Aktualizuje wymiary i parametry opakowania.

id
wymagane
integer format: int64
object
id
integer format: int64
name
string
nullable
height
number format: double
length
number format: double
width
number format: double
position
integer format: int32
marginLength
number format: double
nullable
marginWidth
number format: double
nullable
marginHeight
number format: double
nullable
itemsNumberThesholdToApplyMargin
integer format: int32
nullable
Examplegenerated
{
"id": 1,
"name": "example",
"height": 1,
"length": 1,
"width": 1,
"position": 1,
"marginLength": 1,
"marginWidth": 1,
"marginHeight": 1,
"itemsNumberThesholdToApplyMargin": 1
}

Success