Add an address to the user
curl --request PUT \
--url https://api.dots.dev/api/v2/users/{user_id}/addresses \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"postcode": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"line_1": "<string>",
"line_2": "<string>",
"line_3": "<string>"
}'
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The ID of the user
OK
Was this page helpful?
curl --request PUT \
--url https://api.dots.dev/api/v2/users/{user_id}/addresses \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"postcode": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"line_1": "<string>",
"line_2": "<string>",
"line_3": "<string>"
}'
Add an address to the user
curl --request PUT \
--url https://api.dots.dev/api/v2/users/{user_id}/addresses \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"postcode": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"line_1": "<string>",
"line_2": "<string>",
"line_3": "<string>"
}'
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The ID of the user
OK
Was this page helpful?
curl --request PUT \
--url https://api.dots.dev/api/v2/users/{user_id}/addresses \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"postcode": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"line_1": "<string>",
"line_2": "<string>",
"line_3": "<string>"
}'