Embedded resources for orders

rhoflandrhofland Member Posts: 6

Hello,

The documentation for 'get all orders' (https://developers.lightspeedhq.com/ecom/endpoints/order/#get-all-orders) shows an example response that, for each order returned, includes embedded resources for customer, invoices, shipments, products etc, but in my responses, I only get the resource links, not the embedded resource. Is there a flag I need to pass to get the embedded resources for each order?

Thanks

1 comment

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 283 moderator

    Hi @rhofland,

    Thank you for contacting us.

    When getting all orders you'll get the resource link indeed, only when you get one order you'll get the embedded information. Unfortunately there is no flag that you can put for all orders, to see the information.

    Currently, we are updating our documentation, so I guess we missed this one. We will update this very soon, thanks for letting us know.

Sign In or Register to comment.