Order

Document representing an order.

CommerceE-CommerceHeadless CommerceSalesforceB2C CommerceB2B CommerceDemandware

Properties

Name Type Description
adjustedMerchandizeTotalTax number The total tax on products in the order, including price adjustments, but not including service charges such as shipping.
adjustedShippingTotalTax number The total tax on shipping charges in the order, including shipping price adjustments.
affiliatePartnerId string The affiliate partner ID.
affiliatePartnerName string The affiliate partner name.
billingAddress object The billing address.
bonusDiscountLineItems array The bonus discount line items.
businessType string The business type.
cancelCode string The cancellation code.
cancelDescription string The cancellation description.
channelType string The sales channel.
confirmationStatus object
couponItems array The coupon items.
createdBy string This value depends on how the order was created. If a shopper created the order, this value is Customer. If a job created the order, this value is System. Otherwise, this value is the name of the user
creationDate string The timestamp when the order was created.
customerLocale string The locale of the customer who created the order.
currency object
customerInfo object
customerOrderReference string The customer-specific reference information.
exportStatus object
externalOrderNo string The external order number associated with the order.
externalOrderStatus string The status from an external order associated with this order.
externalOrderText string The text from an external order associated with this order.
giftCertificateItems array The gift certificate line items.
globalPartyId string The Customer 360 Global Party ID associated with the shopper.
invoiceNo string The invoice number.
lastModified string The timestamp when the order was last modified.
merchandizeTotalTax number The total tax on products in the order, not including price adjustments or service charges such as shipping.
orderNo object
orderPriceAdjustments array The order-level price adjustments.
orderTotal number The total price, including products, shipping and, tax.
paymentInstruments array The payment instruments list.
paymentStatus object
placeDate string The timestamp when the order was placed.
productItems array The product items.
productSubTotal number The total price of all products including item-level adjustments, but not including order-level adjustments or shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation
productTotal number The total price of all products including adjustments, but not including shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.
remoteHost string The IP of the host that placed this order. You can turn IP logging on or off for your site.
shipments array The shipments.
shippingItems array The shipping items.
shippingStatus object
shippingTotal number The total price of all shipping charges, including shipping adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.
shippingTotalTax number The total tax on all shipping charges, not including shipping adjustments.
siteId object
sourceCode string The source code assigned to the basket from which this order was created.
sourceCodeGroupId string The group ID of the source code assigned to the basket from which this order was created.
status object
taxTotal number The total tax amount.
taxation string The taxation policy (gross or net).
View JSON Schema on GitHub

JSON Schema

