Skip to content
snapcasterDevelopers

StoreStatusResponse

Reusable StoreStatusResponse schema.

Type: object

Fields

FieldTypeConstraintsMeaningExample
successrequiredbooleanallowed values: trueWhether the operation completed as requested.true (generated)
datarequiredobjectNoneThe operation or event payload.{ "sellerCode": "string", "storeName": "string", "currency": "string", "region": "string", "active": true, "vacation": true, "counts": { "total": 0, "matched": 0, "unmatched": 0, "browsable": 0 }, "readiness": { "browseEligible": true, "effectiveTermsVersion": "string", "incompletePrerequisites": [ { "code": "SELLER_ACTIVE", "message": "string", "action": { "type": "string", "method": "GET", "href": "string" } } ] } } (generated)
data.sellerCoderequiredstringNoneSeller Code for the surrounding data record.string (generated)
data.storeNamerequiredstringNoneStore Name for the surrounding data record.string (generated)
data.currencyrequiredstringNoneThe ISO 4217 currency code used for monetary amounts.string (generated)
data.regionrequiredstringNoneThe market region whose rules and currency apply.string (generated)
data.activerequiredbooleanNoneFalse while the Seller is suspended.true (generated)
data.vacationrequiredbooleanNoneWhether the Seller has temporarily hidden all Listings from Browse.true (generated)
data.countsrequiredobjectNoneAggregate counts for the Seller’s Listings.{ "total": 0, "matched": 0, "unmatched": 0, "browsable": 0 } (generated)
data.counts.totalrequiredintegerNoneThe total number of records in the measured set.0 (generated)
data.counts.matchedrequiredintegerNoneThe number of Listings matched to the canonical catalog.0 (generated)
data.counts.unmatchedrequiredintegerNoneThe number of Listings not yet matched to the canonical catalog.0 (generated)
data.counts.browsablerequiredintegerNoneZero while suspended or on vacation.0 (generated)
data.readinessrequiredobjectNoneThe Seller’s current Browse-readiness assessment.{ "browseEligible": true, "effectiveTermsVersion": "string", "incompletePrerequisites": [ { "code": "SELLER_ACTIVE", "message": "string", "action": { "type": "string", "method": "GET", "href": "string" } } ] } (generated)
data.readiness.browseEligiblerequiredbooleanNoneBrowse Eligible for the surrounding readiness record.true (generated)
data.readiness.effectiveTermsVersionrequiredstringNoneEffective Terms Version for the surrounding readiness record.string (generated)
data.readiness.incompletePrerequisitesrequiredarray of objectNoneIncomplete Prerequisites for the surrounding readiness record.[ { "code": "SELLER_ACTIVE", "message": "string", "action": { "type": "string", "method": "GET", "href": "string" } } ] (generated)
data.readiness.incompletePrerequisites[].coderequiredstringallowed values: SELLER_ACTIVE, VACATION_DISABLED, SHIPPING_OPTION_CONFIGURED, CONNECTED_ACCOUNT_CANADIAN, PAYOUTS_READY, CURRENT_SELLER_TERMS_ACCEPTED, TAX_PROFILE_COMPLETE, CANADIAN_SHIPMENT_ORIGIN_CONFIRMED, AUTHENTICATOR_ENROLLED, AUTHENTICATOR_RECOVERY_VERIFIED, OPERATOR_REVIEW_APPROVED, SHOP_LINK_ACTIVE, BILLING_TERMS_ACCEPTEDThe stable machine-readable code for this result.SELLER_ACTIVE (generated)
data.readiness.incompletePrerequisites[].messagerequiredstringNoneA human-readable explanation of the result.string (generated)
data.readiness.incompletePrerequisites[].actionrequiredobjectNoneThe corrective action available for this condition.{ "type": "string", "method": "GET", "href": "string" } (generated)
data.readiness.incompletePrerequisites[].action.typerequiredstringNoneThe stable kind of the surrounding resource or action.string (generated)
data.readiness.incompletePrerequisites[].action.methodrequiredstringallowed values: GET, POST, PATCHThe method used to carry out the surrounding action.GET (generated)
data.readiness.incompletePrerequisites[].action.hrefrequiredstringNoneThe relative API path for the corrective action.string (generated)

Examples

Generated Schema example: Generated StoreStatusResponse
{
"success": true,
"data": {
"sellerCode": "string",
"storeName": "string",
"currency": "string",
"region": "string",
"active": true,
"vacation": true,
"counts": {
"total": 0,
"matched": 0,
"unmatched": 0,
"browsable": 0
},
"readiness": {
"browseEligible": true,
"effectiveTermsVersion": "string",
"incompletePrerequisites": [
{
"code": "SELLER_ACTIVE",
"message": "string",
"action": {
"type": "string",
"method": "GET",
"href": "string"
}
}
]
}
}
}

Source commit: 64bff06fe339e6ffa0ef24cd7da55cb3efefefb9