Single Step Order
Create a complete order from one json API call.
Request Body |
---|
uid stringThe uid or API key to authenticate user. Can also be placed in the |
login stringEmail address; required if uid is not present |
password stringRequired if uid is not present |
card_id integer — REQUIREDId of the card you want to send |
denomination_id integerOptional. Use if sending a gift card |
message string — REQUIREDThe body of the message. Use '\n' for new lines |
wishes stringThe right-shifted closing part of the note |
font_label string — REQUIREDThe colloquial name of the font, such as 'Fancy Jenna' or 'Casual David' |
credit_card_id integerThe credit card id to charge for the order. |
insert_id integerInsert id for the order |
couponCode stringCoupon code |
date_send stringSend date |
validate_address boolean |
webhook_url stringWebhook URL |
sender_name stringAlternatively use sender_first_name and sender_last_name |
sender_first_name string |
sender_last_name string |
sender_address1 string — REQUIRED |
sender_address2 string |
sender_city string — REQUIRED |
sender_zip string — REQUIRED |
sender_state stringRequired for US and Canada (country id 1 or 2) |
sender_country_id integer1 (United States) by default |
sender_country stringUnited States by default |
recipient_name stringAlternatively use recipient_first_name and recipient_last_name |
recipient_first_name string |
recipient_last_name string |
recipient_address1 string — REQUIRED |
recipient_address2 string |
recipient_city string — REQUIRED |
recipient_zip string — REQUIRED |
recipient_state stringRequired for US and Canada (country id 1 or 2) |
recipient_country_id integer1 (United States) by default |
recipient_country stringUnited States by default |
client_metadata stringOrder metadata |
Responses | |||||
---|---|---|---|---|---|
200 successful
| |||||
400 Error
| |||||
401 Error
| |||||
500 no uid
|