Add Order to Basket
Adds an order to the basket without submitting. Supports both single and bulk recipients. Once all orders are added, call /basket/send to process payment and submit the orders.
| Request Body | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
uid stringDeprecated. Pass your API key in the | |||||||||||||||||||||||
card_id integerThe ID of the card to send. | |||||||||||||||||||||||
return_address_id integerIf not provided, the account's default return address will be used. | |||||||||||||||||||||||
address_id integerA single address id to send an order to. Alternatively, use an array of addresses. | |||||||||||||||||||||||
address_ids integer[]Required if addresses is not present | |||||||||||||||||||||||
addresses object[]Required if address_ids is not present, for bulk order, from
| |||||||||||||||||||||||
font stringfont id | |||||||||||||||||||||||
font_size integer | |||||||||||||||||||||||
auto_font_size boolean | |||||||||||||||||||||||
for_free boolean | |||||||||||||||||||||||
couponCode string | |||||||||||||||||||||||
denomination_id integer | |||||||||||||||||||||||
insert_id integer | |||||||||||||||||||||||
quantity integer | |||||||||||||||||||||||
check_quantity booleancheck cards and inserts quantity in stock, return | |||||||||||||||||||||||
delivery_confirmation booleanRequest delivery confirmation for the order | |||||||||||||||||||||||
client_metadata stringCard metadata |
| Responses | ||||
|---|---|---|---|---|
200successful
| ||||
400Error
| ||||
500Server Error
|