Spree Seller SDK
Delete an import
Deletes one of this seller’s imports together with its rows. Products it already created are kept.
DELETE
Spree Seller SDK
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { createSellerClient } from '@spree/seller-sdk'
const client = createSellerClient({
baseUrl: 'https://your-store.com',
jwtToken: 'eyJhbGciOi...',
sellerId: 'sel_UkLWZg9DAJ',
})
await client.imports.delete('imp_UkLWZg9DAJ')curl --request DELETE \
--url http://{defaultHost}/api/v3/seller/imports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-Spree-Seller-Id: <x-spree-seller-id>'Deletes one of this seller’s imports together with its rows. Products it already created are kept.
import { createSellerClient } from '@spree/seller-sdk'
const client = createSellerClient({
baseUrl: 'https://your-store.com',
jwtToken: 'eyJhbGciOi...',
sellerId: 'sel_UkLWZg9DAJ',
})
await client.imports.delete('imp_UkLWZg9DAJ')curl --request DELETE \
--url http://{defaultHost}/api/v3/seller/imports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-Spree-Seller-Id: <x-spree-seller-id>'Was this page helpful?
