Delete a seller
Removes a seller from your account, for good.
Removes a seller from your account. The response is 204, with no body.
Everything the seller owns goes with it: link sessions, disconnected connections, products, Variants and kits, warehouses, stock balances and movements, marketplace content (MarketplaceProducts), listings and their bindings, and the buyer data kept for it. The listings stay published at the marketplace: deletion only removes the data here.
Deletion is permanent. There is no trash and no undo.
Repeating the request for a seller already deleted returns 404 NOT_FOUND. Treat that 404 as success if your code may retry the call.
A seller with an active connection cannot be deleted: the response is 409 CONFLICT with details.reason = "active_connections". Disconnect first (Disconnect).
A seller with a Listing that named an item at the marketplace, has an open creation there or a running job cannot be deleted either: deleting it would leave the item live with no record here. The response is 409 CONFLICT with details.reason = "listing_at_marketplace" and the listingId of the first Listing, or "listing_creation_in_progress" if a Listing job is running (repeat shortly). Reconnect the seller, remove the Listings (Remove listing; for an open creation with a SKU, the Listing's DELETE settles it by searching the SKU) and delete the seller again. Drafts that named nothing go with it.
api_keyAuthorizationBearer <token>API key (mk_...)
id*stringIdentifier of the resource, as returned by the API.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidThe seller was deleted. Permanent: it cannot be undone. No body.
curl -X DELETE "https://example.com/v1/sellers/3d1c8a52-7f0e-4b0a-8a65-9c1b2f6d7e01"