New: Stripe & TossPayments integration guides now available →
curl --request GET \
--url https://api.headlesscommerce.io/v1/admin/products/export.csv \
--header 'Authorization: Bearer <token>'"<string>"Exports all products and their variants as a CSV file.
Columns: product_id, name, slug, status, type, description, tags,
variant_id, sku, barcode, price, compare_at_price, cost_price, weight
curl --request GET \
--url https://api.headlesscommerce.io/v1/admin/products/export.csv \
--header 'Authorization: Bearer <token>'"<string>"API Key. Example: sk_live_xxxxx or pk_live_xxxxx
CSV file download
The response is of type string.