Create/Edit address

Sample Request & Response

curl --location 'https://headless.treez.io/v2.0/dispensary/partnersandbox2/ecommerce/customer/address' \
--header 'client_id: 1234EXAMPLECLIENTID567890' \
--header 'client_secret: 1234EXAMPLECLIENTSECRET567890' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJzY290dC50aGFjaGVyK2Vjb21tMTVAdHJlZXouaW8iLCJjcmVhdGVkIjoxNjkwNTQ5Mjk1MTE4LCJrdXAiOjMzNzY0LCJleHAiOjE2OTA1NDk4OTUsInN1cCI6MTEwMH0.o4nyk7uDrCgt7voDGio4wD4vCJC8wRr0Vl380RK-sg1KsvPPBJEBQKekskdahN77EY1gtvGsoFqYkZhtKmq0Rg' \
--data '{
    "isdefault": true,
    "comment": "knock on blue door",
    "street": "5249 W Century Blvd",
    "city": "Los Angeles",
    "state": "CA",
    "zip": "90045",
    "country": "USA",
    "county": "Los Angeles County",
    "placeId": "ChIJYxgXBd22woARzVDRSqnJt5g"
}'
{
    "address": {
        "id": 206193,
        "street": "5249 W Century Blvd",
        "city": "Los Angeles",
        "state": "CA",
        "county": "Los Angeles",
        "country": "USA",
        "type": null,
        "zip": "90045",
        "placeId": "ChIJYxgXBd22woARzVDRSqnJt5g",
        "comment": "knock on blue door",
        "longitude": null,
        "latitude": null,
        "apt": null,
        "primary": false
    },
    "deliveryDetail": {
        "type": "DELIVERY",
        "addressId": 206193
    }
}