@hungr/types
    Preparing search index...

    Module Cart quotes

    Pricing a cart before it is finalised. Nothing here is stored.

    CartQuoteRequest

    Body for pricing a cart. The server keeps every selected discount that can be used, then adds the combination of other usable discounts that gives the lowest total. Send [] as selectedDiscountIds to let the server choose everything.

    Price

    The price of a cart with a set of discounts applied.

    CartQuoteResponse

    The price of a cart. A guest gets both prices; a signed-in user gets only the one that applies to them.

    CartQuoteRequestSchema

    Body for pricing a cart. The server keeps every selected discount that can be used, then adds the combination of other usable discounts that gives the lowest total. Send [] as selectedDiscountIds to let the server choose everything.

    PriceSchema

    The price of a cart with a set of discounts applied.

    CartQuoteResponseSchema

    The price of a cart. A guest gets both prices; a signed-in user gets only the one that applies to them.