Shopify webhook data

standup75
New Member
1 0 1

I was testing abandoned checkout webhooks, and realized the webhook does not contain any customer data, in my case I am particularly interested in retrieving the customer name and sms_marketing_phone fields. I am able to intercept the webhook after an abandoned checkout on my test store, but those fields are empty or non existent, here is what I receive

Can you let me know if this is something I can retrieve with the webhook or if I should continue with my polling method for the time being?\

Thank you

Stan

 

{"id":24103666385057,"token":"06dfbd6380b6860055a73dee1f0c5658","cart_token":"f414f509732739febdf4f18f688e84e0","email":null,"gateway":null,"buyer_accepts_marketing":false,"created_at":"2021-11-01T15:43:57-04:00","updated_at":"2021-11-01T15:43:58-04:00","landing_site":"/","note":null,"note_attributes":[],"referring_site":"","shipping_lines":[],"taxes_included":false,"total_weight":907,"currency":"USD","completed_at":null,"closed_at":null,"user_id":null,"location_id":null,"source_identifier":null,"source_url":null,"device_id":null,"phone":null,"customer_locale":"en","line_items":[{"applied_discounts":[],"discount_allocations":[],"key":"f6755a871a2d340ef0ec449c3ef0b068","destination_location_id":null,"fulfillment_service":"manual","gift_card":false,"grams":907,"origin_location_id":2973511876769,"presentment_title":"Tension Relief","presentment_variant_title":"","product_id":6759866695841,"properties":[],"quantity":1,"requires_shipping":true,"sku":"ALMA001","tax_lines":[],"taxable":true,"title":"Tension Relief","variant_id":40030821875873,"variant_title":"","variant_price":"24.99","vendor":"Alma","user_id":null,"unit_price_measurement":{"measured_type":null,"quantity_value":null,"quantity_unit":null,"reference_value":null,"reference_unit":null},"rank":null,"compare_at_price":null,"line_price":"24.99","price":"24.99"}],"name":"#24103666385057","source":null,"abandoned_checkout_url":"https://almaorganic.co/57073205409/checkouts/06dfbd6380b6860055a73dee1f0c5658/recover?key=d5781336062b93e261607333ac06508a","discount_codes":[],"tax_lines":[],"source_name":"web","presentment_currency":"USD","buyer_accepts_sms_marketing":false,"sms_marketing_phone":null,"total_discounts":"0.00","total_line_items_price":"24.99","total_price":"24.99","total_tax":"0.00","subtotal_price":"24.99","total_duties":null}

 

Replies 0 (0)