getOrders
get
                    /ccapp/v1/orders
Get Orders. This operation is used to get a collection of orders from Oracle Commerce Cloud.
                Request
Supported Media Types
                - application/json
Query Parameters
                - 
                        fields(optional): string
                        
                        This controls which fields are returned in the response body. The default is to include the top-level response fields and the Audience id, displayName, description, and enabled fields.
- 
                        limit(optional): integer
                        
                        This is the field to specify the number of records to be fetched per REST call.
- 
                        offset(optional): integer
                        
                        This field specifies the offset/starting index from which data to be fetched.
- 
                        q(optional): string
                        
                        This field specifies the query used to limit the orders returns. Defaults to RQL. To use SCIM use the queryFormat parameter
- 
                        queryFormat(optional): string
                        
                        Specifies the format of the query. For backwards compatibility, the default query format is RQL. Specify a value of "SCIM" to use SCIM query format.
- 
                        sort(optional): string
                        
                        This field specifies the sort order of the list to be fetched.
- 
                        totalResults(optional): boolean
                        
                        Indicates if the total results should be included in the response.
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getOrders_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            items(optional): 
            array  items
            
            Array containing the object representations of orders. See updateOrder for a description of the values of each order.
- 
            limit(optional): 
            integer
            Limit of number of products.
- 
            offset(optional): 
            integer
            Numeric offset of the first order item returned.
- 
            sort(optional): 
            array  sort
            
            An array that specifies the sort order.
- 
            total(optional): 
            integer
            Total number of products. Deprecated.
- 
            totalResults(optional): 
            integer
            Total number of products.
Nested Schema : items
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray containing the object representations of orders. See updateOrder for a description of the values of each order.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : updateOrder_request
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            appliedPromotions(optional): 
            array  appliedPromotions
            
            The array of applied promotions.
- 
            billingAddress(optional): 
            object  billingAddress
            
            The billing address details.
- 
            cartName(optional): 
            string
            Cart name for this order.
- 
            combineLineItems(optional): 
            string
            Value to determine if line items are to be combined. Can be yes or no.
- 
            giftWithPurchaseOrderMarkers(optional): 
            array  giftWithPurchaseOrderMarkers
            
            giftWithPurchaseOrderMarker information. Required if giftWithPurchaseOrderMarker information is present.
- 
            isAnonymousCheckout(optional): 
            boolean
            Returns false if the order is for a logged-in user.
- 
            payments(optional): 
            array  payments
            
            Payment details to update the order.
- 
            shippingAddress(optional): 
            object  shippingAddress
            
            The shipping address details.
- 
            shippingGroups(optional): 
            array  shippingGroups
            
            The shipping groups for the order.
- 
            shippingMethod(optional): 
            object  shippingMethod
            
            The shipping method details for the order.
- 
            shoppingCart: 
            object  shoppingCart
            
            The shopping cart contents of the current order.
