Shipping Rules

Deactivate a Shipping Rule

Changed on

Deactivate specific shipping rule.

Required authorization scope: public.shipping_rule:write

post/2024-09/shipping_rules/{id}/deactivate

Request

  • Base URL
    https://public-api.easyship.com
  • URL
    https://public-api.easyship.com/2024-09/shipping_rules/{id}/deactivate
  • Auth
    HTTP bearer

Path parameters

idstring required

Shipping Rule ID provided when creating

Response

shipping rule successfully deactivated

Example response

{
  "shipping_rule": {
    "conditions": [
      {
        "options": {
          "states": [
            "39-AB"
          ]
        }
      }
    ]
  }
}

Changes

    • breaking

      added subschema #1 subschema #2 to the /////////// response property oneOf list for the response status

    • breaking

      the //////////// response's property type changed from string to array for status

    • warning

      added the new -1.00 enum value to the ///////////// response property for the response status

    • info

      the response property //////////// became required for the status

    • info

      removed subschema #1 subschema #2 from the /////////// response property oneOf list for the response status