Get Store Profile Settings
GET /stores/{store_hash}/v3/settings/store/profile
Request
Returns store profile settings.
-
Channel ID can be used as a query parameter for getting channel-specific setting. If omitted, you will interact with the global setting 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 - required
Parameters
- store_hash in path - string
- channel_id in query - integer
Channel ID to use for channel-specific setting. If omitted, you will interact with the global setting only.
example
curl --request GET \ --url 'https://api.bigcommerce.com/stores/[store_hash]/v3/settings/store/profile' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header 'X-Auth-Token: xxxxxxxxxxxxxxxxx'
Response
OK. null
indicates that a particular field has not been overridden on a channel level when channel level settings are requested
Body
dataobject
The basic profile settings for a store, used to give the shopper information about the business from which they are purchasing.
metaobject
Response metadata.
example
{ "data": { "store_address": "string", "store_address_type": "Home Office", "store_email": "string", "store_name": "string", "store_phone": "string" }, "meta": {} }
Update Store Profile Settings
PUT /stores/{store_hash}/v3/settings/store/profile
Request
Updates store profile settings.
-
Channel ID can be used as a query parameter for updating channel-specific setting. If omitted, you will interact with the global setting 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 - required
Parameters
- store_hash in path - string
- Content-Type in header with default of application/json - string - required
The MIME type of the request body.
- channel_id in query - integer
Channel ID to use for channel-specific setting. If omitted, you will interact with the global setting only.
Body
The basic profile settings for a store, used to give the shopper information about the business from which they are purchasing.
store_addressstring
store_address_typestring
Only supports manipulation on a global level.
Allowed: Home Office | Commercial Office | Retail | Warehouse
Default: Home Office
store_emailstring
store_namestring
store_phonestring
example
{ "store_address": "string", "store_address_type": "Home Office", "store_email": "string", "store_name": "string", "store_phone": "string" }
Response
Body
dataobject
The basic profile settings for a store, used to give the shopper information about the business from which they are purchasing.
metaobject
Response metadata.
example
{ "data": { "store_address": "string", "store_address_type": "Home Office", "store_email": "string", "store_name": "string", "store_phone": "string" }, "meta": {} }