I'm in a different country to my colleagues in the US, why do I see different stock levels?

Modified on Fri, 29 Jul, 2022 at 5:37 PM

Many of our distributor partners provide different inventory levels depending on the user's country.

The API defaults to US and USD for country and currency but these can be overridden to get results more suitable to your region.

Compare the query for Great Britain:

query GBMatch {
  supMultiMatch(
    country: "GB"
    currency: "GBP"
    queries: [{ mpn: "AR 32 HZL-TT", limit: 3 }]
  ) {
    parts {
      sellers(authorizedOnly: true) {
        company {
          name
        }
        offers {
          inventoryLevel
        }
      }
    }
  }
}

... with the query in the US:

query USMatch {
  supMultiMatch(
    queries: [{ mpn: "AR 32 HZL-TT", limit: 3 }]
  ) {
    parts {
      sellers(authorizedOnly: true) {
        company {
          name
        }
        offers {
          inventoryLevel
        }
      }
    }
  }
}

In this case, on this particular day, there were 1,370 parts avaialble to ship to GB. However, those in the US would only see 300 parts available.

Many distributors will ship to multiple countries, or not segregate stock by country, and as such the input country and currency is not used as a hard filter.

Country codes follow the ISO 3166 (alpha-2) standard; currency codes follow the ISO 4217 standard.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article