PUT /big-commerce-stores/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
accessToken string | null
Access token
-
Archive reason
Values are
subscription
orother
. Default value isother
. -
Authentication type
Values are
public
orprivate
. Default value ispublic
. -
Channel
-
clientId string | null
Client
-
clientSecret string | null
Client secret
-
createdAt string(date-time)
Created at
-
defaultCategory string | null
Default category
-
Enabled
Default value is
true
. -
externalChannelId string | null
External channel
-
id integer(int32)
Id
-
importCancelledOrders boolean | null
Import cancelled orders
-
lastFetchedSalesAt string(date-time) | null
Last fetched sales at
-
name string | null
Name
-
orderPolling boolean | null
Order polling
-
Shop
-
For single variant products, should the price be updated on the product, variant or both?
Values are
product
,variant
, orboth
. Default value isvariant
. -
storeHash string | null
Store hash
-
updatedAt string(date-time)
Updated at
-
useTotalTax boolean | null
Use total tax
PUT /big-commerce-stores/{id}.json
curl \
-X PUT http://api.example.com/v1/big-commerce-stores/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"accessToken":"string","archiveReason":"other","authenticationType":"public","channelId":42,"clientId":"string","clientSecret":"string","createdAt":"2024-05-04T09:42:00+00:00","defaultCategory":"string","enabled":true,"externalChannelId":"string","id":42,"importCancelledOrders":true,"lastFetchedSalesAt":"2024-05-04T09:42:00+00:00","name":"string","orderPolling":true,"shop":"string","singleVariantPricingUpdate":"variant","storeHash":"string","updatedAt":"2024-05-04T09:42:00+00:00","useTotalTax":true}'
Request example
{
"accessToken": "string",
"archiveReason": "other",
"authenticationType": "public",
"channelId": 42,
"clientId": "string",
"clientSecret": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"defaultCategory": "string",
"enabled": true,
"externalChannelId": "string",
"id": 42,
"importCancelledOrders": true,
"lastFetchedSalesAt": "2024-05-04T09:42:00+00:00",
"name": "string",
"orderPolling": true,
"shop": "string",
"singleVariantPricingUpdate": "variant",
"storeHash": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"useTotalTax": true
}