Skip to content

Latest commit

 

History

History
68 lines (39 loc) · 1.47 KB

cart.schema.md

File metadata and controls

68 lines (39 loc) · 1.47 KB

Cart Schema

https://ns.adobe.com/xdm/datatypes/cart

Cart-specific properties

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental No Forbidden Permitted datatypes/cart.schema.json

Cart Example

{
  "xdm:cartID": "abc123",
  "xdm:cartSource": "detail page"
}

Cart Properties

Property Type Required Defined by
xdm:cartID string Optional Cart (this schema)
xdm:cartSource string Optional Cart (this schema)
* any Additional this schema allows additional properties

xdm:cartID

Cart ID

Unique identifier assigned by the seller for the cart.

xdm:cartID

  • is optional
  • type: string
  • defined in this schema

xdm:cartID Type

string

xdm:cartSource

Cart Source

Where one or more products was added to the cart from.

xdm:cartSource

  • is optional
  • type: string
  • defined in this schema

xdm:cartSource Type

string