POST /big-commerce-stores.json
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
-
defaultCategory string | null
Default category
-
Enabled
Default value is
true
. -
externalChannelId string | null
External channel
-
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
-
useTotalTax boolean | null
Use total tax
POST
/big-commerce-stores.json
curl \
-X POST http://api.example.com/v1/big-commerce-stores.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"accessToken":"string","archiveReason":"other","authenticationType":"public","channelId":42,"clientId":"string","clientSecret":"string","defaultCategory":"string","enabled":true,"externalChannelId":"string","importCancelledOrders":true,"lastFetchedSalesAt":"2024-05-04T09:42:00+00:00","name":"string","orderPolling":true,"shop":"string","singleVariantPricingUpdate":"variant","storeHash":"string","useTotalTax":true}'
Request example
{
"accessToken": "string",
"archiveReason": "other",
"authenticationType": "public",
"channelId": 42,
"clientId": "string",
"clientSecret": "string",
"defaultCategory": "string",
"enabled": true,
"externalChannelId": "string",
"importCancelledOrders": true,
"lastFetchedSalesAt": "2024-05-04T09:42:00+00:00",
"name": "string",
"orderPolling": true,
"shop": "string",
"singleVariantPricingUpdate": "variant",
"storeHash": "string",
"useTotalTax": true
}
Response examples (200)
{
"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
}