Price a basket and get a checkout URL

Public. With an API key (catalog:read) the quote is at the caller's own prices and its total is exactly what POST /orders would take from the wallet; the response then carries an order block instead of a checkout URL.

post/api/agent/v1/quote

Request

  • Base URL: https://essentras.com
  • URL: https://essentras.com/api/agent/v1/quote
  • Auth: one of:
    • none
    • HTTP bearer

Request body

Response

A priced basket

line_itemsobject[]
unavailablestring[]

Requested ids that are not buyable; excluded from the total.

truncatedstring[]

Ids dropped because the basket exceeded 30 outlets.

warningsstring[]
subtotalnumber
discountobject

Public volume tier applied: 3+ placements 10% off, 5+ 15% off. Reseller quotes get no volume discount unless the account allows it (volume_tiers_apply on GET /me).

totalnumber

Final amount the buyer is charged, discounts included.

currencystring
billing_triggerstring
checkout_urlstring nullable

Give this to the buyer to approve and pay.

Changes

No recorded changes to this operation across all 1 revision of this API.