Skip to content

Update inventory treatment setting

POST
/merchants/{merchantCode}/inventoryTreatmentSettings/{inventoryTreatmentSettingCode}
curl --request POST \
--url https://catalog.shopgate.io/v1/merchants/example/inventoryTreatmentSettings/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "isPurchasable": true, "sequenceId": 1 }'

Update inventory treatment setting

merchantCode
required
string
<= 255 characters
inventoryTreatmentSettingCode
required
string
<= 255 characters
Media typeapplication/json
object
name
string
isPurchasable
boolean
sequenceId
integer
Examplegenerated
{
"name": "example",
"isPurchasable": true,
"sequenceId": 1
}

Inventory treatment setting updated

Media typeapplication/json

Merchant or inventory treatment setting not found

Media typeapplication/json

Conflict Error

Media typeapplication/json