Example:
    
    
{
    "isAnonymousCheckout":false,
    "shippingMethod":{
        "value":"twoDay"
    },
    "payments":[
        {
            "cardCVV":"123",
            "nameOnCard":"test",
            "cardTypeName":"Visa",
            "cardType":"visa",
            "endMonth":"02",
            "type":"card",
            "endYear":2018,
            "cardNumber":"4055011111111111"
        }
    ],
    "cartName":"Test Name",
    "visitId":"27c79ed0-384f-4658-824d-c5b8518bfde0",
    "appliedPromotions":[
        "explicitItemFreeDiscount"
    ],
    "shoppingCart":{
        "coupons":[
            {
                "code":"FREETATTOO",
                "level":"item",
                "description":"Explicit Item Discount - FREETATTOO",
                "id":"explicitItemFreeDiscount",
                "totalAdjustment":"-21.99",
                "status":"claimed"
            }
        ],
        "items":[
            {
                "deactivationDate":"2018-06-27T12:59:59Z",
                "externalData":[
                ],
                "billingProfileId":"billingProfile-123",
                "billingAccountId":"billingAcc-123",
                "childItems":[
                    {
                        "configurationOptionId":"configOptIDC1P11536825979556",
                        "addOnItem":true,
                        "quantity":5,
                        "priceListGroupId":"price_list_group_1536825979556",
                        "productId":"child1P1Prod1536825979556",
                        "childItems":[
                        ],
                        "configurablePropertyId":"configPropIDC1P11536825979556",
                        "shopperInput":{
                            "fontSIID1536825979556":"Times New Roman",
                            "shrtTxtSIID1536825979556":"This is the P1parent1Prod1536825979556"
                        },
                        "catRefId":"child1P1Sku1536825979556"
                    }
                ],
                "assetKey":"12345",
                "actionCode":"Add",
                "state":"INITIAL",
                "serviceId":"service-123",
                "serviceAccountId":"serviceAcc-123",
                "quantity":1,
                "dynamicPropertyMode":"pickup",
                "productId":"prod20006",
                "externalRecurringCharge":10,
                "giftWithPurchaseCommerceItemMarkers":[
                ],
                "parentAssetKey":null,
                "rootAssetKey":null,
                "externalRecurringChargeFrequency":"Monthly",
                "transactionDate":"2018-06-27T12:59:59Z",
                "catRefId":"sku40105",
                "externalRecurringChargeDuration":"12",
                "customerAccountId":"customerAcc-123",
                "detailedRecurringChargeInfo":[
                    {
                        "discounted":false,
                        "amount":10,
                        "quantity":1,
                        "tax":0,
                        "orderDiscountShare":0,
                        "detailedUnitPrice":10,
                        "currencyCode":"USD"
                    }
                ],
                "pointOfNoRevision ":"false",
                "shopperInput":{
                    "color":"neon",
                    "initials":"M.C.K",
                    "font":"courier"
                },
                "activationDate":"2017-06-27T15:30:00Z",
                "asset":false,
                "recurringCharge":10
            }
        ],
        "orderTotal":109.46
    },
    "shippingAddress":{
        "lastName":"h",
        "country":"United States",
        "address3":"",
        "address2":"A2",
        "city":"C1",
        "prefix":"",
        "address1":"A1",
        "defaultCountryCode":null,
        "postalCode":"36123",
        "jobTitle":"",
        "companyName":"",
        "county":"",
        "suffix":"",
        "selectedCountry":"US",
        "firstName":"h",
        "phoneNumber":"34534533",
        "faxNumber":"",
        "alias":"",
        "middleName":"",
        "state":"Alabama",
        "selectedState":"AL",
        "email":"h@example.com",
        "state_ISOCode":"US-AL"
    },
    "id":"o10003",
    "billingAddress":{
        "lastName":"Test",
        "country":"United States",
        "address3":"",
        "address2":"Line 2",
        "city":"Montgomery",
        "prefix":"",
        "address1":"Line 1",
        "postalCode":"36123",
        "jobTitle":"",
        "companyName":"",
        "county":"",
        "suffix":"",
        "selectedCountry":"US",
        "firstName":"Steve",
        "phoneNumber":"45454545",
        "faxNumber":"",
        "alias":"",
        "middleName":"",
        "state":"Alabama",
        "selectedState":"AL",
        "state_ISOCode":"US-AL"
    },
    "dynamicPropertyShippingInstructions":"Test Instructions",
    "giftWithPurchaseOrderMarkers":[
        {
            "quantity":1,
            "selectedQuantity":0,
            "removedQuantity":0,
            "data":"-1275480226",
            "automaticQuantity":0,
            "giftType":"product",
            "autoRemove":true,
            "giftDetail":"camera_1",
            "repositoryId":"200001",
            "failedQuantity":0,
            "value":"promo10002",
            "targetedQuantity":0,
            "key":"atg.gwp"
        }
    ],
    "visitorId":"-6820098066093706883"
}Nested Schema : billingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe billing address details.
    
    
    
    
        Show Source
        - 
            address1: 
            string
            Address snippet.
- 
            address2(optional): 
            string
            Address snippet.
- 
            address3(optional): 
            string
            Address snippet.
- 
            alias(optional): 
            string
            Address alias.
- 
            city: 
            string
            City.
- 
            companyName(optional): 
            string
            Company name.
- 
            country: 
            string
            Country.
- 
            county(optional): 
            string
            County.
- 
            faxNumber(optional): 
            string
            Fax number.
- 
            firstName: 
            string
            First name.
- 
            jobTitle(optional): 
            string
            Job title.
- 
            lastName: 
            string
            Last name.
- 
            middleName(optional): 
            string
            Middle name.
- 
            phoneNumber(optional): 
            string
            Phone number.
- 
            postalCode: 
            string
            Postal code.
- 
            prefix(optional): 
            string
            Name prefix.
- 
            selectedCountry: 
            string
            Country code.
- 
            selectedState: 
            string
            State code.
