# Quote accepted

Endpoint: POST quote-accepted
Version: latest
Security: SecretApiKey, JWT

## Request fields (application/json):

  - `quoteId` (string)
    ID of the quote.
    Example: "qt_01HXBZMEGPETPHJZH6V4RHBMA8"

  - `eventType` (string)
    Type of event that triggered the webhook.
    Enum: "quote-accepted", "quote-canceled", "quote-created", "quote-expired", "quote-issued", "quote-recalled", "quote-rejected", "quote-updated"

  - `_embedded` (object)
    Embedded objects related to the quote event.

  - `_embedded.quote` (any) — one of (discriminator: type):
    - creation:
      - `type` (string, required)
        Type of the quote.
When a quote is accepted, a new order is created.
        Enum: "creation"
      - `acceptanceConditions` (array)
        Conditions that must be met for the quote to be automatically accepted.
        Enum: "customer", "payment"
      - `websiteId` (string, required)
        ID of the website.
A website is where an organization obtains a customer.
For more information, see [Obtain an organization ID and website ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
      - `customerId` (string, required)
        ID of the customer resource.
      - `order` (object, required)
        Properties of the related order.
      - `order.items` (array, required) — one of (discriminator: type):
        Items included in the quote.
        - subscription:
          - `type` (string)
            Specifies the type of order item.
            Enum: "subscription"
          - `quantity` (integer)
            Number of product units in the specified plan.
Quantity for metered billing is always 0.
          - `plan` (any, required)
            Plan details.
            - `id` (string, required)
              ID of the plan.
          - `description` (string)
            Description of the quote item.
            Example: "Charge per approved transaction with DCC"
          - `priceDescription` (string)
            Price description of the quote item.
This value is only used for metered billing items.
            Example: "50% of the markup for approved transactions"
          - `usageLimits` (any)
            - `softLimit` (object)
              Defines thresholds for notification purposes.
For example, to notify the customer that their usage is near the hard limit of their metered billing plan.
This notification informs the customer so that they can upgrade their plan before the hard limit is reached.
When the reported usage reaches 75%, 90%, and 100% of the configured limit a specific event is triggered.
To notify the customer, a webhook and notification can be configured for this event.
This field is useful for accounting and customer success purposes.
The usage of metered billing plans can still be reported if the soft limit is reached.
            - `softLimit.quantity` (integer)
              Usage limit quantity.
            - `softLimit.amount` (number)
              Usage limit amount in the currency of the order.
            - `hardLimit` (object)
              Defines a limit where the customer can no longer use the service.
Hard limits are used in addition to soft limits.
When a soft limit is reached,
a customer may receive a notification
but the service can still be provided up to the hard limit value so that the customer can upgrade their plan.
When the reported usage reaches the configured limit,
a specific event is triggered.
To notify the customer in the merchant system,
or block a service,
a webhook and notification can be configured for this event.
When the total usage reaches the hard limit quantity,
or amount values,
metered billing plan usages can no longer be reported.
            - `hardLimit.quantity` (integer)
              Usage limit quantity.
            - `hardLimit.amount` (number)
              Usage limit amount in the currency of the order.
            - `trialLimit` (any)
              Defines a usage cap during the trial period of a subscription.
This limit is enforced only while the subscription is in its trial phase.
When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
Once the trial limit is reached, additional usage cannot be reported unless the trial ends.
              Example: 20.725
        - one-time-sale:
          - `type` (string)
            Specifies the type of order item.
            Enum: "one-time-sale"
          - `quantity` (integer)
            Number of product units in the specified plan.
          - `plan` (any, required)
            Plan details.
            - `id` (string, required)
              ID of the plan.
          - `description` (string)
            Description of the quote item.
            Example: "Charge per approved transaction with DCC"
      - `order.autopay` (boolean)
        Specifies if payment attempts for the related order are made automatically.
If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at paymentInstrumentId,
or the default payment instrument on the order.
      - `order.shipping` (object) — one of (discriminator: calculator):
        Shipping settings.
        - manual:
          - `amount` (number, required)
            Shipping amount.
          - `calculator` (string, required)
            Shipping calculator.
            Enum: "manual"
        - rebilly:
          - `calculator` (string, required)
            Shipping calculator.
            Enum: "rebilly"
          - `rateId` (string,null)
            ID of the shipping rate.
If this value is not set,
the cheapest applicable shipping rate is used.
            Example: "shipping-123-456"
      - `order.deliveryAddress` (any)
        Delivery address of the order.
        - `firstName` (string,null)
          Contact's first name.
          Example: "Benjamin"
        - `lastName` (string,null)
          Contact's last name.
          Example: "Franklin"
        - `organization` (string,null)
          Contact's organization.
          Example: "Rebilly"
        - `address` (string,null)
          First line of the contact's street address.
          Example: "36 Craven St"
        - `address2` (string,null)
          Second line of the contact's street address.
        - `city` (string,null)
          Contact's city of residence.
          Example: "Austin"
        - `region` (string,null)
          Contact's region of residence.
          Example: "Texas"
        - `country` (string,null)
          Contact's country of residence in ISO 3166 alpha-2 country code.
For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
          Example: "GB"
        - `postalCode` (string,null)
          Contact's postal code.
          Example: "WC2N 5NF"
        - `phoneNumbers` (array)
          List of phone numbers associated with the contact.
        - `phoneNumbers.label` (string, required)
          Phone number label or name.
          Example: "main"
        - `phoneNumbers.value` (string, required)
          Phone number value.
          Example: "1-512-777-0269"
        - `phoneNumbers.primary` (boolean)
          Specifies if the phone number is the contact's primary phone number.
          Example: true
        - `emails` (array)
          List of email addresses associated with the contact.
        - `emails.label` (string, required)
          Email label or name.
          Example: "main"
        - `emails.value` (string, required)
          Email address value.
          Example: "rebilly@example.com"
        - `emails.primary` (boolean)
          Specifies if the email address is the contact's primary email address.
          Example: true
        - `dob` (string,null)
          Contact's date of birth in ISO-8601 YYYY-MM-DD format.
          Example: "1980-04-01"
        - `jobTitle` (string,null)
          Contact's job title.
          Example: "CEO"
      - `order.billingAddress` (any)
        Billing address of the order.
        - `firstName` (string,null)
          Contact's first name.
          Example: "Benjamin"
        - `lastName` (string,null)
          Contact's last name.
          Example: "Franklin"
        - `organization` (string,null)
          Contact's organization.
          Example: "Rebilly"
        - `address` (string,null)
          First line of the contact's street address.
          Example: "36 Craven St"
        - `address2` (string,null)
          Second line of the contact's street address.
        - `city` (string,null)
          Contact's city of residence.
          Example: "Austin"
        - `region` (string,null)
          Contact's region of residence.
          Example: "Texas"
        - `country` (string,null)
          Contact's country of residence in ISO 3166 alpha-2 country code.
For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
          Example: "GB"
        - `postalCode` (string,null)
          Contact's postal code.
          Example: "WC2N 5NF"
        - `phoneNumbers` (array)
          List of phone numbers associated with the contact.
        - `phoneNumbers.label` (string, required)
          Phone number label or name.
          Example: "main"
        - `phoneNumbers.value` (string, required)
          Phone number value.
          Example: "1-512-777-0269"
        - `phoneNumbers.primary` (boolean)
          Specifies if the phone number is the contact's primary phone number.
          Example: true
        - `emails` (array)
          List of email addresses associated with the contact.
        - `emails.label` (string, required)
          Email label or name.
          Example: "main"
        - `emails.value` (string, required)
          Email address value.
          Example: "rebilly@example.com"
        - `emails.primary` (boolean)
          Specifies if the email address is the contact's primary email address.
          Example: true
        - `dob` (string,null)
          Contact's date of birth in ISO-8601 YYYY-MM-DD format.
          Example: "1980-04-01"
        - `jobTitle` (string,null)
          Contact's job title.
          Example: "CEO"
      - `order.startTime` (string,null)
        Date and time when the created order starts.
If this value is null, the quote acceptance time is used.
      - `order.isLegacy` (boolean)
        Specifies if the order is a legacy order.
        Example: true
      - `paymentTerms` (string)
        Payment terms for the customer which are displayed on the quote.
      - `expirationTime` (string,null)
        Date and time when the quote expires.
The default expiration time is one month from the time the quote is issued.
In a draft state, this field may be null.
      - `redirectUrl` (string)
        URL to redirect the customer to when a quote is rejected.
The default value is the website URL.
      - `signature` (object)
        Written signature and printed organization name.
      - `signature.showWrittenSignatureLines` (boolean)
        Specifies whether to show written signature lines.
      - `signature.organizationPrintedName` (string,null)
        Printed name of the organization.
      - `tax` (object) — one of (discriminator: calculator):
        Taxes.
        - manual:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "manual" (1 values)
          - `items` (array, required)
            Taxes applied.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
        - rebilly-taxjar:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: "rebilly-taxjar"
          - `items` (array)
            Taxes applied and calculated based on the taxCategoryId of the related product.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
        - rebilly-avalara:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: "rebilly-avalara"
          - `items` (array)
            Taxes applied and calculated based on the taxCategoryId of the related product.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
      - `couponIds` (array,null)
        List of coupons to redeem on the customer and apply to the related invoice.

For more information, see [Coupons](https://www.rebilly.com/docs/settings/coupons-and-discounts/).
    - change:
      - `type` (string, required)
        Type of the quote.
When a quote is accepted, quote items and settings are applied to the related order.
        Enum: "change"
      - `acceptanceConditions` (array)
        Conditions that must be met for the quote to be automatically accepted.
        Enum: same as `acceptanceConditions` in "creation" (2 values)
      - `websiteId` (string, required)
        ID of the website.
A website is where an organization obtains a customer.
For more information, see [Obtain an organization ID and website ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
      - `customerId` (string, required)
        ID of the customer resource.
      - `order` (object, required)
        Properties of the related order.
      - `order.id` (string, required)
        ID of the related order.
        Example: "ord_01HVKA5975PJBSQ1SX72G3MSZC"
      - `order.items` (array, required) — one of (discriminator: type):
        Items included in the quote.
        - subscription:
          - `type` (string)
            Specifies the type of order item.
            Enum: same as `type` in "subscription" (1 values)
          - `quantity` (integer)
            Number of product units in the specified plan.
Quantity for metered billing is always 0.
          - `plan` (any, required)
            Plan details.
            - `id` (string, required)
              ID of the plan.
          - `description` (string)
            Description of the quote item.
            Example: "Charge per approved transaction with DCC"
          - `priceDescription` (string)
            Price description of the quote item.
This value is only used for metered billing items.
            Example: "50% of the markup for approved transactions"
          - `usageLimits` (any)
            - `softLimit` (object)
              Defines thresholds for notification purposes.
For example, to notify the customer that their usage is near the hard limit of their metered billing plan.
This notification informs the customer so that they can upgrade their plan before the hard limit is reached.
When the reported usage reaches 75%, 90%, and 100% of the configured limit a specific event is triggered.
To notify the customer, a webhook and notification can be configured for this event.
This field is useful for accounting and customer success purposes.
The usage of metered billing plans can still be reported if the soft limit is reached.
            - `softLimit.quantity` (integer)
              Usage limit quantity.
            - `softLimit.amount` (number)
              Usage limit amount in the currency of the order.
            - `hardLimit` (object)
              Defines a limit where the customer can no longer use the service.
Hard limits are used in addition to soft limits.
When a soft limit is reached,
a customer may receive a notification
but the service can still be provided up to the hard limit value so that the customer can upgrade their plan.
When the reported usage reaches the configured limit,
a specific event is triggered.
To notify the customer in the merchant system,
or block a service,
a webhook and notification can be configured for this event.
When the total usage reaches the hard limit quantity,
or amount values,
metered billing plan usages can no longer be reported.
            - `hardLimit.quantity` (integer)
              Usage limit quantity.
            - `hardLimit.amount` (number)
              Usage limit amount in the currency of the order.
            - `trialLimit` (any)
              Defines a usage cap during the trial period of a subscription.
This limit is enforced only while the subscription is in its trial phase.
When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
Once the trial limit is reached, additional usage cannot be reported unless the trial ends.
              Example: 20.725
        - one-time-sale:
          - `type` (string)
            Specifies the type of order item.
            Enum: same as `type` in "one-time-sale" (1 values)
          - `quantity` (integer)
            Number of product units in the specified plan.
          - `plan` (any, required)
            Plan details.
            - `id` (string, required)
              ID of the plan.
          - `description` (string)
            Description of the quote item.
            Example: "Charge per approved transaction with DCC"
      - `order.renewalPolicy` (string)
        Specifies if the order retains its current renewalTime or resets it to a newly calculated renewalTime.
        Enum: "reset", "retain"
      - `order.prorated` (boolean)
        Specifies whether to give a pro rata credit for the amount of time remaining between the effectiveTime and the end of the current period.
In addition, if the renewalTime is retained, by setting the renewalPolicy to retain,
a pro rata debit occurs for the amount between the effectiveTime and the renewalTime as a percentage of the normal period length.
      - `order.effectiveTime` (string,null)
        Date from which the renewal time for reset operations and proration calculations are made.
If this field is omitted, this value defaults to the time of quote acceptance.
      - `order.keepTrial` (boolean)
        Specifies if the order must retain its active trial.
This field is only applicable if renewalPolicy is set to retain.
      - `order.interimOnly` (boolean)
        Specifies if the quotation invoice must include interim items only.
If this value is set to false, all upcoming items are included.
      - `order.usageSettings` (array)
        Usage settings for items with metered billing.
      - `order.usageSettings.productId` (string, required)
        ID of the product to use to transfer usage.
If the policy value is transfer,
and an existing item and a new item are of the same product,
usage can be transferred to the new item.
If a new item of the same product does not exist,
or does not have a metered billing plan,
this transfer is ignored.
        Example: "prod_0YV7DENSVGDBW9S71XZNNYYQ0X"
      - `order.usageSettings.policy` (string, required)
        Policy for removed items that have a metered billing plan.
        Enum: "reset", "transfer"
      - `order.autopay` (boolean,null)
        Specifies if payment attempts for the related order are made automatically.
If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at paymentInstrumentId,
or the default payment instrument on the order.
If this value is null, the related order autopay is not affected.
      - `order.shipping` (object) — one of (discriminator: calculator):
        Shipping settings.
        - manual:
          - `amount` (number, required)
            Shipping amount.
          - `calculator` (string, required)
            Shipping calculator.
            Enum: same as `calculator` in "manual" (1 values)
        - rebilly:
          - `calculator` (string, required)
            Shipping calculator.
            Enum: same as `calculator` in "rebilly" (1 values)
          - `rateId` (string,null)
            ID of the shipping rate.
If this value is not set,
the cheapest applicable shipping rate is used.
            Example: "shipping-123-456"
      - `order.deliveryAddress` (any)
        Delivery address of the order.
If this value is null, the order delivery address is not affected.
        - `firstName` (string,null)
          Contact's first name.
          Example: "Benjamin"
        - `lastName` (string,null)
          Contact's last name.
          Example: "Franklin"
        - `organization` (string,null)
          Contact's organization.
          Example: "Rebilly"
        - `address` (string,null)
          First line of the contact's street address.
          Example: "36 Craven St"
        - `address2` (string,null)
          Second line of the contact's street address.
        - `city` (string,null)
          Contact's city of residence.
          Example: "Austin"
        - `region` (string,null)
          Contact's region of residence.
          Example: "Texas"
        - `country` (string,null)
          Contact's country of residence in ISO 3166 alpha-2 country code.
For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
          Example: "GB"
        - `postalCode` (string,null)
          Contact's postal code.
          Example: "WC2N 5NF"
        - `phoneNumbers` (array)
          List of phone numbers associated with the contact.
        - `phoneNumbers.label` (string, required)
          Phone number label or name.
          Example: "main"
        - `phoneNumbers.value` (string, required)
          Phone number value.
          Example: "1-512-777-0269"
        - `phoneNumbers.primary` (boolean)
          Specifies if the phone number is the contact's primary phone number.
          Example: true
        - `emails` (array)
          List of email addresses associated with the contact.
        - `emails.label` (string, required)
          Email label or name.
          Example: "main"
        - `emails.value` (string, required)
          Email address value.
          Example: "rebilly@example.com"
        - `emails.primary` (boolean)
          Specifies if the email address is the contact's primary email address.
          Example: true
        - `dob` (string,null)
          Contact's date of birth in ISO-8601 YYYY-MM-DD format.
          Example: "1980-04-01"
        - `jobTitle` (string,null)
          Contact's job title.
          Example: "CEO"
      - `order.billingAddress` (any)
        Billing address of the order.
If this value is null, the order billing address is not affected.
        - `firstName` (string,null)
          Contact's first name.
          Example: "Benjamin"
        - `lastName` (string,null)
          Contact's last name.
          Example: "Franklin"
        - `organization` (string,null)
          Contact's organization.
          Example: "Rebilly"
        - `address` (string,null)
          First line of the contact's street address.
          Example: "36 Craven St"
        - `address2` (string,null)
          Second line of the contact's street address.
        - `city` (string,null)
          Contact's city of residence.
          Example: "Austin"
        - `region` (string,null)
          Contact's region of residence.
          Example: "Texas"
        - `country` (string,null)
          Contact's country of residence in ISO 3166 alpha-2 country code.
For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
          Example: "GB"
        - `postalCode` (string,null)
          Contact's postal code.
          Example: "WC2N 5NF"
        - `phoneNumbers` (array)
          List of phone numbers associated with the contact.
        - `phoneNumbers.label` (string, required)
          Phone number label or name.
          Example: "main"
        - `phoneNumbers.value` (string, required)
          Phone number value.
          Example: "1-512-777-0269"
        - `phoneNumbers.primary` (boolean)
          Specifies if the phone number is the contact's primary phone number.
          Example: true
        - `emails` (array)
          List of email addresses associated with the contact.
        - `emails.label` (string, required)
          Email label or name.
          Example: "main"
        - `emails.value` (string, required)
          Email address value.
          Example: "rebilly@example.com"
        - `emails.primary` (boolean)
          Specifies if the email address is the contact's primary email address.
          Example: true
        - `dob` (string,null)
          Contact's date of birth in ISO-8601 YYYY-MM-DD format.
          Example: "1980-04-01"
        - `jobTitle` (string,null)
          Contact's job title.
          Example: "CEO"
      - `paymentTerms` (string)
        Payment terms for the customer which are displayed on the quote.
      - `expirationTime` (string,null)
        Date and time when the quote expires.
The default expiration time is one month from the time the quote is issued.
In a draft state, this field may be null.
      - `redirectUrl` (string)
        URL to redirect the customer to when a quote is rejected.
The default value is the website URL.
      - `signature` (object)
        Written signature and printed organization name.
      - `signature.showWrittenSignatureLines` (boolean)
        Specifies whether to show written signature lines.
      - `signature.organizationPrintedName` (string,null)
        Printed name of the organization.
      - `tax` (object) — one of (discriminator: calculator):
        Taxes.
        - manual:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "manual" (1 values)
          - `items` (array, required)
            Taxes applied.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
        - rebilly-taxjar:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-taxjar" (1 values)
          - `items` (array)
            Taxes applied and calculated based on the taxCategoryId of the related product.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
        - rebilly-avalara:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-avalara" (1 values)
          - `items` (array)
            Taxes applied and calculated based on the taxCategoryId of the related product.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
      - `couponIds` (array,null)
        List of coupons to redeem on the customer and apply to the related invoice.

For more information, see [Coupons](https://www.rebilly.com/docs/settings/coupons-and-discounts/).
    - reactivation:
      - `type` (string, required)
        Type of the quote.
When a quote is accepted, quote items and settings are applied to the order and the order is reactivated.
        Enum: "reactivation"
      - `acceptanceConditions` (array)
        Conditions that must be met for the quote to be automatically accepted.
        Enum: same as `acceptanceConditions` in "creation" (2 values)
      - `websiteId` (string, required)
        ID of the website.
A website is where an organization obtains a customer.
For more information, see [Obtain an organization ID and website ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
      - `customerId` (string, required)
        ID of the customer resource.
      - `order` (object, required)
        Properties of the related order.
      - `order.id` (string, required)
        ID of the related order.
        Example: "ord_01HVKA5975PJBSQ1SX72G3MSZC"
      - `order.items` (array, required) — one of (discriminator: type):
        Items included in the quote.
        - subscription:
          - `type` (string)
            Specifies the type of order item.
            Enum: same as `type` in "subscription" (1 values)
          - `quantity` (integer)
            Number of product units in the specified plan.
Quantity for metered billing is always 0.
          - `plan` (any, required)
            Plan details.
            - `id` (string, required)
              ID of the plan.
          - `description` (string)
            Description of the quote item.
            Example: "Charge per approved transaction with DCC"
          - `priceDescription` (string)
            Price description of the quote item.
This value is only used for metered billing items.
            Example: "50% of the markup for approved transactions"
          - `usageLimits` (any)
            - `softLimit` (object)
              Defines thresholds for notification purposes.
For example, to notify the customer that their usage is near the hard limit of their metered billing plan.
This notification informs the customer so that they can upgrade their plan before the hard limit is reached.
When the reported usage reaches 75%, 90%, and 100% of the configured limit a specific event is triggered.
To notify the customer, a webhook and notification can be configured for this event.
This field is useful for accounting and customer success purposes.
The usage of metered billing plans can still be reported if the soft limit is reached.
            - `softLimit.quantity` (integer)
              Usage limit quantity.
            - `softLimit.amount` (number)
              Usage limit amount in the currency of the order.
            - `hardLimit` (object)
              Defines a limit where the customer can no longer use the service.
Hard limits are used in addition to soft limits.
When a soft limit is reached,
a customer may receive a notification
but the service can still be provided up to the hard limit value so that the customer can upgrade their plan.
When the reported usage reaches the configured limit,
a specific event is triggered.
To notify the customer in the merchant system,
or block a service,
a webhook and notification can be configured for this event.
When the total usage reaches the hard limit quantity,
or amount values,
metered billing plan usages can no longer be reported.
            - `hardLimit.quantity` (integer)
              Usage limit quantity.
            - `hardLimit.amount` (number)
              Usage limit amount in the currency of the order.
            - `trialLimit` (any)
              Defines a usage cap during the trial period of a subscription.
This limit is enforced only while the subscription is in its trial phase.
When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
Once the trial limit is reached, additional usage cannot be reported unless the trial ends.
              Example: 20.725
        - one-time-sale:
          - `type` (string)
            Specifies the type of order item.
            Enum: same as `type` in "one-time-sale" (1 values)
          - `quantity` (integer)
            Number of product units in the specified plan.
          - `plan` (any, required)
            Plan details.
            - `id` (string, required)
              ID of the plan.
          - `description` (string)
            Description of the quote item.
            Example: "Charge per approved transaction with DCC"
      - `order.effectiveTime` (string,null)
        Date and time when the service period starts,
unless the order is canceled but still active.
If the order is still active,
the order continues for the current service period.

If this field is omitted, this value defaults to the current time.
      - `order.renewalTime` (string,null)
        Date and time of the next order renewal.
If this field is omitted, this value is computed from the effectiveTime field.

If the order is canceled but still active,
it is ignored and the next renewal occurs as scheduled.
      - `order.paymentInstrumentId` (string,null)
        ID of the payment instrument.
If this field is omitted, the order payment instrument remains unchanged.
        Example: "inst_0YVB8KPKNXCBR9EDX7JHSED75N"
      - `order.autopay` (boolean,null)
        Specifies if payment attempts for the related order are made automatically.
If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at paymentInstrumentId,
or the default payment instrument on the order.
If this value is null, the related order autopay is not affected.
      - `order.shipping` (object) — one of (discriminator: calculator):
        Shipping settings.
        - manual:
          - `amount` (number, required)
            Shipping amount.
          - `calculator` (string, required)
            Shipping calculator.
            Enum: same as `calculator` in "manual" (1 values)
        - rebilly:
          - `calculator` (string, required)
            Shipping calculator.
            Enum: same as `calculator` in "rebilly" (1 values)
          - `rateId` (string,null)
            ID of the shipping rate.
If this value is not set,
the cheapest applicable shipping rate is used.
            Example: "shipping-123-456"
      - `order.deliveryAddress` (any)
        Delivery address of the order.
If this value is null, the order delivery address is not affected.
        - `firstName` (string,null)
          Contact's first name.
          Example: "Benjamin"
        - `lastName` (string,null)
          Contact's last name.
          Example: "Franklin"
        - `organization` (string,null)
          Contact's organization.
          Example: "Rebilly"
        - `address` (string,null)
          First line of the contact's street address.
          Example: "36 Craven St"
        - `address2` (string,null)
          Second line of the contact's street address.
        - `city` (string,null)
          Contact's city of residence.
          Example: "Austin"
        - `region` (string,null)
          Contact's region of residence.
          Example: "Texas"
        - `country` (string,null)
          Contact's country of residence in ISO 3166 alpha-2 country code.
For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
          Example: "GB"
        - `postalCode` (string,null)
          Contact's postal code.
          Example: "WC2N 5NF"
        - `phoneNumbers` (array)
          List of phone numbers associated with the contact.
        - `phoneNumbers.label` (string, required)
          Phone number label or name.
          Example: "main"
        - `phoneNumbers.value` (string, required)
          Phone number value.
          Example: "1-512-777-0269"
        - `phoneNumbers.primary` (boolean)
          Specifies if the phone number is the contact's primary phone number.
          Example: true
        - `emails` (array)
          List of email addresses associated with the contact.
        - `emails.label` (string, required)
          Email label or name.
          Example: "main"
        - `emails.value` (string, required)
          Email address value.
          Example: "rebilly@example.com"
        - `emails.primary` (boolean)
          Specifies if the email address is the contact's primary email address.
          Example: true
        - `dob` (string,null)
          Contact's date of birth in ISO-8601 YYYY-MM-DD format.
          Example: "1980-04-01"
        - `jobTitle` (string,null)
          Contact's job title.
          Example: "CEO"
      - `order.billingAddress` (any)
        Billing address of the order.
If this value is null, the order billing address is not affected.
        - `firstName` (string,null)
          Contact's first name.
          Example: "Benjamin"
        - `lastName` (string,null)
          Contact's last name.
          Example: "Franklin"
        - `organization` (string,null)
          Contact's organization.
          Example: "Rebilly"
        - `address` (string,null)
          First line of the contact's street address.
          Example: "36 Craven St"
        - `address2` (string,null)
          Second line of the contact's street address.
        - `city` (string,null)
          Contact's city of residence.
          Example: "Austin"
        - `region` (string,null)
          Contact's region of residence.
          Example: "Texas"
        - `country` (string,null)
          Contact's country of residence in ISO 3166 alpha-2 country code.
For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
          Example: "GB"
        - `postalCode` (string,null)
          Contact's postal code.
          Example: "WC2N 5NF"
        - `phoneNumbers` (array)
          List of phone numbers associated with the contact.
        - `phoneNumbers.label` (string, required)
          Phone number label or name.
          Example: "main"
        - `phoneNumbers.value` (string, required)
          Phone number value.
          Example: "1-512-777-0269"
        - `phoneNumbers.primary` (boolean)
          Specifies if the phone number is the contact's primary phone number.
          Example: true
        - `emails` (array)
          List of email addresses associated with the contact.
        - `emails.label` (string, required)
          Email label or name.
          Example: "main"
        - `emails.value` (string, required)
          Email address value.
          Example: "rebilly@example.com"
        - `emails.primary` (boolean)
          Specifies if the email address is the contact's primary email address.
          Example: true
        - `dob` (string,null)
          Contact's date of birth in ISO-8601 YYYY-MM-DD format.
          Example: "1980-04-01"
        - `jobTitle` (string,null)
          Contact's job title.
          Example: "CEO"
      - `paymentTerms` (string)
        Payment terms for the customer which are displayed on the quote.
      - `expirationTime` (string,null)
        Date and time when the quote expires.
The default expiration time is one month from the time the quote is issued.
In a draft state, this field may be null.
      - `redirectUrl` (string)
        URL to redirect the customer to when a quote is rejected.
The default value is the website URL.
      - `signature` (object)
        Written signature and printed organization name.
      - `signature.showWrittenSignatureLines` (boolean)
        Specifies whether to show written signature lines.
      - `signature.organizationPrintedName` (string,null)
        Printed name of the organization.
      - `tax` (object) — one of (discriminator: calculator):
        Taxes.
        - manual:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "manual" (1 values)
          - `items` (array, required)
            Taxes applied.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
        - rebilly-taxjar:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-taxjar" (1 values)
          - `items` (array)
            Taxes applied and calculated based on the taxCategoryId of the related product.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
        - rebilly-avalara:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-avalara" (1 values)
          - `items` (array)
            Taxes applied and calculated based on the taxCategoryId of the related product.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
      - `couponIds` (array,null)
        List of coupons to redeem on the customer and apply to the related invoice.

For more information, see [Coupons](https://www.rebilly.com/docs/settings/coupons-and-discounts/).

  - `_links` (array)
    Links to related resources.

  - `_links.href` (string)
    URL of the link.

  - `_links.rel` (string)
    Relationship type of the link.
    Enum: "quote"


## Response 2xx fields
