Skip to main content

Add Delivery Address

Add delivery address using this endpoint.

POST /api/v1/client/delivery-addresses/


Path param

authorization : *bearer
REQUEST BODY SCHEMA: multipart/form-data


NameDescriptionRequiredType
addressThe address RequiredString
cityThe city RequiredString
phoneNumberThe phone number Requiredstring
regionThe region of the city Requiredstring
typeThe type of the address. Enum: "PRIMARY" "SECONDARY". Default: "PRIMARY" RequiredArray of strings

Response

CodeDescription
201Address create successfully
409Unauthorized

Request Sample

Content type
application/json
[
{
"type": "PRIMARY",
"name": "string",
"region": "string",
"city": "string",
"phoneNumber": "string",
"address": "string"
}
...
]

Response Sample

Content type
application/json
[
{
"type": "PRIMARY",
"name": "string",
"region": "string",
"city": "string",
"phoneNumber": "string",
"address": "string"
}
...
]