ChargebeeAPI

Create a quote for charges and charge items

Idempotency Supported
Try in API Explorer

Creates a quote using charge-items and one-time charges.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/quotes/create_for_charge_items_and_charges

Input Parameters

name
optional, string, max chars=100

The quote name will be used as the pdf name of the quote.

customer_id
required, string, max chars=50

Identifier of the customer for which the quote needs to be created.

po_number
optional, string, max chars=100

Purchase Order Number for this quote.

notes
optional, string, max chars=2000

Notes specific to this quote that you want customers to see on the quote PDF.

expires_at
optional, timestamp(UTC) in seconds

Quotes will be valid till this date. After this quote will be marked as closed.

currency_code
required if Multicurrency is enabled, string, max chars=3

The currency code (ISO 4217 format) of the quote.

coupon
optional, string, max chars=100

The 'One Time' coupon to be applied.

coupon_ids
optional, string

List of Coupons to be added.

billing_address
optional, string

Parameters for billing_address

shipping_address
optional, string

Parameters for shipping_address

item_prices
optional, string

Parameters for item_prices

item_tiers
optional, string

Parameters for item_tiers

charges
optional, in cents

Parameters for charges

discounts
optional, double

Parameters for discounts

tax_providers_fields
optional, string

Parameters for tax_providers_fields

Returns

quoteQuote object

Resource object representing quote

quoted_chargeQuoted charge object

Resource object representing quoted_charge