# Issue a quote

Issues a draft quote with a specified ID.

Endpoint: POST /quotes/{id}/issue
Version: latest
Security: SecretApiKey, JWT

## Path parameters:

  - `id` (string, required)
    ID of the resource.

## Response 200 fields (application/json):

  - `body` (any) — one of (discriminator: type):
    - creation:
      - `id` (string)
        ID of the quote.
        Example: "qt_01HXBZMEGPETPHJZH6V4RHBMA8"
      - `type` (string, required)
        Type of the quote.
When a quote is accepted, a new order is created.
        Enum: "creation"
      - `acceptanceFulfillment` (array)
        List of acceptanceConditions with fulfillment status.
      - `acceptanceFulfillment.condition` (string)
        Enum: "customer", "payment", "organization"
      - `acceptanceFulfillment.isFulfilled` (boolean)
      - `isNewOrder` (boolean)
        Specifies if the order is a new order.
        Example: true
      - `invoiceId` (string)
        ID of the payment invoice.
        Example: "in_0YVF9605RKC62BP14NE2R7V2XT"
      - `status` (string)
        Status of the quote.
        Enum: "draft", "issued", "accepted", "rejected", "canceled", "expired"
      - `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,null)
        ID of the related order.
        Example: "ord_01HVKA5975PJBSQ1SX72G3MSZC"
      - `order.items` (array, required) — one of (discriminator: type):
        Items included in the quote.
        - subscription:
          - `id` (string)
            ID of the quote item.
            Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
          - `type` (string, required)
            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.
          - `quantityFilled` (number,null)
            Number of filled product units.
This field is not used for metered billing plans.
            Example: 5.125
          - `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
          - `createdTime` (string)
            Date and time when the resource is created.
This value is set automatically when the resource is created.
          - `updatedTime` (string)
            Date and time when the resource is updated.
This value is set automatically when the resource is updated.
        - one-time-sale:
          - `id` (string)
            ID of the quote item.
            Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
          - `type` (string, required)
            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"
          - `createdTime` (string)
            Date and time when the resource is created.
This value is set automatically when the resource is created.
          - `updatedTime` (string)
            Date and time when the resource is updated.
This value is set automatically when the resource is updated.
      - `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"
          - `amount` (number)
            Shipping amount which is calculated from [Shipping rates](https://www.rebilly.com/catalog/all/shipping-rates).
      - `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"
        - `hash` (string)
          Hash value for the contact.
Use this value to compare contacts for identical attribute values.
          Example: "056ae6d97c788b9e98b049ebafd7b229bf852221"
      - `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"
        - `hash` (string)
          Hash value for the contact.
Use this value to compare contacts for identical attribute values.
          Example: "056ae6d97c788b9e98b049ebafd7b229bf852221"
      - `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
      - `invoicePreview` (object)
        Preview of the quote invoice.
      - `invoicePreview.currency` (string)
        Currency of the invoice.
      - `invoicePreview.initialAmounts` (object)
        Total amounts of the initial invoice.
      - `invoicePreview.initialAmounts.amount` (number)
        Amount of the invoice.
      - `invoicePreview.initialAmounts.subtotalAmount` (number)
        Subtotal amount of the invoice.
      - `invoicePreview.initialAmounts.discountAmount` (number)
        Discount amount that is applied to the invoice.
      - `invoicePreview.initialAmounts.shippingAmount` (number)
        Shipping amount that is applied to the invoice.
      - `invoicePreview.initialAmounts.taxAmount` (number)
        Tax amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts` (object,null)
        Total amounts of the recurring invoice.
This includes recurring items only.
If the quote does not have recurring items, the value of this field is null.
      - `invoicePreview.recurringAmounts.amount` (number)
        Amount of the invoice.
      - `invoicePreview.recurringAmounts.subtotalAmount` (number)
        Subtotal amount of the invoice.
      - `invoicePreview.recurringAmounts.discountAmount` (number)
        Discount amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts.shippingAmount` (number)
        Shipping amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts.taxAmount` (number)
        Tax amount that is applied to the invoice.
      - `invoicePreview.items` (array)
        Invoice items.
      - `invoicePreview.items.quoteItemId` (string)
        ID of the related quote item.
        Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
      - `invoicePreview.items.type` (string)
        Type of the invoice item.
        Enum: "debit", "credit"
      - `invoicePreview.items.name` (string)
        Name of the invoice item.
      - `invoicePreview.items.description` (string)
        Description of the invoice item.
        Example: "Charge per approved transaction with DCC"
      - `invoicePreview.items.priceDescription` (string)
        Price description of the invoice item.
        Example: "50% of the markup for approved transactions"
      - `invoicePreview.items.unitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.quantity` (integer)
        Quantity of the invoice item.
      - `invoicePreview.items.period` (string,null)
        Date interval of the invoice item.
      - `invoicePreview.items.setupUnitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.trialUnitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.trialPeriod` (string,null)
        Date interval of the invoice item trial.
      - `invoicePreview.items.taxAmount` (number,null)
        Tax amount of the invoice item.
      - `invoicePreview.items.setupTaxAmount` (number,null)
        Tax amount of the setup that is applied to the invoice.
      - `invoicePreview.items.trialTaxAmount` (number,null)
        Tax amount of the trial that is applied to the invoice.
      - `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.
      - `issuedTime` (string,null)
        Date and time when the quote is issued.
      - `acceptedTime` (string,null)
        Date and time when the quote is accepted.
      - `rejectedTime` (string,null)
        Date and time when the quote is rejected.
      - `canceledTime` (string,null)
        Date and time when the quote is canceled.
      - `createdTime` (string)
        Date and time when the resource is created.
