PUT api/Basket
Makes a request to add items to the basket.
Request Information
URI Parameters
None.
Body Parameters
BasketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | globally unique identifier |
None. |
|
| ItemGroups | Collection of BasketItemGroupRequest |
None. |
|
| PackageId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"itemId": "ce9f48d4-4a29-405b-8115-bdb430e71aba",
"itemGroups": [
{
"concessionId": "5edb5c41-752b-4972-9f9a-8e7e97fb2599",
"productId": "6506effa-b83b-4d8b-ab80-e93075d0ab53",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "5edb5c41-752b-4972-9f9a-8e7e97fb2599",
"productId": "6506effa-b83b-4d8b-ab80-e93075d0ab53",
"quantity": 3,
"price": 4.0
}
],
"packageId": "260cf7fc-dd64-4e9e-b965-512631685f2f"
}
Response Information
Resource Description
BasketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | globally unique identifier |
None. |
|
| ItemGroups | Collection of BasketItemGroupRequest |
None. |
|
| PackageId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"itemId": "8725980f-aa1d-4918-970e-bfac53ec41a8",
"itemGroups": [
{
"concessionId": "b3a3367f-c9eb-415c-bfbe-20d29ff9b840",
"productId": "050f24cc-cc4d-4e1a-8777-8fbb5c01bd33",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "b3a3367f-c9eb-415c-bfbe-20d29ff9b840",
"productId": "050f24cc-cc4d-4e1a-8777-8fbb5c01bd33",
"quantity": 3,
"price": 4.0
}
],
"packageId": "0acc724f-dcd7-461f-92ce-ed56ed37a886"
}