- 
            state: 
            string
            State.
- 
            state_ISOCode: 
            string
            State ISO code.
- 
            suffix(optional): 
            string
            Name suffix.
Nested Schema : giftWithPurchaseOrderMarkers
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arraygiftWithPurchaseOrderMarker information. Required if giftWithPurchaseOrderMarker information is present.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : shippingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe shipping address details.
    
    
    
    
        Show Source
        - 
            address1: 
            string
            Address snippet.
- 
            address2(optional): 
            string
            Address snippet.
- 
            address3(optional): 
            string
            Address snippet.
- 
            alias(optional): 
            string
            Address alias.
- 
            city: 
            string
            City.
- 
            companyName(optional): 
            string
            Company name.
- 
            country: 
            string
            Country.
- 
            county(optional): 
            string
            County.
- 
            email: 
            string
            Email address.
- 
            faxNumber(optional): 
            string
            Fax number.
- 
            firstName: 
            string
            First name.
- 
            jobTitle(optional): 
            string
            Job title.
- 
            lastName: 
            string
            Last name.
- 
            middleName(optional): 
            string
            Middle name.
- 
            phoneNumber(optional): 
            string
            Phone number.
- 
            postalCode: 
            string
            Postal code.
- 
            prefix(optional): 
            string
            Name prefix.
- 
            selectedCountry: 
            string
            Country code.
- 
            selectedState: 
            string
            State code.
- 
            state: 
            string
            State.
- 
            state_ISOCode: 
            string
            State ISO code.
- 
            suffix(optional): 
            string
            Name suffix.
Nested Schema : shippingMethod
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe shipping method details for the order.
    
    
    
    
        Show Source
        - 
            value: 
            string
            The shipping method applied to the order.
Nested Schema : shoppingCart
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe shopping cart contents of the current order.
    
    
    
    
        Show Source
        - 
            coupons(optional): 
            array  coupons
            
            The array of coupons applied to the order.
- 
            items: 
            array  items
            
            The array of products in the shopping cart.
- 
            orderTotal(optional): 
            number
            The total price of the order.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            automaticQuantity: 
            number
            The quantity of free sku for this gift selection that has already been auto added to the order.
- 
            autoRemove: 
            boolean
            Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.
- 
            data: 
            integer
            An identifier used to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.
- 
            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.
- 
            giftDetail: 
            string
            String identifying the free gift, usually the repository ID of the gift type.
- 
            giftType: 
            string
            The type of the gift. (sku, product)
- 
            key: 
            string
            atg.gwp
- 
            quantity: 
            number
            The total quantity of sku for this gift selection.
- 
            removedQuantity: 
            number
            The amount of free quantity that has since been manually removed by a Shopper.
- 
            selectedQuantity: 
            integer
            The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.
- 
            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
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            amount(optional): 
            number
            Amount to be authorized from the gift card. Payment type:invoice,card, physicalGiftCard, paypalCheckout, payUWebLatamCheckout.
- 
            cardCVV(optional): 
            string
            Credit/Debit card secret pin. Payment type:card.
- 
            cardNumber(optional): 
            string
            Credit/Debit card number used for payment. Payment type:card.
- 
            cardType(optional): 
            string
            Credit/Debit card type. e.g. visa. Payment type:card.
- 
            cardTypeName(optional): 
            string
            Credit/Debit card type name. e.g. Visa. Payment type:card.
- 
            endMonth(optional): 
            string
            Credit/Debit card expiry month. Payment type:card.
- 
            endYear(optional): 
            string
            Credit/Debit card expiry year. Payment type:card.
- 
            giftCardNumber(optional): 
            string
            Gift card number used for payment. Payment type:physicalGiftCard.
- 
            giftCardPin(optional): 
            string
            Gift card pin. Payment type:physicalGiftCard.
- 
            nameOnCard(optional): 
            string
            Name on the credit/debit card. Payment type:card.
- 
            PayerID(optional): 
            string
            Payer ID relevant to paypal checkout type. Payment type:paypalCheckout.
- 
            paymentGroupId(optional): 
            string
            Payment Group ID of the gift card payment group. Payment type:physicalGiftCard.
- 
            paymentId(optional): 
            string
            Payment ID relevant to the payment type. Payment type:paypalCheckout, payUWebLatamCheckout.
- 
            PONumber(optional): 
            string
            Purchase order number. Pament type:invoice
