Spree Admin SDK
Delete a price list
Soft-deletes the price list. Associated prices are removed asynchronously.
Required scope: write_products (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.priceLists.delete('pl_xxx')spree api delete /price_lists/{id}Soft-deletes the price list. Associated prices are removed asynchronously.
Required scope: write_products (for API-key authentication).
import { createAdminClient } from '@spree/admin-sdk'
const client = createAdminClient({
baseUrl: 'https://your-store.com',
secretKey: 'sk_xxx',
})
await client.priceLists.delete('pl_xxx')spree api delete /price_lists/{id}Was this page helpful?
