cURL
curl --request PATCH \ --url https://api.bspk.com/api/platform/v1/shoppers/{shopper_ref}/addresses/{address_ref}.json \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "address": { "external_id": "<string>", "first_name": "<string>", "last_name": "<string>", "company_name": "<string>", "address_1": "<string>", "address_2": "<string>", "address_3": "<string>", "address_4": "<string>", "city": "<string>", "province": "<string>", "province_code": "<string>", "country": "<string>", "country_code": "<string>", "zip": "<string>", "phone": "<string>", "latitude": 123, "longitude": 123, "time_zone": "<string>", "is_default": true } } '
{ "id": 123, "external_id": "<string>", "first_name": "<string>", "last_name": "<string>", "company": "<string>", "address": "<string>", "address_2": "<string>", "address_3": "<string>", "address_4": "<string>", "city": "<string>", "state": "<string>", "province": "<string>", "province_code": "<string>", "country": "<string>", "country_code": "<string>", "zip": "<string>", "phone": "<string>", "latitude": "<string>", "longitude": "<string>", "time_zone": "<string>", "default": true, "is_default": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Shopper external ID
Address external ID
Show child attributes
Address updated