PUT /big-commerce-stores/{id}.json
PUT
/big-commerce-stores/{id}.json
Path parameters
-
id integer(int64) Required
Numeric ID of the instance
Minimum value is
1
.
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
-
createdAt string(date-time)
Created at
-
defaultCategory string | null
Default category
-
enabled boolean | null Required
Enabled
Default value is
true
. -
id integer(int32)
Id
-
lastFetchedSalesAt string(date-time) | null
Last fetched sales at
-
name string | null
Name
-
shop string Required
Shop
-
storeHash string | null
Store hash
-
updatedAt string(date-time)
Updated at
PUT /big-commerce-stores/{id}.json
curl \
-X PUT http://api.example.com/v1/big-commerce-stores/{id}.json \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}