Skip to content

Set product vendor

PUT/admin/v1/stores/{store_id}/products/{product_id}/vendor
  • products:write

Makes a vendor the product's, or the store's own (null).

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.

  • product_idstringrequired

    The product's ID, like prod_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

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

Body

  • vendor_idstring · or null

    null: the store's own product.

Returns

200 Its vendor now.

Errors

  • 422validation_failedNo such vendor.