Products

Delete a product

DELETE /api/bobsync/products?id=1234 Bearer token

Delete a product. The corresponding listing on Bob Shop is closed.

Field Type Required Notes
id integer yes Our id for the product.

The endpoint takes our id only, not product_reference. The id is in the response to every successful push.

A successful delete returns 204 No Content with an empty body. The deletion is queued, so the listing closes shortly after, not at once.

Failures

Status Body Meaning
400 Invalid id. id was missing or not a positive number.
400 product does not belong to channel The product belongs to another channel.
404 could not find product with id: 1234 No product with that id.