GET /v1/public/storefronts/{slug}/buyer
GET
/v1/public/storefronts/{slug}/buyerPath parameters
slugstringrequiredQuery parameters
customer_phonestringrequiredResponses
200OK
contact_idstringcustomer_namestringphonestringrequiredrecent_order_countinteger<int32>requiredsaved_addressesStorefrontSavedAddress[] | nullrequiredShow propertiesHide properties
Array of
StorefrontSavedAddressaddressstringrequiredarea_idstringarea_namestringcitystringrequireddistrictstringrequiredlabelstringprovincestringrequireddefaultError
errorErrorBodyrequiredShow propertiesHide properties
codestringrequireddetailsErrorDetail[] | nullShow propertiesHide properties
Array of
ErrorDetailcodestringfieldstringlocationstringmessagestringrequiredmessagestringrequiredrequest_idstringRequest
curl -X GET "/v1/public/storefronts/string/buyer?customer_phone=string"const response = await fetch("/v1/public/storefronts/string/buyer?customer_phone=string", {
method: "GET"
});import requests
response = requests.get(
"/v1/public/storefronts/string/buyer?customer_phone=string",
)Response
{
"contact_id": "string",
"customer_name": "string",
"phone": "string",
"recent_order_count": 0,
"saved_addresses": [
{
"address": "string",
"area_id": "string",
"area_name": "string",
"city": "string",
"district": "string",
"label": "string",
"province": "string"
}
]
}{
"error": {
"code": "string",
"details": [
{
"code": "string",
"field": "string",
"location": "string",
"message": "string"
}
],
"message": "string",
"request_id": "string"
}
}