Shipping Rule's Conditions
Update Condition of the Shipping Rule
Changed onUpdate shipping rule condition.
Required authorization scope: public.shipping_rule:write
patch/2024-09/shipping_rules/{shipping_rule_id}/conditions/{condition_id}
Request
- Base URLhttps://public-api.easyship.com
- URLhttps://public-api.easyship.com/2024-09/shipping_rules/{shipping_rule_id}/conditions/{condition_id}
- AuthHTTP bearer
Path parameters
shipping_rule_idstring required
Shipping Rule ID provided when creating
condition_idstring required
Condition ID provided when creating
Request body
Example request
{
"options": {
"states": [
"39-AB"
]
}
}Response
condition successfully updated
Example response
{
"condition": {
"options": {
"states": [
"39-AB"
]
}
}
}Changes
- breaking
the
/////request property's minItems was increased to1 - breaking
the
/////request property type changed fromstringtoarray - breaking
the
//////////response's property type changed fromstringtoarrayfor status
- breaking