Reputation: 3060
I am trying to get cart options to be included in the line item response
return bc_acc.get(`/carts/${cartId}?include=options`, {include:'options'}).then(data => {..
The response is fine but i expected to see options per line item. But its not there. The API Docs show it in the response.
Upvotes: 0
Views: 177
Reputation: 22956
Specify the full path of the include object like:
/carts/${cartId}?include=line_items.physical_items.options
Upvotes: 1