Assign shipping profile
PUT
/ admin/ v1/ stores/ {store_id}/ products/ shipping-profile- products:write
Move products into a shipping profile, or back to General.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
product_idsarray of stringsrequired1 to 250 products.
shipping_profile_idstring · or nullThe profile;
nullmoves them back to General.
Returns
200 How many moved.
Errors
- 422
validation_failedNo products, too many, or an unknown profile.