WellnessLiving Webhooks API
    • Getting Started
    • Appointment
      • Appointment created
      • Appointment updated
    • Business
      • Business updated
    • Class
      • Class created
      • Class updated
    • Client
      • Client created
      • Client updated
    • Location
      • Location created
      • Location updated
    • Purchase
      • Purchase created
      • Purchase refunded
    • Staff
      • Staff created
      • Staff updated
    • Schemas
      • MetaData
      • Gender
      • ImageInfo
      • AppointmentPayload
      • BusinessPayload
      • ClassPayload
      • ClientPhoto
      • ClientPayload
      • LocationAddress
      • LocationLinks
      • LocationPayload
      • MoneySummary
      • PurchaseItem
      • PurchaseCreatedPayload
      • PurchaseRefundedPayload
      • StaffPhoto
      • StaffPayload

    PurchaseCreatedPayload

    Purchase webhook payload for purchase created.

    {
        "text_purchase_id": "string",
        "dtl_purchase": "string",
        "a_business": {
            "property1": "string",
            "property2": "string"
        },
        "a_customer": {
            "property1": "string",
            "property2": "string"
        },
        "a_price": {
            "m_discount": "string",
            "m_sum": "string",
            "m_tax": "string",
            "m_tip": "string",
            "m_total": "string",
            "text_currency": "string",
            "property1": "string",
            "property2": "string"
        },
        "a_pay_method": [
            {
                "property1": "string",
                "property2": "string"
            }
        ],
        "has_signature": true,
        "html_receipt": "string",
        "url_print": "string",
        "url_print_receipt": "string",
        "purchase_items": [
            {
                "i_count": 0,
                "k_purchase_item": 0,
                "m_price_total": "string",
                "text_category": "string",
                "text_currency": "string",
                "text_description": "string",
                "text_info": "string",
                "text_title": "string",
                "purchase_item": {
                    "id": 0,
                    "value": "string",
                    "property1": "string",
                    "property2": "string"
                },
                "a_logo": {
                    "i_height": 0,
                    "i_width": 0,
                    "is_empty": true,
                    "s_url": "string",
                    "text_url": "string",
                    "thumbnail": "string",
                    "url": "string",
                    "height": 0,
                    "width": 0,
                    "property1": "string",
                    "property2": "string"
                },
                "property1": "string",
                "property2": "string"
            }
        ],
        "status": "string",
        "s_version": "string",
        "property1": "string",
        "property2": "string"
    }
    Built with