getInitialOrder
post
/ccstore/v1/orders/{id}
Get Initial Order. Returns an incomplete order that has been initiated with the payment type. Optionally takes the x-ccasset-language headers to get translated content in another language. Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization context of logged in user.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueThe id is the payment type in the order being retrieved.
Header Parameters
- X-CCOrganization
-
Type:
stringCurrent organization context of the logged in user
Body Parameter
Root Schema : getInitialOrder_request
{
"PayerID":"JF8GVGL9Y5V7W",
"paymentId":"PAY-0RH85609009448435KUPPKUA"
}
- amount
-
Type:
stringAmount of the order required for PayULatamWeb checkout type. - currency
-
Type:
stringISO 4127 three-letter currency code required for PayULatamWeb checkout type. - PayerID
-
Type:
stringPayer ID required for paypal checkout type. - paymentId
-
Type:
stringPayment ID required for both Paypal checkout and PayULatamWeb checkout types. - signature
-
Type:
stringSignature generated required for PayULatamWeb checkout type. - transactionStatus
-
Type:
stringStatus of the transaction required for PayULatamWeb checkout type. - transactionType
-
Type:
stringType of the transaction required for PayULatamWeb checkout type.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getInitialOrder_response
- creationDate
-
Type:
stringThe creation date in ISO format. - creationTime
-
Type:
numberThe creation time in long seconds. - discountInfo
-
Type:
objectdiscountInfoAdditional Properties Allowed:The discount information. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:Read-only list of dynamic properties for the order along with meta-data. - id
-
Type:
stringThe order ID. - lastModifiedDate
-
Type:
stringThe order recent modified date in ISO format. - orderLocale
-
Type:
stringThe locale in which order submitted. - payments
-
Type:
objectpaymentsAdditional Properties Allowed:Payment details for the order, including additional properties specific to the payment type. - priceInfo
-
Type:
objectpriceInfoAdditional Properties Allowed:The price information. - priceListGroup
-
Type:
objectpriceListGroupAdditional Properties Allowed:The price list group object. - quoteInfo
-
Type:
objectquoteInfoAdditional Properties Allowed:the quote information of the order - recurringChargePriceInfo
-
Type:
objectrecurringChargePriceInfoAdditional Properties Allowed:Recurring charge price information. - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:The shipping address details. - shippingGroups
-
Type:
arrayshippingGroupsAdditional Properties Allowed:The shipping groups for the order. - shippingMethod
-
Type:
objectshippingMethodAdditional Properties Allowed:The shipping method details for the order. - shoppingCart
-
Type:
objectshoppingCartAdditional Properties Allowed:The shopping cart contents of the current order. - sourceSystem
-
Type:
stringThe system where the order originated. - uuid
-
Type:
stringThe unique ID for the order.
Nested Schema : discountInfo
Type:
objectThe discount information.
- orderDiscount
-
Type:
integerThe order discount. - orderDiscountDescList
-
Type:
arrayorderDiscountDescListAdditional Properties Allowed:The list of all the order discounts. - shippingDiscount
-
Type:
integerThe shipping discount.
Nested Schema : dynamicProperties
Nested Schema : payments
Type:
objectPayment details for the order, including additional properties specific to the payment type.
- gatewayName
-
Type:
stringName of the payment gateway. - paymentGroupId
-
Type:
stringThe payment group ID used for the order. - paymentId
-
Type:
stringPayment ID relevant to the payment type. - paymentMethod
-
Type:
stringMode of payment. - paymentState
-
Type:
stringCurrent state for the payment. - type
-
Type:
stringPayment type. e.g. paypalCheckout, payULatamWebcheckout. - uiIntervention
-
Type:
stringRepresents UI Intervention.
Nested Schema : priceInfo
Type:
objectThe price information.
- amount
-
Type:
numberThe total order amount. - currencyCode
-
Type:
stringThe currency code. - shipping
-
Type:
numberThe total shipping cost. - shippingSurchargeValue
-
Type:
numberExtra handling costs for shipping the products. - subTotal
-
Type:
numberSub-total. - tax
-
Type:
numberThe total tax amount. - total
-
Type:
numberThe order total.
Nested Schema : priceListGroup
Type:
objectThe price list group object.
- repositoryId
-
Type:
stringRepository ID of the price list group.
Nested Schema : quoteInfo
Type:
objectthe quote information of the order
- errorInfo
-
Type:
arrayerrorInfoAdditional Properties Allowed:the array of errors, if any - expirationDate
-
Type:
stringthe expiration date of the quoted order, if any - externalId
-
Type:
stringthe external id for the quote - notes
-
Type:
arraynotesAdditional Properties Allowed:the notes (history) for the order - providerNote
-
Type:
stringthe provider note for the quoted order - quoteDate
-
Type:
numberthe date the order was quoted in milliseconds - rejectionDate
-
Type:
stringrejection date of the quoted order - rejectionNote
-
Type:
stringthe rejection note for an order whose quote has been rejected by user - requestDate
-
Type:
stringthe date when the quote was requested in ISO format
Nested Schema : recurringChargePriceInfo
Type:
objectRecurring charge price information.
- amount
-
Type:
numberThe monetary amount of this recurring charge. - currencyCode
-
Type:
stringThe currency code for the monetary amounts. A three character currency code such as USD. - frequencyAmountTotals
-
Type:
arrayfrequencyAmountTotalsAdditional Properties Allowed:The total for each recurring charge frequency - frequencyTaxTotals
-
Type:
arrayfrequencyTaxTotalsAdditional Properties Allowed:The tax for each recurring charge frequency - shipping
-
Type:
numberCost of shipping the product. - subTotal
-
Type:
numberThe sub-total price of the recurring charge. - tax
-
Type:
numberMonetary tax amount. - total
-
Type:
numberThe total price of the recurring charge. - totalWithoutTax
-
Type:
numberTotal of recurring amount without tax included.
Nested Schema : shippingAddress
Type:
objectThe shipping address details.
- address1
-
Type:
stringAddress snippet. - address2
-
Type:
stringAddress snippet. - address3
-
Type:
stringAddress snippet. - alias
-
Type:
stringAddress alias. - city
-
Type:
stringCity. - companyName
-
Type:
stringCompany name. - country
-
Type:
stringCountry. - county
-
Type:
stringCounty. -
Type:
stringEmail address. - faxNumber
-
Type:
stringFax number. - firstName
-
Type:
stringFirst name - jobTitle
-
Type:
stringJob title. - lastName
-
Type:
stringLast name. - middleName
-
Type:
stringMiddle name. - phoneNumber
-
Type:
stringPhone number. - postalCode
-
Type:
stringPostal code. - prefix
-
Type:
stringName prefix. - selectedCountry
-
Type:
stringCountry code. - selectedState
-
Type:
stringState code. - state
-
Type:
stringState. - state_ISOCode
-
Type:
stringState ISO code. - suffix
-
Type:
stringName suffix.
Nested Schema : shippingGroups
Nested Schema : shippingMethod
Type:
objectThe shipping method details for the order.
- cost
-
Type:
numberThe total cost of shipping. - value
-
Type:
stringThe shipping method applied to the order.
Nested Schema : shoppingCart
Type:
objectThe shopping cart contents of the current order.
- items
-
Type:
arrayitemsAdditional Properties Allowed:The array of products in the shopping cart.
Nested Schema : orderDiscountDescList
Nested Schema : items
Type:
object- coupon
-
Type:
stringThe coupon code. - promotionDesc
-
Type:
stringThis field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
stringThe promotion ID. - promotionLevel
-
Type:
stringThe promotion level. - promotionLongDesc
-
Type:
stringThe description of the promotion. - promotionName
-
Type:
stringThe display name of the promotion.
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the dynamic property. - label
-
Type:
stringThe label of the dynamic property. - value
-
Type:
stringThe value of the dynamic property.
Nested Schema : errorInfo
Nested Schema : notes
Nested Schema : items
Type:
object- profileId
-
Type:
stringthe profile id of the user - profileType
-
Type:
stringthe profile type of the user that requested the quote - requestDate/quoteDate/rejectionDate
-
Type:
numberthe request/quote/rejection date for the note - requesterNote/providerNote/rejectionNote
-
Type:
stringthe requester/provider/rejection note
Nested Schema : frequencyAmountTotals
Nested Schema : frequencyTaxTotals
Nested Schema : items
Type:
object- frequency
-
Type:
stringThe frequency for the item's total e.g. Monthly. - total
-
Type:
stringThe total amount for the frequency.
Nested Schema : items
Type:
object- frequency
-
Type:
stringThe frequency for the item's tax e.g. Monthly. - tax
-
Type:
stringThe tax amount for the frequency.
Nested Schema : items
Type:
object- items
-
Type:
arrayitemsAdditional Properties Allowed:The array of products in the shipping group. - priceInfo
-
Type:
objectpriceInfoAdditional Properties Allowed:The price information. - recurringChargePriceInfo
-
Type:
objectrecurringChargePriceInfoAdditional Properties Allowed:Recurring charge price information. - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:The shipping address details. - shippingMethod
-
Type:
objectshippingMethodAdditional Properties Allowed:The shipping method details for the order. - surcharge
-
Type:
numberThe shipping surcharge.
Nested Schema : items
Nested Schema : priceInfo
Type:
objectThe price information.
- amount
-
Type:
numberThe total order amount. - currencyCode
-
Type:
stringThe currency code. - shipping
-
Type:
numberThe total shipping cost. - shippingSurchargeValue
-
Type:
numberExtra handling costs for shipping the products. - subTotal
-
Type:
numberSub-total. - tax
-
Type:
numberThe total tax amount. - total
-
Type:
numberThe order total.
Nested Schema : recurringChargePriceInfo
Type:
objectRecurring charge price information.
- amount
-
Type:
numberThe monetary amount of this recurring charge. - currencyCode
-
Type:
stringThe currency code for the monetary amounts. A three character currency code such as USD. - frequencyAmountTotals
-
Type:
arrayfrequencyAmountTotalsAdditional Properties Allowed:The total for each recurring charge frequency - frequencyTaxTotals
-
Type:
arrayfrequencyTaxTotalsAdditional Properties Allowed:The tax for each recurring charge frequency - shipping
-
Type:
numberCost of shipping the product. - subTotal
-
Type:
numberThe sub-total price of the recurring charge. - tax
-
Type:
numberMonetary tax amount. - total
-
Type:
numberThe total price of the recurring charge. - totalWithoutTax
-
Type:
numberTotal of recurring amount without tax included.
Nested Schema : shippingAddress
Type:
objectThe shipping address details.
- address1
-
Type:
stringAddress snippet. - address2
-
Type:
stringAddress snippet. - address3
-
Type:
stringAddress snippet. - alias
-
Type:
stringAddress alias. - city
-
Type:
stringCity. - companyName
-
Type:
stringCompany name. - country
-
Type:
stringCountry. - county
-
Type:
stringCounty. -
Type:
stringEmail address. - faxNumber
-
Type:
stringFax number. - firstName
-
Type:
stringFirst name - jobTitle
-
Type:
stringJob title. - lastName
-
Type:
stringLast name. - middleName
-
Type:
stringMiddle name. - phoneNumber
-
Type:
stringPhone number. - postalCode
-
Type:
stringPostal code. - prefix
-
Type:
stringName prefix. - selectedCountry
-
Type:
stringCountry code. - selectedState
-
Type:
stringState code. - state
-
Type:
stringState. - state_ISOCode
-
Type:
stringState ISO code. - suffix
-
Type:
stringName suffix.
Nested Schema : shippingMethod
Type:
objectThe shipping method details for the order.
- cost
-
Type:
numberThe total cost of shipping. - shippingMethodDescription
-
Type:
stringThe description of the shipping method. - shippingTax
-
Type:
numberThe shipping tax. - value
-
Type:
stringThe shipping method applied to the order.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - active
-
Type:
booleanactive or not. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringThe category to which the product belongs. - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
objectdetailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - discountInfo
-
Type:
arraydiscountInfoAdditional Properties Allowed:The discount information. - displayName
-
Type:
stringThe name of the product. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:Array of custom properties at order line item level. - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalRecurringCharge
-
Type:
numberThe external recurring price. - externalRecurringChargeDuration
-
Type:
stringThe duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
stringThe frequency for the recurring charge e.g. Monthly. - price
-
Type:
integerThe actual price of the product. - productId
-
Type:
stringID of the product in the cart. - quantity
-
Type:
integerThe quantity of the product. - rawTotalPrice
-
Type:
integerThe raw price of the product. - recurringCharge
-
Type:
numberThe recurring charge for the item. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item. - skuProperties
-
Type:
arrayskuPropertiesAdditional Properties Allowed:Sku properties Information - unitPrice
-
Type:
integerThe unit price of the product. - variant
-
Type:
arrayvariantAdditional Properties Allowed:List of variants for the product.
Nested Schema : detailedRecurringChargeInfo
Type:
objectDetailed Item Price Information.
- amount
-
Type:
numberThe monetary amount for the recurring charge. - currencyCode
-
Type:
stringThe three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
numberThe detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
booleanWhether the price is discounted. - orderDiscountShare
-
Type:
numberThe order Discount Share. - quantity
-
Type:
integerThe number of items covered by this recurring charge price info - tax
-
Type:
numberMonetary tax amount.
Nested Schema : discountInfo
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : skuProperties
Nested Schema : variant
Nested Schema : items
Type:
object- coupon
-
Type:
stringThe coupon ID. - promotionDesc
-
Type:
stringThis field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
stringThe promotion ID. - promotionLongDesc
-
Type:
stringThe description of the promotion. - promotionName
-
Type:
stringThe display name of the promotion.
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the dynamic property. - label
-
Type:
stringThe label of the dynamic property. - value
-
Type:
stringThe value of the dynamic property.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- id
-
Type:
stringID of the Dynamic SKU Property. - name
-
Type:
stringName of the Dynamic SKU Property. - propertyType
-
Type:
stringType that indicates whether it is a base or a custom SKU property, - value
-
Type:
stringValue of the Dynamic SKU Property.
Nested Schema : items
Type:
object- optionName
-
Type:
stringThe variant option name. - optionValue
-
Type:
stringThe variant option value.
Nested Schema : frequencyAmountTotals
Nested Schema : frequencyTaxTotals
Nested Schema : items
Type:
object- frequency
-
Type:
stringThe frequency for the item's total e.g. Monthly. - total
-
Type:
stringThe total amount for the frequency.
Nested Schema : items
Type:
object- frequency
-
Type:
stringThe frequency for the item's tax e.g. Monthly. - tax
-
Type:
stringThe tax amount for the frequency.
Nested Schema : items
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringThe category to which the product belongs. - childItems
-
Type:
arraychildItemsAdditional Properties Allowed:The array of child items in the item, if the item is a configurable item. A child item can itself contain child item array if it is a configurable product in itself. - commerceItemId
-
Type:
stringThe unique line item ID distinguisher. - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
objectdetailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - discountInfo
-
Type:
arraydiscountInfoAdditional Properties Allowed:The discount information. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:Array of custom properties at order line item level. - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
numberA price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integerThe maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). - externalRecurringCharge
-
Type:
numberThe external recurring price. - externalRecurringChargeDuration
-
Type:
stringThe duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
stringThe frequency for the recurring charge e.g. Monthly. - price
-
Type:
integerThe actual price of the product. - productId
-
Type:
stringID of the product in the cart. - quantity
-
Type:
integerThe quantity of the product. - rawTotalPrice
-
Type:
integerThe raw price of the product. - recurringCharge
-
Type:
numberThe recurring charge for the item. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item. - shippingSurchargeValue
-
Type:
integerThe extra handling cost for shipping the product. - unitPrice
-
Type:
integerThe unit price of the product.
Nested Schema : childItems
Nested Schema : detailedRecurringChargeInfo
Type:
objectDetailed Item Price Information.
- amount
-
Type:
numberThe monetary amount for the recurring charge. - currencyCode
-
Type:
stringThe three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
numberThe detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
booleanWhether the price is discounted. - orderDiscountShare
-
Type:
numberThe order Discount Share. - quantity
-
Type:
integerThe number of items covered by this recurring charge price info - tax
-
Type:
numberMonetary tax amount.
Nested Schema : discountInfo
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - amount
-
Type:
integerThe total amount of this item including its child items amounts. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringskuid of the item. - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
objectdetailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - displayName
-
Type:
stringThe name of the product. - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
numberA price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integerThe maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). - externalRecurringCharge
-
Type:
numberThe external recurring price. - externalRecurringChargeDuration
-
Type:
stringThe duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
stringThe frequency for the recurring charge e.g. Monthly. - id
-
Type:
stringRepository id of the commerce item. - productId
-
Type:
stringID of the product in the cart. - quantity
-
Type:
integerThe quantity of the product. - rawTotalPrice
-
Type:
integerThe raw price of the product. - recurringCharge
-
Type:
numberThe recurring charge for the item. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item. - unitPrice
-
Type:
integerThe unit price of the product.
Nested Schema : detailedRecurringChargeInfo
Type:
objectDetailed Item Price Information.
- amount
-
Type:
numberThe monetary amount for the recurring charge. - currencyCode
-
Type:
stringThe three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
numberThe detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
booleanWhether the price is discounted. - orderDiscountShare
-
Type:
numberThe order Discount Share. - quantity
-
Type:
integerThe number of items covered by this recurring charge price info - tax
-
Type:
numberMonetary tax amount.
Nested Schema : externalData
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- coupon
-
Type:
stringThe coupon ID. - promotionDesc
-
Type:
stringThis field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
stringThe promotion ID. - promotionLevel
-
Type:
stringThe promotion level. - promotionLongDesc
-
Type:
stringThe description of the promotion. - promotionName
-
Type:
stringThe display name of the promotion. - totalAdjustment
-
Type:
numberTotal adjustment by the promotion.
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the dynamic property. - label
-
Type:
stringThe label of the dynamic property. - value
-
Type:
stringThe value of the dynamic property.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Example application/json
{
"shippingGroups":[
{
"shippingMethod":{
"shippingTax":0,
"cost":0,
"value":"free",
"shippingMethodDescription":"Free Shipping"
},
"shippingGroupId":"sg10005",
"submittedDate":null,
"priceInfo":{
"amount":213,
"total":213,
"shipping":0,
"shippingSurchargeValue":0,
"tax":0,
"subTotal":213,
"currencyCode":"USD",
"totalWithoutTax":213
},
"recurringChargePriceInfo":{
"amount":30,
"total":32.4,
"shipping":0,
"subTotalByFrequency":[
{
"amount":30,
"frequency":"Monthly"
}
],
"taxByFrequency":[
{
"amount":2.4,
"frequency":"Monthly"
}
],
"tax":2.4,
"subTotal":30,
"currencyCode":"USD",
"totalWithoutTax":30
},
"discountInfo":{
"orderDiscount":0,
"shippingDiscount":0,
"discountDescList":[
]
},
"shipOnDate":null,
"trackingInfo":[
],
"actualShipDate":null,
"shippingAddress":{
"lastName":"Shopper",
"country":"US",
"address3":null,
"address2":null,
"city":"San Jose",
"address1":"1 Main St",
"prefix":null,
"companyName":null,
"postalCode":"95131",
"jobTitle":null,
"county":null,
"suffix":null,
"firstName":"Test",
"phoneNumber":null,
"alias":null,
"faxNumber":null,
"middleName":null,
"state":"CA",
"email":"shopper-1@cloudlake.com"
},
"trackingNumber":null,
"items":[
{
"primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v2/products/HOME_HueyMartiniGlass_full.jpg&height=100&width=100",
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":14,
"returnedQuantity":0,
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"displayName":"Davis Martini Glass",
"shippingSurchargeValue":0,
"discountAmount":0,
"externalData":[
],
"billingAccountId":"billingAcc-123",
"commerceItemId":"ci3000411",
"assetId":"asset10001",
"price":14,
"variant":[
],
"onSale":false,
"primaryImageAltText":"Davis Martini Glass",
"actionCode":"Add",
"serviceId":"service-123",
"stateDetailsAsUser":"The item has been initialized within the shipping group",
"serviceAccountId":"serviceAcc-123",
"unitPrice":14,
"primaryImageTitle":"Davis Martini Glass",
"quantity":1,
"productId":"xprod2076",
"salePrice":0,
"detailedItemPriceInfo":[
{
"discounted":false,
"amount":14,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":14,
"currencyCode":"USD"
}
],
"externalRecurringCharge":10,
"active":true,
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"xsku2076",
"skuProperties":[
],
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"route":"/davis-martini-glass/product/xprod2076",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"activationDate":"2017-06-27T15:30:00Z",
"listPrice":14,
"recurringCharge":10,
"status":"INITIAL"
},
{
"primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v2/products/ST_ShayaDiningChair_full.jpg&height=100&width=100",
"rawTotalPrice":199,
"returnedQuantity":0,
"displayName":"Shaya Dining Chair",
"shippingSurchargeValue":0,
"discountAmount":0,
"price":199,
"variant":[
],
"onSale":false,
"primaryImageAltText":"Shaya Dining Chair",
"stateDetailsAsUser":"The item has been initialized within the shipping group",
"unitPrice":199,
"primaryImageTitle":"Shaya Dining Chair",
"quantity":1,
"productId":"xprod2117",
"salePrice":0,
"detailedItemPriceInfo":[
{
"discounted":false,
"amount":199,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":199,
"currencyCode":"USD"
}
],
"externalRecurringCharge":10,
"active":true,
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"xsku2117",
"skuProperties":[
],
"discountInfo":[
],
"route":"/shaya-dining-chair/product/xprod2117",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"listPrice":199,
"recurringCharge":10,
"status":"INITIAL"
}
],
"status":"INITIAL"
}
],
"creationTime":1.430862700011E12,
"lastModifiedDate":"2015-05-05T21:51:51.708Z",
"dynamicProperties":[
{
"id":"dynamicPropertyShippingInstructions",
"label":"Shipping Instructions",
"value":"Test Instructions"
}
],
"payments":{
"paymentGroupId":"pg10003",
"amount":213,
"gatewayName":"PP-A",
"paymentId":"PAY-21F96134TN204932AKVETVYY",
"uiIntervention":null,
"transaction_state":"created",
"paymentMethod":"onlinePaymentGroup",
"isAmountRemaining":true,
"paymentState":"INITIAL",
"type":"paypalCheckout",
"intent":"authorize"
},
"priceListGroup":{
"repositoryId":"UsDollar"
},
"creationDate":"2015-05-05T21:51:40.011Z",
"orderProfileId":"110727",
"priceInfo":{
"amount":213,
"total":213,
"shipping":0,
"shippingSurchargeValue":0,
"tax":0,
"subTotal":213,
"currencyCode":"USD"
},
"recurringChargePriceInfo":{
"amount":30,
"total":32.4,
"shipping":0,
"subTotalByFrequency":[
{
"amount":30,
"frequency":"Monthly"
}
],
"taxByFrequency":[
{
"amount":2.4,
"frequency":"Monthly"
}
],
"tax":2.4,
"subTotal":30,
"currencyCode":"USD",
"totalWithoutTax":30
},
"discountInfo":{
"orderDiscount":0,
"orderDiscountDescList":[
{
"promotionLevel":"item",
"coupon":"FREETATTOO",
"totalAdjustment":"-21.99",
"promotionDesc":"Explicit Item Discount - FREETATTOO",
"promotionId":"explicitItemFreeDiscount"
}
],
"shippingDiscount":0
},
"shoppingCart":{
"items":[
{
"unitPrice":14,
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"rawTotalPrice":14,
"productId":"xprod2076",
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"externalRecurringCharge":10,
"shippingSurchargeValue":0,
"externalData":[
],
"billingAccountId":"billingAcc-123",
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"xsku2076",
"commerceItemId":"ci3000411",
"discountInfo":[
],
"customerAccountId":"customerAcc-123",
"price":14,
"assetId":"asset10001",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"actionCode":"Add",
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123",
"recurringCharge":10
},
{
"unitPrice":199,
"quantity":1,
"rawTotalPrice":199,
"productId":"xprod2117",
"externalRecurringCharge":10,
"shippingSurchargeValue":0,
"externalPriceQuantity":2,
"externalRecurringChargeFrequency":"Monthly",
"catRefId":"xsku2117",
"externalRecurringChargeDuration":"12",
"externalPrice":50.12,
"discountInfo":[
],
"price":199,
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"recurringCharge":10
}
]
},
"orderLocale":"en",
"shippingAddress":{
"lastName":"Shopper",
"country":"US",
"address3":"",
"address2":"",
"city":"San Jose",
"address1":"1 Main St",
"prefix":"",
"companyName":"",
"postalCode":"95131",
"jobTitle":"",
"county":"",
"suffix":"",
"firstName":"Test",
"phoneNumber":"",
"faxNumber":"",
"alias":"",
"middleName":"",
"state":"CA",
"email":"shopper-1@cloudlake.com"
},
"links":[
{
"rel":"self",
"href":"http://www.example.com/ccstoreui/v1/orders/paypalCheckout"
}
],
"state":"INCOMPLETE",
"id":"o10002",
"quoteInfo":{
"providerNote":null,
"notes":[
{
"profileType":null,
"profileId":"120213",
"requestDate":1.477479521002E12,
"requesterNote":"This is a sample quote"
}
],
"rejectionDate":null,
"requestDate":"2016-10-26T10:58:41.002Z",
"errorInfo":null,
"externalID":null,
"rejectionNote":null,
"quoteDate":null,
"expirationDate":null
}
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Request:
{
"PayerID": "JF8GVGL9Y5V7W",
"paymentId": "PAY-0RH85609009448435KUPPKUA"
}
Sample Response Payload returned by endpoint:
{
"shippingGroups": [{
"shippingMethod": {
"shippingTax": 0,
"cost": 0,
"value": "free",
"shippingMethodDescription": "Free Shipping"
},
"shippingGroupId": "sg10005",
"submittedDate": null,
"priceInfo": {
"amount": 213,
"total": 213,
"shipping": 0,
"shippingSurchargeValue": 0,
"tax": 0,
"subTotal": 213,
"currencyCode": "USD",
"totalWithoutTax": 213
},
"recurringChargePriceInfo": {
"amount": 30,
"total": 32.4,
"shipping": 0,
"subTotalByFrequency": [{
"amount": 30,
"frequency": "Monthly"
}],
"taxByFrequency": [{
"amount": 2.4,
"frequency": "Monthly"
}],
"tax": 2.4,
"subTotal": 30,
"currencyCode": "USD",
"totalWithoutTax": 30
},
"discountInfo": {
"orderDiscount": 0,
"shippingDiscount": 0,
"discountDescList": []
},
"shipOnDate": null,
"trackingInfo": [],
"actualShipDate": null,
"shippingAddress": {
"lastName": "Shopper",
"country": "US",
"address3": null,
"address2": null,
"city": "San Jose",
"address1": "1 Main St",
"prefix": null,
"companyName": null,
"postalCode": "95131",
"jobTitle": null,
"county": null,
"suffix": null,
"firstName": "Test",
"phoneNumber": null,
"alias": null,
"faxNumber": null,
"middleName": null,
"state": "CA",
"email": "shopper-1@cloudlake.com"
},
"trackingNumber": null,
"items": [
{
"primaryThumbImageURL": "/ccstore/v1/images/?source=/file/v2/products/HOME_HueyMartiniGlass_full.jpg&height=100&width=100",
"deactivationDate": "2018-06-27T12:59:59Z",
"rawTotalPrice": 14,
"returnedQuantity": 0,
"dynamicProperties": [{
"id": "dynamicPropertyMode",
"label": "Mode",
"value": "pickup"
}],
"displayName": "Davis Martini Glass",
"shippingSurchargeValue": 0,
"discountAmount": 0,
"externalData": [],
"billingAccountId": "billingAcc-123",
"commerceItemId": "ci3000411",
"assetId": "asset10001",
"price": 14,
"variant": [],
"onSale": false,
"primaryImageAltText": "Davis Martini Glass",
"actionCode": "Add",
"serviceId": "service-123",
"stateDetailsAsUser": "The item has been initialized within the shipping group",
"serviceAccountId": "serviceAcc-123",
"unitPrice": 14,
"primaryImageTitle": "Davis Martini Glass",
"quantity": 1,
"productId": "xprod2076",
"salePrice": 0,
"detailedItemPriceInfo": [{
"discounted": false,
"amount": 14,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 14,
"currencyCode": "USD"
}],
"externalRecurringCharge": 10,
"active": true,
"externalRecurringChargeFrequency": "Monthly",
"externalRecurringChargeDuration": "12",
"catRefId": "xsku2076",
"skuProperties": [],
"customerAccountId": "customerAcc-123",
"discountInfo": [],
"route": "/davis-martini-glass/product/xprod2076",
"detailedRecurringChargeInfo": [{
"discounted": false,
"amount": 10,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 10,
"currencyCode": "USD"
}],
"activationDate": "2017-06-27T15:30:00Z",
"listPrice": 14,
"recurringCharge": 10,
"status": "INITIAL"
},
{
"primaryThumbImageURL": "/ccstore/v1/images/?source=/file/v2/products/ST_ShayaDiningChair_full.jpg&height=100&width=100",
"rawTotalPrice": 199,
"returnedQuantity": 0,
"displayName": "Shaya Dining Chair",
"shippingSurchargeValue": 0,
"discountAmount": 0,
"price": 199,
"variant": [],
"onSale": false,
"primaryImageAltText": "Shaya Dining Chair",
"stateDetailsAsUser": "The item has been initialized within the shipping group",
"unitPrice": 199,
"primaryImageTitle": "Shaya Dining Chair",
"quantity": 1,
"productId": "xprod2117",
"salePrice": 0,
"detailedItemPriceInfo": [{
"discounted": false,
"amount": 199,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 199,
"currencyCode": "USD"
}],
"externalRecurringCharge": 10,
"active": true,
"externalRecurringChargeFrequency": "Monthly",
"externalRecurringChargeDuration": "12",
"catRefId": "xsku2117",
"skuProperties": [],
"discountInfo": [],
"route": "/shaya-dining-chair/product/xprod2117",
"detailedRecurringChargeInfo": [{
"discounted": false,
"amount": 10,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 10,
"currencyCode": "USD"
}],
"listPrice": 199,
"recurringCharge": 10,
"status": "INITIAL"
}
],
"status": "INITIAL"
}],
"creationTime": 1430862700011,
"lastModifiedDate": "2015-05-05T21:51:51.708Z",
"dynamicProperties": [{
"id": "dynamicPropertyShippingInstructions",
"label": "Shipping Instructions",
"value": "Test Instructions"
}],
"payments": {
"paymentGroupId": "pg10003",
"amount": 213,
"gatewayName": "PP-A",
"paymentId": "PAY-21F96134TN204932AKVETVYY",
"uiIntervention": null,
"transaction_state": "created",
"paymentMethod": "onlinePaymentGroup",
"isAmountRemaining": true,
"paymentState": "INITIAL",
"type": "paypalCheckout",
"intent": "authorize"
},
"priceListGroup": {"repositoryId": "UsDollar"},
"creationDate": "2015-05-05T21:51:40.011Z",
"orderProfileId": "110727",
"priceInfo": {
"amount": 213,
"total": 213,
"shipping": 0,
"shippingSurchargeValue": 0,
"tax": 0,
"subTotal": 213,
"currencyCode": "USD"
},
"recurringChargePriceInfo": {
"amount": 30,
"total": 32.4,
"shipping": 0,
"subTotalByFrequency": [{
"amount": 30,
"frequency": "Monthly"
}],
"taxByFrequency": [{
"amount": 2.4,
"frequency": "Monthly"
}],
"tax": 2.4,
"subTotal": 30,
"currencyCode": "USD",
"totalWithoutTax": 30
},
"discountInfo": {
"orderDiscount": 0,
"orderDiscountDescList": [{
"promotionLevel": "item",
"coupon": "FREETATTOO",
"totalAdjustment": "-21.99",
"promotionDesc": "Explicit Item Discount - FREETATTOO",
"promotionId": "explicitItemFreeDiscount"
}],
"shippingDiscount": 0
},
"shoppingCart": {"items": [
{
"unitPrice": 14,
"serviceAccountId": "serviceAcc-123",
"deactivationDate": "2018-06-27T12:59:59Z",
"quantity": 1,
"rawTotalPrice": 14,
"productId": "xprod2076",
"dynamicProperties": [{
"id": "dynamicPropertyMode",
"label": "Mode",
"value": "pickup"
}],
"externalRecurringCharge": 10,
"shippingSurchargeValue": 0,
"externalData": [],
"billingAccountId": "billingAcc-123",
"externalRecurringChargeFrequency": "Monthly",
"externalRecurringChargeDuration": "12",
"catRefId": "xsku2076",
"commerceItemId": "ci3000411",
"discountInfo": [],
"customerAccountId": "customerAcc-123",
"price": 14,
"assetId": "asset10001",
"detailedRecurringChargeInfo": [{
"discounted": false,
"amount": 10,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 10,
"currencyCode": "USD"
}],
"actionCode": "Add",
"activationDate": "2017-06-27T15:30:00Z",
"serviceId": "service-123",
"recurringCharge": 10
},
{
"unitPrice": 199,
"quantity": 1,
"rawTotalPrice": 199,
"productId": "xprod2117",
"externalRecurringCharge": 10,
"shippingSurchargeValue": 0,
"externalPriceQuantity": 2,
"externalRecurringChargeFrequency": "Monthly",
"catRefId": "xsku2117",
"externalRecurringChargeDuration": "12",
"externalPrice": 50.12,
"discountInfo": [],
"price": 199,
"detailedRecurringChargeInfo": [{
"discounted": false,
"amount": 10,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 10,
"currencyCode": "USD"
}],
"recurringCharge": 10
}
]},
"orderLocale": "en",
"shippingAddress": {
"lastName": "Shopper",
"country": "US",
"address3": "",
"address2": "",
"city": "San Jose",
"address1": "1 Main St",
"prefix": "",
"companyName": "",
"postalCode": "95131",
"jobTitle": "",
"county": "",
"suffix": "",
"firstName": "Test",
"phoneNumber": "",
"faxNumber": "",
"alias": "",
"middleName": "",
"state": "CA",
"email": "shopper-1@cloudlake.com"
},
"links": [{
"rel": "self",
"href": "http://www.example.com/ccstoreui/v1/orders/paypalCheckout"
}],
"state": "INCOMPLETE",
"id": "o10002",
"quoteInfo": {
"providerNote": null,
"notes": [{
"profileType": null,
"profileId": "120213",
"requestDate": 1477479521002,
"requesterNote": "This is a sample quote"
}],
"rejectionDate": null,
"requestDate": "2016-10-26T10:58:41.002Z",
"errorInfo": null,
"externalID": null,
"rejectionNote": null,
"quoteDate": null,
"expirationDate": null
}
}