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": "66ecf67f-c0e4-4289-94b7-ea00797ab650",
"itemGroups": [
{
"concessionId": "a1606b04-4733-4e11-9866-4ddb28daff15",
"productId": "fb3f87ee-7faa-42db-b5b2-942201335399",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "a1606b04-4733-4e11-9866-4ddb28daff15",
"productId": "fb3f87ee-7faa-42db-b5b2-942201335399",
"quantity": 3,
"price": 4.0
}
],
"packageId": "0c0eaf5e-666c-4c7a-b91c-c50005cf441c"
}
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": "5bafe5fa-bc28-4964-a714-462b9f99fd5b",
"itemGroups": [
{
"concessionId": "edcf9a02-e212-4121-9539-5941fe91f749",
"productId": "425cbc5a-47a0-48af-8daf-04d987a5e425",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "edcf9a02-e212-4121-9539-5941fe91f749",
"productId": "425cbc5a-47a0-48af-8daf-04d987a5e425",
"quantity": 3,
"price": 4.0
}
],
"packageId": "908f7cc8-7af0-4f19-8b9e-14013d88ab9d"
}