Create product option choice

Add choice to given option

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The site's unique name (its ID), returned when the site is created.

string
required

The product option's ID.

Body Params

Request used to create or update option choice. Can be a string (backward compatible) or an object with value and optional color/id.

string | null

CSS color value for color option choices (hex codes, rgb/rgba, hsl/hsla, or named colors like 'tomato'). Only used when the parent ProductOption type is COLOR.

string | null

Choice identifier for updating existing choices. Omit for new choices.

string
required
length ≤ 250

Displayed choice name

Responses

401

Unauthorized request - missing or invalid credentials

429

Rate limit exceeded - please refer to api documentation for limits

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