shippingZone Query
Look up a shipping zone by ID.
Arguments
#
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
{
"id": "aWQ6ODc="
}
3
{
"shippingZone": {
"id": "aWQ6OTY=",
"privateMetadata": [
{
"key": "string",
"value": "string"
}
],
"metadata": [
{
"key": "string",
"value": "string"
}
],
"name": "Acme",
"seller": {
"id": "aWQ6MTQ=",
"companyName": "Acme Inc.",
"slug": "sample-slug",
"status": "APPLYING",
"externalPayoutAccountId": "acct_1OKOMlCr0GpVz8ls",
"externalPayoutSource": "NAUTICAL_PAYMENTS_STRIPE",
"externalPayoutOnboardingUrl": "https://connect.stripe.com/setup/e/acct_1OKOMlCr0GpVz8ls/gDWmFe2IFpXC",
"isMarketplaceSeller": true,
"identification": [
"12-3456789"
],
"defaultCurrency": "string",
"fulfilledByMarketplace": true,
"agreementAcknowledged": "2022-03-06T08:23:45.000Z",
"canUseInStorefront": true,
"pk": 42,
"externalPayoutStatus": true,
"externalPayoutSchedule": "daily",
"agreementDecisionReason": "string",
"storeDescription": "string",
"storeDescriptionPlainText": "string",
"approvedDate": "2022-03-06T08:23:45.000Z",
"firstProductCreatedDate": "2022-03-06T08:23:45.000Z",
"firstOrderPlacedDate": "2022-03-06T08:23:45.000Z",
"created": "2022-03-06T08:23:45.000Z",
"updated": "2022-03-06T08:23:45.000Z",
"accountSetupTasksAreDone": true
},
"warehouses": [
{
"externalId": "string",
"externalSource": "string",
"id": "aWQ6MjQ=",
"name": "Acme",
"slug": "sample-slug",
"companyName": "Acme Inc.",
"email": "user@example.com"
}
],
"countries": [
{
"code": "string",
"country": "CA",
"requiredFields": [
"string"
]
}
],
"shippingMethods": [
{
"id": "aWQ6OTY=",
"name": "Acme",
"type": "PRICE",
"requiresSecondaryAddress": true
}
],
"countryAreas": [
{
"id": "aWQ6Mw=="
}
]
}
}
3