Azure Connectors Node.js SDK
    Preparing search index...

    Interface ShopReceipt

    Definition: ShopReceipt

    interface ShopReceipt {
        buyer_email: string;
        buyer_user_id: number;
        city: string;
        country_iso: string;
        create_timestamp: number;
        discount_amt: Money;
        first_line: string;
        formatted_address: string;
        gift_message: string;
        gift_wrap_price: Money;
        grandtotal: Money;
        is_paid: boolean;
        is_shipped: boolean;
        message_from_buyer: string;
        message_from_payment: string;
        message_from_seller: string;
        name: string;
        payment_email: string;
        payment_method: string;
        receipt_id: number;
        receipt_type: number;
        second_line: string;
        seller_email: string;
        seller_user_id: number;
        shipments: ShopReceiptShipment[];
        state: string;
        subtotal: Money;
        total_price: Money;
        total_shipping_cost: Money;
        total_tax_cost: Money;
        total_vat_cost: Money;
        update_timestamp: number;
        zip: string;
    }
    Index
    buyer_email: string

    The email address string for the buyer of the listing.

    buyer_user_id: number

    The numeric ID for the user making the purchase.

    city: string

    The city string for the recipient in the shipping address.

    country_iso: string

    The ISO-3166 alpha-2 country code string for the recipient in the shipping address.

    create_timestamp: number

    The receipt's creation time, in epoch seconds.

    discount_amt: Money
    first_line: string

    The first address line string for the recipient in the shipping address.

    formatted_address: string

    The formatted shipping address string for the recipient in the shipping address.

    gift_message: string

    A gift message string the buyer requests delivered with the product.

    gift_wrap_price: Money
    grandtotal: Money
    is_paid: boolean

    When true, buyer paid for this purchase.

    is_shipped: boolean

    When true, seller shipped the products.

    message_from_buyer: string

    An optional message string from the buyer.

    message_from_payment: string

    The machine-generated acknowledgement string from the payment system.

    message_from_seller: string

    An optional message string from the seller.

    name: string

    The name string for the recipient in the shipping address.

    payment_email: string

    The email address string for the email address to which to send payment confirmation

    payment_method: string

    The payment method string identifying purchaser's payment method, which must be one of: 'cc' (credit card), 'paypal', 'check', 'mo' (money order), 'bt' (bank transfer), 'other', 'ideal', 'sofort', 'apple_pay', 'google', 'android_pay', 'google_pay', 'klarna', 'k_pay_in_4' (klarna), or 'k_financing' (klarna).

    receipt_id: number

    The numeric ID for the receipt associated to this transaction.

    receipt_type: number

    The numeric value for the Etsy channel that serviced the purchase: 0 for Etsy.com, 1 for a Pattern shop.

    second_line: string

    The optional second address line string for the recipient in the shipping address.

    seller_email: string

    The email address string for the seller of the listing.

    seller_user_id: number

    The numeric ID for the user (seller) fulfilling the purchase.

    shipments: ShopReceiptShipment[]

    A list of shipment statements for this receipt.

    state: string

    The state string for the recipient in the shipping address.

    subtotal: Money
    total_price: Money
    total_shipping_cost: Money
    total_tax_cost: Money
    total_vat_cost: Money
    update_timestamp: number

    The time of the last update to the receipt, in epoch seconds.

    zip: string

    The zip code string (not necessarily a number) for the recipient in the shipping address.