Root Schema : cancelOrder_response
Type: object
Show Source
{
"properties":{
"result":{
"description":"The result of the cancel operation performed.",
"type":"string"
},
"order":{
"properties":{
"shippingGroups":{
"description":"The shipping groups in the order.",
"type":"array",
"items":{
"type":"object",
"properties":{
"priceInfo":{
"description":"Price information of the order.",
"type":"object",
"properties":{
"amount":{
"description":"Amount of order.",
"type":"number",
"example":179
},
"total":{
"description":"Total amount of order.",
"type":"number",
"example":204.06
},
"shipping":{
"description":"Shipping price of order.",
"type":"number",
"example":6.5
},
"primaryCurrencyTotal":{
"description":"The current total in loyalty points in case of multi currency",
"type":"number",
"example":204.06
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"tax":{
"description":"Tax.",
"type":"number",
"example":18.56
},
"subTotal":{
"description":"Sub total.",
"type":"number",
"example":179
},
"currencyCode":{
"description":"Currency code for currency being used.",
"type":"string",
"example":"USD"
},
"totalWithoutTax":{
"description":"The total without including tax.",
"type":"string",
"example":185.5
}
}
},
"discountInfo":{
"description":"Discount Information",
"type":"object",
"properties":{
"orderDiscount":{
"description":"Order Discount",
"type":"number",
"example":0
},
"shippingDiscount":{
"description":"Shipping Discount",
"type":"number",
"example":0
},
"discountDescList":{
"description":"The list of all the order discounts.",
"type":"array",
"items":{
"type":"object",
"properties":{
"promotionName":{
"description":"The display name of the promotion.",
"type":"string",
"example":"Free Tattoo"
},
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"coupon":{
"description":"The coupon code.",
"type":"string",
"example":"FREETATTOO"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Explicit Item Discount - FREETATTOO"
},
"promotionId":{
"description":"The promotion ID.",
"type":"string",
"example":"explicitItemFreeDiscount"
}
}
}
},
"orderImplicitDiscountList":{
"description":"Implicit Promotions for the order",
"type":"array",
"items":{
"type":"object",
"properties":{
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Implicit Item Discount - 3PercentOff"
},
"promotionId":{
"description":"The Id of the promotion.",
"type":"string",
"example":"implicitItemPercentDiscount"
}
}
}
}
}
},
"shippingMethod":{
"description":"The shipping method details for the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"The total cost of shipping.",
"type":"number",
"example":6.5
},
"taxIncluded":{
"description":"Whether tax is included",
"type":"boolean",
"example":true
},
"externalId":{
"description":"External Id.",
"type":"string",
"example":"EXTERNAL1"
},
"taxCode":{
"description":"Tax Code.",
"type":"string",
"example":"PC00300"
},
"value":{
"description":"The shipping method applied to the order.",
"type":"string",
"example":"ground"
},
"shippingMethodDescription":{
"description":"The description of the shipping method.",
"type":"string",
"example":"Ground"
}
}
},
"shippingGroupId":{
"description":"The ID of the shipping group.",
"type":"string",
"example":"sg10032"
},
"shippingAddress":{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string",
"example":"Smith"
},
"country":{
"description":"Country.",
"type":"string",
"example":"US"
},
"address3":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"address2":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"city":{
"description":"City.",
"type":"string",
"example":"Orlando"
},
"prefix":{
"description":"Name prefix.",
"type":"string",
"example":"Mr"
},
"address1":{
"description":"Address snippet.",
"type":"string",
"example":"76 Palm Drive"
},
"postalCode":{
"description":"Postal code.",
"type":"string",
"example":32002
},
"jobTitle":{
"description":"Job title.",
"type":"string",
"example":"Doctor"
},
"companyName":{
"description":"Company name.",
"type":"string",
"example":"Doctor's Place"
},
"county":{
"description":"County.",
"type":"string",
"example":"Florida"
},
"suffix":{
"description":"Name suffix.",
"type":"string",
"example":"John Smith"
},
"selectedCountry":{
"description":"Country code.",
"type":"string",
"example":"US"
},
"firstName":{
"description":"First name.",
"type":"string",
"example":"John"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string",
"example":"09345456345"
},
"alias":{
"description":"Address alias.",
"type":"string",
"example":"Address03#"
},
"faxNumber":{
"description":"Fax number.",
"type":"string",
"example":330193316
},
"middleName":{
"description":"Middle name.",
"type":"string",
"example":"Joe"
},
"state":{
"description":"State.",
"type":"string",
"example":"FL"
},
"email":{
"description":"Email address.",
"type":"string",
"example":"john@email.com"
}
}
},
"type":{
"description":"The type of shipping group e.g. hardgoodShippingGroup, inStorePickupShippingGroup, inStoreTakeWithShippingGroup",
"type":"string",
"example":"hardgoodShippingGroup"
},
"items":{
"description":"The array of products in the shipping group.",
"type":"array",
"items":{
"type":"object",
"properties":{
"availablePickupDate":{
"description":"The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"inventoryLocationId":{
"description":"Defines the inventory location that services the referenced commerce item.",
"type":"string",
"example":"SiteUS-GlenAllen187"
},
"rawTotalPrice":{
"description":"The raw price of the product.",
"type":"number",
"example":29.99
},
"returnedQuantity":{
"description":"Number of referenced items that were returned.",
"type":"integer",
"example":0
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"availabilityDate":{
"description":"The availability date of commerce Item.",
"type":"string",
"example":"2020-06-30"
},
"discountAmount":{
"description":"The value of the discount.",
"type":"number",
"example":0
},
"preOrderQuantity":{
"description":"The pre order quantity of the items.",
"type":"number",
"example":0
},
"commerceItemId":{
"description":"The ID of the commerce item.",
"type":"string",
"example":"ci3000411"
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"onSale":{
"description":"Whether the item is on sale or not.",
"type":"boolean",
"example":false
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"unitPrice":{
"description":"The price of the item.",
"type":"number",
"example":29.99
},
"quantity":{
"description":"The quantity of the product in this shipping group.",
"type":"integer",
"example":5
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean",
"example":false
},
"relationshipType":{
"description":"The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.",
"type":"string"
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"salePrice":{
"description":"Sale Price.",
"type":"string",
"example":0
},
"preferredPickupDate":{
"description":"The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"catRefId":{
"description":"The product variant ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string",
"example":"siteUS"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
},
"backOrderQuantity":{
"description":"Back Order Quantity of the Items.",
"type":"number",
"example":0
}
}
}
},
"shipTo":{
"description":"shipTo details for shipping. Applicable for B2B orders only",
"type":"object",
"properties":{
"contactPartyNumber":{
"description":"contact party number",
"type":"string",
"example":"CDM_12345"
},
"siteId":{
"description":"site id ",
"type":"string",
"example":"22233"
},
"partyId":{
"description":"party id ",
"type":"string",
"example":"22233"
}
}
}
}
}
},
"soldTo":{
"description":"Sold-to details for B2B orders only",
"type":"object",
"properties":{
"partyId":{
"description":"party id",
"type":"string",
"example":"2222"
},
"partyNumber":{
"description":"party number",
"type":"string",
"example":"1234"
}
}
},
"orderId":{
"description":"Order ID of the order.",
"type":"string",
"example":"o10003"
},
"creationSiteId":{
"description":"The ID of the site on which the order was created. This may differ to siteId value if the site is part of a cart sharing group.",
"type":"string",
"example":"siteUS"
},
"dynamicProperties":{
"description":"Read-only list of dynamic properties for the order along with meta-data.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
},
"payments":{
"description":"Payment details for the order, including additional properties specific to the payment type.",
"type":"array",
"items":{
"type":"object",
"properties":{
"paymentGroupId":{
"description":"Payment group ID.",
"type":"string",
"example":"pg70048"
},
"savedCardId":{
"description":"ID of the saved card associated with the payment group.",
"type":"string",
"example":"sc1234"
},
"amount":{
"description":"Amount authorized from the payment group.",
"type":"number",
"example":170
},
"balance":{
"description":"Total available balance on the gift card.",
"type":"number",
"example":100
},
"gatewayName":{
"description":"Payment gateway name. e.g. chaseCreditCard.",
"type":"string",
"example":"chaseGiftCard"
},
"giftCardNumber":{
"description":"Gift card number.",
"type":"string",
"example":"6048347834734734300"
},
"paymentMethod":{
"description":"Payment method. e.g. physicalGiftCard/ creditCard.",
"type":"string",
"example":"creditCard"
},
"uiIntervention":{
"description":"This decides whether the client has to do some intervention for payment. e.g. SOP.",
"type":"string",
"example":null
},
"isAmountRemaining":{
"description":"A boolean to decide if more payment can be made from this payment group.",
"type":"boolean",
"example":true
},
"paymentState":{
"description":"The state of the payment group. e.g. AUTHORIZED.",
"type":"string",
"example":"INITIAL"
},
"maskedCardNumber":{
"description":"Masked gift card number.",
"type":"string",
"example":"xxxxxxxxxxxxxxxxxx1234"
}
}
}
},
"shippingMethod":{
"description":"Shipping Method information of the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"Cost of shipping method.",
"type":"number",
"example":6.5
},
"value":{
"description":"Shipping method value.",
"type":"string",
"example":"ground"
}
}
},
"priceListGroup":{
"description":"The price list group object.",
"type":"object",
"properties":{
"deleted":{
"description":"Property to determine existence of the price list group.",
"type":"boolean",
"example":false
},
"isTaxIncluded":{
"description":"Whether tax is included.",
"type":"boolean",
"example":false
},
"endDate":{
"description":"end date",
"type":"string",
"example":null
},
"displayName":{
"description":"Display name of the price list group.",
"type":"string",
"example":"Default Price Group"
},
"repositoryId":{
"description":"Repository ID of the price list group.",
"type":"string",
"example":"defaultPriceGroup"
},
"active":{
"description":"Active status of the price list group.",
"type":"boolean",
"example":true
},
"currency":{
"description":"The currency object.",
"type":"object",
"properties":{
"symbol":{
"description":"The currency symbol.",
"type":"string",
"example":"$"
},
"displayName":{
"description":"Display name of the currency.",
"type":"string",
"example":"US Dollar"
},
"repositoryId":{
"description":"Repository ID of the currency.",
"type":"string",
"example":"currency"
},
"fractionalDigits":{
"description":"Number of fractional digits for the currency.",
"type":"integer",
"example":2
},
"currencyCode":{
"description":"The currency code.",
"type":"string",
"example":"USD"
},
"numericCode":{
"description":"Numeric code of the currency.",
"type":"string",
"example":840
}
}
},
"locale":{
"description":"Locale of the price list group.",
"type":"string",
"example":"en_US"
},
"shippingSurchargePriceList":{
"description":"Shipping Surcharge PriceList object.",
"type":"object",
"properties":{
"repositoryId":{
"description":"Repository ID of the shipping surcharge price list.",
"type":"string",
"example":"shippingSurchargePrices"
}
}
}
}
},
"orderAction":{
"description":"The action performed on the order.",
"type":"string",
"example":"order"
},
"shoppingCart":{
"description":"Shopping cart information.",
"type":"object",
"properties":{
"numberOfItems":{
"description":"Number of items in the cart.",
"type":"integer",
"example":1
},
"items":{
"description":"Items in the cart.",
"type":"array",
"items":{
"type":"object",
"properties":{
"primaryThumbImageURL":{
"description":"Product's Primary Thumb Image URL.",
"type":"string",
"example":"ccstore/v1/images/?source=/file/v7023553219093550939/products/Book.jpg&height=100&width=100"
},
"rawTotalPrice":{
"description":"Raw Total Price.",
"type":"string",
"example":179
},
"displayName":{
"description":"Display Name.",
"type":"string",
"example":"Dora The Explorer"
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
},
"shippingSurchargeValue":{
"description":"shipping surcharge value.",
"type":"number",
"example":0
},
"discountAmount":{
"description":"The discount amount.",
"type":"number",
"example":0
},
"externalData":{
"description":"External data to be associated with a commerce item, provided by a configurator system.",
"type":"array",
"items":{
"type":"object",
"properties":{
"values":{
"description":"The array of values associated with an externalData item.",
"type":"object",
"properties":{
"dynamic_property_key":{
"description":"This property's name and value will be retrieved from a configurator system, so will be dynamically set.",
"type":"string"
}
}
},
"name":{
"description":"The name to be associated with the externalData item.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the externalData item by the configurator system.",
"type":"string"
}
}
}
},
"isItemValid":{
"description":"Whether item is valid or not.",
"type":"boolean",
"example":true
},
"itemDiscountInfos":{
"description":"Item discount infos",
"type":"array",
"items":{
"type":"object",
"properties":{
"couponCodes":{
"description":"Coupon codes applied to the items",
"type":"array",
"items":{
"type":"string",
"example":"TestCouponCode"
}
},
"amount":{
"description":"Discount amount for item",
"type":"number",
"example":10
},
"promotionId":{
"description":"ID of the promotion",
"type":"string",
"example":"promo1111"
}
}
}
},
"commerceItemId":{
"description":"For stateless cart, can be used as a unique line item ID distinguisher.",
"type":"string",
"example":"ci3000411"
},
"price":{
"description":"Price of the items.",
"type":"number",
"example":21.99
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"primaryImageAltText":{
"description":"The product's primary image alternative text.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the item by the configurator system.",
"type":"string",
"example":"Add"
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"id":{
"description":"Unique identifier for the line item.",
"type":"string",
"example":"ci3000415"
},
"primaryImageTitle":{
"description":"The product's primary image title.",
"type":"string",
"example":"Samsung - F90BN HD Flash Memory Camcorder"
},
"childSkus":{
"description":"An array with single primary image url for this item's sku, or its default image.",
"type":"array",
"items":{
"type":"string"
}
},
"quantity":{
"description":"Quantity of the items.",
"type":"integer",
"example":5
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean"
},
"giftWithPurchaseCommerceItemMarkers":{
"description":"giftWithPurchaseCommerceItemMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"remainingQuantity":{
"description":"The quantity of the commerce item that is not affected by gift with purchase.",
"type":"number",
"example":0
},
"selectedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was selected by the shopper.",
"type":"number",
"example":0
},
"data":{
"description":"The gift hash code for this gift with purchase promotion.",
"type":"integer",
"example":"-123345466"
},
"automaticQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was auto added by pricing.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID.",
"type":"string",
"example":"promo10002"
},
"targetedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was targeted by pricing.",
"type":"number",
"example":0
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
},
"originalCommerceItemId":{
"description":"The Commerce Item ID associated with the original item from which item in cancel order is created.",
"type":"string",
"example":"ci3000411"
},
"catRefId":{
"description":"Sku reference ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"name"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"displayName"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":"Sku_18Cxi"
}
}
}
},
"route":{
"description":"The UI route to display the product.",
"type":"string"
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string"
},
"shopperInput":{
"description":"Map of shopper input keys to values",
"additionalProperties":{
"type":"string"
},
"type":"object"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
}
}
}
}
}
},
"giftWithPurchaseInfo":{
"description":"The gift information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"giftWithPurchaseQuantityAvailableForSelection":{
"description":"gift quantity available for selection",
"type":"number",
"example":1
},
"giftWithPurchaseType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":1
},
"giftWithPurchaseDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"promotionId":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"giftWithPurchaseIdentifier":{
"description":"An identifier used to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-23234234355"
}
}
}
},
"additionalEmails":{
"description":"Additional emails to send order confirmation. Default limit is 10.",
"type":"array",
"items":{
"type":"string",
"example":"w.rubble@bedrock.com"
}
},
"siteId":{
"description":"The ID of the site in which the order was created",
"type":"string",
"example":"siteUS"
},
"shippingAddress":{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string"
},
"country":{
"description":"Country.",
"type":"string"
},
"address3":{
"description":"Address snippet.",
"type":"string"
},
"address2":{
"description":"Address snippet.",
"type":"string"
},
"city":{
"description":"City.",
"type":"string"
},
"prefix":{
"description":"Name prefix.",
"type":"string"
},
"address1":{
"description":"Address snippet.",
"type":"string"
},
"postalCode":{
"description":"Postal code.",
"type":"string"
},
"jobTitle":{
"description":"Job title.",
"type":"string"
},
"companyName":{
"description":"Company name.",
"type":"string"
},
"county":{
"description":"County.",
"type":"string"
},
"suffix":{
"description":"Name suffix.",
"type":"string"
},
"selectedCountry":{
"description":"Country code.",
"type":"string"
},
"firstName":{
"description":"First name",
"type":"string"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string"
},
"alias":{
"description":"Address alias.",
"type":"string"
},
"faxNumber":{
"description":"Fax number.",
"type":"string"
},
"middleName":{
"description":"Middle name.",
"type":"string"
},
"state":{
"description":"State.",
"type":"string"
},
"selectedState":{
"description":"State code.",
"type":"string"
},
"email":{
"description":"Email address.",
"type":"string"
},
"state_ISOCode":{
"description":"State ISO code.",
"type":"string"
}
}
},
"billingAddress":{
"description":"The billing address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string"
},
"country":{
"description":"Country code.",
"type":"string"
},
"address3":{
"description":"Address snippet.",
"type":"string"
},
"address2":{
"description":"Address snippet.",
"type":"string"
},
"city":{
"description":"City.",
"type":"string"
},
"prefix":{
"description":"Name prefix.",
"type":"string"
},
"address1":{
"description":"Address snippet.",
"type":"string"
},
"postalCode":{
"description":"Postal code.",
"type":"string"
},
"jobTitle":{
"description":"Job title.",
"type":"string"
},
"companyName":{
"description":"Company name.",
"type":"string"
},
"county":{
"description":"County.",
"type":"string"
},
"suffix":{
"description":"Name suffix.",
"type":"string"
},
"firstName":{
"description":"First name.",
"type":"string"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string"
},
"faxNumber":{
"description":"Fax number.",
"type":"string"
},
"alias":{
"description":"Address alias.",
"type":"string"
},
"middleName":{
"description":"Middle name.",
"type":"string"
},
"state":{
"description":"State.",
"type":"string"
},
"email":{
"description":"Email address.",
"type":"string"
}
}
},
"markers":{
"description":"Order markers. Exposed for addCartItems API only.",
"type":"array",
"items":{
"type":"object",
"properties":{
"value":{
"description":"Order marker value. In the case of a marketing campaign, it represents the actual unique campaign ID",
"type":"string",
"example":"78900"
},
"key":{
"description":"Order marker key. In a marketing campaign marker, a key signifies that it is a campaign marker. Also, it identifies the external marketing system that is the source of the campaign, e.g., campaign_eloqua",
"type":"string",
"example":"campaign_eloqua"
}
}
}
},
"giftWithPurchaseOrderMarkers":{
"description":"giftWithPurchaseOrderMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"quantity":{
"description":"The total quantity of sku for this gift selection.",
"type":"number",
"example":1
},
"selectedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.",
"type":"integer",
"example":0
},
"removedQuantity":{
"description":"The amount of free quantity that has since been manually removed by a Shopper.",
"type":"number",
"example":1
},
"data":{
"description":"Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-24564678912"
},
"autoRemove":{
"description":"Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.",
"type":"boolean",
"example":true
},
"giftDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"automaticQuantity":{
"description":"The quantity of free sku for this gift selection that has already been auto added to the order.",
"type":"number",
"example":0
},
"giftType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":"product"
},
"failedQuantity":{
"description":"The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"targetedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order.",
"type":"number"
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
}
}
}
}
}
Nested Schema : order
Type: object
Show Source
{
"properties":{
"shippingGroups":{
"description":"The shipping groups in the order.",
"type":"array",
"items":{
"type":"object",
"properties":{
"priceInfo":{
"description":"Price information of the order.",
"type":"object",
"properties":{
"amount":{
"description":"Amount of order.",
"type":"number",
"example":179
},
"total":{
"description":"Total amount of order.",
"type":"number",
"example":204.06
},
"shipping":{
"description":"Shipping price of order.",
"type":"number",
"example":6.5
},
"primaryCurrencyTotal":{
"description":"The current total in loyalty points in case of multi currency",
"type":"number",
"example":204.06
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"tax":{
"description":"Tax.",
"type":"number",
"example":18.56
},
"subTotal":{
"description":"Sub total.",
"type":"number",
"example":179
},
"currencyCode":{
"description":"Currency code for currency being used.",
"type":"string",
"example":"USD"
},
"totalWithoutTax":{
"description":"The total without including tax.",
"type":"string",
"example":185.5
}
}
},
"discountInfo":{
"description":"Discount Information",
"type":"object",
"properties":{
"orderDiscount":{
"description":"Order Discount",
"type":"number",
"example":0
},
"shippingDiscount":{
"description":"Shipping Discount",
"type":"number",
"example":0
},
"discountDescList":{
"description":"The list of all the order discounts.",
"type":"array",
"items":{
"type":"object",
"properties":{
"promotionName":{
"description":"The display name of the promotion.",
"type":"string",
"example":"Free Tattoo"
},
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"coupon":{
"description":"The coupon code.",
"type":"string",
"example":"FREETATTOO"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Explicit Item Discount - FREETATTOO"
},
"promotionId":{
"description":"The promotion ID.",
"type":"string",
"example":"explicitItemFreeDiscount"
}
}
}
},
"orderImplicitDiscountList":{
"description":"Implicit Promotions for the order",
"type":"array",
"items":{
"type":"object",
"properties":{
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Implicit Item Discount - 3PercentOff"
},
"promotionId":{
"description":"The Id of the promotion.",
"type":"string",
"example":"implicitItemPercentDiscount"
}
}
}
}
}
},
"shippingMethod":{
"description":"The shipping method details for the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"The total cost of shipping.",
"type":"number",
"example":6.5
},
"taxIncluded":{
"description":"Whether tax is included",
"type":"boolean",
"example":true
},
"externalId":{
"description":"External Id.",
"type":"string",
"example":"EXTERNAL1"
},
"taxCode":{
"description":"Tax Code.",
"type":"string",
"example":"PC00300"
},
"value":{
"description":"The shipping method applied to the order.",
"type":"string",
"example":"ground"
},
"shippingMethodDescription":{
"description":"The description of the shipping method.",
"type":"string",
"example":"Ground"
}
}
},
"shippingGroupId":{
"description":"The ID of the shipping group.",
"type":"string",
"example":"sg10032"
},
"shippingAddress":{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string",
"example":"Smith"
},
"country":{
"description":"Country.",
"type":"string",
"example":"US"
},
"address3":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"address2":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"city":{
"description":"City.",
"type":"string",
"example":"Orlando"
},
"prefix":{
"description":"Name prefix.",
"type":"string",
"example":"Mr"
},
"address1":{
"description":"Address snippet.",
"type":"string",
"example":"76 Palm Drive"
},
"postalCode":{
"description":"Postal code.",
"type":"string",
"example":32002
},
"jobTitle":{
"description":"Job title.",
"type":"string",
"example":"Doctor"
},
"companyName":{
"description":"Company name.",
"type":"string",
"example":"Doctor's Place"
},
"county":{
"description":"County.",
"type":"string",
"example":"Florida"
},
"suffix":{
"description":"Name suffix.",
"type":"string",
"example":"John Smith"
},
"selectedCountry":{
"description":"Country code.",
"type":"string",
"example":"US"
},
"firstName":{
"description":"First name.",
"type":"string",
"example":"John"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string",
"example":"09345456345"
},
"alias":{
"description":"Address alias.",
"type":"string",
"example":"Address03#"
},
"faxNumber":{
"description":"Fax number.",
"type":"string",
"example":330193316
},
"middleName":{
"description":"Middle name.",
"type":"string",
"example":"Joe"
},
"state":{
"description":"State.",
"type":"string",
"example":"FL"
},
"email":{
"description":"Email address.",
"type":"string",
"example":"john@email.com"
}
}
},
"type":{
"description":"The type of shipping group e.g. hardgoodShippingGroup, inStorePickupShippingGroup, inStoreTakeWithShippingGroup",
"type":"string",
"example":"hardgoodShippingGroup"
},
"items":{
"description":"The array of products in the shipping group.",
"type":"array",
"items":{
"type":"object",
"properties":{
"availablePickupDate":{
"description":"The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"inventoryLocationId":{
"description":"Defines the inventory location that services the referenced commerce item.",
"type":"string",
"example":"SiteUS-GlenAllen187"
},
"rawTotalPrice":{
"description":"The raw price of the product.",
"type":"number",
"example":29.99
},
"returnedQuantity":{
"description":"Number of referenced items that were returned.",
"type":"integer",
"example":0
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"availabilityDate":{
"description":"The availability date of commerce Item.",
"type":"string",
"example":"2020-06-30"
},
"discountAmount":{
"description":"The value of the discount.",
"type":"number",
"example":0
},
"preOrderQuantity":{
"description":"The pre order quantity of the items.",
"type":"number",
"example":0
},
"commerceItemId":{
"description":"The ID of the commerce item.",
"type":"string",
"example":"ci3000411"
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"onSale":{
"description":"Whether the item is on sale or not.",
"type":"boolean",
"example":false
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"unitPrice":{
"description":"The price of the item.",
"type":"number",
"example":29.99
},
"quantity":{
"description":"The quantity of the product in this shipping group.",
"type":"integer",
"example":5
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean",
"example":false
},
"relationshipType":{
"description":"The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.",
"type":"string"
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"salePrice":{
"description":"Sale Price.",
"type":"string",
"example":0
},
"preferredPickupDate":{
"description":"The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"catRefId":{
"description":"The product variant ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string",
"example":"siteUS"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
},
"backOrderQuantity":{
"description":"Back Order Quantity of the Items.",
"type":"number",
"example":0
}
}
}
},
"shipTo":{
"description":"shipTo details for shipping. Applicable for B2B orders only",
"type":"object",
"properties":{
"contactPartyNumber":{
"description":"contact party number",
"type":"string",
"example":"CDM_12345"
},
"siteId":{
"description":"site id ",
"type":"string",
"example":"22233"
},
"partyId":{
"description":"party id ",
"type":"string",
"example":"22233"
}
}
}
}
}
},
"soldTo":{
"description":"Sold-to details for B2B orders only",
"type":"object",
"properties":{
"partyId":{
"description":"party id",
"type":"string",
"example":"2222"
},
"partyNumber":{
"description":"party number",
"type":"string",
"example":"1234"
}
}
},
"orderId":{
"description":"Order ID of the order.",
"type":"string",
"example":"o10003"
},
"creationSiteId":{
"description":"The ID of the site on which the order was created. This may differ to siteId value if the site is part of a cart sharing group.",
"type":"string",
"example":"siteUS"
},
"dynamicProperties":{
"description":"Read-only list of dynamic properties for the order along with meta-data.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
},
"payments":{
"description":"Payment details for the order, including additional properties specific to the payment type.",
"type":"array",
"items":{
"type":"object",
"properties":{
"paymentGroupId":{
"description":"Payment group ID.",
"type":"string",
"example":"pg70048"
},
"savedCardId":{
"description":"ID of the saved card associated with the payment group.",
"type":"string",
"example":"sc1234"
},
"amount":{
"description":"Amount authorized from the payment group.",
"type":"number",
"example":170
},
"balance":{
"description":"Total available balance on the gift card.",
"type":"number",
"example":100
},
"gatewayName":{
"description":"Payment gateway name. e.g. chaseCreditCard.",
"type":"string",
"example":"chaseGiftCard"
},
"giftCardNumber":{
"description":"Gift card number.",
"type":"string",
"example":"6048347834734734300"
},
"paymentMethod":{
"description":"Payment method. e.g. physicalGiftCard/ creditCard.",
"type":"string",
"example":"creditCard"
},
"uiIntervention":{
"description":"This decides whether the client has to do some intervention for payment. e.g. SOP.",
"type":"string",
"example":null
},
"isAmountRemaining":{
"description":"A boolean to decide if more payment can be made from this payment group.",
"type":"boolean",
"example":true
},
"paymentState":{
"description":"The state of the payment group. e.g. AUTHORIZED.",
"type":"string",
"example":"INITIAL"
},
"maskedCardNumber":{
"description":"Masked gift card number.",
"type":"string",
"example":"xxxxxxxxxxxxxxxxxx1234"
}
}
}
},
"shippingMethod":{
"description":"Shipping Method information of the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"Cost of shipping method.",
"type":"number",
"example":6.5
},
"value":{
"description":"Shipping method value.",
"type":"string",
"example":"ground"
}
}
},
"priceListGroup":{
"description":"The price list group object.",
"type":"object",
"properties":{
"deleted":{
"description":"Property to determine existence of the price list group.",
"type":"boolean",
"example":false
},
"isTaxIncluded":{
"description":"Whether tax is included.",
"type":"boolean",
"example":false
},
"endDate":{
"description":"end date",
"type":"string",
"example":null
},
"displayName":{
"description":"Display name of the price list group.",
"type":"string",
"example":"Default Price Group"
},
"repositoryId":{
"description":"Repository ID of the price list group.",
"type":"string",
"example":"defaultPriceGroup"
},
"active":{
"description":"Active status of the price list group.",
"type":"boolean",
"example":true
},
"currency":{
"description":"The currency object.",
"type":"object",
"properties":{
"symbol":{
"description":"The currency symbol.",
"type":"string",
"example":"$"
},
"displayName":{
"description":"Display name of the currency.",
"type":"string",
"example":"US Dollar"
},
"repositoryId":{
"description":"Repository ID of the currency.",
"type":"string",
"example":"currency"
},
"fractionalDigits":{
"description":"Number of fractional digits for the currency.",
"type":"integer",
"example":2
},
"currencyCode":{
"description":"The currency code.",
"type":"string",
"example":"USD"
},
"numericCode":{
"description":"Numeric code of the currency.",
"type":"string",
"example":840
}
}
},
"locale":{
"description":"Locale of the price list group.",
"type":"string",
"example":"en_US"
},
"shippingSurchargePriceList":{
"description":"Shipping Surcharge PriceList object.",
"type":"object",
"properties":{
"repositoryId":{
"description":"Repository ID of the shipping surcharge price list.",
"type":"string",
"example":"shippingSurchargePrices"
}
}
}
}
},
"orderAction":{
"description":"The action performed on the order.",
"type":"string",
"example":"order"
},
"shoppingCart":{
"description":"Shopping cart information.",
"type":"object",
"properties":{
"numberOfItems":{
"description":"Number of items in the cart.",
"type":"integer",
"example":1
},
"items":{
"description":"Items in the cart.",
"type":"array",
"items":{
"type":"object",
"properties":{
"primaryThumbImageURL":{
"description":"Product's Primary Thumb Image URL.",
"type":"string",
"example":"ccstore/v1/images/?source=/file/v7023553219093550939/products/Book.jpg&height=100&width=100"
},
"rawTotalPrice":{
"description":"Raw Total Price.",
"type":"string",
"example":179
},
"displayName":{
"description":"Display Name.",
"type":"string",
"example":"Dora The Explorer"
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
},
"shippingSurchargeValue":{
"description":"shipping surcharge value.",
"type":"number",
"example":0
},
"discountAmount":{
"description":"The discount amount.",
"type":"number",
"example":0
},
"externalData":{
"description":"External data to be associated with a commerce item, provided by a configurator system.",
"type":"array",
"items":{
"type":"object",
"properties":{
"values":{
"description":"The array of values associated with an externalData item.",
"type":"object",
"properties":{
"dynamic_property_key":{
"description":"This property's name and value will be retrieved from a configurator system, so will be dynamically set.",
"type":"string"
}
}
},
"name":{
"description":"The name to be associated with the externalData item.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the externalData item by the configurator system.",
"type":"string"
}
}
}
},
"isItemValid":{
"description":"Whether item is valid or not.",
"type":"boolean",
"example":true
},
"itemDiscountInfos":{
"description":"Item discount infos",
"type":"array",
"items":{
"type":"object",
"properties":{
"couponCodes":{
"description":"Coupon codes applied to the items",
"type":"array",
"items":{
"type":"string",
"example":"TestCouponCode"
}
},
"amount":{
"description":"Discount amount for item",
"type":"number",
"example":10
},
"promotionId":{
"description":"ID of the promotion",
"type":"string",
"example":"promo1111"
}
}
}
},
"commerceItemId":{
"description":"For stateless cart, can be used as a unique line item ID distinguisher.",
"type":"string",
"example":"ci3000411"
},
"price":{
"description":"Price of the items.",
"type":"number",
"example":21.99
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"primaryImageAltText":{
"description":"The product's primary image alternative text.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the item by the configurator system.",
"type":"string",
"example":"Add"
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"id":{
"description":"Unique identifier for the line item.",
"type":"string",
"example":"ci3000415"
},
"primaryImageTitle":{
"description":"The product's primary image title.",
"type":"string",
"example":"Samsung - F90BN HD Flash Memory Camcorder"
},
"childSkus":{
"description":"An array with single primary image url for this item's sku, or its default image.",
"type":"array",
"items":{
"type":"string"
}
},
"quantity":{
"description":"Quantity of the items.",
"type":"integer",
"example":5
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean"
},
"giftWithPurchaseCommerceItemMarkers":{
"description":"giftWithPurchaseCommerceItemMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"remainingQuantity":{
"description":"The quantity of the commerce item that is not affected by gift with purchase.",
"type":"number",
"example":0
},
"selectedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was selected by the shopper.",
"type":"number",
"example":0
},
"data":{
"description":"The gift hash code for this gift with purchase promotion.",
"type":"integer",
"example":"-123345466"
},
"automaticQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was auto added by pricing.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID.",
"type":"string",
"example":"promo10002"
},
"targetedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was targeted by pricing.",
"type":"number",
"example":0
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
},
"originalCommerceItemId":{
"description":"The Commerce Item ID associated with the original item from which item in cancel order is created.",
"type":"string",
"example":"ci3000411"
},
"catRefId":{
"description":"Sku reference ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"name"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"displayName"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":"Sku_18Cxi"
}
}
}
},
"route":{
"description":"The UI route to display the product.",
"type":"string"
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string"
},
"shopperInput":{
"description":"Map of shopper input keys to values",
"additionalProperties":{
"type":"string"
},
"type":"object"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
}
}
}
}
}
},
"giftWithPurchaseInfo":{
"description":"The gift information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"giftWithPurchaseQuantityAvailableForSelection":{
"description":"gift quantity available for selection",
"type":"number",
"example":1
},
"giftWithPurchaseType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":1
},
"giftWithPurchaseDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"promotionId":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"giftWithPurchaseIdentifier":{
"description":"An identifier used to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-23234234355"
}
}
}
},
"additionalEmails":{
"description":"Additional emails to send order confirmation. Default limit is 10.",
"type":"array",
"items":{
"type":"string",
"example":"w.rubble@bedrock.com"
}
},
"siteId":{
"description":"The ID of the site in which the order was created",
"type":"string",
"example":"siteUS"
},
"shippingAddress":{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string"
},
"country":{
"description":"Country.",
"type":"string"
},
"address3":{
"description":"Address snippet.",
"type":"string"
},
"address2":{
"description":"Address snippet.",
"type":"string"
},
"city":{
"description":"City.",
"type":"string"
},
"prefix":{
"description":"Name prefix.",
"type":"string"
},
"address1":{
"description":"Address snippet.",
"type":"string"
},
"postalCode":{
"description":"Postal code.",
"type":"string"
},
"jobTitle":{
"description":"Job title.",
"type":"string"
},
"companyName":{
"description":"Company name.",
"type":"string"
},
"county":{
"description":"County.",
"type":"string"
},
"suffix":{
"description":"Name suffix.",
"type":"string"
},
"selectedCountry":{
"description":"Country code.",
"type":"string"
},
"firstName":{
"description":"First name",
"type":"string"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string"
},
"alias":{
"description":"Address alias.",
"type":"string"
},
"faxNumber":{
"description":"Fax number.",
"type":"string"
},
"middleName":{
"description":"Middle name.",
"type":"string"
},
"state":{
"description":"State.",
"type":"string"
},
"selectedState":{
"description":"State code.",
"type":"string"
},
"email":{
"description":"Email address.",
"type":"string"
},
"state_ISOCode":{
"description":"State ISO code.",
"type":"string"
}
}
},
"billingAddress":{
"description":"The billing address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string"
},
"country":{
"description":"Country code.",
"type":"string"
},
"address3":{
"description":"Address snippet.",
"type":"string"
},
"address2":{
"description":"Address snippet.",
"type":"string"
},
"city":{
"description":"City.",
"type":"string"
},
"prefix":{
"description":"Name prefix.",
"type":"string"
},
"address1":{
"description":"Address snippet.",
"type":"string"
},
"postalCode":{
"description":"Postal code.",
"type":"string"
},
"jobTitle":{
"description":"Job title.",
"type":"string"
},
"companyName":{
"description":"Company name.",
"type":"string"
},
"county":{
"description":"County.",
"type":"string"
},
"suffix":{
"description":"Name suffix.",
"type":"string"
},
"firstName":{
"description":"First name.",
"type":"string"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string"
},
"faxNumber":{
"description":"Fax number.",
"type":"string"
},
"alias":{
"description":"Address alias.",
"type":"string"
},
"middleName":{
"description":"Middle name.",
"type":"string"
},
"state":{
"description":"State.",
"type":"string"
},
"email":{
"description":"Email address.",
"type":"string"
}
}
},
"markers":{
"description":"Order markers. Exposed for addCartItems API only.",
"type":"array",
"items":{
"type":"object",
"properties":{
"value":{
"description":"Order marker value. In the case of a marketing campaign, it represents the actual unique campaign ID",
"type":"string",
"example":"78900"
},
"key":{
"description":"Order marker key. In a marketing campaign marker, a key signifies that it is a campaign marker. Also, it identifies the external marketing system that is the source of the campaign, e.g., campaign_eloqua",
"type":"string",
"example":"campaign_eloqua"
}
}
}
},
"giftWithPurchaseOrderMarkers":{
"description":"giftWithPurchaseOrderMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"quantity":{
"description":"The total quantity of sku for this gift selection.",
"type":"number",
"example":1
},
"selectedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.",
"type":"integer",
"example":0
},
"removedQuantity":{
"description":"The amount of free quantity that has since been manually removed by a Shopper.",
"type":"number",
"example":1
},
"data":{
"description":"Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-24564678912"
},
"autoRemove":{
"description":"Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.",
"type":"boolean",
"example":true
},
"giftDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"automaticQuantity":{
"description":"The quantity of free sku for this gift selection that has already been auto added to the order.",
"type":"number",
"example":0
},
"giftType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":"product"
},
"failedQuantity":{
"description":"The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"targetedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order.",
"type":"number"
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
}
}
}
Nested Schema : additionalEmails
Type: array
Additional emails to send order confirmation. Default limit is 10.
Show Source
{
"description":"Additional emails to send order confirmation. Default limit is 10.",
"type":"array",
"items":{
"type":"string",
"example":"w.rubble@bedrock.com"
}
}
Nested Schema : billingAddress
Type: object
The billing address details.
Show Source
{
"description":"The billing address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string"
},
"country":{
"description":"Country code.",
"type":"string"
},
"address3":{
"description":"Address snippet.",
"type":"string"
},
"address2":{
"description":"Address snippet.",
"type":"string"
},
"city":{
"description":"City.",
"type":"string"
},
"prefix":{
"description":"Name prefix.",
"type":"string"
},
"address1":{
"description":"Address snippet.",
"type":"string"
},
"postalCode":{
"description":"Postal code.",
"type":"string"
},
"jobTitle":{
"description":"Job title.",
"type":"string"
},
"companyName":{
"description":"Company name.",
"type":"string"
},
"county":{
"description":"County.",
"type":"string"
},
"suffix":{
"description":"Name suffix.",
"type":"string"
},
"firstName":{
"description":"First name.",
"type":"string"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string"
},
"faxNumber":{
"description":"Fax number.",
"type":"string"
},
"alias":{
"description":"Address alias.",
"type":"string"
},
"middleName":{
"description":"Middle name.",
"type":"string"
},
"state":{
"description":"State.",
"type":"string"
},
"email":{
"description":"Email address.",
"type":"string"
}
}
}
Nested Schema : dynamicProperties
Type: array
Read-only list of dynamic properties for the order along with meta-data.
Show Source
{
"description":"Read-only list of dynamic properties for the order along with meta-data.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
}
Nested Schema : giftWithPurchaseInfo
Type: array
The gift information.
Show Source
{
"description":"The gift information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"giftWithPurchaseQuantityAvailableForSelection":{
"description":"gift quantity available for selection",
"type":"number",
"example":1
},
"giftWithPurchaseType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":1
},
"giftWithPurchaseDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"promotionId":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"giftWithPurchaseIdentifier":{
"description":"An identifier used to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-23234234355"
}
}
}
}
Nested Schema : giftWithPurchaseOrderMarkers
Type: array
giftWithPurchaseOrderMarker information.
Show Source
{
"description":"giftWithPurchaseOrderMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"quantity":{
"description":"The total quantity of sku for this gift selection.",
"type":"number",
"example":1
},
"selectedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.",
"type":"integer",
"example":0
},
"removedQuantity":{
"description":"The amount of free quantity that has since been manually removed by a Shopper.",
"type":"number",
"example":1
},
"data":{
"description":"Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-24564678912"
},
"autoRemove":{
"description":"Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.",
"type":"boolean",
"example":true
},
"giftDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"automaticQuantity":{
"description":"The quantity of free sku for this gift selection that has already been auto added to the order.",
"type":"number",
"example":0
},
"giftType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":"product"
},
"failedQuantity":{
"description":"The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"targetedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order.",
"type":"number"
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
}
Nested Schema : markers
Type: array
Order markers. Exposed for addCartItems API only.
Show Source
{
"description":"Order markers. Exposed for addCartItems API only.",
"type":"array",
"items":{
"type":"object",
"properties":{
"value":{
"description":"Order marker value. In the case of a marketing campaign, it represents the actual unique campaign ID",
"type":"string",
"example":"78900"
},
"key":{
"description":"Order marker key. In a marketing campaign marker, a key signifies that it is a campaign marker. Also, it identifies the external marketing system that is the source of the campaign, e.g., campaign_eloqua",
"type":"string",
"example":"campaign_eloqua"
}
}
}
}
Nested Schema : payments
Type: array
Payment details for the order, including additional properties specific to the payment type.
Show Source
{
"description":"Payment details for the order, including additional properties specific to the payment type.",
"type":"array",
"items":{
"type":"object",
"properties":{
"paymentGroupId":{
"description":"Payment group ID.",
"type":"string",
"example":"pg70048"
},
"savedCardId":{
"description":"ID of the saved card associated with the payment group.",
"type":"string",
"example":"sc1234"
},
"amount":{
"description":"Amount authorized from the payment group.",
"type":"number",
"example":170
},
"balance":{
"description":"Total available balance on the gift card.",
"type":"number",
"example":100
},
"gatewayName":{
"description":"Payment gateway name. e.g. chaseCreditCard.",
"type":"string",
"example":"chaseGiftCard"
},
"giftCardNumber":{
"description":"Gift card number.",
"type":"string",
"example":"6048347834734734300"
},
"paymentMethod":{
"description":"Payment method. e.g. physicalGiftCard/ creditCard.",
"type":"string",
"example":"creditCard"
},
"uiIntervention":{
"description":"This decides whether the client has to do some intervention for payment. e.g. SOP.",
"type":"string",
"example":null
},
"isAmountRemaining":{
"description":"A boolean to decide if more payment can be made from this payment group.",
"type":"boolean",
"example":true
},
"paymentState":{
"description":"The state of the payment group. e.g. AUTHORIZED.",
"type":"string",
"example":"INITIAL"
},
"maskedCardNumber":{
"description":"Masked gift card number.",
"type":"string",
"example":"xxxxxxxxxxxxxxxxxx1234"
}
}
}
}
Nested Schema : priceListGroup
Type: object
The price list group object.
Show Source
{
"description":"The price list group object.",
"type":"object",
"properties":{
"deleted":{
"description":"Property to determine existence of the price list group.",
"type":"boolean",
"example":false
},
"isTaxIncluded":{
"description":"Whether tax is included.",
"type":"boolean",
"example":false
},
"endDate":{
"description":"end date",
"type":"string",
"example":null
},
"displayName":{
"description":"Display name of the price list group.",
"type":"string",
"example":"Default Price Group"
},
"repositoryId":{
"description":"Repository ID of the price list group.",
"type":"string",
"example":"defaultPriceGroup"
},
"active":{
"description":"Active status of the price list group.",
"type":"boolean",
"example":true
},
"currency":{
"description":"The currency object.",
"type":"object",
"properties":{
"symbol":{
"description":"The currency symbol.",
"type":"string",
"example":"$"
},
"displayName":{
"description":"Display name of the currency.",
"type":"string",
"example":"US Dollar"
},
"repositoryId":{
"description":"Repository ID of the currency.",
"type":"string",
"example":"currency"
},
"fractionalDigits":{
"description":"Number of fractional digits for the currency.",
"type":"integer",
"example":2
},
"currencyCode":{
"description":"The currency code.",
"type":"string",
"example":"USD"
},
"numericCode":{
"description":"Numeric code of the currency.",
"type":"string",
"example":840
}
}
},
"locale":{
"description":"Locale of the price list group.",
"type":"string",
"example":"en_US"
},
"shippingSurchargePriceList":{
"description":"Shipping Surcharge PriceList object.",
"type":"object",
"properties":{
"repositoryId":{
"description":"Repository ID of the shipping surcharge price list.",
"type":"string",
"example":"shippingSurchargePrices"
}
}
}
}
}
Nested Schema : shippingAddress
Type: object
The shipping address details.
Show Source
{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string"
},
"country":{
"description":"Country.",
"type":"string"
},
"address3":{
"description":"Address snippet.",
"type":"string"
},
"address2":{
"description":"Address snippet.",
"type":"string"
},
"city":{
"description":"City.",
"type":"string"
},
"prefix":{
"description":"Name prefix.",
"type":"string"
},
"address1":{
"description":"Address snippet.",
"type":"string"
},
"postalCode":{
"description":"Postal code.",
"type":"string"
},
"jobTitle":{
"description":"Job title.",
"type":"string"
},
"companyName":{
"description":"Company name.",
"type":"string"
},
"county":{
"description":"County.",
"type":"string"
},
"suffix":{
"description":"Name suffix.",
"type":"string"
},
"selectedCountry":{
"description":"Country code.",
"type":"string"
},
"firstName":{
"description":"First name",
"type":"string"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string"
},
"alias":{
"description":"Address alias.",
"type":"string"
},
"faxNumber":{
"description":"Fax number.",
"type":"string"
},
"middleName":{
"description":"Middle name.",
"type":"string"
},
"state":{
"description":"State.",
"type":"string"
},
"selectedState":{
"description":"State code.",
"type":"string"
},
"email":{
"description":"Email address.",
"type":"string"
},
"state_ISOCode":{
"description":"State ISO code.",
"type":"string"
}
}
}
Nested Schema : shippingGroups
Type: array
The shipping groups in the order.
Show Source
{
"description":"The shipping groups in the order.",
"type":"array",
"items":{
"type":"object",
"properties":{
"priceInfo":{
"description":"Price information of the order.",
"type":"object",
"properties":{
"amount":{
"description":"Amount of order.",
"type":"number",
"example":179
},
"total":{
"description":"Total amount of order.",
"type":"number",
"example":204.06
},
"shipping":{
"description":"Shipping price of order.",
"type":"number",
"example":6.5
},
"primaryCurrencyTotal":{
"description":"The current total in loyalty points in case of multi currency",
"type":"number",
"example":204.06
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"tax":{
"description":"Tax.",
"type":"number",
"example":18.56
},
"subTotal":{
"description":"Sub total.",
"type":"number",
"example":179
},
"currencyCode":{
"description":"Currency code for currency being used.",
"type":"string",
"example":"USD"
},
"totalWithoutTax":{
"description":"The total without including tax.",
"type":"string",
"example":185.5
}
}
},
"discountInfo":{
"description":"Discount Information",
"type":"object",
"properties":{
"orderDiscount":{
"description":"Order Discount",
"type":"number",
"example":0
},
"shippingDiscount":{
"description":"Shipping Discount",
"type":"number",
"example":0
},
"discountDescList":{
"description":"The list of all the order discounts.",
"type":"array",
"items":{
"type":"object",
"properties":{
"promotionName":{
"description":"The display name of the promotion.",
"type":"string",
"example":"Free Tattoo"
},
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"coupon":{
"description":"The coupon code.",
"type":"string",
"example":"FREETATTOO"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Explicit Item Discount - FREETATTOO"
},
"promotionId":{
"description":"The promotion ID.",
"type":"string",
"example":"explicitItemFreeDiscount"
}
}
}
},
"orderImplicitDiscountList":{
"description":"Implicit Promotions for the order",
"type":"array",
"items":{
"type":"object",
"properties":{
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Implicit Item Discount - 3PercentOff"
},
"promotionId":{
"description":"The Id of the promotion.",
"type":"string",
"example":"implicitItemPercentDiscount"
}
}
}
}
}
},
"shippingMethod":{
"description":"The shipping method details for the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"The total cost of shipping.",
"type":"number",
"example":6.5
},
"taxIncluded":{
"description":"Whether tax is included",
"type":"boolean",
"example":true
},
"externalId":{
"description":"External Id.",
"type":"string",
"example":"EXTERNAL1"
},
"taxCode":{
"description":"Tax Code.",
"type":"string",
"example":"PC00300"
},
"value":{
"description":"The shipping method applied to the order.",
"type":"string",
"example":"ground"
},
"shippingMethodDescription":{
"description":"The description of the shipping method.",
"type":"string",
"example":"Ground"
}
}
},
"shippingGroupId":{
"description":"The ID of the shipping group.",
"type":"string",
"example":"sg10032"
},
"shippingAddress":{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string",
"example":"Smith"
},
"country":{
"description":"Country.",
"type":"string",
"example":"US"
},
"address3":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"address2":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"city":{
"description":"City.",
"type":"string",
"example":"Orlando"
},
"prefix":{
"description":"Name prefix.",
"type":"string",
"example":"Mr"
},
"address1":{
"description":"Address snippet.",
"type":"string",
"example":"76 Palm Drive"
},
"postalCode":{
"description":"Postal code.",
"type":"string",
"example":32002
},
"jobTitle":{
"description":"Job title.",
"type":"string",
"example":"Doctor"
},
"companyName":{
"description":"Company name.",
"type":"string",
"example":"Doctor's Place"
},
"county":{
"description":"County.",
"type":"string",
"example":"Florida"
},
"suffix":{
"description":"Name suffix.",
"type":"string",
"example":"John Smith"
},
"selectedCountry":{
"description":"Country code.",
"type":"string",
"example":"US"
},
"firstName":{
"description":"First name.",
"type":"string",
"example":"John"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string",
"example":"09345456345"
},
"alias":{
"description":"Address alias.",
"type":"string",
"example":"Address03#"
},
"faxNumber":{
"description":"Fax number.",
"type":"string",
"example":330193316
},
"middleName":{
"description":"Middle name.",
"type":"string",
"example":"Joe"
},
"state":{
"description":"State.",
"type":"string",
"example":"FL"
},
"email":{
"description":"Email address.",
"type":"string",
"example":"john@email.com"
}
}
},
"type":{
"description":"The type of shipping group e.g. hardgoodShippingGroup, inStorePickupShippingGroup, inStoreTakeWithShippingGroup",
"type":"string",
"example":"hardgoodShippingGroup"
},
"items":{
"description":"The array of products in the shipping group.",
"type":"array",
"items":{
"type":"object",
"properties":{
"availablePickupDate":{
"description":"The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"inventoryLocationId":{
"description":"Defines the inventory location that services the referenced commerce item.",
"type":"string",
"example":"SiteUS-GlenAllen187"
},
"rawTotalPrice":{
"description":"The raw price of the product.",
"type":"number",
"example":29.99
},
"returnedQuantity":{
"description":"Number of referenced items that were returned.",
"type":"integer",
"example":0
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"availabilityDate":{
"description":"The availability date of commerce Item.",
"type":"string",
"example":"2020-06-30"
},
"discountAmount":{
"description":"The value of the discount.",
"type":"number",
"example":0
},
"preOrderQuantity":{
"description":"The pre order quantity of the items.",
"type":"number",
"example":0
},
"commerceItemId":{
"description":"The ID of the commerce item.",
"type":"string",
"example":"ci3000411"
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"onSale":{
"description":"Whether the item is on sale or not.",
"type":"boolean",
"example":false
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"unitPrice":{
"description":"The price of the item.",
"type":"number",
"example":29.99
},
"quantity":{
"description":"The quantity of the product in this shipping group.",
"type":"integer",
"example":5
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean",
"example":false
},
"relationshipType":{
"description":"The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.",
"type":"string"
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"salePrice":{
"description":"Sale Price.",
"type":"string",
"example":0
},
"preferredPickupDate":{
"description":"The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"catRefId":{
"description":"The product variant ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string",
"example":"siteUS"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
},
"backOrderQuantity":{
"description":"Back Order Quantity of the Items.",
"type":"number",
"example":0
}
}
}
},
"shipTo":{
"description":"shipTo details for shipping. Applicable for B2B orders only",
"type":"object",
"properties":{
"contactPartyNumber":{
"description":"contact party number",
"type":"string",
"example":"CDM_12345"
},
"siteId":{
"description":"site id ",
"type":"string",
"example":"22233"
},
"partyId":{
"description":"party id ",
"type":"string",
"example":"22233"
}
}
}
}
}
}
Nested Schema : shippingMethod
Type: object
Shipping Method information of the order.
Show Source
{
"description":"Shipping Method information of the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"Cost of shipping method.",
"type":"number",
"example":6.5
},
"value":{
"description":"Shipping method value.",
"type":"string",
"example":"ground"
}
}
}
Nested Schema : shoppingCart
Type: object
Shopping cart information.
Show Source
{
"description":"Shopping cart information.",
"type":"object",
"properties":{
"numberOfItems":{
"description":"Number of items in the cart.",
"type":"integer",
"example":1
},
"items":{
"description":"Items in the cart.",
"type":"array",
"items":{
"type":"object",
"properties":{
"primaryThumbImageURL":{
"description":"Product's Primary Thumb Image URL.",
"type":"string",
"example":"ccstore/v1/images/?source=/file/v7023553219093550939/products/Book.jpg&height=100&width=100"
},
"rawTotalPrice":{
"description":"Raw Total Price.",
"type":"string",
"example":179
},
"displayName":{
"description":"Display Name.",
"type":"string",
"example":"Dora The Explorer"
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
},
"shippingSurchargeValue":{
"description":"shipping surcharge value.",
"type":"number",
"example":0
},
"discountAmount":{
"description":"The discount amount.",
"type":"number",
"example":0
},
"externalData":{
"description":"External data to be associated with a commerce item, provided by a configurator system.",
"type":"array",
"items":{
"type":"object",
"properties":{
"values":{
"description":"The array of values associated with an externalData item.",
"type":"object",
"properties":{
"dynamic_property_key":{
"description":"This property's name and value will be retrieved from a configurator system, so will be dynamically set.",
"type":"string"
}
}
},
"name":{
"description":"The name to be associated with the externalData item.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the externalData item by the configurator system.",
"type":"string"
}
}
}
},
"isItemValid":{
"description":"Whether item is valid or not.",
"type":"boolean",
"example":true
},
"itemDiscountInfos":{
"description":"Item discount infos",
"type":"array",
"items":{
"type":"object",
"properties":{
"couponCodes":{
"description":"Coupon codes applied to the items",
"type":"array",
"items":{
"type":"string",
"example":"TestCouponCode"
}
},
"amount":{
"description":"Discount amount for item",
"type":"number",
"example":10
},
"promotionId":{
"description":"ID of the promotion",
"type":"string",
"example":"promo1111"
}
}
}
},
"commerceItemId":{
"description":"For stateless cart, can be used as a unique line item ID distinguisher.",
"type":"string",
"example":"ci3000411"
},
"price":{
"description":"Price of the items.",
"type":"number",
"example":21.99
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"primaryImageAltText":{
"description":"The product's primary image alternative text.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the item by the configurator system.",
"type":"string",
"example":"Add"
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"id":{
"description":"Unique identifier for the line item.",
"type":"string",
"example":"ci3000415"
},
"primaryImageTitle":{
"description":"The product's primary image title.",
"type":"string",
"example":"Samsung - F90BN HD Flash Memory Camcorder"
},
"childSkus":{
"description":"An array with single primary image url for this item's sku, or its default image.",
"type":"array",
"items":{
"type":"string"
}
},
"quantity":{
"description":"Quantity of the items.",
"type":"integer",
"example":5
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean"
},
"giftWithPurchaseCommerceItemMarkers":{
"description":"giftWithPurchaseCommerceItemMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"remainingQuantity":{
"description":"The quantity of the commerce item that is not affected by gift with purchase.",
"type":"number",
"example":0
},
"selectedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was selected by the shopper.",
"type":"number",
"example":0
},
"data":{
"description":"The gift hash code for this gift with purchase promotion.",
"type":"integer",
"example":"-123345466"
},
"automaticQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was auto added by pricing.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID.",
"type":"string",
"example":"promo10002"
},
"targetedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was targeted by pricing.",
"type":"number",
"example":0
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
},
"originalCommerceItemId":{
"description":"The Commerce Item ID associated with the original item from which item in cancel order is created.",
"type":"string",
"example":"ci3000411"
},
"catRefId":{
"description":"Sku reference ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"name"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"displayName"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":"Sku_18Cxi"
}
}
}
},
"route":{
"description":"The UI route to display the product.",
"type":"string"
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string"
},
"shopperInput":{
"description":"Map of shopper input keys to values",
"additionalProperties":{
"type":"string"
},
"type":"object"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
}
}
}
}
}
}
Nested Schema : soldTo
Type: object
Sold-to details for B2B orders only
Show Source
{
"description":"Sold-to details for B2B orders only",
"type":"object",
"properties":{
"partyId":{
"description":"party id",
"type":"string",
"example":"2222"
},
"partyNumber":{
"description":"party number",
"type":"string",
"example":"1234"
}
}
}
Nested Schema : items
Type: object
Show Source
-
id:
string
The ID of the dynamic property.
Example: giftWrapMessage123
-
label:
string
The label of the dynamic property.
Example: Gift Wrap Message123
-
value:
string
The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.
Example: newGSMessage45600
{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"giftWithPurchaseQuantityAvailableForSelection":{
"description":"gift quantity available for selection",
"type":"number",
"example":1
},
"giftWithPurchaseType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":1
},
"giftWithPurchaseDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"promotionId":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"giftWithPurchaseIdentifier":{
"description":"An identifier used to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-23234234355"
}
}
}
Nested Schema : items
Type: object
Show Source
-
automaticQuantity:
number
The quantity of free sku for this gift selection that has already been auto added to the order.
Example: 0
-
autoRemove:
boolean
Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.
Example: true
-
data:
integer
Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.
Example: -24564678912
-
failedQuantity:
number
The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site.
Example: 0
-
giftDetail:
string
String identifying the free gift, usually the repository ID of the gift type.
Example: Product_6Dxyi
-
giftType:
string
The type of the gift. (sku, product)
Example: product
-
key:
string
-
quantity:
number
The total quantity of sku for this gift selection.
Example: 1
-
removedQuantity:
number
The amount of free quantity that has since been manually removed by a Shopper.
Example: 1
-
selectedQuantity:
integer
The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.
Example: 0
-
targetedQuantity:
number
The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order.
-
value:
string
The gift with purchase promotion ID
Example: promo40001
{
"type":"object",
"properties":{
"quantity":{
"description":"The total quantity of sku for this gift selection.",
"type":"number",
"example":1
},
"selectedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.",
"type":"integer",
"example":0
},
"removedQuantity":{
"description":"The amount of free quantity that has since been manually removed by a Shopper.",
"type":"number",
"example":1
},
"data":{
"description":"Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.",
"type":"integer",
"example":"-24564678912"
},
"autoRemove":{
"description":"Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.",
"type":"boolean",
"example":true
},
"giftDetail":{
"description":"String identifying the free gift, usually the repository ID of the gift type.",
"type":"string",
"example":"Product_6Dxyi"
},
"automaticQuantity":{
"description":"The quantity of free sku for this gift selection that has already been auto added to the order.",
"type":"number",
"example":0
},
"giftType":{
"description":"The type of the gift. (sku, product)",
"type":"string",
"example":"product"
},
"failedQuantity":{
"description":"The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID",
"type":"string",
"example":"promo40001"
},
"targetedQuantity":{
"description":"The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order.",
"type":"number"
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
Nested Schema : items
Type: object
Show Source
-
key:
string
Order marker key. In a marketing campaign marker, a key signifies that it is a campaign marker. Also, it identifies the external marketing system that is the source of the campaign, e.g., campaign_eloqua
Example: campaign_eloqua
-
value:
string
Order marker value. In the case of a marketing campaign, it represents the actual unique campaign ID
Example: 78900
{
"type":"object",
"properties":{
"value":{
"description":"Order marker value. In the case of a marketing campaign, it represents the actual unique campaign ID",
"type":"string",
"example":"78900"
},
"key":{
"description":"Order marker key. In a marketing campaign marker, a key signifies that it is a campaign marker. Also, it identifies the external marketing system that is the source of the campaign, e.g., campaign_eloqua",
"type":"string",
"example":"campaign_eloqua"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"paymentGroupId":{
"description":"Payment group ID.",
"type":"string",
"example":"pg70048"
},
"savedCardId":{
"description":"ID of the saved card associated with the payment group.",
"type":"string",
"example":"sc1234"
},
"amount":{
"description":"Amount authorized from the payment group.",
"type":"number",
"example":170
},
"balance":{
"description":"Total available balance on the gift card.",
"type":"number",
"example":100
},
"gatewayName":{
"description":"Payment gateway name. e.g. chaseCreditCard.",
"type":"string",
"example":"chaseGiftCard"
},
"giftCardNumber":{
"description":"Gift card number.",
"type":"string",
"example":"6048347834734734300"
},
"paymentMethod":{
"description":"Payment method. e.g. physicalGiftCard/ creditCard.",
"type":"string",
"example":"creditCard"
},
"uiIntervention":{
"description":"This decides whether the client has to do some intervention for payment. e.g. SOP.",
"type":"string",
"example":null
},
"isAmountRemaining":{
"description":"A boolean to decide if more payment can be made from this payment group.",
"type":"boolean",
"example":true
},
"paymentState":{
"description":"The state of the payment group. e.g. AUTHORIZED.",
"type":"string",
"example":"INITIAL"
},
"maskedCardNumber":{
"description":"Masked gift card number.",
"type":"string",
"example":"xxxxxxxxxxxxxxxxxx1234"
}
}
}
Nested Schema : currency
Type: object
The currency object.
Show Source
{
"description":"The currency object.",
"type":"object",
"properties":{
"symbol":{
"description":"The currency symbol.",
"type":"string",
"example":"$"
},
"displayName":{
"description":"Display name of the currency.",
"type":"string",
"example":"US Dollar"
},
"repositoryId":{
"description":"Repository ID of the currency.",
"type":"string",
"example":"currency"
},
"fractionalDigits":{
"description":"Number of fractional digits for the currency.",
"type":"integer",
"example":2
},
"currencyCode":{
"description":"The currency code.",
"type":"string",
"example":"USD"
},
"numericCode":{
"description":"Numeric code of the currency.",
"type":"string",
"example":840
}
}
}
Nested Schema : shippingSurchargePriceList
Type: object
Shipping Surcharge PriceList object.
Show Source
-
repositoryId:
string
Repository ID of the shipping surcharge price list.
Example: shippingSurchargePrices
{
"description":"Shipping Surcharge PriceList object.",
"type":"object",
"properties":{
"repositoryId":{
"description":"Repository ID of the shipping surcharge price list.",
"type":"string",
"example":"shippingSurchargePrices"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"priceInfo":{
"description":"Price information of the order.",
"type":"object",
"properties":{
"amount":{
"description":"Amount of order.",
"type":"number",
"example":179
},
"total":{
"description":"Total amount of order.",
"type":"number",
"example":204.06
},
"shipping":{
"description":"Shipping price of order.",
"type":"number",
"example":6.5
},
"primaryCurrencyTotal":{
"description":"The current total in loyalty points in case of multi currency",
"type":"number",
"example":204.06
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"tax":{
"description":"Tax.",
"type":"number",
"example":18.56
},
"subTotal":{
"description":"Sub total.",
"type":"number",
"example":179
},
"currencyCode":{
"description":"Currency code for currency being used.",
"type":"string",
"example":"USD"
},
"totalWithoutTax":{
"description":"The total without including tax.",
"type":"string",
"example":185.5
}
}
},
"discountInfo":{
"description":"Discount Information",
"type":"object",
"properties":{
"orderDiscount":{
"description":"Order Discount",
"type":"number",
"example":0
},
"shippingDiscount":{
"description":"Shipping Discount",
"type":"number",
"example":0
},
"discountDescList":{
"description":"The list of all the order discounts.",
"type":"array",
"items":{
"type":"object",
"properties":{
"promotionName":{
"description":"The display name of the promotion.",
"type":"string",
"example":"Free Tattoo"
},
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"coupon":{
"description":"The coupon code.",
"type":"string",
"example":"FREETATTOO"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Explicit Item Discount - FREETATTOO"
},
"promotionId":{
"description":"The promotion ID.",
"type":"string",
"example":"explicitItemFreeDiscount"
}
}
}
},
"orderImplicitDiscountList":{
"description":"Implicit Promotions for the order",
"type":"array",
"items":{
"type":"object",
"properties":{
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Implicit Item Discount - 3PercentOff"
},
"promotionId":{
"description":"The Id of the promotion.",
"type":"string",
"example":"implicitItemPercentDiscount"
}
}
}
}
}
},
"shippingMethod":{
"description":"The shipping method details for the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"The total cost of shipping.",
"type":"number",
"example":6.5
},
"taxIncluded":{
"description":"Whether tax is included",
"type":"boolean",
"example":true
},
"externalId":{
"description":"External Id.",
"type":"string",
"example":"EXTERNAL1"
},
"taxCode":{
"description":"Tax Code.",
"type":"string",
"example":"PC00300"
},
"value":{
"description":"The shipping method applied to the order.",
"type":"string",
"example":"ground"
},
"shippingMethodDescription":{
"description":"The description of the shipping method.",
"type":"string",
"example":"Ground"
}
}
},
"shippingGroupId":{
"description":"The ID of the shipping group.",
"type":"string",
"example":"sg10032"
},
"shippingAddress":{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string",
"example":"Smith"
},
"country":{
"description":"Country.",
"type":"string",
"example":"US"
},
"address3":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"address2":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"city":{
"description":"City.",
"type":"string",
"example":"Orlando"
},
"prefix":{
"description":"Name prefix.",
"type":"string",
"example":"Mr"
},
"address1":{
"description":"Address snippet.",
"type":"string",
"example":"76 Palm Drive"
},
"postalCode":{
"description":"Postal code.",
"type":"string",
"example":32002
},
"jobTitle":{
"description":"Job title.",
"type":"string",
"example":"Doctor"
},
"companyName":{
"description":"Company name.",
"type":"string",
"example":"Doctor's Place"
},
"county":{
"description":"County.",
"type":"string",
"example":"Florida"
},
"suffix":{
"description":"Name suffix.",
"type":"string",
"example":"John Smith"
},
"selectedCountry":{
"description":"Country code.",
"type":"string",
"example":"US"
},
"firstName":{
"description":"First name.",
"type":"string",
"example":"John"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string",
"example":"09345456345"
},
"alias":{
"description":"Address alias.",
"type":"string",
"example":"Address03#"
},
"faxNumber":{
"description":"Fax number.",
"type":"string",
"example":330193316
},
"middleName":{
"description":"Middle name.",
"type":"string",
"example":"Joe"
},
"state":{
"description":"State.",
"type":"string",
"example":"FL"
},
"email":{
"description":"Email address.",
"type":"string",
"example":"john@email.com"
}
}
},
"type":{
"description":"The type of shipping group e.g. hardgoodShippingGroup, inStorePickupShippingGroup, inStoreTakeWithShippingGroup",
"type":"string",
"example":"hardgoodShippingGroup"
},
"items":{
"description":"The array of products in the shipping group.",
"type":"array",
"items":{
"type":"object",
"properties":{
"availablePickupDate":{
"description":"The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"inventoryLocationId":{
"description":"Defines the inventory location that services the referenced commerce item.",
"type":"string",
"example":"SiteUS-GlenAllen187"
},
"rawTotalPrice":{
"description":"The raw price of the product.",
"type":"number",
"example":29.99
},
"returnedQuantity":{
"description":"Number of referenced items that were returned.",
"type":"integer",
"example":0
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"availabilityDate":{
"description":"The availability date of commerce Item.",
"type":"string",
"example":"2020-06-30"
},
"discountAmount":{
"description":"The value of the discount.",
"type":"number",
"example":0
},
"preOrderQuantity":{
"description":"The pre order quantity of the items.",
"type":"number",
"example":0
},
"commerceItemId":{
"description":"The ID of the commerce item.",
"type":"string",
"example":"ci3000411"
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"onSale":{
"description":"Whether the item is on sale or not.",
"type":"boolean",
"example":false
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"unitPrice":{
"description":"The price of the item.",
"type":"number",
"example":29.99
},
"quantity":{
"description":"The quantity of the product in this shipping group.",
"type":"integer",
"example":5
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean",
"example":false
},
"relationshipType":{
"description":"The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.",
"type":"string"
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"salePrice":{
"description":"Sale Price.",
"type":"string",
"example":0
},
"preferredPickupDate":{
"description":"The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"catRefId":{
"description":"The product variant ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string",
"example":"siteUS"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
},
"backOrderQuantity":{
"description":"Back Order Quantity of the Items.",
"type":"number",
"example":0
}
}
}
},
"shipTo":{
"description":"shipTo details for shipping. Applicable for B2B orders only",
"type":"object",
"properties":{
"contactPartyNumber":{
"description":"contact party number",
"type":"string",
"example":"CDM_12345"
},
"siteId":{
"description":"site id ",
"type":"string",
"example":"22233"
},
"partyId":{
"description":"party id ",
"type":"string",
"example":"22233"
}
}
}
}
}
Nested Schema : discountInfo
Type: object
Discount Information
Show Source
{
"description":"Discount Information",
"type":"object",
"properties":{
"orderDiscount":{
"description":"Order Discount",
"type":"number",
"example":0
},
"shippingDiscount":{
"description":"Shipping Discount",
"type":"number",
"example":0
},
"discountDescList":{
"description":"The list of all the order discounts.",
"type":"array",
"items":{
"type":"object",
"properties":{
"promotionName":{
"description":"The display name of the promotion.",
"type":"string",
"example":"Free Tattoo"
},
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"coupon":{
"description":"The coupon code.",
"type":"string",
"example":"FREETATTOO"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Explicit Item Discount - FREETATTOO"
},
"promotionId":{
"description":"The promotion ID.",
"type":"string",
"example":"explicitItemFreeDiscount"
}
}
}
},
"orderImplicitDiscountList":{
"description":"Implicit Promotions for the order",
"type":"array",
"items":{
"type":"object",
"properties":{
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Implicit Item Discount - 3PercentOff"
},
"promotionId":{
"description":"The Id of the promotion.",
"type":"string",
"example":"implicitItemPercentDiscount"
}
}
}
}
}
}
Nested Schema : items
Type: array
The array of products in the shipping group.
Show Source
{
"description":"The array of products in the shipping group.",
"type":"array",
"items":{
"type":"object",
"properties":{
"availablePickupDate":{
"description":"The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"inventoryLocationId":{
"description":"Defines the inventory location that services the referenced commerce item.",
"type":"string",
"example":"SiteUS-GlenAllen187"
},
"rawTotalPrice":{
"description":"The raw price of the product.",
"type":"number",
"example":29.99
},
"returnedQuantity":{
"description":"Number of referenced items that were returned.",
"type":"integer",
"example":0
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"availabilityDate":{
"description":"The availability date of commerce Item.",
"type":"string",
"example":"2020-06-30"
},
"discountAmount":{
"description":"The value of the discount.",
"type":"number",
"example":0
},
"preOrderQuantity":{
"description":"The pre order quantity of the items.",
"type":"number",
"example":0
},
"commerceItemId":{
"description":"The ID of the commerce item.",
"type":"string",
"example":"ci3000411"
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"onSale":{
"description":"Whether the item is on sale or not.",
"type":"boolean",
"example":false
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"unitPrice":{
"description":"The price of the item.",
"type":"number",
"example":29.99
},
"quantity":{
"description":"The quantity of the product in this shipping group.",
"type":"integer",
"example":5
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean",
"example":false
},
"relationshipType":{
"description":"The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.",
"type":"string"
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"salePrice":{
"description":"Sale Price.",
"type":"string",
"example":0
},
"preferredPickupDate":{
"description":"The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"catRefId":{
"description":"The product variant ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string",
"example":"siteUS"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
},
"backOrderQuantity":{
"description":"Back Order Quantity of the Items.",
"type":"number",
"example":0
}
}
}
}
Nested Schema : priceInfo
Type: object
Price information of the order.
Show Source
{
"description":"Price information of the order.",
"type":"object",
"properties":{
"amount":{
"description":"Amount of order.",
"type":"number",
"example":179
},
"total":{
"description":"Total amount of order.",
"type":"number",
"example":204.06
},
"shipping":{
"description":"Shipping price of order.",
"type":"number",
"example":6.5
},
"primaryCurrencyTotal":{
"description":"The current total in loyalty points in case of multi currency",
"type":"number",
"example":204.06
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"tax":{
"description":"Tax.",
"type":"number",
"example":18.56
},
"subTotal":{
"description":"Sub total.",
"type":"number",
"example":179
},
"currencyCode":{
"description":"Currency code for currency being used.",
"type":"string",
"example":"USD"
},
"totalWithoutTax":{
"description":"The total without including tax.",
"type":"string",
"example":185.5
}
}
}
Nested Schema : shippingAddress
Type: object
The shipping address details.
Show Source
{
"description":"The shipping address details.",
"type":"object",
"properties":{
"lastName":{
"description":"Last name.",
"type":"string",
"example":"Smith"
},
"country":{
"description":"Country.",
"type":"string",
"example":"US"
},
"address3":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"address2":{
"description":"Address snippet.",
"type":"string",
"example":"Florida"
},
"city":{
"description":"City.",
"type":"string",
"example":"Orlando"
},
"prefix":{
"description":"Name prefix.",
"type":"string",
"example":"Mr"
},
"address1":{
"description":"Address snippet.",
"type":"string",
"example":"76 Palm Drive"
},
"postalCode":{
"description":"Postal code.",
"type":"string",
"example":32002
},
"jobTitle":{
"description":"Job title.",
"type":"string",
"example":"Doctor"
},
"companyName":{
"description":"Company name.",
"type":"string",
"example":"Doctor's Place"
},
"county":{
"description":"County.",
"type":"string",
"example":"Florida"
},
"suffix":{
"description":"Name suffix.",
"type":"string",
"example":"John Smith"
},
"selectedCountry":{
"description":"Country code.",
"type":"string",
"example":"US"
},
"firstName":{
"description":"First name.",
"type":"string",
"example":"John"
},
"phoneNumber":{
"description":"Phone number.",
"type":"string",
"example":"09345456345"
},
"alias":{
"description":"Address alias.",
"type":"string",
"example":"Address03#"
},
"faxNumber":{
"description":"Fax number.",
"type":"string",
"example":330193316
},
"middleName":{
"description":"Middle name.",
"type":"string",
"example":"Joe"
},
"state":{
"description":"State.",
"type":"string",
"example":"FL"
},
"email":{
"description":"Email address.",
"type":"string",
"example":"john@email.com"
}
}
}
Nested Schema : shippingMethod
Type: object
The shipping method details for the order.
Show Source
{
"description":"The shipping method details for the order.",
"type":"object",
"properties":{
"shippingTax":{
"description":"The shipping tax.",
"type":"number",
"example":0.46
},
"cost":{
"description":"The total cost of shipping.",
"type":"number",
"example":6.5
},
"taxIncluded":{
"description":"Whether tax is included",
"type":"boolean",
"example":true
},
"externalId":{
"description":"External Id.",
"type":"string",
"example":"EXTERNAL1"
},
"taxCode":{
"description":"Tax Code.",
"type":"string",
"example":"PC00300"
},
"value":{
"description":"The shipping method applied to the order.",
"type":"string",
"example":"ground"
},
"shippingMethodDescription":{
"description":"The description of the shipping method.",
"type":"string",
"example":"Ground"
}
}
}
Nested Schema : shipTo
Type: object
shipTo details for shipping. Applicable for B2B orders only
Show Source
{
"description":"shipTo details for shipping. Applicable for B2B orders only",
"type":"object",
"properties":{
"contactPartyNumber":{
"description":"contact party number",
"type":"string",
"example":"CDM_12345"
},
"siteId":{
"description":"site id ",
"type":"string",
"example":"22233"
},
"partyId":{
"description":"party id ",
"type":"string",
"example":"22233"
}
}
}
Nested Schema : discountDescList
Type: array
The list of all the order discounts.
Show Source
{
"description":"The list of all the order discounts.",
"type":"array",
"items":{
"type":"object",
"properties":{
"promotionName":{
"description":"The display name of the promotion.",
"type":"string",
"example":"Free Tattoo"
},
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"coupon":{
"description":"The coupon code.",
"type":"string",
"example":"FREETATTOO"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Explicit Item Discount - FREETATTOO"
},
"promotionId":{
"description":"The promotion ID.",
"type":"string",
"example":"explicitItemFreeDiscount"
}
}
}
}
Nested Schema : orderImplicitDiscountList
Type: array
Implicit Promotions for the order
Show Source
{
"description":"Implicit Promotions for the order",
"type":"array",
"items":{
"type":"object",
"properties":{
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Implicit Item Discount - 3PercentOff"
},
"promotionId":{
"description":"The Id of the promotion.",
"type":"string",
"example":"implicitItemPercentDiscount"
}
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"promotionName":{
"description":"The display name of the promotion.",
"type":"string",
"example":"Free Tattoo"
},
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"coupon":{
"description":"The coupon code.",
"type":"string",
"example":"FREETATTOO"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Explicit Item Discount - FREETATTOO"
},
"promotionId":{
"description":"The promotion ID.",
"type":"string",
"example":"explicitItemFreeDiscount"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"external":{
"description":"States whether this promotion was applied by an external system (only present on external promotions).",
"type":"boolean",
"example":false
},
"promotionLevel":{
"description":"The promotion level.",
"type":"string",
"example":"item"
},
"promotionDesc":{
"description":"Description of the promotion. Retained for backward compatibility.",
"type":"string",
"example":"Implicit Item Discount - 3PercentOff"
},
"promotionId":{
"description":"The Id of the promotion.",
"type":"string",
"example":"implicitItemPercentDiscount"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"availablePickupDate":{
"description":"The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"inventoryLocationId":{
"description":"Defines the inventory location that services the referenced commerce item.",
"type":"string",
"example":"SiteUS-GlenAllen187"
},
"rawTotalPrice":{
"description":"The raw price of the product.",
"type":"number",
"example":29.99
},
"returnedQuantity":{
"description":"Number of referenced items that were returned.",
"type":"integer",
"example":0
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
},
"shippingSurchargeValue":{
"description":"Extra handling costs for shipping the products.",
"type":"number",
"example":0
},
"availabilityDate":{
"description":"The availability date of commerce Item.",
"type":"string",
"example":"2020-06-30"
},
"discountAmount":{
"description":"The value of the discount.",
"type":"number",
"example":0
},
"preOrderQuantity":{
"description":"The pre order quantity of the items.",
"type":"number",
"example":0
},
"commerceItemId":{
"description":"The ID of the commerce item.",
"type":"string",
"example":"ci3000411"
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"onSale":{
"description":"Whether the item is on sale or not.",
"type":"boolean",
"example":false
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"unitPrice":{
"description":"The price of the item.",
"type":"number",
"example":29.99
},
"quantity":{
"description":"The quantity of the product in this shipping group.",
"type":"integer",
"example":5
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean",
"example":false
},
"relationshipType":{
"description":"The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.",
"type":"string"
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"salePrice":{
"description":"Sale Price.",
"type":"string",
"example":0
},
"preferredPickupDate":{
"description":"The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).",
"type":"string",
"example":"2020-06-30"
},
"catRefId":{
"description":"The product variant ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string",
"example":"siteUS"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
},
"backOrderQuantity":{
"description":"Back Order Quantity of the Items.",
"type":"number",
"example":0
}
}
}
Nested Schema : dynamicProperties
Type: array
Array of custom properties at order line item level.
Show Source
{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
}
Nested Schema : skuProperties
Type: array
Sku properties Information
Show Source
{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
}
Nested Schema : variant
Type: array
List of variants for the product.
Show Source
{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
}
Nested Schema : items
Type: object
Show Source
-
id:
string
The ID of the dynamic property.
Example: dynamicPropertyMode
-
label:
string
The label of the dynamic property.
Example: Mode
-
value:
string
The value of the dynamic property.
Example: pickup
{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"dynamicPropertyMode"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Mode"
},
"value":{
"description":"The value of the dynamic property.",
"type":"string",
"example":"pickup"
}
}
}
Nested Schema : items
Type: object
Show Source
-
id:
string
ID of the Dynamic SKU Property.
Example: upcCode
-
name:
string
Name of the Dynamic SKU Property.
Example: UPC Code
-
propertyType:
string
Type that indicates whether it is a base or a custom SKU property,
Example: sku-base
-
value:
string
Value of the Dynamic SKU Property.
Example: 12345
{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"UPC Code"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"upcCode"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":12345
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
Nested Schema : items
Type: array
Items in the cart.
Show Source
{
"description":"Items in the cart.",
"type":"array",
"items":{
"type":"object",
"properties":{
"primaryThumbImageURL":{
"description":"Product's Primary Thumb Image URL.",
"type":"string",
"example":"ccstore/v1/images/?source=/file/v7023553219093550939/products/Book.jpg&height=100&width=100"
},
"rawTotalPrice":{
"description":"Raw Total Price.",
"type":"string",
"example":179
},
"displayName":{
"description":"Display Name.",
"type":"string",
"example":"Dora The Explorer"
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
},
"shippingSurchargeValue":{
"description":"shipping surcharge value.",
"type":"number",
"example":0
},
"discountAmount":{
"description":"The discount amount.",
"type":"number",
"example":0
},
"externalData":{
"description":"External data to be associated with a commerce item, provided by a configurator system.",
"type":"array",
"items":{
"type":"object",
"properties":{
"values":{
"description":"The array of values associated with an externalData item.",
"type":"object",
"properties":{
"dynamic_property_key":{
"description":"This property's name and value will be retrieved from a configurator system, so will be dynamically set.",
"type":"string"
}
}
},
"name":{
"description":"The name to be associated with the externalData item.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the externalData item by the configurator system.",
"type":"string"
}
}
}
},
"isItemValid":{
"description":"Whether item is valid or not.",
"type":"boolean",
"example":true
},
"itemDiscountInfos":{
"description":"Item discount infos",
"type":"array",
"items":{
"type":"object",
"properties":{
"couponCodes":{
"description":"Coupon codes applied to the items",
"type":"array",
"items":{
"type":"string",
"example":"TestCouponCode"
}
},
"amount":{
"description":"Discount amount for item",
"type":"number",
"example":10
},
"promotionId":{
"description":"ID of the promotion",
"type":"string",
"example":"promo1111"
}
}
}
},
"commerceItemId":{
"description":"For stateless cart, can be used as a unique line item ID distinguisher.",
"type":"string",
"example":"ci3000411"
},
"price":{
"description":"Price of the items.",
"type":"number",
"example":21.99
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"primaryImageAltText":{
"description":"The product's primary image alternative text.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the item by the configurator system.",
"type":"string",
"example":"Add"
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"id":{
"description":"Unique identifier for the line item.",
"type":"string",
"example":"ci3000415"
},
"primaryImageTitle":{
"description":"The product's primary image title.",
"type":"string",
"example":"Samsung - F90BN HD Flash Memory Camcorder"
},
"childSkus":{
"description":"An array with single primary image url for this item's sku, or its default image.",
"type":"array",
"items":{
"type":"string"
}
},
"quantity":{
"description":"Quantity of the items.",
"type":"integer",
"example":5
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean"
},
"giftWithPurchaseCommerceItemMarkers":{
"description":"giftWithPurchaseCommerceItemMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"remainingQuantity":{
"description":"The quantity of the commerce item that is not affected by gift with purchase.",
"type":"number",
"example":0
},
"selectedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was selected by the shopper.",
"type":"number",
"example":0
},
"data":{
"description":"The gift hash code for this gift with purchase promotion.",
"type":"integer",
"example":"-123345466"
},
"automaticQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was auto added by pricing.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID.",
"type":"string",
"example":"promo10002"
},
"targetedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was targeted by pricing.",
"type":"number",
"example":0
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
},
"originalCommerceItemId":{
"description":"The Commerce Item ID associated with the original item from which item in cancel order is created.",
"type":"string",
"example":"ci3000411"
},
"catRefId":{
"description":"Sku reference ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"name"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"displayName"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":"Sku_18Cxi"
}
}
}
},
"route":{
"description":"The UI route to display the product.",
"type":"string"
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string"
},
"shopperInput":{
"description":"Map of shopper input keys to values",
"additionalProperties":{
"type":"string"
},
"type":"object"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
}
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"primaryThumbImageURL":{
"description":"Product's Primary Thumb Image URL.",
"type":"string",
"example":"ccstore/v1/images/?source=/file/v7023553219093550939/products/Book.jpg&height=100&width=100"
},
"rawTotalPrice":{
"description":"Raw Total Price.",
"type":"string",
"example":179
},
"displayName":{
"description":"Display Name.",
"type":"string",
"example":"Dora The Explorer"
},
"dynamicProperties":{
"description":"Array of custom properties at order line item level.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"The ID of the dynamic property.",
"type":"string",
"example":"giftWrapMessage123"
},
"label":{
"description":"The label of the dynamic property.",
"type":"string",
"example":"Gift Wrap Message123"
},
"value":{
"description":"The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.",
"type":"string",
"example":"newGSMessage45600"
}
}
}
},
"shippingSurchargeValue":{
"description":"shipping surcharge value.",
"type":"number",
"example":0
},
"discountAmount":{
"description":"The discount amount.",
"type":"number",
"example":0
},
"externalData":{
"description":"External data to be associated with a commerce item, provided by a configurator system.",
"type":"array",
"items":{
"type":"object",
"properties":{
"values":{
"description":"The array of values associated with an externalData item.",
"type":"object",
"properties":{
"dynamic_property_key":{
"description":"This property's name and value will be retrieved from a configurator system, so will be dynamically set.",
"type":"string"
}
}
},
"name":{
"description":"The name to be associated with the externalData item.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the externalData item by the configurator system.",
"type":"string"
}
}
}
},
"isItemValid":{
"description":"Whether item is valid or not.",
"type":"boolean",
"example":true
},
"itemDiscountInfos":{
"description":"Item discount infos",
"type":"array",
"items":{
"type":"object",
"properties":{
"couponCodes":{
"description":"Coupon codes applied to the items",
"type":"array",
"items":{
"type":"string",
"example":"TestCouponCode"
}
},
"amount":{
"description":"Discount amount for item",
"type":"number",
"example":10
},
"promotionId":{
"description":"ID of the promotion",
"type":"string",
"example":"promo1111"
}
}
}
},
"commerceItemId":{
"description":"For stateless cart, can be used as a unique line item ID distinguisher.",
"type":"string",
"example":"ci3000411"
},
"price":{
"description":"Price of the items.",
"type":"number",
"example":21.99
},
"variant":{
"description":"List of variants for the product.",
"type":"array",
"items":{
"type":"object",
"properties":{
"optionValue":{
"description":"The variant option value.",
"type":"string",
"example":"red"
},
"optionName":{
"description":"The variant option name.",
"type":"string",
"example":"color"
}
}
}
},
"primaryImageAltText":{
"description":"The product's primary image alternative text.",
"type":"string"
},
"actionCode":{
"description":"The action code that has been set on the item by the configurator system.",
"type":"string",
"example":"Add"
},
"state":{
"description":"state of the commerce Item",
"type":"string",
"example":"SUBMITTED"
},
"id":{
"description":"Unique identifier for the line item.",
"type":"string",
"example":"ci3000415"
},
"primaryImageTitle":{
"description":"The product's primary image title.",
"type":"string",
"example":"Samsung - F90BN HD Flash Memory Camcorder"
},
"childSkus":{
"description":"An array with single primary image url for this item's sku, or its default image.",
"type":"array",
"items":{
"type":"string"
}
},
"quantity":{
"description":"Quantity of the items.",
"type":"integer",
"example":5
},
"productId":{
"description":"ID of the product in the cart.",
"type":"string",
"example":"Product_18Cxi"
},
"pointOfNoRevision":{
"description":"The boolean that indicates if the item has passed pointOfNoRevision.",
"type":"boolean"
},
"giftWithPurchaseCommerceItemMarkers":{
"description":"giftWithPurchaseCommerceItemMarker information.",
"type":"array",
"items":{
"type":"object",
"properties":{
"remainingQuantity":{
"description":"The quantity of the commerce item that is not affected by gift with purchase.",
"type":"number",
"example":0
},
"selectedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was selected by the shopper.",
"type":"number",
"example":0
},
"data":{
"description":"The gift hash code for this gift with purchase promotion.",
"type":"integer",
"example":"-123345466"
},
"automaticQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was auto added by pricing.",
"type":"number",
"example":0
},
"value":{
"description":"The gift with purchase promotion ID.",
"type":"string",
"example":"promo10002"
},
"targetedQuantity":{
"description":"The quantity of the free gift that this commerce item is making free and was targeted by pricing.",
"type":"number",
"example":0
},
"key":{
"description":"atg.gwp",
"type":"string",
"example":"atg.gwp"
}
}
}
},
"originalCommerceItemId":{
"description":"The Commerce Item ID associated with the original item from which item in cancel order is created.",
"type":"string",
"example":"ci3000411"
},
"catRefId":{
"description":"Sku reference ID.",
"type":"string",
"example":"Sku_18Cxi"
},
"skuProperties":{
"description":"Sku properties Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"propertyType":{
"description":"Type that indicates whether it is a base or a custom SKU property,",
"type":"string",
"example":"sku-base"
},
"name":{
"description":"Name of the Dynamic SKU Property.",
"type":"string",
"example":"name"
},
"id":{
"description":"ID of the Dynamic SKU Property.",
"type":"string",
"example":"displayName"
},
"value":{
"description":"Value of the Dynamic SKU Property.",
"type":"string",
"example":"Sku_18Cxi"
}
}
}
},
"route":{
"description":"The UI route to display the product.",
"type":"string"
},
"siteId":{
"description":"The ID of the site on which the item was added.",
"type":"string"
},
"shopperInput":{
"description":"Map of shopper input keys to values",
"additionalProperties":{
"type":"string"
},
"type":"object"
},
"asset":{
"description":"The flag that determines if the current item is an asset or not.",
"type":"boolean",
"example":false
}
}
}