on 2018 Jun 01 11:24 PM
Hi!
I'm currently building a PWA using the OCC rest API. One issue that I'm running into is not being able to get all the variant options with a requested product.
The situation in particular is when I request a product variation, lets say '122340_mint_leather' (so it had a selected style variant option), it will only give me the variant options that are in stock (one variant that is size medium).
So if I was to build my UI I only have enough information to populate my "size" drop down with "medium" because that this the only one available.
Is there a way to get all the variations in stock or not with the /product endpoint?
Essentially I want a request to get '122340_mint_leather' to return all the other style variations and sizes.
Thank you, Ben
On a side note, if this isn't possible, is there a way to request multiple products in one call?
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.