API reference · Listings
Export listings
/listingsExport the seller's stored inventory for audit or reconciliation. Results are ordered by (updated_at, id) ascending and use keyset pagination. Follow nextCursor until it is null.
Example
These examples send requests to the sandbox.
curl --request GET \
--url 'https://api-sandbox.snapcaster.ca/api/v1/marketplace/listings' \
--header "Authorization: Bearer $MARKETPLACE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": 0,
"skuId": 0,
"productId": 0,
"matchStatus": "matched",
"quantity": 0,
"available": 0,
"price": 0,
"externalRef": "string",
"browsable": true,
"deletedAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"asOf": "2026-01-01T00:00:00.000Z"
}
],
"nextCursor": "string"
}
}Endpoint
| Environment | URL |
|---|---|
| Sandbox | https://api-sandbox.snapcaster.ca/api/v1/marketplace |
| Production | https://api.snapcaster.ca/api/v1/marketplace |
marketplaceApiKey-http bearer. Send the seller's marketplace API key asAuthorization: Bearer mp_{sellerCode}_{hex}. Themp_{sellerCode}_prefix identifies the seller; the trailing hex is the secret. The seller generates the key and supplies it to your platform.
Request
Query parameters
limitintegerThe maximum number of records requested for this page.
Constraints: exclusive minimum: 0; maximum: 1000
cursorstringThe opaque continuation token for the next page.
Constraints: minimum length: 1
updated_sincestringReturn only records updated after this instant.
Constraints: format: date-time
include_deletedstringWhether soft-deleted records are included in the export.
Constraints: allowed values:
true,false
Headers
X-Snapcaster-Api-VersionstringOverride the platform pin for this request only. Webhook versions and the platform pin do not change.
Constraints: allowed values:
2026-10Example2026-10
Response
200
A page of listings.
Response body: Listing
successboolean requiredWhether the operation completed as requested.
Constraints: allowed values:
truedataobject requiredThe operation or event payload.
Show child fieldsHide child fields
data.items ListingrequiredExport Item[] The records included in this page or batch.
Show child fieldsHide child fields
data.integer requireditems[]. id Snapcaster's id for the listing, the
listing_ida change request'ssubstitutenames. A fulfillment report you file names its substitute bysubstituteSkuId, not by this id.data.integer requireditems[]. skuId See Canonical catalog in Core concepts.
data.integer requireditems[]. productId See Canonical catalog in Core concepts.
data.string requireditems[]. matchStatus See Matched and unmatched in Core concepts.
Constraints: allowed values:
matched,unmatcheddata.integer requireditems[]. quantity The on-hand quantity supplied by the platform, as stored.
data.integer requireditems[]. available On-hand minus outstanding committed holds, with a minimum of zero. Calculated when read; equals
quantitywhen there are no holds.data.integer requireditems[]. price Integer minor units (cents) in the seller’s currency.
data.string or null requireditems[]. externalRef See Listing in Core concepts.
data.boolean requireditems[]. browsable Whether this listing currently passes every browse gate. See Browse readiness in Core concepts.
data.string or null requireditems[]. deletedAt Soft-delete timestamp, or null if live.
Constraints: format: date-time
data.string requireditems[]. updatedAt Constraints: format: date-time
data.string or null requireditems[]. asOf See Send ordered listing snapshots in Core concepts.
Constraints: format: date-time
data.string or null requirednextCursor Opaque cursor for the next page; null on the last page.
Errors
Errors return a Marketplace body, except HTTP 500 (Api). Error codes explains both error bodies and lists every code.
400
INVALID_REQUESTUNSUPPORTED_API_VERSIONThe request failed validation (
INVALID_REQUEST). Unknown or retired API-version override (UNSUPPORTED_API_VERSION).Do this: Correct the fields named in the error details, then retry the request. For UNSUPPORTED_API_VERSION, choose a supported version from the API versioning guide.
401
UNAUTHORIZEDMissing or invalid marketplace API key (
UNAUTHORIZED).Do this: Send the marketplace API key for this seller as a Bearer token, then retry.
500
INTERNAL_ERRORAn unexpected failure (
INTERNAL_ERROR).Do this: Retry with bounded retries and jitter. If the failure persists, contact Snapcaster with the X-Correlation-ID response header.