cURL
curl --request POST \ --url https://api.collectpure.com/execution/buy/quote/v1 \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "items": [ { "listingId": "<string>", "quantity": 500000 } ], "paymentMethod": "<string>" } '
{ "success": true, "data": { "quoteId": "<string>", "currency": "<string>", "expiresAt": "<string>", "refreshedAt": "<string>", "lineItems": [ { "id": "<string>", "quantity": 123, "price": 123, "status": "<string>", "disabled": true, "error": "<string>", "product": { "sku": "<string>", "title": "<string>" }, "variant": { "title": "<string>" } } ], "fees": [ { "id": "<string>", "label": "<string>", "amount": 123, "rate": 123 } ], "salesTax": 123, "subtotal": 123, "total": 123, "availableCount": 123, "unavailableCount": 123 } }
Create a new buy quote with the specified items. Returns a quoteId and a pricing snapshot. The quote expires in 30 seconds.
Rate limit: 120 requests burst, 60 requests/minute sustained.
API key for authentication
Items to include in the quote
1 - 50
Show child attributes
'wire_transfer' or a Stripe payment method ID (pm_... or ba_...). Required so the quote includes accurate payment-method-specific fees.
Default Response
true
Was this page helpful?