Pricing (cart - customer)
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/jsonDetails for generating the order quote.
nullResponses
201Quote generated successfully, returns comprehensive pricing information and quoteId.400Invalid input or required fields missing from request.curl -X POST 'https://customer-api.docs.newinstance.cloud/api/v1/pricing/quote'nullGet 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
quoteIdpath · stringrequireddefault: Unique identifier for the pricing quote.
Responses
200Quote fetched successfully.404Quote not found for the supplied quoteId.curl -X GET 'https://customer-api.docs.newinstance.cloud/api/v1/pricing/quote/{quoteId}'null