salesforce-commerce-cloud-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-order-schema.json",
  "title": "Order",
  "description": "Document representing an order.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-orders-api-openapi.yml#/components/schemas/Order",
  "additionalProperties": {
    "title": "Additional Property Support",
    "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
  },
  "required": [
    "orderNo"
  ],
  "properties": {
    "adjustedMerchandizeTotalTax": {
      "format": "double",
      "description": "The total tax on products in the order, including price adjustments, but not including service charges such as shipping.",
      "type": "number"
    },
    "adjustedShippingTotalTax": {
      "format": "double",
      "description": "The total tax on shipping charges in the order, including shipping price adjustments.",
      "type": "number"
    },
    "affiliatePartnerId": {
      "maxLength": 256,
      "description": "The affiliate partner ID.",
      "type": "string"
    },
    "affiliatePartnerName": {
      "maxLength": 256,
      "description": "The affiliate partner name.",
      "type": "string"
    },
    "billingAddress": {
      "description": "The billing address.",
      "allOf": [
        {
          "$ref": "#/$defs/Address"
        }
      ]
    },
    "bonusDiscountLineItems": {
      "description": "The bonus discount line items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/BonusDiscountLineItem"
      }
    },
    "businessType": {
      "description": "The business type.",
      "enum": [
        "b2c",
        "b2b"
      ],
      "type": "string"
    },
    "cancelCode": {
      "maxLength": 256,
      "description": "The cancellation code.",
      "type": "string"
    },
    "cancelDescription": {
      "maxLength": 4000,
      "description": "The cancellation description.",
      "type": "string"
    },
    "channelType": {
      "description": "The sales channel.",
      "enum": [
        "storefront",
        "callcenter",
        "marketplace",
        "dss",
        "store",
        "pinterest",
        "twitter",
        "facebookads",
        "subscriptions",
        "onlinereservation",
        "customerservicecenter",
        "instagramcommerce",
        "tiktok",
        "snapchat",
        "google",
        "whatsapp",
        "youtube"
      ],
      "type": "string"
    },
    "confirmationStatus": {
      "$ref": "#/$defs/OrderConfirmationStatus"
    },
    "couponItems": {
      "description": "The coupon items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CouponItem"
      }
    },
    "createdBy": {
      "maxLength": 256,
      "description": "This value depends on how the order was created. If a shopper created the order, this value is Customer. If a job created the order, this value is System. Otherwise, this value is the name of the user who created the order.",
      "type": "string"
    },
    "creationDate": {
      "description": "The timestamp when the order was created.",
      "type": "string",
      "format": "date-time"
    },
    "customerLocale": {
      "maxLength": 256,
      "description": "The locale of the customer who created the order.",
      "type": "string"
    },
    "currency": {
      "$ref": "#/$defs/CurrencyCode"
    },
    "customerInfo": {
      "$ref": "#/$defs/CustomerInfo"
    },
    "customerOrderReference": {
      "maxLength": 256,
      "description": "The customer-specific reference information.",
      "type": "string"
    },
    "exportStatus": {
      "$ref": "#/$defs/OrderExportStatus"
    },
    "externalOrderNo": {
      "maxLength": 256,
      "description": "The external order number associated with the order.",
      "type": "string"
    },
    "externalOrderStatus": {
      "maxLength": 256,
      "description": "The status from an external order associated with this order.",
      "type": "string"
    },
    "externalOrderText": {
      "maxLength": 4000,
      "description": "The text from an external order associated with this order.",
      "type": "string"
    },
    "giftCertificateItems": {
      "description": "The gift certificate line items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/GiftCertificateItem"
      }
    },
    "globalPartyId": {
      "maxLength": 256,
      "description": "The Customer 360 Global Party ID associated with the shopper.",
      "type": "string"
    },
    "invoiceNo": {
      "maxLength": 256,
      "description": "The invoice number.",
      "type": "string"
    },
    "lastModified": {
      "description": "The timestamp when the order was last modified.",
      "type": "string",
      "format": "date-time"
    },
    "merchandizeTotalTax": {
      "format": "double",
      "description": "The total tax on products in the order, not including price adjustments or service charges such as shipping.",
      "type": "number"
    },
    "orderNo": {
      "$ref": "#/$defs/OrderNo"
    },
    "orderPriceAdjustments": {
      "description": "The order-level price adjustments.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PriceAdjustment"
      }
    },
    "orderTotal": {
      "format": "double",
      "description": "The total price, including products, shipping and, tax.",
      "type": "number"
    },
    "paymentInstruments": {
      "description": "The payment instruments list.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PaymentInstrument"
      }
    },
    "paymentStatus": {
      "$ref": "#/$defs/OrderPaymentStatus"
    },
    "placeDate": {
      "description": "The timestamp when the order was placed.",
      "type": "string",
      "format": "date-time"
    },
    "productItems": {
      "description": "The product items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProductItem"
      }
    },
    "productSubTotal": {
      "format": "double",
      "description": "The total price of all products including item-level adjustments, but not including order-level adjustments or shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
      "type": "number"
    },
    "productTotal": {
      "format": "double",
      "description": "The total price of all products including adjustments, but not including shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
      "type": "number"
    },
    "remoteHost": {
      "maxLength": 40,
      "description": "The IP of the host that placed this order. You can turn IP logging on or off for your site.",
      "type": "string"
    },
    "shipments": {
      "description": "The shipments.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Shipment"
      }
    },
    "shippingItems": {
      "description": "The shipping items.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ShippingItem"
      }
    },
    "shippingStatus": {
      "$ref": "#/$defs/OrderShippingStatus"
    },
    "shippingTotal": {
      "format": "double",
      "description": "The total price of all shipping charges, including shipping adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
      "type": "number"
    },
    "shippingTotalTax": {
      "format": "double",
      "description": "The total tax on all shipping charges, not including shipping adjustments.",
      "type": "number"
    },
    "siteId": {
      "$ref": "#/$defs/SiteId"
    },
    "sourceCode": {
      "maxLength": 256,
      "description": "The source code assigned to the basket from which this order was created.",
      "type": "string"
    },
    "sourceCodeGroupId": {
      "minLength": 1,
      "maxLength": 256,
      "description": "The group ID of the source code assigned to the basket from which this order was created.",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/OrderStatus"
    },
    "taxTotal": {
      "format": "double",
      "description": "The total tax amount.",
      "type": "number"
    },
    "taxation": {
      "description": "The taxation policy (gross or net).",
      "enum": [
        "gross",
        "net"
      ],
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "ABTestSegment": {
      "description": "Document representing an AB test segment. In an AB test that compares different customer experiences, a segment defines the customers who receive a particular experience.",
      "additionalProperties": false,
      "properties": {
        "testId": {
          "minLength": 1,
          "maxLength": 40,
          "description": "The ID of the associated AB test.",
          "type": "string"
        },
        "segmentId": {
          "minLength": 1,
          "maxLength": 40,
          "description": "The ID of the segment.",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "testId",
        "segmentId"
      ]
    },
    "Address": {
      "description": "Document representing an order address.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "properties": {
        "address1": {
          "maxLength": 256,
          "description": "The first address line.",
          "type": "string"
        },
        "address2": {
          "maxLength": 256,
          "description": "The second address line.",
          "type": "string"
        },
        "city": {
          "maxLength": 256,
          "description": "The city.",
          "type": "string"
        },
        "companyName": {
          "maxLength": 256,
          "description": "The company name.",
          "type": "string"
        },
        "countryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "firstName": {
          "maxLength": 256,
          "description": "The first name.",
          "type": "string"
        },
        "fullName": {
          "maxLength": 256,
          "description": "The full name.",
          "type": "string"
        },
        "jobTitle": {
          "maxLength": 256,
          "description": "The job title.",
          "type": "string"
        },
        "lastName": {
          "maxLength": 256,
          "description": "The last name.",
          "type": "string"
        },
        "phone": {
          "maxLength": 256,
          "description": "The phone number.",
          "type": "string"
        },
        "postBox": {
          "maxLength": 256,
          "description": "The post office box.",
          "type": "string"
        },
        "postalCode": {
          "maxLength": 256,
          "description": "The postal code.",
          "type": "string"
        },
        "salutation": {
          "maxLength": 256,
          "description": "The salutation.",
          "type": "string"
        },
        "secondName": {
          "maxLength": 256,
          "description": "The second name.",
          "type": "string"
        },
        "stateCode": {
          "maxLength": 256,
          "description": "The state code.",
          "type": "string"
        },
        "suffix": {
          "maxLength": 256,
          "description": "The suffix.",
          "type": "string"
        },
        "suite": {
          "maxLength": 256,
          "description": "The suite.",
          "type": "string"
        },
        "title": {
          "maxLength": 256,
          "description": "The title.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "BonusDiscountLineItem": {
      "description": "Document representing a bonus discount line item.",
      "properties": {
        "bonusProducts": {
          "description": "The bonus products from which the customer can choose.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductReference"
          }
        },
        "couponCode": {
          "maxLength": 256,
          "description": "The coupon code that triggered the promotion, if applicable.",
          "type": "string"
        },
        "id": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the line item.",
          "type": "string"
        },
        "maxBonusItems": {
          "format": "int32",
          "description": "The maximum number of bonus items the user can select for this promotion.",
          "type": "integer"
        },
        "promotionId": {
          "maxLength": 256,
          "description": "The ID of the promotion that triggered the creation of the line item.",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "CountryCode": {
      "pattern": "^[A-Z][A-Z]$",
      "description": "A two letter uppercase country code conforming to the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) alpha-2 standard.",
      "type": "string"
    },
    "CouponItem": {
      "description": "Document representing a coupon item.",
      "additionalProperties": false,
      "properties": {
        "code": {
          "maxLength": 256,
          "description": "The coupon code.",
          "type": "string"
        },
        "couponItemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The coupon item ID.",
          "type": "string"
        },
        "statusCode": {
          "description": "The status of the coupon item.",
          "enum": [
            "coupon_code_already_in_basket",
            "coupon_code_already_redeemed",
            "coupon_code_unknown",
            "coupon_disabled",
            "redemption_limit_exceeded",
            "customer_redemption_limit_exceeded",
            "timeframe_redemption_limit_exceeded",
            "no_active_promotion",
            "coupon_already_in_basket",
            "no_applicable_promotion",
            "applied",
            "adhoc"
          ],
          "type": "string"
        },
        "valid": {
          "description": "A flag indicating whether the coupon item is valid. A coupon line item is valid if the status code is \"applied\" or \"no_applicable_promotion\".",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "CurrencyCode": {
      "description": "A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.",
      "pattern": "^([A-Z][A-Z][A-Z]|N/A)$",
      "type": "string"
    },
    "CustomerInfo": {
      "description": "Document representing a guest or logged-in customer.",
      "additionalProperties": false,
      "properties": {
        "customerId": {
          "maxLength": 100,
          "description": "The customer ID.",
          "type": "string"
        },
        "customerName": {
          "maxLength": 256,
          "description": "The customer name.",
          "type": "string"
        },
        "customerNo": {
          "maxLength": 100,
          "description": "The customer number.",
          "type": "string"
        },
        "email": {
          "maxLength": 256,
          "description": "The customer email address.",
          "type": "string"
        },
        "guest": {
          "description": "A flag indicating if the order was placed by a guest.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "Discount": {
      "description": "Document representing a discount.",
      "additionalProperties": false,
      "required": [
        "type"
      ],
      "properties": {
        "amount": {
          "format": "double",
          "description": "The discount amount for discount types that define specific discount amounts.",
          "type": "number"
        },
        "percentage": {
          "format": "double",
          "description": "The discount percent for discount types that define percentage discounts.",
          "type": "number"
        },
        "priceBookId": {
          "maxLength": 256,
          "description": "The ID of the price book for discount types that use a price book.",
          "type": "string"
        },
        "type": {
          "description": "The type of discount.",
          "enum": [
            "percentage",
            "fixed_price",
            "amount",
            "free",
            "price_book_price",
            "bonus",
            "total_fixed_price",
            "bonus_choice",
            "percentage_off_options"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "FraudDecisions": {
      "additionalProperties": false,
      "description": "Normalized fraud decisions for the order payment instrument.\nAll properties are optional and read only. The object is omitted entirely when no decisions are returned.\nThe values remain readable for historical orders.",
      "type": "object",
      "properties": {
        "preAuthorization": {
          "description": "The pre-authorization fraud decision used by the client to orchestrate checkout. Expected values are:\n- `NOT_REVIEWED`: the payment instrument was not reviewed pre-authorization.\n- `APPROVED`: the payment authorization can proceed.\n- `CHALLENGE`: the payment authorization should be challenged with additional verification (for example, a 3D Secure challenge) before it can proceed.\n- `DECLINED`: the payment authorization is declined.\n\nA custom value may also be returned. It is read only.",
          "maxLength": 256,
          "type": "string"
        },
        "postAuthorization": {
          "description": "The post-authorization fraud decision indicating whether the transaction is covered by a fraud guarantee. Expected values are:\n- `NOT_REVIEWED`: the transaction was not reviewed for a fraud guarantee.\n- `GUARANTEED`: the transaction is covered by a fraud guarantee.\n- `NOT_GUARANTEED`: the transaction is not covered by a fraud guarantee.\n- `PENDING`: the post-authorization fraud decision is still pending.\n\nA custom value may also be returned. It is read only.",
          "maxLength": 256,
          "type": "string"
        }
      }
    },
    "GiftCertificateItem": {
      "description": "A gift certificate item.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "properties": {
        "basePrice": {
          "format": "double",
          "description": "The base price of the line item, which is the unit price not including adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "grossPrice": {
          "format": "double",
          "description": "The gross price of the line item before applying any adjustments.",
          "type": "number"
        },
        "itemText": {
          "maxLength": 256,
          "description": "The text describing the item.",
          "type": "string"
        },
        "netPrice": {
          "format": "double",
          "description": "The net price of the line item before applying any adjustments.",
          "type": "number"
        },
        "tax": {
          "format": "double",
          "description": "The tax on the line item before applying any adjustments.",
          "type": "number"
        },
        "taxBasis": {
          "format": "double",
          "description": "The amount used to calculate the tax for this item.",
          "type": "number"
        },
        "giftCertificateMerchantId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID used to identify the certificate merchant.",
          "type": "string"
        },
        "giftCertificateItemId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The item ID.",
          "type": "string"
        },
        "message": {
          "maxLength": 4000,
          "description": "The gift certificate message.",
          "type": "string"
        },
        "recipientEmail": {
          "maxLength": 256,
          "description": "The recipient email.",
          "type": "string"
        },
        "recipientName": {
          "maxLength": 256,
          "description": "The recipient name.",
          "type": "string"
        },
        "senderName": {
          "maxLength": 256,
          "description": "The sender name.",
          "type": "string"
        },
        "shipmentId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the shipment to which this item belongs.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "OptionItem": {
      "description": "An option item represents an optional purchase related to a product item, and is always associated with the parent product item. For example, a refrigerator item can have a set of option items representing different warranties on the refrigerator. A shopper can only purchase one of the warranty option items together with the parent refrigerator item.",
      "properties": {
        "basePrice": {
          "format": "double",
          "description": "The base price of the line item, which is the unit price not including adjustments. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax.",
          "type": "number"
        },
        "grossPrice": {
          "format": "double",
          "description": "The gross price of the line item before applying any adjustments.",
          "type": "number"
        },
        "gift": {
          "description": "Returns true if the item is a gift.",
          "type": "boolean"
        },
        "itemText": {
          "maxLength": 256,
          "description": "The text describing the item.",
          "type": "string"
        },
        "netPrice": {
          "format": "double",
          "description": "The net price of the line item before applying any adjustments.",
          "type": "number"
        },
        "tax": {
          "format": "double",
          "description": "The tax on the line item before applying any adjustments.",
          "type": "number"
        },
        "taxBasis": {
          "format": "double",
          "description": "The amount used to calculate the tax for this item.",
          "type": "number"
        },
        "optionId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the option.",
          "type": "string"
        },
        "optionValueId": {
          "minLength": 1,
          "maxLength": 256,
          "description": "The ID of the option value.",
          "type": "string"
        },
        "priceAdjustments": {
          "description": "The price adjustments.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/PriceAdjustment"
          }
        },
        "productId": {
          "$ref": "#/$defs/ProductId"
        }
      },
      "type": "object",
      "required": [
        "productId"
      ],
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "OrderConfirmationStatus": {
      "description": "The order confirmation status.",
      "enum": [
        "confirmed",
        "not_confirmed"
      ],
      "type": "string"
    },
    "OrderExportStatus": {
      "description": "The order export status.",
      "enum": [
        "exported",
        "not_exported",
        "ready",
        "failed"
      ],
      "type": "string"
    },
    "OrderNo": {
      "description": "The order number",
      "minLength": 1,
      "maxLength": 50,
      "type": "string"
    },
    "OrderPaymentStatus": {
      "description": "The order payment status.",
      "enum": [
        "paid",
        "part_paid",
        "not_paid"
      ],
      "type": "string"
    },
    "OrderShippingStatus": {
      "description": "The order shipping status.",
      "enum": [
        "shipped",
        "part_shipped",
        "not_shipped"
      ],
      "type": "string"
    },
    "OrderStatus": {
      "description": "The order status.",
      "enum": [
        "created",
        "new",
        "completed",
        "cancelled",
        "failed"
      ],
      "type": "string"
    },
    "PaymentCard": {
      "description": "Document representing a payment card.",
      "additionalProperties": false,
      "properties": {
        "cardType": {
          "maxLength": 256,
          "description": "The payment card type (for example: Visa).",
          "type": "string"
        },
        "creditCardExpired": {
          "description": "A flag indicating if the credit card is expired.",
          "type": "boolean"
        },
        "creditCardToken": {
          "maxLength": 256,
          "description": "A credit card token. If a credit card is tokenized, the token can be used to look up the credit card data at the\ntoken store.",
          "type": "string"
        },
        "expirationMonth": {
          "minimum": 1,
          "maximum": 12,
          "format": "int32",
          "description": "The month when the payment card expires.",
          "type": "integer"
        },
        "expirationYear": {
          "format": "int32",
          "description": "The year when the payment card expires.",
          "type": "integer"
        },
        "holder": {
          "maxLength": 256,
          "description": "The payment card holder.",
          "type": "string"
        },
        "issueNumber": {
          "maxLength": 256,
          "description": "The payment card issue number.",
          "type": "string"
        },
        "maskedNumber": {
          "maxLength": 256,
          "description": "The masked payment card number. There may be a maximum of first 6 and last 4 digits.",
          "type": "string"
        },
        "numberLastDigits": {
          "maxLength": 4,
          "description": "The last digits of payment card number.",
          "type": "string"
        },
        "validFromMonth": {
          "minimum": 1,
          "maximum": 12,
          "format": "int32",
          "description": "The month from which the payment card is valid.",
          "type": "integer"
        },
        "validFromYear": {
          "format": "int32",
          "description": "The year from which the payment card is valid.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "PaymentDetails": {
      "additionalProperties": false,
      "description": "Normalized payment details for the order payment instrument.\nAll properties are optional and read only. The object is omitted entirely when no details are available for the payment.\nThe values remain readable for historical orders.",
      "type": "object",
      "properties": {
        "type": {
          "maxLength": 256,
          "description": "The normalized payment method type. Expected values are `bancontact`, `card`, `gift_card`, `eps`, `ideal`, `klarna`,\n`sepa_debit`, `paypal`, `venmo`, `afterpay_clearpay`, `amazon_pay`, and `twint`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "brand": {
          "maxLength": 20,
          "description": "The normalized card brand. Expected values are `amex`, `diners`, `discover`, `jcb`, `mastercard`,\n`unionpay`, `visa`, and `unknown`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "last4": {
          "maxLength": 4,
          "description": "The last four digits of the payment instrument. It is read only.",
          "type": "string"
        },
        "walletType": {
          "maxLength": 20,
          "description": "The normalized digital wallet used for the payment. Expected values are `apple_pay` and `google_pay`.\nA custom value may also be returned. It is read only.",
          "type": "string"
        },
        "expirationMonth": {
          "minimum": 1,
          "maximum": 12,
          "format": "int32",
          "description": "The month when the payment instrument expires. It is read only.",
          "type": "integer"
        },
        "expirationYear": {
          "format": "int32",
          "description": "The year when the payment instrument expires. It is read only.",
          "type": "integer"
        },
        "token": {
          "maxLength": 40,
          "description": "The reference token representing the payment instrument. This is an opaque\nidentifier, not the card number (PAN). It is read only.",
          "type": "string"
        },
        "tokenType": {
          "maxLength": 20,
          "description": "The type of token backing the reference token. Expected values are\n`NETWORK` and `GATEWAY`. A custom value may also be returned. It is read only.",
          "type": "string"
        },
        "accountHolderName": {
          "maxLength": 256,
          "description": "The name of the payment instrument account holder. It is read only.",
          "type": "string"
        },
        "bin": {
          "maxLength": 8,
          "description": "The bank identification number (BIN) of the payment card. It is read only.",
          "type": "string"
        },
        "dpanLast4": {
          "maxLength": 4,
          "description": "The last four digits of the device primary account number for a wallet-tokenized card. It is read only.",
          "type": "string"
        },
        "issuingCountry": {
          "maxLength": 2,
          "description": "The ISO 3166-1 alpha-2 country code of the issuing bank. It is read only.",
          "type": "string"
        },
        "fundingType": {
          "maxLength": 20,
          "description": "The normalized card funding type. Expected values are `CREDIT`, `DEBIT`, and `PREPAID`.\nA custom value may also be returned. It is read only.",
          "type": "string"
        }
      }
    },
    "PaymentInstrument": {
      "description": "Document representing an order payment instrument.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject

# --- truncated at 32 KB (63 KB total) ---
# Full source: https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-order-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/salesforce-commerce-cloud-order"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.