Creates a product modifier.
Notes It takes two separate requests to create a new checkbox modifier with option values. Perform a request to create a modifier, then perform a second request to update option values.
Date modifiers are required to be provided in ISO-8601 ATOM format. Excluding them in a request will throw a server error.
Setting an option value image
adjusters.image_url is read-only on this endpoint. To attach or replace the image shown on the storefront for an option value, upload it via Create Product Modifier Image. The upload binds the image to the value automatically; no follow-up call is needed.
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.
Whether or not this modifier is required at checkout. Required in a /POST.
The values for option config can vary based on the Modifier created. See Configs to learn more about the type-specific config fields.
Contains information about the values for modifier types with options. Certain fields are not used for specific modifier types. See Option Values for more details.
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.
The MIME type of the response body.