How to change from physical product to digital product or service via API?

How to change from physical product to digital product or service via API?

davidalarcon
Shopify Partner
8 0 4

Hello community,

Is there any way to create/edit a product and set its shipping option as a Digital product or service instead of a physical product using API?

Thanks in advance,

Reply 1 (1)

Hardik-Sagar
Shopify Partner
13 3 5

for this you can use shopify product update api

https://shopify.dev/docs/api/admin-rest/2023-01/resources/product#put-products-product-id

you can update product through this documentation

Hardik Sagar