Skip to main content

Customer phone not returned by order details API endpoint (GET /orders/{guid})

Answered

Comments

5 comments

  • Ann Murphy

    Hi Kristin,

    We do not automatically expose personal information about restaurant guests via API, which is why you aren’t seeing it in the order JSON. The customer entity in the order JSON will only be populated if your access includes the guest.pi:read scope, which requires legal approval (see callout #6 in our developer guide document “Getting detailed information about one order”). 

    We are currently working on resolving a system issue that is preventing us from adding additional scopes to self-service users, but we expect a fix in the near future. In the meantime, please fill out this form, let us know when you do, and we'll ask our legal team to look over the request.

    Thanks!

    0
  • Ann Murphy

    Our legal team approved your request, and the system issue has been resolved. I have added the guest.pi:read scope to your credentials. You should now see customer information in the customer entity.

    Thanks!

    0
  • Jamie Warden

    Hello - I know this is an old thread, but we actually need the exact same scope added to our API account. I will complete the form for legal review as well.

    Please let me know if there are any issues with adding the necessary scope(s) to our API access.

    Thank you very much!!

    Best,

    Jamie Warden

    0
  • Ann Murphy

    Hi Jamie, thank you for completing the request form. I will reach out when the legal review is complete.

    Thanks!

    0
  • Jamie Warden

    Thank you very much, Ann!

    JW

    0

Please sign in to leave a comment.