Create Address Metafield
API operation: Open the endpoint in the API reference
Use POST /users/{user_id}/addresses/{address_id}/metafields to create a metafield on a user's address. The current public operation is AddressMetafield.register.
If available, the operation requires authentication. A non-administrator can act only when user_id identifies the authenticated user, and the operation verifies that address_id belongs to that user. Metafield keys are validated per address, and value_type accepts integer, decimal, boolean, text, or json .
Metafield keys are validated dynamically for each address. See Extra attributes (Metafields) for shared field concepts.