Skip to main content
POST
/
execution
/
buy
/
quote
/
v1
Create a buy quote
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
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json
items
object[]
required

Items to include in the quote

Required array length: 1 - 50 elements
paymentMethod
string
required

'wire_transfer' or a Stripe payment method ID (pm_... or ba_...). Required so the quote includes accurate payment-method-specific fees.

Response

200 - application/json

Default Response

success
enum<boolean>
required
Available options:
true
data
object
required