Update a Store
POST
/admin/stores/{id}
Stores
Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request POST '{{BASE_URL}}/admin/stores/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"default_sales_channel_id": "string",
"default_region_id": "string",
"default_location_id": "string",
"metadata": {},
"supported_currencies": [
{
"currency_code": "usd",
"is_default": true,
"is_tax_inclusive": true
}
]
}'
Response Response Example
200 - Example 1
{
"store": {
"id": "string",
"name": "string",
"supported_currencies": [
{
"currency": {
"code": "usd",
"symbol": "$",
"symbol_native": "$",
"name": "string",
"decimal_digits": 0,
"rounding": 0,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
},
"id": "string",
"currency_code": "usd",
"store_id": "string",
"is_default": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
}
],
"default_sales_channel_id": "string",
"default_region_id": "string",
"default_location_id": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}
Request
Path Params
id
stringÂ
required
Query Params
fields
stringÂ
fields
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.Body Params application/json
Responses
Modified at 2025-06-17 04:10:32