POST Profile Shipping Address
Developing
POST
{{url}}api/v1/ecommerce/profile/shipping
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://ecompulse.test/api/v1/ecommerce/profile/shipping' \
--header 'Accept: application/json' \
--header 'X-API-Key: exzbLclGAzBCyL0k1Yv29Evu6mwoYOATBF0lWPyT' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 5,
"first_name": "Gore",
"last_name": "Chitila",
"address": "58 Iolaire Road",
"zip_code": "B96 2PZ",
"phone": "078 6266 2041",
"email": "gore@demo.com",
"country_id": 228
}'
Response Response Example
{
"status": "success",
"message": "Customer Shipping address updated successfully",
"data": {
"id": 5,
"first_name": "Gore",
"last_name": "Chitila",
"gender": "female",
"address": "45 Station Rd, Queen Street",
"zip_code": "TN12 7FY",
"phone": "12234444",
"email": "cart@demo.com",
"country": {
"id": 228,
"name": "United Kingdom"
},
"status": 1,
"billing": {
"first_name": "Gore",
"last_name": "Chitila",
"address": "45 Station Rd, Queen Street",
"zip_code": "TN12 7FY",
"phone": "12234444",
"email": "cart@demo.com",
"country": {
"id": 228,
"name": "United Kingdom"
}
},
"shipping": {
"first_name": "Gore",
"last_name": "Chitila",
"address": "58 Iolaire Road",
"zip_code": "7BY",
"phone": "645646",
"email": "ere@gmail.com",
"country": {
"id": 228,
"name": "United Kingdom"
}
}
}
}
Request
Header Params
Accept
stringÂ
required
Example:
application/json
X-API-Key
stringÂ
required
Example:
{{key}}
Body Params application/json
Responses
Modified at 2024-05-27 18:07:54