Skip to main content

Link Product Listing

POST 

/api/subscription-offerings/:subscription_offering/product-listings/:product_listing/link

Link a product listing to the subscription offering.

Required scope: subscriptions:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Clears any existing product mapping on the listing and sets the subscription offering, keeping the product/offering XOR constraint satisfied (a listing maps to EITHER a product OR an offering, never both).

Authentication: Requires Bearer token.

Returns 422 if the subscription offering is not found or is archived.

Request

Responses

OK