Personalized Gifts Delivered

v1.0.0
com.personalizedgiftsdelivered/gift-boxes Checked 4 days ago Published 25 days ago

Quote logo mug gift boxes, check a logo and save a draft order that the buyer pays for on our site.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_gift_box_details Get gift box details

What is in the logo mug gift box, how the logo prints, the card message rules, where it ships and how delivery works.

quote_gift_boxes Quote gift boxes

The total for a number of gift boxes with shipping included, the ship-by and expected delivery dates for an order paid today, and an occasion's last day to order.

ParameterTypeDescription
boxes *integerHow many boxes, one per recipient.
occasionstringOptional occasion, as get_gift_box_details names them.

create_draft_order Create a draft order

Saves a draft of the order (the logo from check_logo, the card message, the sign-off, the occasion and the kind of gift) and returns a private link. The customer opens the link to check the preview and every card, add their recipient list and pay on the website. Takes no recipient names or addresses and no payment details. Each call saves a new draft with its own link. The answer says when the link expires.

ParameterTypeDescription
card_message *stringThe message printed on every card. get_gift_box_details gives the rules.
mode *stringbusiness for a company logo, personal for a personal gift.
occasion *stringThe occasion, as get_gift_box_details names them.
signed_by *stringWho the cards are from, printed under the message.
boxesintegerOptional estimate of how many boxes; the recipient list sets the real count.
logo_refstringFrom check_logo. Leave it out and the customer adds the logo on the website.

get_order_status Get order status

Says whether a draft from create_draft_order has been paid, with the order number and ship-by date once it is, or whether its link has expired. Returns no names or addresses.

ParameterTypeDescription
draft_token *stringThe token from create_draft_order, or its whole link.