- 
            type: 
            string
            Payment type. e.g. paypalCheckout, payUWebLatamCheckout.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            email(optional): 
            string
            The email address of the person picking up the items in store (if type is inStorePickupShippingGroup).
- 
            firstName(optional): 
            string
            The first name of the person picking up the items in store (if type is inStorePickupShippingGroup).
- 
            items: 
            array  items
            
            The array of products in the shipping group.
- 
            lastName(optional): 
            string
            The last name of the person picking up the items in store (if type is inStorePickupShippingGroup).
- 
            locationId(optional): 
            string
            The location ID of the store from which items are to be picked up (if type is inStorePickupShippingGroup).
- 
            middleName(optional): 
            string
            The middle name of the person picking up the items in store (if type is inStorePickupShippingGroup).
- 
            phoneNumber(optional): 
            string
            The phone number of the person picking up the items in store (if type is inStorePickupShippingGroup).
- 
            shippingAddress(optional): 
            object  shippingAddress
            
            The shipping address details.
- 
            shippingMethod(optional): 
            object  shippingMethod
            
            The shipping method details for the order.
- 
            type(optional): 
            string
            The type of shipping group to create, e.g. hardgoodShippingGroup, inStorePickupShippingGroup, inStoreTakeWithShippingGroup, virtualShippingGroup
Nested Schema : shippingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe shipping address details.
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            Address snippet.
- 
            address2(optional): 
            string
            Address snippet.
- 
            address3(optional): 
            string
            Address snippet.
- 
            alias(optional): 
            string
            Address alias.
- 
            city(optional): 
            string
            City.
- 
            companyName(optional): 
            string
            Company name.
- 
            country(optional): 
            string
            Country.
- 
            county(optional): 
            string
            County.
- 
            email(optional): 
            string
            Email address.
- 
            faxNumber(optional): 
            string
            Fax number.
- 
            firstName(optional): 
            string
            First name
- 
            jobTitle(optional): 
            string
            Job title.
- 
            lastName(optional): 
            string
            Last name.
- 
            middleName(optional): 
            string
            Middle name.
- 
            phoneNumber(optional): 
            string
            Phone number.
- 
            postalCode(optional): 
            string
            Postal code.
- 
            prefix(optional): 
            string
            Name prefix.
- 
            selectedCountry(optional): 
            string
            Country code.
- 
            selectedState(optional): 
            string
            State code.
- 
            state(optional): 
            string
            State.
- 
            state_ISOCode(optional): 
            string
            State ISO code.
- 
            suffix(optional): 
            string
            Name suffix.
Nested Schema : shippingMethod
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe shipping method details for the order.
    
    
    
    
        Show Source
        - 
            value(optional): 
            string
            The shipping method applied to the order.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            availablePickupDate(optional): 
            string
            The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).
- 
            catRefId: 
            string
            The product variant ID.
- 
            commerceItemId(optional): 
            string
            The unique line item ID distinguisher. This field becomes required for split shipping when combineLineItems is set to no or when an externally configurable item is not sold as package.
- 
            inventoryLocationId(optional): 
            string
            Defines the inventory location that services the referenced commerce item.
- 
            pointOfNoRevision(optional): 
            boolean
            The boolean that indicates if the item has passed pointOfNoRevision.
- 
            preferredPickupDate(optional): 
            string
            The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).
- 
            productId: 
            string
            ID of the product in the cart.
- 
            quantity: 
            integer
            The quantity of the product in the shipping group.
- 
            relationshipType(optional): 
            string
            The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            code: 
            string
            The coupon code.
- 
            description(optional): 
            string
            The coupon description.
- 
            id: 
            string
            The coupon ID.
- 
            level: 
            string
            The level of the coupon (whether the coupon is item level, etc).
- 
            status: 
            string
            The current status of the coupon.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            actionCode(optional): 
            string
            The action code that has been set on the item by the configurator system.
- 
            activationDate(optional): 
            string
            The activation date in ISO format.
- 
            asset(optional): 
            boolean
            The flag that determines if the current item is an asset or not.
- 
            assetKey(optional): 
            string
            The assetKey is assigned only when the root item has been set as assetable in the catalog and has been configured.
- 
            billingAccountId(optional): 
            string
            The billing account ID associated to the current item.
- 
            billingProfileId(optional): 
            string
            The billing profile ID associated to the current item.
- 
            catRefId: 
            string
            The product variant ID.
