PUT v3/basket/gift-vouchers
Replace all gift vouchers in the current basket
Request Information
URI Parameters
None.
Body Parameters
Collection of NewGiftVoucherName | Description | Type | Additional information |
---|---|---|---|
Amount | decimal number |
None. |
|
ToName | string |
None. |
|
FromName | string |
None. |
|
Message | string |
None. |
|
SendDate | date |
None. |
|
DeliveryType | VoucherDeliveryType |
None. |
|
DeliveryEmailAddress | string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json
Sample:
[ { "amount": 1.0, "toName": "sample string 2", "fromName": "sample string 3", "message": "sample string 4", "sendDate": "2024-12-12T10:08:07.0329898+00:00", "deliveryType": "CustomerEmail", "deliveryEmailAddress": "sample string 5" }, { "amount": 1.0, "toName": "sample string 2", "fromName": "sample string 3", "message": "sample string 4", "sendDate": "2024-12-12T10:08:07.0329898+00:00", "deliveryType": "CustomerEmail", "deliveryEmailAddress": "sample string 5" } ]
text/xml
Sample:
The response/request for text/xml format is no longer supported for this endpoint.
Response Information
Resource Description
Collection of GiftVoucherName | Description | Type | Additional information |
---|---|---|---|
ToName | string |
None. |
|
Message | string |
None. |
|
FromName | string |
None. |
|
Amount | decimal number |
None. |
|
SendDate | date |
None. |
|
DeliveryType | VoucherDeliveryType |
None. |
|
DeliveryEmailAddress |
The email address that the gift voucher is delivered to |
string |
None. |
Id | string |
None. |
Response Formats
application/json, text/xml
Sample:
Sample not available.