updateInventoryConfiguration

put

/ccadmin/v1/merchant/inventoryConfiguration

Updates inventory configuration.

Request

Supported Media Types
Body ()
Root Schema : updateInventoryConfiguration_request
Type: object
Show Source
  • If enabled, allows order to be placed as backordered/preordered. It is recommended to carefully decide to enable or disable the flag at first place. Resetting the flag will lead to inconsistent behavior.
Example:
{
    "preorderBackorderEnabled":false
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateInventoryConfiguration_response
Type: object
Show Source
  • If enabled, allows order to be placed as backordered/preordered. It is recommended to carefully decide to enable or disable the flag at first place. Resetting the flag will lead to inconsistent behavior.
Example Response (application/json)
{
    "preorderBackorderEnabled":false
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top