This value is set automatically when the resource is created.
      - `updatedTime` (string)
        Date and time when the resource is updated.
This value is set automatically when the resource is updated.
      - `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)
          - `amount` (number)
            Total amount of taxes.
          - `items` (array, required)
            Taxes applied.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
        - rebilly-taxjar:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: "rebilly-taxjar"
          - `amount` (number)
            Total amount of taxes.
          - `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.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
        - rebilly-avalara:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: "rebilly-avalara"
          - `amount` (number)
            Total amount of taxes.
          - `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.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
      - `couponIds` (array,null)
        Coupon ID.
      - `_links` (array)
        Related links.
      - `_links.href` (string)
        Link URL.
      - `_links.rel` (string)
        Type of link.
If the quote is issued, a customer can be redirected to the invoicePaymentFormUrl value
to pay the related invoice using one of the methods which are available to the customer.
        Enum: "self", "quoteAcceptanceFormUrl", "invoicePaymentFormUrl"
      - `_embedded` (object)
        Embedded objects that are requested by the expand query parameter.
      - `_embedded.customer` (object)
      - `_embedded.website` (object)
      - `_embedded.order` (object)
      - `_embedded.invoice` (object)
    - change:
      - `id` (string)
        ID of the quote.
        Example: "qt_01HXBZMEGPETPHJZH6V4RHBMA8"
      - `type` (string, required)
        Type of the quote.
When a quote is accepted, quote items and settings are applied to the related order.
        Enum: "change"
      - `acceptanceFulfillment` (array)
        List of acceptanceConditions with fulfillment status.
      - `acceptanceFulfillment.condition` (string)
        Enum: same as `acceptanceFulfillment.condition` in "creation" (3 values)
      - `acceptanceFulfillment.isFulfilled` (boolean)
      - `isNewOrder` (boolean)
        Specifies if the order is a new order.
        Example: true
      - `invoiceId` (string)
        ID of the payment invoice.
        Example: "in_0YVF9605RKC62BP14NE2R7V2XT"
      - `status` (string)
        Status of the quote.
        Enum: same as `status` in "creation" (6 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:
          - `id` (string)
            ID of the quote item.
            Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
          - `type` (string, required)
            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.
          - `quantityFilled` (number,null)
            Number of filled product units.
This field is not used for metered billing plans.
            Example: 5.125
          - `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
          - `createdTime` (string)
            Date and time when the resource is created.
This value is set automatically when the resource is created.
          - `updatedTime` (string)
            Date and time when the resource is updated.
This value is set automatically when the resource is updated.
        - one-time-sale:
          - `id` (string)
            ID of the quote item.
            Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
          - `type` (string, required)
            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"
          - `createdTime` (string)
            Date and time when the resource is created.
