ShoppingCart
Retrieve shopping cart items
Changed onReturns all items included in the shopping cart
get/v3/checkout/shoppingCarts/{shoppingCartId}/items
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
shoppingCartIdstring required
Shopping cart ID
Response
OK
Example response
[
{
"id": "45ae34b7-ffc1-4d74-be78-dce34008cd2e",
"referenceId": "45",
"subscriptionId": "83407ce8-373f-11e6-ac61-9e71128cae77",
"pricingPlanId": "3dcc468d-fd4c-41ce-b700-f88c0c74561f",
"serviceConfiguration": {
"date": "2010-10-19T00:00:00.000Z"
},
"billingConfiguration": {
"date": "1546300800000",
"strategy": "CUSTOM"
},
"discountCode": "DISCOUNT",
"discountId": "30",
"customPrices": [
{
"costId": "9742e09a-e1b4-4b9e-b1a7-66df3e41cebe",
"price": 20
}
],
"units": [
{
"quantity": "8",
"unit": "USER"
}
],
"customAttributes": {
"vendorRequiredFields": {
"customAttributes": {
"preferredColours": [
"key_red",
"key_white"
],
"preferredTime": "12:00"
}
},
"subscription": {
"customAttributes": {
"preferredColours": [
"key_red",
"key_white"
],
"preferredTime": "12:00"
}
}
},
"customContractConfiguration": {
"minimumServiceLengthUnit": "MONTHLY",
"endOfContractGracePeriodUnit": "INFINITY",
"contractCancellationPeriodUnit": "NONE",
"terminationFeeGracePeriodUnit": "INFINITY"
}
}
]Changes
- info
endpoint added
- info