Description
🐛 Describe the Bug
There does not appear to be a way to add inmages for variatning on create price endpoint.
The create a price allows you to create a price for one variant at a time.
As a workaround we are creating the prices with which you can in bulk for all variants with the Create Product endpoint and then have to use the update product endpoint to attached images to products becasue we have to we for the response from the create product to get the price ids needed for assosicating images with variants.
The docs are all swrewed up and the create price for product endpoint seems irrelavant if it can be done in bulk with the create product endpoint. This is all undocumented and been having to dig thru the network tab to figure things out and not sure we can trust adding the prices and images with the create and update product endpoint since apparamently it was meant to be dont one at a time with the create price for product endpoint.
The only media that uploads is for the main product itself but not variants.
📍 API Endpoint
https://services.leadconnectorhq.com/products/{productId}/price
✅ Expected Behavior
To be able to attach images to each variant with the create price for product endpoint. You have to pass price ids inside the medias arrray but that is not documented and only works if you use the update product endpoint and not the indented create price for product endpoint.
💻 Screenshots or Code Samples
Please have a dev just follow the docs themesleves and use postman to create a product with variants then add prices and attach images to variants.
Product Area
ad-publishing
🧠 Additional Context
No response