Has anyone successfully retrieved SHIPPING_CREDENTIAL_MX (RFC) via Shopify API?

Hi Shopify Community,

I’d like to check with others here if anyone has been able to successfully retrieve SHIPPING_CREDENTIAL_MX (RFC) from Shopify APIs.

In our case:

  • For Brazil, Shopify has been returning the shipping credential correctly:
{"SHIPPING_CREDENTIAL_BR":"xx141961780"}

  • However, for Mexico, even though the order clearly has an RFC saved in the Admin UI (required for customs), when we retrieve the shipping credentials for the same order, the response is:
{"SHIPPING_CREDENTIAL_MX":""}

(or null / empty value)

This happens consistently across multiple Mexico orders.

So I’d like to ask:

  1. Has anyone here successfully received a non-empty SHIPPING_CREDENTIAL_MX from Shopify?
  2. If yes, which API / endpoint are you using?
  3. Or is SHIPPING_CREDENTIAL_MX not fully implemented yet, compared to Brazil?
1 Like

Hey @Fill_Arinchaya_Wanna, I could be wrong, but I believe that the Mexico RFC is a tax credential. Can you add TAX_CREDENTIAL_MX to your query to see if it’s returned there instead?

1 Like