Skip to main content

Interface: CustomerIncludeGiftPurchase

Gift purchase data from customer includes. Returned when using include: ['gift_purchases'] with getCustomer().

Properties​

amount​

amount: number


created_at​

created_at: string


deleted_at​

deleted_at: string | null


external_redeemable_product_ids​

external_redeemable_product_ids: object[]

ecommerce​

ecommerce: string


gift_credit_account_id​

gift_credit_account_id: number


gift_currency​

gift_currency: string


gift_external_product_id​

gift_external_product_id: string


gift_external_variant_id​

gift_external_variant_id: string


gift_note​

gift_note: string


id​

id: number


notification_scheduled_at​

notification_scheduled_at: string


notification_sent_at​

notification_sent_at: string


recipient_customer_id​

recipient_customer_id: number


redeemable_collection_id​

redeemable_collection_id: number | null


redeemable_external_product_id​

redeemable_external_product_id: string


redeemed_at​

redeemed_at: string | null


redemption_link: string


sender_customer_id​

sender_customer_id: number


sender_external_order_id​

sender_external_order_id: string


sender_name​

sender_name: string


store_id​

store_id: number


template?​

optional template?: Record<string, unknown> | null

Optional fields from internal gift purchases schema


updated_at​

updated_at: string


validation_errors?​

optional validation_errors?: string[] | null