Skip to content

Suggest product categories

GET/admin/v1/stores/{store_id}/product-categories/suggest
  • products:read

Categories that suit a product, from its title and type.

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.

Query parameters

  • titlestring

    The product's title, in either language.

  • product_typestring

    The product's own type, if it has one.

Headers

  • shop-api-versionYYYY-MM

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

Returns

200 Up to five categories, the likeliest first.

Errors

  • 403forbiddenMissing permission.