- 
            childItems(optional): 
            array  childItems
            
            The array of child items in the item, if the item is a configurable item. If a child item is itself configurable, it can contain its own childItems array. Specifying a childItems array, even if empty, will permit new children or layers of descendants to be added in subsequent update operations.
- 
            commerceItemId(optional): 
            string
            The unique line item ID distinguisher. This field becomes required for split shipping when combineLineItems is set to no or when an externally configurable item is not sold as package.
- 
            customerAccountId(optional): 
            string
            The customer account ID associated to the current item.
- 
            deactivationDate(optional): 
            string
            The deactivation date in ISO format.
- 
            detailedRecurringChargeInfo(optional): 
            object  detailedRecurringChargeInfo
            
            Detailed Item Price Information.
- 
            externalData(optional): 
            array  externalData
            
            External data to be associated with a commerce item, provided by a configurator system.
- 
            externalPrice(optional): 
            number
            A 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(optional): 
            integer
            The 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(optional): 
            number
            The external recurring price.
- 
            externalRecurringChargeDuration(optional): 
            string
            The duration for the recurring charge e.g. 12 months.
- 
            externalRecurringChargeFrequency(optional): 
            string
            The frequency for the recurring charge e.g. Monthly.
- 
            giftWithPurchaseCommerceItemMarkers(optional): 
            array  giftWithPurchaseCommerceItemMarkers
            
            giftWithPurchaseCommerceItemMarker information. If giftWithPurchaseCommerceItemMarker information is present on the order is should be passed in.
- 
            originalCommerceItemId(optional): 
            string
            The Commerce Item ID associated with the original item from which item in cancel order is created.
- 
            parentAssetKey(optional): 
            string
            The parentAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
- 
            pointOfNoRevision(optional): 
            boolean
            Point beyond which cancelling the commerce item would be restricted
- 
            productId: 
            string
            ID of the product in the cart.
- 
            quantity: 
            integer
            The quantity of the product in the cart.
- 
            recurringCharge(optional): 
            number
            The recurring charge for the item.
- 
            rootAssetKey(optional): 
            string
            The rootAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
- 
            serviceAccountId(optional): 
            string
            The service account ID associated to the current item.
- 
            serviceId(optional): 
            string
            The service ID associated to the current item.
- 
            shopperInput(optional): 
            object  shopperInput
            
            Additional Properties Allowed: additionalPropertiesMap of shopper input keys to values
- 
            state(optional): 
            string
            state at the commerce Item level
- 
            transactionDate(optional): 
            string
            ISO formatted Date on which the service action should be triggered.
Nested Schema : childItems
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayThe array of child items in the item, if the item is a configurable item. If a child item is itself configurable, it can contain its own childItems array. Specifying a childItems array, even if empty, will permit new children or layers of descendants to be added in subsequent update operations.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : detailedRecurringChargeInfo
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDetailed Item Price Information.
    
    
    
    
        Show Source
        - 
            amount(optional): 
            number
            The monetary amount for the recurring charge.
- 
            currencyCode(optional): 
            string
            The three character currency code for the monetary amounts.
- 
            detailedUnitPrice(optional): 
            number
            The detailed unit price: amount / quantity. (read-only)
- 
            discounted(optional): 
            boolean
            Whether the price is discounted.
- orderDiscountShare(optional): number
- 
            quantity(optional): 
            integer
            The number of items covered by this recurring charge price info
- 
            tax(optional): 
            number
            Monetary tax amount.
Nested Schema : externalData
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayExternal data to be associated with a commerce item, provided by a configurator system.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : giftWithPurchaseCommerceItemMarkers
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arraygiftWithPurchaseCommerceItemMarker information. If giftWithPurchaseCommerceItemMarker information is present on the order is should be passed in.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : shopperInput
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
       objectAdditional Properties Allowed
       Show Source
       
       
    
    
    
    
    
    
    Map of shopper input keys to values
    
    
    
    
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            activationDate(optional): 
            string
            The activation date in ISO format.
- 
            addOnItem(optional): 
            boolean
            Whether the child item is an add-on (externally configured) or not (externally configured).
- 
            asset(optional): 
            boolean
            The flag that determines if the current item is an asset or not.
- 
            assetKey(optional): 
            string
            The assetKey is assigned only when the root item has been set as assetable in the catalog and has been configured.
- 
            billingAccountId(optional): 
            string
            The billing account ID associated to the current item.
- 
            billingProfileId(optional): 
            string
            The billing profile ID associated to the current item.
- 
            catRefId: 
            string
            Sku reference ID.
