API reference
Extensions API
List and toggle an organization's extensions. For what each extension unlocks and when to enable it, see the Extensions catalog.
Base URL
https://zopping.comExtensions
An optional platform feature, scoped per organization. slug is the key you branch on; status is ENABLED/DISABLED for the org.
Fields
| Field | Type | Description |
|---|---|---|
slug | stringread-only | Stable key (e.g. MultiStoreSupport). |
name | stringread-only | |
status | enum | ENABLED or DISABLED for the organization. |
description | stringread-only | |
pricing | stringread-only | |
isStoreConfigurable | booleanread-only | |
prerequisites | object[]read-only | Extensions that must be enabled first. |
incompatibleExtensions | string[]read-only | Cannot be enabled together. |
GET
/api/account-service/extensionList extensions
Pass `status=ENABLED` for just the enabled set (the common case), or omit it for the full catalog with each one's per-org status. Narrow to one with `slug`.
Parameters
| Parameter | Type | Description |
|---|---|---|
organizationIdrequired | string· query | |
status | enum· query | `ENABLED` / `DISABLED`. |
slug | string· query | Filter to a single extension. |
Request
curl "https://zopping.com/api/account-service/extension?organizationId=<org-id>&status=ENABLED" \
-H "Authorization: Bearer $ZOPPING_TOKEN"GET
/api/account-service/extension/{id}Get an extension
Parameters
| Parameter | Type | Description |
|---|---|---|
idrequired | integer· path | |
organizationIdrequired | string· query |
PUT
/api/account-service/extension/{id}Enable or disable
Toggle an extension for the organization by setting its `status`.
Parameters
| Parameter | Type | Description |
|---|---|---|
idrequired | integer· path |
Request body
{
"organizationId": "<org-id>",
"status": "ENABLED"
}