Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • product_idsarray of stringsrequired

    1 to 250 products.

  • shipping_profile_idstring · or null

    The profile; null moves them back to General.

Returns

200 How many moved.

Errors

  • 422validation_failedNo products, too many, or an unknown profile.