Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

I updated the CPF of Brazilian customer orders through API, but there was an error

I updated the CPF of Brazilian customer orders through API, but there was an error

Three-Body
Shopify Partner
4 0 4

I updated the CPF of Brazilian customer orders through API, but there was an error

 

 

 

 

mutation  {
      orderUpdate(input: {
        id:"gid://shopify/Order/4285322231901",
        localizationExtensions: {
          key:"TAX_CREDENTIAL_BR",
          value:"39053344705"
        }
      }) {
        order {
          id
          localizationExtensions(first: 1) {
            edges {
              node {
                key
                value
              }
            }
          }
        }
      }
    }

 

 

 

 

The following is the error content   has an invalid value ("TAX_CREDENTIAL_BR")

 

 

 

 

 

{'errors': [{'message': 'Argument \'key\' on InputObject \'LocalizationExtensionInput\' has an invalid value ("TAX_CREDENTIAL_BR"). Expected type \'LocalizationExtensionKey!\'.', 'locations': [{'line': 5, 'column': 33}], 'path': ['mutation', 'orderUpdate', 'input', 'localizationExtensions', 0, 'key'], 'extensions': {'code': 'argumentLiteralsIncompatible', 'typeName': 'InputObject', 'argumentName': 'key'}}]}

 

 

 

 

 

 

 

Replies 0 (0)