GET
/
api
/
order

Authorizations

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

Query Parameters

order_id
integer
required

Response

200 - application/json
branding_options
object[]

An array containing the branding values.

branding_selected
string

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

email_template
string

The template used for the emails sent. This could be either celebration, generic, sympathy or christmas. This can only be set if placed on the store.

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

gift_order_method
string

The method that order is placed or gifted. This will be either email, direct, link, api-purchase or api-giftlink.

Only sent if gift_order_method == link. The number of how many times the link can be redeemed

Only sent if gift_order_method == link. The message included on the link redemption page

Only sent if gift_order_method == link. The URL used to redeem the gift.

order_date
string

The date of the order placed in the format YYYY-MM-DD HH:MM.

order_id
integer

The ID of the order in our system, this is the ID used to get the order details later.

order_number
string

The order number that is used for reference, this will be in the format EO-00000.

order_status
string

The status of the order. This will be either failed, created, paid or cancieled.

order_totals
object[]

An array containing the order totals.

product_offered
string

The original product offered. This will be an array containing product_id and variation_id. This connects to the product id and variation id retreved in the GET/api/product/:id method.

recipients
object[]

An array containing the recipient details.