A quote is shaped like an order, with items, totals, a currency and a person, but has no payment or fulfilment status; it has an expiry date and comments instead. Quotes are made and sent in the admin and accepted in the customer’s account area. The API only lists them.
API ReferenceCommerce
Quotes
Quotes: priced offers made to a customer, which they accept and pay.
About quotes
Writing
Admin only
Members create quotes from their cart and staff price them in the admin; the API reads them.
Quotes and B2B
Access
Admin users
Members are refused: a 404 by default, a 403 where the site’s access-denied setting says so. Call it from a server with an admin user’s OAuth token or API key.
Authentication and authorisationList quotes#
GET
/cdna-api/quotes/quotes
Lists quotes. Without limit every match comes back. This site has none.
- Access
- Admin users and integrations, with an OAuth access token or an API key.
- Model
- Quote, in the Reference
Parameters
propertiesquery- selector
- The fields and relations to return, such as
{id,number,total,created}. filtersquery- name=value
- Any stored field, or a relation with a dot, such as
parent.id=12. Prefix the name with!,>,<,%or|. Use stored field names exactly as in the model, and comparetotalCountwith the unfiltered list's to confirm a filter applied. orderByquery- string
field:ASCorfield:DESC, comma-separated. Stored fields only.limitquery- integer
- Records per response. There is no default.
offsetquery- integer
- Records to skip.
Example
List quotes
GET /cdna-api/quotes/quotes?limit=2&properties={id,number,total,created} HTTP/1.1
Host: hub.coredna.com
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept: application/json
Response
200 OK
{
"result": "success",
"totalCount": 0,
"data": []
}
Real response from this documentation site