put

/catalog/products/{product_id}/modifiers/{modifier_id}

Updates a Product Modifier.

Authorization

apiKey - X-Auth-Client
apiKey - X-Auth-Token

Request Parameters

2 Path Parameters
2 Headers

Request Body

1 Example
Schema
object

The model for a PUT to update a modifier on a product.

type
string

BigCommerce API, which determines how it will display on the storefront. Acceptable values: date, checkbox, file, text, multi_line_text, numbers_only_text, radio_buttons, rectangles, dropdown, product_list, product_list_with_images, swatch. Required in a /POST.

2 validations + required
required
boolean

Whether or not this modifer is required or not at checkout. Required in a /POST.

1 validation + required
sort_order
integer

The order the modifiers display on the product detail page.

config
object

The values for option config can vary based on the Modifier created.

option_values
array[object]

Responses

1 Example
Schema
object
data
object

Product Modifier

meta
object

Empty meta object; may be used later.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
product_id
modifier_id
$$.env
2 variables not set
store_hash
X-Auth-Client
X-Auth-Token