Create User Address
API operation: Open the endpoint in the API reference
Use POST /users/{user_id}/addresses to create an address for a user. The current public operation is Address.register.
If available, the operation requires authentication. Administrators and agents can act for another user; other authenticated callers must match user_id. The operation derives the user to store from the route. When default is true, existing addresses for that user are cleared as the default.
const response = await ordering.users(userId).addresses(addressData).save();
This SDK syntax may vary by package version; confirm the package and version before using it. See User address model for representative fields.