This endpoint allows authenticated partners to update store information. The partner can only update stores that belong to their client ID. The endpoint validates that the store exists and belongs to the authenticated partner before allowing updates.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Header Params
Body Params application/jsonRequired
Example
{"storeName":"Cafe Milano","address":"123 Main St, District 1, Ho Chi Minh City"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api-test.loaheovang.com/api/v1/partner/store/' \
--header'x-client-id;' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data-raw'{
"storeName": "Cafe Milano",
"address": "123 Main St, District 1, Ho Chi Minh City"
}'
Responses
🟢200OK
application/json
Body
Example
{"id":"123e4567-e89b-12d3-a456-426614174000","storeName":"Cafe Milano","ownerName":"Nguyen Van A","identityNumber":"123456789012","bankName":"Ngân hàng TMCP Quân đội (MB Bank)","bankCode":"MB","bankAccountNumber":"0123456789012","bankAccountName":"NGUYEN VAN A","phoneNumber":"0987654321","terminalID":"T123456789","terminalName":"MB-CafeMilano-001","staticQRCode":"00020101021238...[long QR string]","totalTransaction":"1250","totalAmount":"25000000"}