Add product image while creating a product and assign Collection to the product through API

Add product image while creating a product and assign Collection to the product through API

user072319
Shopify Partner
128 0 17

We are using Shopify Product REST API  (PHP programming) to create a new product to our client store. I need help and if possible some references on:

 

1. How to add product images to newly added product via REST API? 

2. How to include the newly added product to a collection in the Shopify store through REST API?

 

Any help would be appreciated!

 

Thanks in advance

Replies 0 (0)