Pricing (cart - customer)
/api/v1/pricing/quoteCreate 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/jsonDetails for generating the order quote.
nullResponses
Quote generated successfully, returns comprehensive pricing information and quoteId.
nullhttps://api.example.com/api/v1/pricing/quoteRequest body
Code samples
curl -X POST 'https://customer-api.docs.newinstance.cloud/api/v1/pricing/quote'/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.
nullhttps://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}'