Hi,
I'm receiving the checkout create event on my webhook but I'm not receiving the customer object and phone number of the customer in the event. Is there something I need to change on my end in order to receive the complete webhook event?
Following is my POST request for webhook creation:
const shopify = new Shopify({
shopName: shop,
accessToken: token
})
shopify.webhook.create({
topic: 'checkouts/create',
address: `${config.domain}/api/shopify/checkout-create`,
format: 'json'
}).then((response) => {
})
This is the event that I'm receiving:
{"id":19711076925623,"token":"6889d24213640895723eaaca1510cffb","cart_token":null,"email":null,"gateway":null,"buyer_accepts_marketing":true,"created_at":"2021-02-22T10:23:09+05:00","updated_at":"2021-02-22T10:23:09+05:00","landing_site":"/wallets/checkouts.json","note":null,"note_attributes":[],"referring_site":"https://shopatkibo.myshopify.com/products/mens-shirt","shipping_lines":[],"taxes_included":false,"to... Shirt","presentment_variant_title":"","product_id":6282103783607,"properties":null,"quantity":1,"requires_shipping":true,"sku":"12345678","tax_lines":[],"taxable":true,"title":"Men's Shirt","variant_id":38165208465591,"variant_title":"","variant_price":"1000.00","vendor":"ShopAtKibo","user_id":null,"unit_price_measurement":{"measured_type":null,"quantity_value":null,"quantity_unit":null,"reference_value":null,"reference_unit":null},"rank":0,"compare_at_price":null,"line_price":"1000.00","price":"1000.00"}],"name":"#19711076925623","source":null,"abandoned_checkout_url":"https://shopatkibo.myshopify.com/54069166263/checkouts/6889d24213640895723eaaca1510cffb/recover?key=...}
User | Count |
---|---|
21 | |
19 | |
13 | |
13 | |
11 |