Unpublish Product

Takes a published product off sale. It takes no request body. Requires a producer access token for the application.

Only a published product can be unpublished. An unpublished product can be edited again with Update Product and published again with Publish Product. A product that was ever published can't be deleted.

The response is the full product, in the same shape as Retrieve Product.

post/{client_id}/products/{id}/unpublish/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1/applications
  • URL
    https://cf-blast.livelikecdn.com/api/v1/applications/{client_id}/products/{id}/unpublish/
  • Auth
    API key in header Authorization

Path parameters

client_idstring required

The client ID of the application.

idstring uuid required

The ID of the product.

Response

OK. The product is returned with state unpublished.

idstring uuid
namestring
state'draft' | 'published' | 'unpublished'
display_status'draft' | 'unpublished' | 'published' | 'coming_soon' | 'expired'
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.