Créer une nouvelle adresse
Cet extrait de code crée une nouvelle adresse.
Exemple
Remplacez les variables suivantes dans le code de l'exemple :
| Clé | Description |
|---|---|
ADDRESS_NAME | The name of the address. |
ADDRESS_LINE_1 | The first line of the full address. |
ADDRESS_LINE_2 | The second line of the full address. |
ADDRESS_CITY | The city where this address is located. |
ADDRESS_REGION | The state or region of the address. |
ADDRESS_TYPE | The type of address. |
ADDRESS_LOCATION_TYPE | The address location type, as domestic or business. |
ADDRESS_POSTAL_CODE | The postal code. |
ADDRESS_COUNTRY | The two character country code in ISO 3166-1 alpha-2 format. |
Exécutez votre code
Enregistrez ce fichier sur votre machine et exécutez-le :
bash create-address.sh