Supply: Change your Region

Modified on Wed, 13 Sep, 2023 at 11:47 AM

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 available 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 are 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