Add a new address for the authenticated user
curl --request POST \
--url https://api.example.com/api/address \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"subdistrict": "<string>",
"district": "<string>",
"regency": "<string>",
"province": "<string>",
"postalCode": "<string>",
"phone": "<string>"
}
'{
"statusCode": 201,
"message": "Address added successfully"
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/memoowi/e-comm-api-demo-2/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <your_token>
curl -X POST https://api.example.com/api/address \
-H "Authorization: Bearer <your_token>" \
-H "Content-Type: application/json" \
-d '{
"address": "Jl. Sudirman No. 123",
"subdistrict": "Senayan",
"district": "Kebayoran Baru",
"regency": "Jakarta Selatan",
"province": "DKI Jakarta",
"postalCode": "12190",
"phone": "081234567890"
}'
{
"statusCode": 201,
"message": "Address added successfully"
}
curl --request POST \
--url https://api.example.com/api/address \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"subdistrict": "<string>",
"district": "<string>",
"regency": "<string>",
"province": "<string>",
"postalCode": "<string>",
"phone": "<string>"
}
'{
"statusCode": 201,
"message": "Address added successfully"
}