POST
/
api
/
gift-link

Authorizations

CLIENT-ID
string
header
required
API-KEY
string
header
required
API-PASSWORD
string
header
required

Body

application/json
base_location
string

The country code in ISO 3166-1 alpha-2 format. eg AU for Australia.

currency
string

The currency you would like to pay in. Sent in ISO 4217 format. eg Australian Dollar is AUD.

gift_of_choice
string

An option if you want your user to have an option to choose a different gift as a gift of choice. This is either a Y or N.

order_branding
string

The type of branding that you are want for your gift link. This is either elliephant or company. company can only be used if your company branding as been set in your company profile.

order_ref_id
string

ID generated from your system passed to ours that is the unique reference number for this order.

product_id
integer

This the product id of the product that you want to gift.

recipient_details
object[]

An array of information about the recipient.

variation_id
integer

The variation id of the product you would like to gift. Only needed if the product is a variable product.

Response

200 - application/json
order_data
object[]

An array containing the order values.

order_totals
object[]

An array containing the order totals.

recipient_return
object[]

An array containing the recipient details.

status
integer

Detail on if the order was placed successfully. Will either be success or error