Skip to main content
POST
Price one line for a customer and quantity

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Elastly-Version
string
Pattern: ^\d{4}-\d{2}-\d{2}$
Idempotency-Key
string
Pattern: ^[\x21-\x7e]{1,255}$

Body

application/json
buyer
object
required
currency
string
required
Pattern: ^[A-Z]{3}$
lines
object[]
required
Required array length: 1 - 100 elements
order
object
warehouseId
string<uuid>
deliveryCountry
string
Pattern: ^[A-Z]{2}$

Response

Price one line for a customer and quantity

pricingVersionId
string<uuid> | null
required
digest
string | null
required
pricedAt
string<date-time>
required
pricingDay
string<date>
required
lines
object[]
required
totals
object[]
required
complete
boolean
required