BigCommerce · Schema

Applied Discount

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Properties

Name Type Description
id object ID of the applied discount.
discounted_amount number The discounted amount.
View JSON Schema on GitHub

JSON Schema

bigcommerce-applieddiscount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AppliedDiscount",
  "title": "Applied Discount",
  "type": "object",
  "properties": {
    "id": {
      "description": "ID of the applied discount.",
      "example": "coupon",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "discounted_amount": {
      "type": "number",
      "description": "The discounted amount."
    }
  },
  "x-internal": false
}