Skip to main content

ShippingZoneCreateInput

Input for creating a new shipping zone.

input ShippingZoneCreateInput {
name: String
countries: [String!]
addWarehouses: [ID!]
seller: ID!
countryAreas: [ShippingZoneCountryAreaInput!]
}

Fields

ShippingZoneCreateInput.name ● String scalar

Shipping zone's name. Visible only to staff.

ShippingZoneCreateInput.countries ● [String!] list scalar

List of country codes (e.g., ['US', 'CA']).

ShippingZoneCreateInput.addWarehouses ● [ID!] list scalar

List of warehouse IDs to assign to this shipping zone.

ShippingZoneCreateInput.seller ● ID! non-null scalar

Seller ID - shipping zones must belong to a seller.

ShippingZoneCreateInput.countryAreas ● [ShippingZoneCountryAreaInput!] list input

List of country areas this shipping zone is limited to.

Member Of

shippingZoneCreate mutation

Was this page helpful?