Update a Shipping Rule
Changed onUpdate a shipping rule.
Required authorization scope: public.shipping_rule:write
Request
- Base URLhttps://public-api.easyship.com
- URLhttps://public-api.easyship.com/2024-09/shipping_rules/{shipping_rule_id}
- AuthHTTP bearer
Path parameters
Shipping Rule ID provided when creating
Request body
Response
shipping rule successfully updated
Example response
{
"shipping_rule": {
"conditions": [
{
"options": {
"states": [
"39-AB"
]
}
}
]
}
}Changes
- breaking
the request property
///////////became required - breaking
the
///////////request property's minItems was increased to1 - breaking
removed
subschema #1subschema #2from the//////////request propertyoneOflist - breaking
the
///////////request property type changed fromstringtoarray - breaking
added
subschema #1subschema #2to the///////////response propertyoneOflist for the response status - breaking
the
////////////response's property type changed fromstringtoarrayfor status - warning
added the new
-1.00enum value to the/////////////response property for the response status - info
added the new
-1.00enum value to the request property//////////// - info
added
subschema #1subschema #2to the//////////request propertyoneOflist - info
the response property
////////////became required for the status - info
removed
subschema #1subschema #2from the///////////response propertyoneOflist for the response status
- breaking