Back to Arky

Platform

Platform-level data — currencies and webhook events

The Platform module provides global configuration data used across all stores.

Get Currencies

GET /v1/platform/currencies
SDK: sdk.platform.getCurrencies()

Get the list of supported currency codes.

const currencies = await sdk.platform.getCurrencies();
// ['USD', 'EUR', 'GBP', 'CAD', 'AUD', ...]

Get Webhook Events

GET /v1/platform/events
SDK: sdk.platform.getWebhookEvents()

Get the list of all available webhook event types.

const { data: events } = await sdk.platform.getWebhookEvents();
// ['collection.created', 'entry.created', 'order.created', ...]