Skip to main content
The 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 methods

Method 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 { "data": { "status": "active" } }. See API reference configuration.
When setting the status directly via the configuration endpoint, no readiness check is performed. The switch to active is applied even if active online payment methods are still running in sandbox mode. Therefore, always call the GET method described here before setting the status, so the check is not bypassed.