1. Background
SUNMI Store system is a store management system provided by SUNMI for merchants based on the IoT devices in stores.
As an open platform, SUNMI Store can do data interchange for third-party SaaS providers, including the interchange of product information, transaction information and membership system.
ESL and other IoT devices are directly attached to the store’s products, prices and strategies, thus a basic product database framework is preserved in SUNMI Store. For data sources, users can choose either to edit on the page of SUNMI Store or to deal with the data on the third-party SaaS provider.
This document describes the error codes user might encounter and the description of that error.
2. Return value
Error types will be returned in HTTP response. If the sign is invalid, then the http status code 401 will be returned.
If the sign is valid, then it will return HTTP status code 200 whatsoever, the error will be returned in the HTTP response body. The structure of our response body is normally:
{
code:0
msg: "success"
data: {}
}
3. Error list
Error code | description |
---|---|
5090 | invalid sign |
5091 | invalid timestamp |
5092 | invalid random value |
5000 | database error |
5013 | invalid saas provider or shop |
5015 | invalid product |
5022 | invalid parameter |
5041 | invalid saas provider |
5047 | invalid order |