shopStatus/ endpoint provides an interface that lets you check whether all prerequisites for switching a subshop to live are fulfilled. The actual status change is not performed via this endpoint but as a regular write access to the configuration.
A functional description of the three modes and the transitions between them can be found at Shop modes.
Supported methods
List of all supported methodsMethod for the readiness check
The following method checks whether a subshop is allowed to switch to active mode. It is read-only and does not make any changes. All active online payment methods are checked. If one of these payment methods is still in sandbox mode, it is reported as a blocker. To use this method you need the corresponding permissions to read configuration data.GET shopStatus/goLive/{subshopId}
Checks for the specified subshop whether the prerequisites for switching to “Active” mode are fulfilled.Example
Response - readiness fulfilled
Response - blocker found (payment method PayPal in sandbox mode)
Response fields
Error codes
Setting the status
This interface does not provide its own method for setting the status. The status change is performed as a regular write access to the configuration node with the body
This interface does not provide its own method for setting the status. The status change is performed as a regular write access to the configuration node with the body
{ "data": { "status": "active" } }. See API reference configuration.