Shipping Rules

Get a Shipping Rule

Changed on

Retrieve a shipping rule.

Required authorization scope: public.shipping_rule:read

get/2024-09/shipping_rules/{shipping_rule_id}

Request

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

Path parameters

shipping_rule_idstring required

Shipping Rule ID provided when creating

Response

shipping rule

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