Magidoc

shippingZone
Query

Look up a shipping zone by ID.

Arguments

#

id

ID !
Non-null

ID of the shipping zone.

Response

#

Returns ShippingZone .

Example

#

    query ($id: ID!) {
  shippingZone(id: $id) {
    id
    privateMetadata {
      key
      value
    }
    metadata {
      key
      value
    }
    name
    seller {
      id
      companyName
      slug
      status
      externalPayoutAccountId
      externalPayoutSource
      externalPayoutOnboardingUrl
      isMarketplaceSeller
      identification
      defaultCurrency
      fulfilledByMarketplace
      agreementAcknowledged
      canUseInStorefront
      pk
      externalPayoutStatus
      externalPayoutSchedule
      agreementDecisionReason
      storeDescription
      storeDescriptionPlainText
      approvedDate
      firstProductCreatedDate
      firstOrderPlacedDate
      created
      updated
      accountSetupTasksAreDone
    }
    warehouses {
      externalId
      externalSource
      id
      name
      slug
      companyName
      email
    }
    countries {
      code
      country
      requiredFields
    }
    shippingMethods {
      id
      name
      type
      requiresSecondaryAddress
    }
    countryAreas {
      id
    }
  }
}

  

3