Spree Admin SDK
Delete a custom field definition
Deletes the definition and cascades to all custom field values referencing it.
Required scope: write_settings (for API-key authentication).
DELETE
Spree Admin SDK
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { createAdminClient } from '@spree/admin-sdk'
const client = createAdminClient({
baseUrl: 'https://your-store.com',
secretKey: 'sk_xxx',
})
await client.customFieldDefinitions.delete('cfd_UkLWZg9DAJ')spree api delete /custom_field_definitions/{id}Deletes the definition and cascades to all custom field values referencing it.
Required scope: write_settings (for API-key authentication).
import { createAdminClient } from '@spree/admin-sdk'
const client = createAdminClient({
baseUrl: 'https://your-store.com',
secretKey: 'sk_xxx',
})
await client.customFieldDefinitions.delete('cfd_UkLWZg9DAJ')spree api delete /custom_field_definitions/{id}Was this page helpful?
