moltin / js-sdk

JavaScript & Node.js SDKs for the Elastic Path Commerce Cloud eCommerce API
http://documentation.elasticpath.com/
MIT License
173 stars 77 forks source link

PCM products/productId/nodes endpoint response #555

Closed IgnacioNMiranda closed 2 years ago

IgnacioNMiranda commented 2 years ago

Using {{pcmUrl}}/products/{{productId}}/nodes obtains a product's nodes but these do not have their parent relationship. Is this behaviour intentional? Also, it does not exist an SDK function to access to this endpoint, forcing you to use fetch, axios or another HTTP request library, having to do something like this:

image

Thank you in advance for your feedback!

field123 commented 2 years ago

resolved by https://github.com/moltin/js-sdk/pull/689