Assign a choice to a product

Assigns a choice (set + value) to a product, with optional custom price and cost price.

Path Params
integer
required

ID of the product.

Body Params
integer
required

ID of the choice set.

integer
required

ID of the choice value.

float

Custom price for this product choice (optional).

float

Custom cost price for this product choice (optional).

Responses

400

Invalid request data.

401

Unauthorized.

404

Product or choice set/value not found.

422

Validation error.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json