2 augustus 2024
- Get list of rule typesGET
- Get rule typeGET
- Get list of rulesGET
- Create rulePOST
- Get rule by idGET
- Update rulePUT
- Delete ruleDELETE
- Get rule actionsGET
- Create rule actionPOST
- Get rule action by idGET
- Update rule actionPUT
- Delete rule actionDELETE
- Get rule conditionsGET
- Create rule conditionPOST
- Get rule condition by idGET
- Update rule conditionPUT
- Delete rule conditionDELETE
Create rule condition
POST
https://api.pack.cloud/v1/warehouses/{warehouseId}/rules/{ruleId}/conditions
Request
Path parameters
warehouseIdstring
ruleIdstring
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
Created
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
Created
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
Created
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
Created
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
Created
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
Created
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