Create Shipping Address
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"phone_number": "0393221191",
"receiver_name": "Nguyen Van A",
"city_province_commune": "Hà Nội /Thanh Xuân",
"city_province_commune_code": "01/00367",
"detail": "18, Cự Lộc",
"note": "Giao giờ Hành chính",
"address_type": "home",
"is_default": false
}
Request Code Samples
curl --location --request POST 'http://petfen-account.local.com:8081/api/v1/shipping-address/create' \
--header 'X-Auth-Service: Bearer ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone_number": "0393221191",
"receiver_name": "Nguyen Van A",
"city_province_commune": "Hà Nội /Thanh Xuân",
"city_province_commune_code": "01/00367",
"detail": "18, Cự Lộc",
"note": "Giao giờ Hành chính",
"address_type": "home",
"is_default": false
}'
Responses
application/json Modified at 2025-09-05 03:13:02