Bulk-upsert prices
Upserts a batch of prices in a single SQL round trip.
Each row either:
- targets an existing price by
id, OR - matches on the unique key
(variant_id, currency, price_list_id)— updating the existing row if one exists, creating one otherwise.
Model callbacks (e.g. PriceHistory) are bypassed; this is a
bulk-write fast path for the admin spreadsheet. The response
carries price_count — the number of rows touched.
Required scope: write_products (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Body
application/json
Response
prices upserted
Spree Admin SDK

