curl --request PUT \
--url https://api.komerza.com/stores/{storeId}/maintenance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "\n Examples of maintenance reasons include:\n - \"System updates in progress.\"\n - \"Inventory restocking.\"\n - \"Technical difficulties.\"\n "
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Enables or disables maintenance mode for the specified store.
Requires the stores.update permission.
curl --request PUT \
--url https://api.komerza.com/stores/{storeId}/maintenance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "\n Examples of maintenance reasons include:\n - \"System updates in progress.\"\n - \"Inventory restocking.\"\n - \"Technical difficulties.\"\n "
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Your API key goes here
The ID of the store to update.
The form containing the new data to update the store with.
Represents a form used to set maintenance mode details for a store.
Gets or sets the reason the store is in maintenance mode.
1024^[a-zA-Z0-9\s.,!?'-]*$"\n Examples of maintenance reasons include:\n - \"System updates in progress.\"\n - \"Inventory restocking.\"\n - \"Technical difficulties.\"\n "
The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents the data associated with a response.
Was this page helpful?