Solid Commerce Docs
GET/v1/platform/automation/dictionary

GET /v1/platform/automation/dictionary

Scopes: platform:automation:read

Requires scope: platform:automation:read.

Response (200)

FieldTypeRequiredDescription
trigger_typesTriggerTypeDictionaryEntry[]no
operation_typesOperationTypeDictionaryEntry[]no
operation_type_actionsOperationTypeActionDictionaryEntry[]no
rule_typesRuleTypeDictionaryEntry[]no
order_fieldsOrderFieldDictionaryEntry[]no
order_field_date_valuesFieldValueDictionaryEntry[]no

Examples

import { SolidCommerceClient } from '@solidcommerce/sdk';

const client = new SolidCommerceClient({
  apiKey: process.env.SOLIDCOMMERCE_API_KEY!,
});

const { data, error } = await client.raw.GET('/v1/platform/automation/dictionary', {
  // params: { path: { id: '...' }, query: { limit: 25 } },
  // body: { /* request body */ },
});

if (error) throw error;
console.log(data);