Map eBay Listing to Product
POST/api/ebay/:integrationInstance/products/:product/map
Map a single eBay listing to an existing product or subscription offering. Creates (or updates) the product listing link and automatically queues re-mapping of any historical order lines that referenced the listing.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Body fields (exactly one of the two is required):
- product_id (integer): ID of the product to map to. Required without subscription_offering_id.
- subscription_offering_id (integer): ID of the subscription offering to map to. Required without product_id.
Request
Responses
- 201
- 401
- 403
- 404
- 422
- 429
Created
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.