post
https://cf-blast.livelikecdn.com/api/v1/applications//products//variants/
Adds one or more variants to a product. This is a bulk create: the whole batch is validated first, and if any variant fails, none are created. A variant carries the price and stock of a product, and a product can't be published until it has at least one active variant with a cost. Requires a producer access token for the application.
The product must not be published. A product can have at most 15 active variants. Products of type konekt, unique_code and common_code can have only one. Labels must be unique within the product.
Which variant fields you set depends on the product's product_type, and every other one must be left out:
badge,multiplier,flair:builtin_source_id, the ID of an active badge, user-activated reward multiplier or flair in this application.common_code:common_coupon_code.unique_code: none. Add codes withcoupon_codes, or with Upload Coupon Codes.merchandise:color_label,color_hexcodeorsize. At least one is required.experience:event_startandevent_end.konekt:provider_product_id.
Send JSON, or multipart/form-data when you upload variant images.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

