Przejdź do głównej zawartości

Przelicz stany zestawów w katalogu

PUT
/api/products/v3/bundles/refresh/stocks
curl --request PUT \
--url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/products/v3/bundles/refresh/stocks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "catalogId": 1 }'

Ponownie wylicza stany magazynowe produktów-zestawów w katalogu na podstawie stanów ich składników.

object
catalogId
integer format: int64
Examplegenerated
{
"catalogId": 1
}

Success

Array<integer>

Server Error

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