Missing Local Delivery Instruction in Order Webhook Shipping Line

simonr
New Member
1 0 0

Hello,

When we receive a notification from the OrderPaid webhook the Local delivery instruction field seems to be missing from the shipping lines object. (example below)

The data provided in the local delivery contact phone number checkout field is included as "phone" in the shipping line data but there is no property in the shipping line for the instruction field. 

The instruction shows on the order in the admin area but is not present in the webhook data which is sent to the fulfilment service. 

Are there any plans to include it in future webhook versions?

I've tested using the 2021-07 (Latest) version of the webhook API but still no luck.

any help much appreciated!

"shipping_lines": [
    {
      "id": 3362303410328,
      "carrier_identifier": null,
      "code": "Local Delivery",
      "delivery_category": null,
      "discounted_price": "3.99",
      "discounted_price_set": {
        "shop_money": {
          "amount": "3.99",
          "currency_code": "GBP"
        },
        "presentment_money": {
          "amount": "3.99",
          "currency_code": "GBP"
        }
      },
      "phone": "+447971111111",
      "price": "3.99",
      "price_set": {
        "shop_money": {
          "amount": "3.99",
          "currency_code": "GBP"
        },
        "presentment_money": {
          "amount": "3.99",
          "currency_code": "GBP"
        }
      },
      "requested_fulfillment_service_id": null,
      "source": "shopify",
      "title": "Local Delivery",
      "tax_lines": [],
      "discount_allocations": []
    }
  ]

 

0 Likes
L_J_K
Shopify Staff
Shopify Staff
257 34 40

Hey @simonr 

Yes, that's correct, those instructions wouldn't be exposed via webhook just now. Thanks very much for raising this, I've noted many other partners requesting it to be exposed. I've ensured you voice is added to the mix here, I agree it would be a very handy addition.  We're working on the underlying data model for local pickup and local delivery just now but alas I don't have a concrete date to share regarding a release.

We'll be sure to include any new API releases on our developer changelog - hope that helps confirm things at least.

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
0 Likes