v1

latestSwagger 2.02026-07-17148179252.3 KB
Catalog

Creates a ComplexRule.

post/catalog/products/{product_id}/complex-rules

Request body

product_idinteger nullable

The unique numeric ID of the product with which the rule is associated; increments sequentially.

sort_orderinteger

The priority to give this rule when making adjustments to the product properties.

enabledboolean

Flag for determining whether the rule is to be used when adjusting a product's price, weight, image, or availabilty.

stopboolean

Flag for determining whether other rules should not be applied after this rule has been applied.

purchasing_disabledboolean

Flag for determining whether the rule should disable purchasing of a product when the conditions are applied.

purchasing_disabled_messagestring

Message displayed on the storefront when a rule disables the purchasing of a product.

purchasing_hiddenboolean

Flag for determining whether the rule should hide purchasing of a product when the conditions are applied.

Response

A ComplexRule object.

metaMeta

Empty meta object; may be used later.