Menu

API reference

Generated from the published connect.graphql schema at build time. Every root field of /connect/graphql is listed with its arguments, return type and a ready-to-paste operation; follow the types to see each field.

Use your browser’s find (Ctrl/⌘ F) — the whole reference is on one page per group.

Catalogue, offers and stock

NameReturnsDescription
apiBrandsQueryApiBrandPage!Shop API: active brands, filterable by name, paged by cursor; etag covers the whole filtered set.
apiCategoriesQueryApiCategoryPage!Shop API: the active category tree (ordered by path) for the import wizard. Send back etag as ifNoneMatch to receive an empty page when nothing changed.
apiCategoryAttributesQueryApiCategoryAttributesView!Shop API: the attributes apiSubmitListing validates for a category (and family), with options and which codes are required or variant axes.
apiDeclareStockMutationStockAvailabilityView!—
apiDeclareStocksMutationApiBatchResultView!Shop API: on-hand quantities for up to 200 SKUs in one call, with a per-item result. Counts against the bulk budget.
apiFamiliesQueryApiFamilyPage!Shop API: product families with their attribute codes (etag as apiCategories).
apiMatchListingsQuery[ApiListingMatchView!]!Shop API: finds the Wamia product behind each shop SKU by GTIN, then brand + MPN. Read-only; feeds the import wizard before apiSubmitListing.
apiMyListingsQueryApiListingPage!Shop API: the state of every listed SKU, oldest change first. Poll with updatedSince and the last nextCursor; nothing is missed between two polls.
apiMyStockQuery[StockAvailabilityView!]!Shop API: available quantity per offer, oldest change first. updatedSince and cursor narrow the list; prefer apiMyStockPage to receive nextCursor.
apiMyStockPageQueryStockAvailabilityPage!Shop API: available quantities ordered by last change with a keyset cursor (contract §7). Poll with updatedSince and the last nextCursor.
apiProposeListingEditMutationApiListingView!Shop API: proposes content changes on an own live product; a moderator accepts them. Price and stock go through apiUpsertOffers / apiDeclareStocks.
apiSetOfferReturnTermsBySkuMutationOfferReturnTermsViewSets or clears the return terms of the offer with this SKU.
apiSetWarrantyTermsBySkuMutationWarrantyTermsViewSets or clears the warranty terms of the offer with this SKU.
apiStockByLocationQuery[ApiStockBalanceView!]!—
apiSubmitListingMutationApiListingView!Shop API: lists one shop SKU. Attaches an offer to a known product, or opens a new product in the moderation pipeline exactly like a dashboard draft (contract §5). Idempotent by idempotencyKey.
apiUpsertOfferMutationOfferView!—
apiUpsertOffersMutationApiBatchResultView!Shop API: price, handling time, fulfilment mode and pause for up to 200 SKUs in one call, with a per-item result. Counts against the bulk budget.

Media

NameReturnsDescription
apiAssignProductMediaMutationProduct!Shop API: attaches an image to one variant of an owned product, or back to the shared gallery when variantId is null (docs/adr/0110). Requires the catalog.media or offers.manage scope.
apiCreateMediaUploadMutationMediaUpload!Shop API: a 15-minute signed PUT for one image the plugin uploads itself (contract §6). Send the required headers, then call apiFinalizeMediaUpload.
apiFinalizeMediaUploadMutationMediaAsset!Shop API: closes a signed upload: checks the object, records its size and starts processing. The asset id can then go to apiSubmitListing.mediaAssetIds or apiAssignProductMedia.
apiIngestMediaFromUrlsMutationApiMediaIngestResultView!Shop API: asks Wamia to fetch up to 20 images the shop serves by https URL. Fetches run out of band (10 MB max, JPEG/PNG/WebP/GIF, one same-host redirect); poll apiMyMediaImports or read mediaState on apiMyListings. Idempotent by key.
apiMyMediaImportsQueryApiMediaImportPage!Shop API: the imports requested by this store, oldest change first; filter by ids or poll with updatedSince and cursor.

Orders, fulfilment and returns

NameReturnsDescription
apiAcknowledgeSliceMutationSellerOrderSliceView!—
apiDecideReturnMutationRmaView!—
apiMarkSlicePreparedMutationSellerOrderSliceView!—
apiMyOrdersQuery[SellerOrderSliceView!]!Shop API: the store’s slices, newest first. With updatedSince or cursor the order becomes oldest change first; prefer apiMyOrdersPage to receive nextCursor.
apiMyOrderSliceQuerySellerOrderSliceView!—
apiMyOrdersPageQuerySellerOrderSlicePage!Shop API: slices ordered by last change with a keyset cursor (contract §7). Poll with updatedSince and the last nextCursor; a slice is never skipped or repeated.
apiMyReturnPolicyQuerySellerPolicyBundleView!The store’s return policy (active, draft) and the platform baseline.
apiMySliceReturnsQuery[RmaView!]!Shop API: returns touching the store’s slices, newest first. With updatedSince or cursor the order becomes oldest change first; prefer apiMySliceReturnsPage.
apiMySliceReturnsPageQuerySellerReturnPage!Shop API: returns ordered by last change with a keyset cursor (contract §7).
apiShipmentsQuery[ApiShipmentView!]!—

Inbound, appointments and withdrawals

