Get All Stores
/v3/storesGet Store By ID
To query for ALL stores under a merchant.
To implement a pagination cursor, you may use query string: ~/?cursor= < cursor >_
Request Parameters:
No request parameter is required for this endpoint.
Response Parameters
Array of store object
Example: (Refer to explanation below)
Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)
Example: "SUCCESS"
Database object
Example: (Refer to explanation below)
Array of store object (items):
Store ID
Example: "6170506694335521334"
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: {"Lat": 3.1349857, "Lng": 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"
Database object (meta):
Current page record
Example: 1
Total record in database
Example: 1
Optional, if pagination exists.
Example: 1