- 
            configurablePropertyId(optional): 
            string
            ID of the catalog's configurableProperty associated with this item.
- 
            configurationOptionId(optional): 
            string
            ID of the catalog's configurationOption associated with this item.
- 
            customerAccountId(optional): 
            string
            The customer account ID associated to the current item.
- 
            deactivationDate(optional): 
            string
            The deactivation date in ISO format.
- 
            detailedRecurringChargeInfo(optional): 
            object  detailedRecurringChargeInfo
            
            Detailed Item Price Information.
- 
            externalData(optional): 
            array  externalData
            
            External data to be associated with a commerce item, provided by a configurator system.
- 
            externalPrice: 
            number
            A 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: 
            integer
            The maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). The value of this property should be -1 in case if the current item is a sub item of a configurable product
- 
            externalRecurringCharge(optional): 
            number
            The external recurring price.
- 
            externalRecurringChargeDuration(optional): 
            string
            The duration for the recurring charge e.g. 12 months.
- 
            externalRecurringChargeFrequency(optional): 
            string
            The frequency for the recurring charge e.g. Monthly.
- 
            parentAssetKey(optional): 
            string
            The parentAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
- 
            productId: 
            string
            ID of the product in the cart.
- 
            quantity: 
            integer
            The quantity of the product in the cart.
- 
            recurringCharge(optional): 
            number
            The recurring charge for the item.
- 
            rootAssetKey(optional): 
            string
            The rootAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
- 
            serviceAccountId(optional): 
            string
            The service account ID associated to the current item.
- 
            serviceId(optional): 
            string
            The service ID associated to the current item.
- 
            shopperInput(optional): 
            object  shopperInput
            
            Additional Properties Allowed: additionalPropertiesMap of shopper input keys to values
- 
            state(optional): 
            string
            state at the commerce Item level
- 
            transactionDate(optional): 
            string
            ISO formatted Date on which the service action should be triggered.
Nested Schema : detailedRecurringChargeInfo
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDetailed Item Price Information.
    
    
    
    
        Show Source
        - 
            amount(optional): 
            number
            The monetary amount for the recurring charge.
- 
            currencyCode(optional): 
            string
            The three character currency code for the monetary amounts.
- 
            detailedUnitPrice(optional): 
            number
            The detailed unit price: amount / quantity. (read-only)
- 
            discounted(optional): 
            boolean
            Whether the price is discounted.
- orderDiscountShare(optional): number
- 
            quantity(optional): 
            integer
            The number of items covered by this recurring charge price info
- 
            tax(optional): 
            number
            Monetary tax amount.
Nested Schema : externalData
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayExternal data to be associated with a commerce item, provided by a configurator system.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : shopperInput
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
       objectAdditional Properties Allowed
       Show Source
       
       
    
    
    
    
    
    
    Map of shopper input keys to values
    
    
    
    
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            actionCode(optional): 
            string
            The action code that has been set on the externalData item by the configurator system.
- 
            name: 
            string
            The name to be associated with the externalData item.
- 
            values: 
            object  values
            
            The array of values associated with an externalData item.
Nested Schema : values
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe array of values associated with an externalData item.
    
    
    
    
        Show Source
        - 
            dynamic_property_key: 
            string
            This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            actionCode(optional): 
            string
            The action code that has been set on the externalData item by the configurator system.
- 
            name: 
            string
            The name to be associated with the externalData item.
- 
            values: 
            object  values
            
            The array of values associated with an externalData item.
Nested Schema : values
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe array of values associated with an externalData item.
    
    
    
    
        Show Source
        - 
            dynamic_property_key: 
            string
            This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            automaticQuantity: 
            number
            The quantity of the free gift that this commerce item is making free and was auto added by pricing.
- 
            data: 
            integer
            The gift hash code for this gift with purchase promotion.
- 
            key: 
            string
            atg.gwp
- 
            remainingQuantity: 
            number
            The quantity of the commerce item that is not affected by gift with purchase.
- 
            selectedQuantity: 
            number
            The quantity of the free gift that this commerce item is making free and was selected by the shopper.
- 
            targetedQuantity: 
            number
            The quantity of the free gift that this commerce item is making free and was targeted by pricing.
- 
            value: 
            string
            The gift with purchase promotion ID.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            order(optional): 
            string
            Whether this property should be sorted ascending ("asc") or descending ("dsc").
- 
            property(optional): 
            string
            The name of the property to use for sorting.
Default Response
The error response
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code