POST /big-commerce-stores.json
POST
/big-commerce-stores.json
Body Required
-
accessToken string | null
Access token
-
authenticationType string | null Required
Authentication type
Values are
public
orprivate
. Default value ispublic
. -
channelId integer(int32) Required
Channel
-
clientId string | null
Client
-
clientSecret string | null
Client secret
-
defaultCategory string | null
Default category
-
enabled boolean | null Required
Enabled
Default value is
true
. -
lastFetchedSalesAt string(date-time) | null
Last fetched sales at
-
name string | null
Name
-
shop string Required
Shop
-
storeHash string | null
Store hash
POST /big-commerce-stores.json
curl \
-X POST http://api.example.com/v1/big-commerce-stores.json \
-H "Content-Type: application/json" \
-d '{"accessToken":"string","authenticationType":"public","channelId":42,"clientId":"string","clientSecret":"string","defaultCategory":"string","enabled":true,"lastFetchedSalesAt":"2023-05-04T09:42:00+00:00","name":"string","shop":"string","storeHash":"string"}'
Request example
{
"accessToken": "string",
"authenticationType": "public",
"channelId": 42,
"clientId": "string",
"clientSecret": "string",
"defaultCategory": "string",
"enabled": true,
"lastFetchedSalesAt": "2023-05-04T09:42:00+00:00",
"name": "string",
"shop": "string",
"storeHash": "string"
}
Response example (200)
{
"accessToken": "string",
"authenticationType": "public",
"channelId": 42,
"clientId": "string",
"clientSecret": "string",
"createdAt": "2023-05-04T09:42:00+00:00",
"defaultCategory": "string",
"enabled": true,
"id": 42,
"lastFetchedSalesAt": "2023-05-04T09:42:00+00:00",
"name": "string",
"shop": "string",
"storeHash": "string",
"updatedAt": "2023-05-04T09:42:00+00:00"
}