Create a Channel Sellable
POST /api/v2/channel_sellables
Creates a channel sellable (linked listing) that connects a Veeqo sellable to a channel product listing.
Important: The Accept header must be set to application/vnd.api+json. Omitting this results in a 415 “Unsupported Media Type” error.
Request Body required
Section titled “Request Body required ”object
object
Must be “channel_sellables”
object
The Veeqo sellable (product variant) ID
The Veeqo channel ID
The remote listing identifier (e.g. Amazon ASIN)
The SKU on the remote channel
The product title on the remote channel
Include to create a new channel product and link it to this sellable
object
Title for the new channel product
Include to link to an existing channel product instead of creating a new one
object
object
object
The existing channel product ID
Example
{ "data": { "type": "channel_sellables", "attributes": { "sellable_id": "111222333", "channel_id": "1234567", "remote_id": "B0EXAMPLE123", "remote_sku": "BLUE-WATER-BOTTLE-500ML", "remote_title": "Blue Water Bottle 500ml", "channel_product_attributes": { "remote_title": "Blue Water Bottle 500ml" } } }}Responses
Section titled “ Responses ”Created
object
object
object
object
object
object
object
object
object
object
Example
{ "data": { "id": "123456789", "type": "channel_sellable", "attributes": { "remote_title": "Blue Water Bottle 500ml", "remote_sku": "BLUE-WATER-BOTTLE-500ML", "remote_price": "0.0", "currency_code": null, "remote_inventory_quantity": null, "remote_id": "B0EXAMPLE123", "active": true }, "relationships": { "channel": { "data": { "id": "1234567", "type": "channel" } }, "channel_product": { "data": { "id": "987654321", "type": "channel_product" } }, "sellable": { "data": { "id": "111222333", "type": "sellable" } } } }}Unsupported Media Type — returned when Accept header is not set to application/vnd.api+json
Unprocessable Entity — validation errors in the request body