Listings
Remove variant binding
Removes one offer line, local record only.
DELETE
Removes only the line. The MarketplaceProduct variant and the Variant stay as they are, and the marketplace is not called.
- The id leaves
syncPolicy.inventory.eligibleBindingIds. linkStateis recalculated: with no lines left, it becomesunlinked.- The Listing becomes
publicationState: dirtyand emitslisting.updated.
Responds 204 with no body. A missing binding, or one from another Listing, returns 404 NOT_FOUND.
api_keyheader
AuthorizationBearer <token>API key (mk_...)
listingId*stringMatch
^([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)$Format
uuidbindingId*stringMatch
^([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)$Format
uuidThe line was removed locally and left syncPolicy.inventory.eligibleBindingIds. The listing becomes dirty, or unlinked without lines; nothing is published.
curl -X DELETE "https://example.com/v1/listings/497f6eca-6276-4993-bfeb-53cbbbba6f08/variant-bindings/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty