Issue Associating Product Category with productSet Mutation

Hi everyone,

I’m encountering an issue while trying to associate a product category using the productSet mutation in GraphQL (ver. 2024-04 or 2024-07).

Here’s the situation:

  • When I click on “show deprecated fields” I see the productCategory field. The description advises using the category field instead.
  • However, I can’t seem to find the category field in the stable version of the API.
  • When I switch to the “unstable” version of the API, the category field appears.

Has anyone else faced this issue? Any help would be greatly appreciated!

Thanks in advance!

Hi, there
According to my understanding, the productCategory field is expected to be available in either the 2024-04 or 2024-07 versions. However, it is recommended to use the category field instead after 2024-07. However, currently, there are no alternative solutions for the short term in the 04 and 07 versions, and these versions are expected to be stable and manageable in the short term. Therefore, it is still possible to continue using this field.
if i understand wrong ,please correct me.