Update Store
Update details of an existing store under a merchant account.
When to Use
▾
Use this endpoint when:
- Store info changes (name, address, contact)
- Geo-location needs adjusting
- Settlement account linkage is updated
How to Use
▾
/v3/store/{store_id}Step 1: Get the Store ID
▾
Retrieve storeId from Get All Stores or Get Store By ID.
Step 2: Build the Body
▾
Include only the fields you want to change.
Step 3: Send the PATCH Request
▾
Pass storeId as a path parameter — /v3/store/{storeId}.
Request Parameters
▾
Pass storeId as a path parameter.
Linkage with payment settlement account
Store Name
Example: "REVENUE MONSTER"
Store Address 1
Example: "B-5-30, 5th Floor, Block Bougainvillea,"
Store Address 2
Example: "PJU 6A, Lebuhraya SPRINT, 10 Boulevard,"
Postcode of store
Example: "47400"
City of store
Example: "Petaling Jaya"
State of store
Example: "Selangor"
Country of store
Example: "Malaysia"
Country code of store contact number
Example: "60"
Phone number of store
Example: "377334080"
Geo Location (latitude and longitude) of store
Example: {"latitude": 3.1349857, "longitude": 101.6136659 }
Response Parameters
▾
Updated store details.
Store ID
Example: "6170506694335521334"
Linkage with payment settlement account
Store Name
Example: "REVENUE MONSTER"
Store Address 1
Example: "B-5-30, 5th Floor, Block Bougainvillea,"
Store Address 2
Example: "PJU 6A, Lebuhraya SPRINT, 10 Boulevard,"
Postcode of store
Example: "47400"
City of store
Example: "Petaling Jaya"
State of store
Example: "Selangor"
Country of store
Example: "Malaysia"
Country code of store contact number
Example: "60"
Phone number of store
Example: "377334080"
Geo Location (latitude and longitude) of store
Example: {"latitude": 3.1349857, "longitude": 101.6136659 }
Current status of store
Example: "ACTIVE"
Default store of merchant (first store created upon signup)
Example: true
Creation date time of store
Example: "2018-02-12T08:53:13Z"
Last update date time of store
Example: "2018-02-12T08:53:13Z"
Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)
Example: "SUCCESS"