NameReturnsDescription
apiBookInboundAppointmentMutationInboundShipmentView!—
apiBookWithdrawalAppointmentMutationWithdrawalRequestView!Books a dock slot for an approved withdrawal. Slots: apiInboundSlots.
apiDeclareInboundMutationInboundShipmentView!—
apiInboundShipmentQueryInboundShipmentDetailView!—
apiInboundShipmentsQuery[InboundShipmentView!]!—
apiInboundSlotGridQuery[AppointmentSlotDayView!]!Dock slots per day over a window of at most 14 days.
apiInboundSlotsQuery[AppointmentSlotView!]!—
apiRequestWithdrawalMutationWithdrawalRequestView!—
apiRescheduleInboundAppointmentMutationInboundShipmentView!Moves a scheduled shipment to another slot; the previous appointment is freed.
apiRescheduleWithdrawalAppointmentMutationWithdrawalRequestView!Moves a withdrawal to another slot; the previous slot is freed.
apiStockedPositionsQueryApiStockedPositionPage!Seller API: the quantities Wamia holds for the store, offers in stocked mode only, oldest change first. Poll with updatedSince and the last nextCursor to mirror salable quantities into an ERP; the batch apiDeclareStocks never writes these.
apiWithdrawalsQuery[WithdrawalRequestView!]!—

Webhooks

NameReturnsDescription
apiDeleteWebhookMutationWebhookEndpointView!Shop API: removes an endpoint and its delivery log.
apiMyWebhooksQuery[WebhookEndpointView!]!Shop API: the endpoints of this store with their health, newest first.
apiRegisterWebhookMutationRegisteredWebhookView!Shop API: registers an https endpoint for the given events (order.*, listing.state_changed, …). Returns the signing secret once. At most 10 per store.
apiTestWebhookMutationWebhookDeliveryView!Shop API: posts a signed connect.test event to the endpoint right away and returns the attempt with the HTTP status the receiver answered.
webhookEventTypesQueryPublic — no key needed[WebhookEventFamilyView!]!Event types a webhook may subscribe to, by family (docs/connect/contract.md §8). <family>.* subscribes to a whole family, * to everything.

Guardrails, dry-run and insights

NameReturnsDescription
apiConfirmBatchMutationApiBatchResultView!Shop API: applies a held batch as submitted, breaker bypassed. Confirming twice replays the first result.
apiDiscardBatchMutationApiPendingBatchView!Shop API: drops a held batch; nothing of it is applied.
apiMyInsightsQueryApiInsightsView!Shop API: the dashboard overview (sales, orders to pack, returns, low stock, top products…) over days (7–90, default 14) plus listing states and webhook health.
apiMyPerformanceQueryApiPerformanceView!—
apiPendingBatchQueryApiPendingBatchView!Shop API: one held batch with its items.
apiPendingBatchesQuery[ApiPendingBatchView!]!Shop API: bulk writes a circuit breaker held, newest first (pending, confirmed and discarded of the last batches).
apiReconcileReportQueryApiReconcileReportView!Shop API: listing counts per state, SKUs changed since since and a fingerprint over every listed SKU. Always granted to a connection key; run it nightly.

Connectors and sandbox

NameReturnsDescription
apiConnectionStatusQueryApiConnectionStatusView!Shop API: the connection behind this key — scopes, expiry, rotation advice, limits and remaining budget. Always granted to a connection key.
apiConnectorLatestQueryApiConnectorLatestView!Shop API: the newest release of this key’s connector (channel from the argument, default stable), compared with the version in the User-Agent, with a fresh 10-minute download link. Custom keys get NOT_FOUND.
connectorAppsQueryPublic — no key needed[ConnectorAppView!]!Active first-party connectors (docs/adr/0126). Public, no secrets.
connectorReleasesQueryPublic — no key needed[ConnectorReleaseView!]!Published releases of a connector, newest first (yanked ones included with their reason). Downloads need a shop session or a key.
createSandboxSellerMutationPublic — no key neededSandboxSellerView!Developer sandbox: opens an active test store with an owner account, a custom key carrying every scope and, optionally, a pairing code for a connector app. Only on the sandbox API; refused with NOT_FOUND elsewhere.

Account, settings, finance and ads

NameReturnsDescription
apiMyAdBoostQueryAdBoostView!—
apiMyAdBoostsQuery[AdBoostView!]!The shop’s Meta boosts as the shop sees them: TND only (docs/adr/0098).
apiMyBalanceQuerySellerBalanceView!—
apiMyLedgerQuerySellerLedgerPage!—
apiMyPayoutsQuery[PayoutView!]!—
apiMySettingsQuerySellerSettingsView!—
apiMyStatementsQuery[SellerStatementView!]!—
apiMyStatementUrlQuerySignedReadView!—
apiMyVacationsQuery[SellerVacationView!]!—
apiRotateKeyMutationApiRotatedKeyView!Shop API: a fresh key for the same connection; this key keeps working 24 hours (contract §2.3). Store the new secret before the overlap ends.
apiSetVacationMutationSellerVacationView!—

Types

Object types (144)

Input types (16)

Enums (61)

Scalars (1)

Deprecations

NameDescription
OrderLineView.storageTypeUse fulfilmentMode (fbo = stocked, fbs = cross_dock).
OrderSliceView.storageTypeUse fulfilmentMode (fbo = stocked, fbs = cross_dock).