Salesforce Commerce Cloud · Schema
Basket
Document representing a basket.
CommerceE-CommerceHeadless CommerceSalesforceB2C CommerceB2B CommerceDemandware
Properties
| Name | Type | Description |
|---|---|---|
| adjustedMerchandizeTotalTax | number | The total tax on products in the shipment, including item-level price adjustments but not including service charges such as shipping. If the Discount Taxation preference is set to Tax Products and Shi |
| adjustedShippingTotalTax | number | The total tax on shipping charges in the shipment, including shipping price adjustments. It is read only. |
| agentBasket | boolean | Is the basket created by an agent? It is read only. |
| basketId | string | The unique identifier for the basket. It is read only. |
| billingAddress | object | The billing address. |
| bonusDiscountLineItems | array | The bonus discount line items. |
| channelType | string | The sales channel. It is read only. |
| couponItems | array | The coupon items. |
| creationDate | string | The timestamp when the basket was created. It is read only. |
| currency | object | |
| customerInfo | object | The customer information, if the customer is logged in. |
| giftCertificateItems | array | The gift certificate line items. |
| groupedTaxItems | array | Tax values that are grouped and summed based on the tax rate. The tax totals of the line items with the same tax rate are grouped together and summed up. This does not affect the calculation in any wa |
| inventoryReservationExpiry | string | The expiration datetime of the inventory reservation. It is read only. |
| lastModified | string | The timestamp when the basket was last modified. It is read only. |
| merchandizeTotalTax | number | The total products tax in the purchase currency. Merchandise total price represents the sum of the product prices before services (such as shipping) or adjustments from promotions have been added. It |
| orderPriceAdjustments | array | The order-level price adjustments. |
| orderTotal | number | The total price, including products, shipping and tax. It is read only. |
| paymentInstruments | array | The payment instruments list. |
| 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. It i |
| shipments | array | The shipments. |
| shippingItems | array | The shipping items. |
| 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. It is read only. |
| shippingTotalTax | number | The total tax on all shipping charges, not including shipping adjustments. It is read only. |
| sourceCode | string | The source code assigned to the basket. It is read only. |
| taxTotal | number | The total tax amount. It is read only. |
| taxation | string | The taxation policy (gross or net). It is read only. |
| taxRoundedAtGroup | boolean | If the tax is rounded at the group level, this is set to true. If the tax is rounded at the item or unit level, it is set to false. |
| temporaryBasket | boolean | If the created basket is a temporary basket, this is set to true. Otherwise, it is set to false. |
| approachingDiscounts | array | A list of approaching discount objects for the basket. The list includes both order-level and shipping-level promotions. This field is only included when the expand query parameter contains 'approachi |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-basket-schema.json",
"title": "Basket",
"description": "Document representing a basket.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/salesforce-commerce-cloud-shopper-baskets-api-openapi.yml#/components/schemas/Basket",
"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": {
"adjustedMerchandizeTotalTax": {
"format": "double",
"description": "The total tax on products in the shipment, including item-level price adjustments but not\nincluding service charges such as shipping. If the Discount Taxation preference is set to Tax\nProducts and Shipping Only Based on Adjusted Price, this amount also includes prorated\norder-level price adjustments. It is read only.",
"type": "number"
},
"adjustedShippingTotalTax": {
"format": "double",
"description": "The total tax on shipping charges in the shipment, including shipping price adjustments. It is read only.",
"type": "number"
},
"agentBasket": {
"description": "Is the basket created by an agent? It is read only.",
"type": "boolean"
},
"basketId": {
"description": "The unique identifier for the basket. It is read only.",
"type": "string"
},
"billingAddress": {
"description": "The billing address.",
"allOf": [
{
"$ref": "#/$defs/OrderAddress"
}
]
},
"bonusDiscountLineItems": {
"description": "The bonus discount line items.",
"type": "array",
"items": {
"$ref": "#/$defs/BonusDiscountLineItem"
}
},
"channelType": {
"description": "The sales channel. It is read only.",
"enum": [
"storefront",
"callcenter",
"marketplace",
"dss",
"store",
"pinterest",
"twitter",
"facebookads",
"subscriptions",
"onlinereservation",
"customerservicecenter",
"instagramcommerce",
"tiktok",
"snapchat",
"google",
"whatsapp",
"youtube",
"chatgpt",
"gemini"
],
"type": "string"
},
"couponItems": {
"description": "The coupon items.",
"type": "array",
"items": {
"$ref": "#/$defs/CouponItem"
}
},
"creationDate": {
"description": "The timestamp when the basket was created. It is read only.",
"type": "string",
"format": "date-time"
},
"currency": {
"$ref": "#/$defs/CurrencyCode"
},
"customerInfo": {
"description": "The customer information, if the customer is logged in.",
"allOf": [
{
"$ref": "#/$defs/CustomerInfo"
}
]
},
"giftCertificateItems": {
"description": "The gift certificate line items.",
"type": "array",
"items": {
"$ref": "#/$defs/GiftCertificateItem"
}
},
"groupedTaxItems": {
"description": "Tax values that are grouped and summed based on the tax rate. The tax totals of the line items with the same\ntax rate are grouped together and summed up. This does not affect the calculation in any way. It is read only.",
"type": "array",
"items": {
"$ref": "#/$defs/GroupedTaxItem"
}
},
"inventoryReservationExpiry": {
"description": "The expiration datetime of the inventory reservation. It is read only.",
"type": "string",
"format": "date-time"
},
"lastModified": {
"description": "The timestamp when the basket was last modified. It is read only.",
"type": "string",
"format": "date-time"
},
"merchandizeTotalTax": {
"format": "double",
"description": "The total products tax in the purchase currency.\nMerchandise total price represents the sum of the product prices before\nservices (such as shipping) or adjustments from promotions have\nbeen added. It is read only.",
"type": "number"
},
"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. It is read only.",
"type": "number"
},
"paymentInstruments": {
"description": "The payment instruments list.",
"type": "array",
"items": {
"$ref": "#/$defs/OrderPaymentInstrument"
}
},
"productItems": {
"description": "The product items.",
"type": "array",
"items": {
"$ref": "#/$defs/BasketProductItem"
}
},
"productSubTotal": {
"format": "double",
"description": "The total price of all products including item-level adjustments, but not including order-level adjustments or shipping\ncharges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax. It is read only.",
"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,\nit doesn't include tax. If the taxation policy is gross, it includes tax. It is read only.",
"type": "number"
},
"shipments": {
"description": "The shipments.",
"type": "array",
"items": {
"$ref": "#/$defs/Shipment"
}
},
"shippingItems": {
"description": "The shipping items.",
"type": "array",
"items": {
"$ref": "#/$defs/ShippingItem"
}
},
"shippingTotal": {
"format": "double",
"description": "The total price of all shipping charges, including shipping adjustments. If the taxation policy is net, it doesn't\ninclude tax. If the taxation policy is gross, it includes tax. It is read only.",
"type": "number"
},
"shippingTotalTax": {
"format": "double",
"description": "The total tax on all shipping charges, not including shipping adjustments. It is read only.",
"type": "number"
},
"sourceCode": {
"description": "The source code assigned to the basket. It is read only.",
"type": "string"
},
"taxTotal": {
"format": "double",
"description": "The total tax amount. It is read only.",
"type": "number"
},
"taxation": {
"description": "The taxation policy (gross or net). It is read only.",
"enum": [
"gross",
"net"
],
"type": "string"
},
"taxRoundedAtGroup": {
"description": "If the tax is rounded at the group level, this is set to true. If the tax is rounded at the item or unit level, it is set to false.",
"type": "boolean"
},
"temporaryBasket": {
"description": "If the created basket is a temporary basket, this is set to true. Otherwise, it is set to false.",
"type": "boolean"
},
"approachingDiscounts": {
"description": "A list of approaching discount objects for the basket. The list includes both order-level and shipping-level promotions. This field is only included when the expand query parameter contains 'approaching_discounts'.",
"type": "array",
"items": {
"$ref": "#/$defs/ApproachingDiscount"
}
}
},
"type": "object",
"$defs": {
"ApproachingDiscount": {
"description": "Document representing an approaching discount for a basket. Contains information about promotions the customer is close to qualifying for.",
"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."
},
"type": "object",
"properties": {
"type": {
"description": "The type of approaching discount (order-level or shipping-level).",
"enum": [
"order",
"shipping"
],
"type": "string"
},
"conditionThreshold": {
"format": "double",
"description": "The total amount needed to receive the discount.",
"type": "number"
},
"merchandiseTotal": {
"format": "double",
"description": "The amount the customer basket contributes towards the purchase condition.",
"type": "number"
},
"discount": {
"description": "The applied discount when the order meets the threshold.",
"allOf": [
{
"$ref": "#/$defs/Discount"
}
]
},
"promotionLink": {
"description": "Document representing a promotion link.",
"allOf": [
{
"$ref": "#/$defs/PromotionLink"
}
]
},
"shipmentId": {
"description": "The unique id of the shipment the discount relates to. Only applicable when type = shipping.",
"type": "string",
"minLength": 1,
"maxLength": 256
},
"shippingMethods": {
"description": "The shipping methods the promotion relates to. Only applicable when type = shipping.",
"type": "array",
"items": {
"$ref": "#/$defs/ShippingMethod"
}
}
},
"required": [
"type"
]
},
"BasketProductItem": {
"description": "Document representing a basket product item.",
"allOf": [
{
"$ref": "#/$defs/ProductItem"
}
]
},
"BonusDiscountLineItem": {
"description": "Document representing a bonus discount line 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."
},
"type": "object",
"properties": {
"bonusProducts": {
"description": "The bonus products the customer can choose from.",
"type": "array",
"items": {
"$ref": "#/$defs/ProductDetailsLink"
}
},
"couponCode": {
"description": "The coupon code that triggered the promotion, if applicable.",
"type": "string"
},
"id": {
"description": "The ID of the line item. It is read only.",
"type": "string"
},
"maxBonusItems": {
"format": "int32",
"description": "The maximum number of bonus items the user can select for this promotion.",
"type": "integer"
},
"promotionId": {
"description": "The ID of the promotion that triggered the creation of the line item.",
"type": "string"
}
}
},
"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.",
"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."
},
"properties": {
"code": {
"maxLength": 256,
"description": "The coupon code.",
"type": "string"
},
"couponItemId": {
"description": "The coupon item ID. It is read only.",
"allOf": [
{
"$ref": "#/$defs/CouponItemId"
}
]
},
"statusCode": {
"description": "The status of the coupon item. It is read only.",
"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\nthe status code is \"applied\" or \"no_applicable_promotion\". It is read only.",
"type": "boolean"
}
},
"required": [
"code"
]
},
"CouponItemId": {
"minLength": 1,
"type": "string",
"description": "The coupon item ID"
},
"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": {
"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."
},
"description": "The customer information for guest or logged-in customers.",
"type": "object",
"properties": {
"customerId": {
"maxLength": 100,
"description": "The customer ID. It is read only.",
"type": "string"
},
"customerName": {
"description": "The customer name.",
"type": "string"
},
"customerNo": {
"maxLength": 100,
"description": "The customer number.",
"type": "string"
},
"email": {
"description": "The customer's email address.",
"type": "string"
}
},
"required": [
"email"
]
},
"DeliveryWindow": {
"description": "The range describing when an item is expected to be delivered. Both bounds are RFC 3339 date-time timestamps. The API preserves sub-day precision end-to-end.",
"type": "object",
"properties": {
"startAt": {
"description": "The earliest expected delivery time, as an RFC 3339 date-time.",
"type": "string",
"format": "date-time"
},
"endAt": {
"description": "The latest expected delivery time, as an RFC 3339 date-time.",
"type": "string",
"format": "date-time"
}
}
},
"Discount": {
"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."
},
"description": "Document representing a discount.",
"type": "object",
"properties": {
"amount": {
"format": "double",
"description": "The discount amount for discount types that define specific discount amounts. It is read only.",
"type": "number"
},
"percentage": {
"format": "double",
"description": "The discount percent for discount types that define percentage discounts. It is read only.",
"type": "number"
},
"priceBookId": {
"description": "The price book ID that is used with some types. It is read only.",
"type": "string"
},
"type": {
"description": "The type of discount. It is read only.",
"enum": [
"percentage",
"fixed_price",
"amount",
"free",
"price_book_price",
"bonus",
"total_fixed_price",
"bonus_choice",
"percentage_off_options"
],
"type": "string"
}
},
"required": [
"type"
]
},
"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"
}
}
},
"GiftCardResponse": {
"additionalProperties": false,
"description": "Document representing a gift card response.",
"type": "object",
"properties": {
"brand": {
"maxLength": 256,
"description": "The gift card brand.",
"type": "string"
},
"maskedCardNumber": {
"maxLength": 40,
"description": "The masked gift card number.",
"type": "string"
},
"expirationMonth": {
"format": "int32",
"description": "The month when the gift card expires.",
"type": "integer"
},
"expirationYear": {
"format": "int32",
"description": "The year when the gift card expires.",
"type": "integer"
}
}
},
"GiftCertificateItem": {
"description": "A gift certificate item.",
"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."
},
"properties": {
"amount": {
"format": "double",
"description": "The gift certificate item amount.",
"type": "number"
},
"giftCertificateItemId": {
"description": "The item ID. It is read only.",
"allOf": [
{
"$ref": "#/$defs/GiftCertificateItemId"
}
]
},
"message": {
"maxLength": 4000,
"description": "The gift certificate message.",
"type": "string"
},
"recipientEmail": {
"minLength": 1,
"description": "The recipient email.",
"type": "string"
},
"recipientName": {
"description": "The recipient's name.",
"type": "string"
},
"senderName": {
"description": "The sender's name.",
"type": "string"
},
"shipmentId": {
"description": "The ID of the shipment this item belongs to.",
"type": "string"
}
},
"required": [
"amount",
"recipientEmail"
]
},
"GiftCertificateItemId": {
"type": "string",
"minLength": 1
},
"GroupedTaxItem": {
"description": "Document representing the grouped tax item.",
"type": "object",
"properties": {
"taxRate": {
"description": "The tax rate. It is read only.",
"type": "number",
"format": "double"
},
"taxValue": {
"description": "The summed up tax total for the tax rate. It is read only.",
"type": "number",
"format": "double"
}
},
"additionalProperties": false
},
"ItemId": {
"description": "The item id.",
"type": "string"
},
"OptionItem": {
"description": "An option item represents an optional purchase related to a product item, and is always associated with that parent product\nitem. An option item can have different values from which to select. For example, a refrigerator item can have an option item representing an extended warranty, with a set of option item values representing different warranty lengths. When a shopper purchases the warranty option item together with the parent refrigerator item, they select one of the available warranty option item values.",
"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."
},
"properties": {
"adjustedTax": {
"format": "double",
"description": "The tax on the line item, including any adjustments. It is read only.",
"type": "number"
},
"basePrice": {
"format": "double",
"description": "The base price of the line item, which is the unit price not including adjustments.\nIf the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax. It is read only.",
"type": "number"
},
"bonusDiscountLineItemId": {
"description": "The ID of the bonus discount line item this bonus product relates to. It is read only.",
"type": "string"
},
"bonusProductLineItem": {
"description": "A flag indicating whether the product item is a bonus. It is read only.",
"type": "boolean"
},
"bundledProductItems": {
"description": "The bundled product items.",
"type": "array",
"items": {
"$ref": "#/$defs/ProductItem"
}
},
"gift": {
"description": "Returns true if the item is a gift. It is read only.",
"type": "boolean"
},
"giftMessage": {
"description": "The gift message.",
"type": "string"
},
"inventoryId": {
"maxLength": 256,
"description": "The inventory list ID associated with this item. It is read only.",
"type": "string"
},
"itemId": {
"description": "The product item ID. Use it to identify this item when updating its quantity or creating a custom price adjustment for it. It is read only.",
"allOf": [
{
"$ref": "#/$defs/ItemId"
}
]
},
"itemText": {
"description": "The text describing the item.",
"type": "string"
},
"optionId": {
"maxLength": 256,
"description": "The ID of the option. It is read only.",
"type": "string"
},
"optionItems": {
"description": "The option items.",
"type": "array",
"items": {
"$ref": "#/$defs/OptionItem"
}
},
"optionValueId": {
"maxLength": 256,
"description": "The ID of the option value. It is read only.",
"type": "string"
},
"price": {
"format": "double",
"description": "The price of the line item before applying any adjustments. If the taxation policy is net, it doesn't include tax.\nIf the taxation policy is gross, it includes tax. It is read only.",
"type": "number"
},
"priceAdjustments": {
"description": "The price adjustments.",
"type": "array",
"items": {
"$ref": "#/$defs/PriceAdjustment"
}
},
"priceAfterItemDiscount": {
"format": "double",
"description": "The price of the product line item including item-level adjustments, but not including order-level adjustments or\nshipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it includes tax. It is read only.",
"type": "number"
},
"priceAfterOrderDiscount": {
"format": "double",
"description": "The price of the product line item including item-level adjustments and prorated order-level adjustments, but not\nincluding shipping charges. If the taxation policy is net, it doesn't include tax. If the taxation policy is gross, it\nincludes tax. It is read only.",
"type": "number"
},
"productId": {
"$ref": "#/$defs/ProductId"
},
"productListItem": {
"description": "If this product line item was added from a product list, this value is a reference to the corresponding product list item.",
"allOf": [
{
"$ref": "#/$defs/ProductListItemReference"
}
]
},
"productName": {
"description": "The name of the product.",
"type": "string"
},
"quantity": {
"minimum": 0,
"format": "double",
"description": "The ordered quantity of the products represented by this item.",
"type": "number"
},
"shipmentId": {
"description": "The ID of the shipment this item belongs to.",
"type": "string"
},
"shippingItemId": {
"description": "If the product line item has a related shipping item, this value is its ID. A related shipping item represents a\nsurcharge applied to individual products using a particular shipping method. It is read only.",
"type": "string"
},
"tax": {
"format": "double",
"description": "The tax on the line item before applying any adjustments. It is read only.",
"type": "number"
},
"taxBasis": {
"format": "double",
"description": "The amount used to calculate the tax for this item. It is read only.",
"type": "number"
},
"taxClassId": {
"description": "The tax class ID for the product item, or null\nif no tax class ID is associated with the product item. It is read only.",
"type": "string"
},
"taxRate": {
"format": "double",
"description": "The tax rate, which is the decimal tax rate to be applied\nto the product represented by this item. It is read only.",
"type": "number"
}
},
"required": [
"optionId",
"optionValueId"
]
},
"OrderAddress": {
"description": "Document representing an order address.",
"properties": {
"address1": {
"description": "The first address line.",
"type": "string"
},
"address2": {
"description": "The second address line.",
"type": "string"
},
"city": {
"description": "The city.",
"type": "string"
},
"companyName": {
"description": "The company name.",
"type": "string"
},
"countryCode": {
"$ref": "#/$defs/CountryCode"
},
"firstName": {
"description": "The first name.",
"type": "string"
},
"fullName": {
"description": "The full name.",
"type": "string"
},
"id": {
"description": "The ID of the address.",
"type": "string"
},
"jobTitle": {
"description": "The job title.",
"type": "string"
},
"lastName": {
"description": "The last name.",
"type": "string"
},
"phone": {
"description": "The phone number.",
"type": "string"
},
"postBox": {
"description": "The post office box.",
"type": "string"
},
"postalCode": {
"description": "The postal code.",
"type": "string"
},
"salutation": {
"description": "The salutation.",
"type": "string"
},
"secondName": {
"description": "The second name.",
"type": "string"
},
"stateCode": {
"description": "The state code.",
"type": "string"
},
"suffix": {
"description": "The suffix.",
"type": "string"
},
"suite": {
"description": "The suite.",
"type": "string"
},
"title": {
"description": "The title.",
"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."
}
},
"OrderPaymentInstrument": {
"description": "Document representing an order payment instrument.",
"type": "object",
"properties": {
"amount": {
"format": "double",
"description": "The payment transaction amount.",
"type": "number"
},
"authorizationStatus": {
"description": "The authorization status of the payment transaction. It is read only.",
"allOf": [
{
"$ref": "#/$defs/Status"
}
]
},
"bankRoutingNumber": {
"maxLength": 256,
"description": "The bank routing number.",
"type": "string"
},
"fraudDecisions": {
"description": "The normalized fraud decisions for the order payment instrument. It is read only.\nOmitted when no decisions are returned.",
"allOf": [
{
"$ref": "#/$defs/FraudDecisions"
}
]
},
"maskedGiftCertificateCode": {
"descript
# --- truncated at 32 KB (70 KB total) ---
# Full source: https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-basket-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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/salesforce-commerce-cloud-basket"
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.