Pricing (cart - customer)

POST/api/v1/pricing/quote

Create a new price quote

Generates a pricing quote for an order, calculating meal subtotal, service charge, delivery fee, and providing a quoteId for reference.

The quote calculation is based on the current active fee and delivery configuration.

The customerId (if provided) is passed in the request body, as there is currently no customer authentication.

Request body must include a valid set of meals and their quantities, vendor information, and delivery address/location.

Request body

application/json

Details for generating the order quote.

null

Responses

Quote generated successfully, returns comprehensive pricing information and quoteId.

null
boltTry it
env
POSThttps://api.example.com/api/v1/pricing/quote

Request body

Code samples

curl -X POST 'https://customer-api.docs.newinstance.cloud/api/v1/pricing/quote'
GET/api/v1/pricing/quote/{quoteId}

Get quote by ID

Retrieves a previously generated pricing quote by its identifier.

Returns all calculated fields and metadata for the specified quote.

This can be used to view or confirm the details of a specific quote before proceeding to order creation.

Parameters

quoteIdpathstringrequireddefault: Unique identifier for the pricing quote.

Responses

Quote fetched successfully.

null
boltTry it
env
GEThttps://api.example.com/api/v1/pricing/quote/{quoteId}

Path parameters

quoteId*

Code samples

curl -X GET 'https://customer-api.docs.newinstance.cloud/api/v1/pricing/quote/{quoteId}'