Publish Product

Publishes a draft or unpublished product so members can see and redeem it. It takes no request body. Requires a producer access token for the application.

The product must have a product type, at least one image, at least one published category, and a reward item attached to its store. It must also have at least one active variant, and every active variant must have a cost. A unique_code product also needs a coupon code uploaded for an active variant. A product that is already published is rejected.

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

post/{client_id}/products/{id}/publish/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1/applications
  • URL
    https://cf-blast.livelikecdn.com/api/v1/applications/{client_id}/products/{id}/publish/
  • 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 published.

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.