Skip to content

ShippingCostPolicy ​

Type: schema

TypeScript Definition ​

typescript
ShippingCostPolicy: {{
            rules: components["schemas"]["ShippingRule"][] | null;
            default_action: components["schemas"]["ShippingCostAction"];
        };
        /**
         * ShippingMethodState
         * @description A store's shipping method as its events carry it, with the warehouses it ships from for each marketplace.
         */
}

Component References ​

ReferenceResolves To
components["schemas"]["ShippingRule"]ShippingRule
components["schemas"]["ShippingCostAction"]ShippingCostAction

OpenAPI Schema ​

json
{
  "title": "ShippingCostPolicy",
  "type": "object",
  "required": [
    "rules",
    "default_action"
  ],
  "properties": {
    "rules": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/ShippingRule"
      }
    },
    "default_action": {
      "$ref": "#/components/schemas/ShippingCostAction"
    }
  },
  "additionalProperties": false
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: