Gift Card Event Properties

topic
string

Value is always restock for the label event

trigger
enum<string>

Event that triggered the webhook

id
integer | null

Loop gift card ID, null in the case of auto out-of-stock gift cards

total_credit_issued
string

Total gift card value

gift_card_subtotal
string

Gift card value minus taxes and bonus

gift_card_tax
string

Gift card tax applied, “0.00” if no taxes applied

gift_card_bonus_credit
string

Gift card bonus credit applied, “0.00” if no bonus applied

currency
string

Currency of the gift card values

return_id
integer

Loop return ID

email
string

Customer email address

first_name
string

Customer first name

last_name
string

Customer last name

external_order_id
integer

Order ID from the eCommerce provider (Shopify)

external_order_name
string

Order name from the eCommerce provider

external_order_number
integer

Order number from the eCommerce provider

Example payload

{
  "topic": "giftcard",
  "trigger": "giftcard.requested",
  "id": 12345,
  "total_credit_issued": "23.50",
  "gift_card_subtotal": "25.00",
  "gift_card_bonus_credit": "1.00",
  "gift_card_tax": "0.50",
  "currency": "USD",
  "return_id": 23456,
  "email": "eliza@example.com",
  "first_name": "Eliza",
  "last_name": "Strawberry",
  "external_order_id": 1234567890,
  "external_order_name": "#2234",
  "external_order_number": 1234,
}