We currently use products/create webhook, and GET products REST API.
While we using products/create webhook and GET products REST API, we found that there were so many cases which position == null, also there were no position == 1 variants.
In REST API documents, there is a sentence like this. ‘The first position in the list is 1’. And I could find position = 0 in products/create webhook docs.
I want to know about these problems:
Why there is ‘position = null’ case, Can it be?
Which one is correct, ‘position = 0 is the first variant or position = 1 is the first variant?’
The team is currently aware of the issue with some products having incorrect positions (e.g position = null). They are looking to update these variants to fall within the specified bounds, (i.e. the first variant will have a position of 1).