Storefront Product
Get Storefront Product Settings
GET https://api.bigcommerce.com/stores/{store_hash}/v3/settings/storefront/productRequest
Returns product settings.
Channel ID can be used as a query parameter for getting channel-specific settings. If omitted, you will interact with the global settings only.
null
indicates that a particular field has not been overridden on a channel level when channel level settings are requested and values are inherited from global level.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- channel_id in query - integerChannel ID to use for channel-specific settings. If omitted, you will interact with the global settings only.
example
Response
null
indicates that a particular field has not been overridden on a channel level when channel level settings are requestedBody
dataobject
Update Storefront Product Settings
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/settings/storefront/productRequest
Updates product settings.
Channel ID can be used as a query parameter for updating channel-specific settings. If omitted, you will interact with the global settings only.
null
should be supplied to delete overrides per given channel and to inherit values from global level. Partial updates are not supported and all settings should be supplied withnull
value in order to delete overrides per channel.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
- channel_id in query - integerChannel ID to use for channel-specific settings. If omitted, you will interact with the global settings only.
Body
show_product_priceboolean
Determines the visibility of the product price.
Example: trueshow_product_skuboolean
Determines the visibility of the product SKU.
Example: trueshow_product_weightboolean
Determines the visibility of the productʼs weight.
show_product_brandboolean
Determines the visibility of the productʼs brand.
Example: trueshow_product_shippingboolean
Determines the visibility of the productʼs shipping option.
show_add_to_cart_linkboolean
Determines the visibility of the Add to Cart link.
Example: trueshow_add_to_cart_qty_boxboolean
Determines the visibility of the Add to Cart quantity setting.
Example: trueshow_add_to_wishlistboolean
Determines the visibility of the Add to Wishlist setting.
Example: true
example
Response
null
indicates that a particular field has not been overridden on a channel level when channel level settings are requestedBody
dataobject