This value is set automatically when the resource is created.
          - `updatedTime` (string)
            Date and time when the resource is updated.
This value is set automatically when the resource is updated.
      - `order.renewalPolicy` (string)
        How the service periods and trial state of the related order are managed when the quote is accepted.

The reset and retain values are deprecated.
The deprecated keepTrial flag is ignored unless reset or retain is used.
        Enum: "resetToRecurring", "retainRecurring", "retainTrialThenRecurring", "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 retainRecurring or retainTrialThenRecurring,
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.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"
          - `amount` (number)
            Shipping amount which is calculated from [Shipping rates](https://www.rebilly.com/catalog/all/shipping-rates).
      - `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"
        - `hash` (string)
          Hash value for the contact.
Use this value to compare contacts for identical attribute values.
          Example: "056ae6d97c788b9e98b049ebafd7b229bf852221"
      - `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"
        - `hash` (string)
          Hash value for the contact.
Use this value to compare contacts for identical attribute values.
          Example: "056ae6d97c788b9e98b049ebafd7b229bf852221"
      - `order.keepTrial` (boolean)
        Deprecated.
Use the retainTrialThenRecurring value of renewalPolicy instead.

Specifies if the order must retain its active trial.
This field is only applicable if renewalPolicy is set to the deprecated value retain.
      - `invoicePreview` (object)
        Preview of the quote invoice.
      - `invoicePreview.currency` (string)
        Currency of the invoice.
      - `invoicePreview.initialAmounts` (object)
        Total amounts of the initial invoice.
      - `invoicePreview.initialAmounts.amount` (number)
        Amount of the invoice.
      - `invoicePreview.initialAmounts.subtotalAmount` (number)
        Subtotal amount of the invoice.
      - `invoicePreview.initialAmounts.discountAmount` (number)
        Discount amount that is applied to the invoice.
      - `invoicePreview.initialAmounts.shippingAmount` (number)
        Shipping amount that is applied to the invoice.
      - `invoicePreview.initialAmounts.taxAmount` (number)
        Tax amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts` (object,null)
        Total amounts of the recurring invoice.
This includes recurring items only.
If the quote does not have recurring items, the value of this field is null.
      - `invoicePreview.recurringAmounts.amount` (number)
        Amount of the invoice.
      - `invoicePreview.recurringAmounts.subtotalAmount` (number)
        Subtotal amount of the invoice.
      - `invoicePreview.recurringAmounts.discountAmount` (number)
        Discount amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts.shippingAmount` (number)
        Shipping amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts.taxAmount` (number)
        Tax amount that is applied to the invoice.
      - `invoicePreview.items` (array)
        Invoice items.
      - `invoicePreview.items.quoteItemId` (string)
        ID of the related quote item.
        Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
      - `invoicePreview.items.type` (string)
        Type of the invoice item.
        Enum: same as `invoicePreview.items.type` in "creation" (2 values)
      - `invoicePreview.items.name` (string)
        Name of the invoice item.
      - `invoicePreview.items.description` (string)
        Description of the invoice item.
        Example: "Charge per approved transaction with DCC"
      - `invoicePreview.items.priceDescription` (string)
        Price description of the invoice item.
        Example: "50% of the markup for approved transactions"
      - `invoicePreview.items.unitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.quantity` (integer)
        Quantity of the invoice item.
      - `invoicePreview.items.period` (string,null)
        Date interval of the invoice item.
      - `invoicePreview.items.setupUnitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.trialUnitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.trialPeriod` (string,null)
        Date interval of the invoice item trial.
      - `invoicePreview.items.taxAmount` (number,null)
        Tax amount of the invoice item.
      - `invoicePreview.items.setupTaxAmount` (number,null)
        Tax amount of the setup that is applied to the invoice.
      - `invoicePreview.items.trialTaxAmount` (number,null)
        Tax amount of the trial that is applied to the invoice.
      - `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.
      - `issuedTime` (string,null)
        Date and time when the quote is issued.
      - `acceptedTime` (string,null)
        Date and time when the quote is accepted.
      - `rejectedTime` (string,null)
        Date and time when the quote is rejected.
      - `canceledTime` (string,null)
        Date and time when the quote is canceled.
      - `createdTime` (string)
        Date and time when the resource is created.
This value is set automatically when the resource is created.
      - `updatedTime` (string)
        Date and time when the resource is updated.
This value is set automatically when the resource is updated.
      - `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)
          - `amount` (number)
            Total amount of taxes.
          - `items` (array, required)
            Taxes applied.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
        - rebilly-taxjar:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-taxjar" (1 values)
          - `amount` (number)
            Total amount of taxes.
          - `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.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
        - rebilly-avalara:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-avalara" (1 values)
          - `amount` (number)
            Total amount of taxes.
          - `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.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
      - `couponIds` (array,null)
        Coupon ID.
      - `_links` (array)
        Related links.
      - `_links.href` (string)
        Link URL.
      - `_links.rel` (string)
        Type of link.
If the quote is issued, a customer can be redirected to the invoicePaymentFormUrl value
to pay the related invoice using one of the methods which are available to the customer.
        Enum: same as `_links.rel` in "creation" (3 values)
      - `_embedded` (object)
        Embedded objects that are requested by the expand query parameter.
      - `_embedded.customer` (object)
      - `_embedded.website` (object)
      - `_embedded.order` (object)
      - `_embedded.invoice` (object)
    - reactivation:
      - `id` (string)
        ID of the quote.
        Example: "qt_01HXBZMEGPETPHJZH6V4RHBMA8"
      - `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"
      - `acceptanceFulfillment` (array)
        List of acceptanceConditions with fulfillment status.
      - `acceptanceFulfillment.condition` (string)
        Enum: same as `acceptanceFulfillment.condition` in "creation" (3 values)
      - `acceptanceFulfillment.isFulfilled` (boolean)
      - `isNewOrder` (boolean)
        Specifies if the order is a new order.
        Example: true
      - `invoiceId` (string)
        ID of the payment invoice.
        Example: "in_0YVF9605RKC62BP14NE2R7V2XT"
      - `status` (string)
        Status of the quote.
        Enum: same as `status` in "creation" (6 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:
          - `id` (string)
            ID of the quote item.
            Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
          - `type` (string, required)
            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.
          - `quantityFilled` (number,null)
            Number of filled product units.
This field is not used for metered billing plans.
            Example: 5.125
          - `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
          - `createdTime` (string)
            Date and time when the resource is created.
This value is set automatically when the resource is created.
          - `updatedTime` (string)
            Date and time when the resource is updated.
This value is set automatically when the resource is updated.
        - one-time-sale:
          - `id` (string)
            ID of the quote item.
            Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
          - `type` (string, required)
            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"
          - `createdTime` (string)
            Date and time when the resource is created.
This value is set automatically when the resource is created.
          - `updatedTime` (string)
            Date and time when the resource is updated.
This value is set automatically when the resource is updated.
      - `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"
          - `amount` (number)
            Shipping amount which is calculated from [Shipping rates](https://www.rebilly.com/catalog/all/shipping-rates).
      - `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"
        - `hash` (string)
          Hash value for the contact.
Use this value to compare contacts for identical attribute values.
          Example: "056ae6d97c788b9e98b049ebafd7b229bf852221"
      - `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"
        - `hash` (string)
          Hash value for the contact.
Use this value to compare contacts for identical attribute values.
          Example: "056ae6d97c788b9e98b049ebafd7b229bf852221"
      - `invoicePreview` (object)
        Preview of the quote invoice.
      - `invoicePreview.currency` (string)
        Currency of the invoice.
      - `invoicePreview.initialAmounts` (object)
        Total amounts of the initial invoice.
      - `invoicePreview.initialAmounts.amount` (number)
        Amount of the invoice.
      - `invoicePreview.initialAmounts.subtotalAmount` (number)
        Subtotal amount of the invoice.
      - `invoicePreview.initialAmounts.discountAmount` (number)
        Discount amount that is applied to the invoice.
      - `invoicePreview.initialAmounts.shippingAmount` (number)
        Shipping amount that is applied to the invoice.
      - `invoicePreview.initialAmounts.taxAmount` (number)
        Tax amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts` (object,null)
        Total amounts of the recurring invoice.
This includes recurring items only.
If the quote does not have recurring items, the value of this field is null.
      - `invoicePreview.recurringAmounts.amount` (number)
        Amount of the invoice.
      - `invoicePreview.recurringAmounts.subtotalAmount` (number)
        Subtotal amount of the invoice.
      - `invoicePreview.recurringAmounts.discountAmount` (number)
        Discount amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts.shippingAmount` (number)
        Shipping amount that is applied to the invoice.
      - `invoicePreview.recurringAmounts.taxAmount` (number)
        Tax amount that is applied to the invoice.
      - `invoicePreview.items` (array)
        Invoice items.
      - `invoicePreview.items.quoteItemId` (string)
        ID of the related quote item.
        Example: "qt_itm_01HXCEQNR3F1G2A6RX6HPS3KFY"
      - `invoicePreview.items.type` (string)
        Type of the invoice item.
        Enum: same as `invoicePreview.items.type` in "creation" (2 values)
      - `invoicePreview.items.name` (string)
        Name of the invoice item.
      - `invoicePreview.items.description` (string)
        Description of the invoice item.
        Example: "Charge per approved transaction with DCC"
      - `invoicePreview.items.priceDescription` (string)
        Price description of the invoice item.
        Example: "50% of the markup for approved transactions"
      - `invoicePreview.items.unitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.quantity` (integer)
        Quantity of the invoice item.
      - `invoicePreview.items.period` (string,null)
        Date interval of the invoice item.
      - `invoicePreview.items.setupUnitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.trialUnitPrice` (number,null)
        Unit price of the invoice item.
      - `invoicePreview.items.trialPeriod` (string,null)
        Date interval of the invoice item trial.
      - `invoicePreview.items.taxAmount` (number,null)
        Tax amount of the invoice item.
      - `invoicePreview.items.setupTaxAmount` (number,null)
        Tax amount of the setup that is applied to the invoice.
      - `invoicePreview.items.trialTaxAmount` (number,null)
        Tax amount of the trial that is applied to the invoice.
      - `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.
      - `issuedTime` (string,null)
        Date and time when the quote is issued.
      - `acceptedTime` (string,null)
        Date and time when the quote is accepted.
      - `rejectedTime` (string,null)
        Date and time when the quote is rejected.
      - `canceledTime` (string,null)
        Date and time when the quote is canceled.
      - `createdTime` (string)
        Date and time when the resource is created.
This value is set automatically when the resource is created.
      - `updatedTime` (string)
        Date and time when the resource is updated.
This value is set automatically when the resource is updated.
      - `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)
          - `amount` (number)
            Total amount of taxes.
          - `items` (array, required)
            Taxes applied.
          - `items.amount` (number, required)
            Amount of the tax.
          - `items.description` (string, required)
            Description of the tax.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
        - rebilly-taxjar:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-taxjar" (1 values)
          - `amount` (number)
            Total amount of taxes.
          - `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.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
        - rebilly-avalara:
          - `calculator` (string, required)
            Type of tax calculator.
            Enum: same as `calculator` in "rebilly-avalara" (1 values)
          - `amount` (number)
            Total amount of taxes.
          - `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.
          - `items.rate` (number,null)
            Overall sales tax rate which includes state, county, city and district tax.
          - `items.stateAmount` (number,null)
            Amount of sales tax to collect for the state.
            Example: 0.94
          - `items.countyAmount` (number,null)
            Amount of sales tax to collect for the county.
            Example: 0.04
          - `items.cityAmount` (number,null)
            Amount of sales tax to collect for the city.
          - `items.specialDistrictAmount` (number,null)
            Amount of sales tax to collect for the special district.
            Example: 0.38
          - `items.stateRate` (number,null)
            State sales tax rate for given location.
          - `items.countyRate` (number,null)
            County sales tax rate for given location.
          - `items.cityRate` (number,null)
            City sales tax rate for given location.
          - `items.specialDistrictRate` (number,null)
            Special district sales tax rate for given location.
          - `items.jurisdictions` (object,null)
            Jurisdiction names for the invoice.
          - `items.jurisdictions.country` (string,null)
            Two-letter ISO country code for the provided location.
            Example: "US"
          - `items.jurisdictions.state` (string,null)
            Postal abbreviated state name for the provided location.
            Example: "CA"
          - `items.jurisdictions.county` (string,null)
            County name for the provided location.
            Example: "LOS ANGELES"
          - `items.jurisdictions.city` (string,null)
            City name for the provided location.
            Example: "LOS ANGELES"
      - `couponIds` (array,null)
        Coupon ID.
      - `_links` (array)
        Related links.
      - `_links.href` (string)
        Link URL.
      - `_links.rel` (string)
        Type of link.
If the quote is issued, a customer can be redirected to the invoicePaymentFormUrl value
to pay the related invoice using one of the methods which are available to the customer.
        Enum: same as `_links.rel` in "creation" (3 values)
      - `_embedded` (object)
        Embedded objects that are requested by the expand query parameter.
      - `_embedded.customer` (object)
      - `_embedded.website` (object)
      - `_embedded.order` (object)
      - `_embedded.invoice` (object)

## Response 401 fields (application/json):

  - `status` (integer)
    HTTP status code.

  - `type` (string)
    Problem type in the form of a [URI](https://tools.ietf.org/html/rfc3986) reference.
It should provide human-readable documentation for the problem type.
When this member is not present, its value is assumed to be "about:blank".

  - `title` (string)
    Short, human-readable summary of the problem type.
Other than for the purposes of localization, this should not change from occurrence to occurrence of the problem.

  - `detail` (string)
    Human-readable explanation that is specific to this occurrence of the problem.

  - `instance` (string)
    URI reference that identifies the specific occurrence of the problem.
It may or may not yield further information if dereferenced.

## Response 403 fields (application/json):

  - `status` (integer)
    HTTP status code.

  - `type` (string)
    Problem type in the form of a [URI](https://tools.ietf.org/html/rfc3986) reference.
It should provide human-readable documentation for the problem type.
When this member is not present, its value is assumed to be "about:blank".

  - `title` (string)
    Short, human-readable summary of the problem type.
Other than for the purposes of localization, this should not change from occurrence to occurrence of the problem.

  - `detail` (string)
    Human-readable explanation that is specific to this occurrence of the problem.

  - `instance` (string)
    URI reference that identifies the specific occurrence of the problem.
It may or may not yield further information if dereferenced.

## Response 404 fields (application/json):

  - `status` (integer)
    HTTP status code.

  - `type` (string)
    Problem type in the form of a [URI](https://tools.ietf.org/html/rfc3986) reference.
It should provide human-readable documentation for the problem type.
When this member is not present, its value is assumed to be "about:blank".

  - `title` (string)
    Short, human-readable summary of the problem type.
Other than for the purposes of localization, this should not change from occurrence to occurrence of the problem.

  - `detail` (string)
    Human-readable explanation that is specific to this occurrence of the problem.

  - `instance` (string)
    URI reference that identifies the specific occurrence of the problem.
It may or may not yield further information if dereferenced.

## Response 409 fields (application/json):

  - `status` (integer)
    HTTP status code.

  - `type` (string)
    Problem type in the form of a [URI](https://tools.ietf.org/html/rfc3986) reference.
It should provide human-readable documentation for the problem type.
When this member is not present, its value is assumed to be "about:blank".

  - `title` (string)
    Short, human-readable summary of the problem type.
Other than for the purposes of localization, this should not change from occurrence to occurrence of the problem.

  - `detail` (string)
    Human-readable explanation that is specific to this occurrence of the problem.

  - `instance` (string)
    URI reference that identifies the specific occurrence of the problem.
It may or may not yield further information if dereferenced.

## Response 429 fields (application/json):

  - `type` (string)
    Problem type in the form of a [URI](https://tools.ietf.org/html/rfc3986) reference.
It should provide human-readable documentation for the problem type.
When this member is not present, its value is assumed to be "about:blank".
    Example: "about:blank"

  - `title` (string)
    Short, human-readable summary of the problem type.
Other than for the purposes of localization, this should not change from occurrence to occurrence of the problem.
    Example: "Rate Limit Exceeded"

  - `status` (integer)
    HTTP status code.

  - `detail` (string)
    Human-readable explanation that is specific to this occurrence of the problem.
    Example: "A request cannot be executed because the user has sent too many requests within a certain period of time"

  - `instance` (string)
    URI reference that identifies the specific occurrence of the problem.
It may or may not yield further information if dereferenced.


