The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.

Update rule condition

PUT

https://api.pack.cloud/v1/warehouses/{warehouseId}/rules/{ruleId}/conditions/{conditionId}

Request

Path parameters

warehouseIdstring
ruleIdstring
conditionIdstring

Payload

coderequired
Code of the condition
Example:total_quantity_items_returned
operatorrequired
Operator of the condition
Example:eq
valuerequired
Value of the condition
Example:10

Response

OK

Body

idstring
ID of the rule condition
code
Code of the condition
Example:total_quantity_items_returned
operator
Operator of the condition
Example:eq
value
Value of the condition
Example:10
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource