1b.app
Link copied -

Sandbox REST API

A sandbox parameter is available for the REST API, which can be passed to any of the OneBox Rest Api methods.
If passed this parameter, the method will not perform any queries to the database, other than checking the login and password. In this case, only the correctness of the data will be checked (t.е. Are all required parameters passed?). If the request is executed correctly, the answer will be returned:
{"status":"ok"}
If not all required fields were passed, or incorrect login and\or password will return {"status":"error"} with error text.
Usage example:
http://myboxurl/api/brand/add/?login=LOGIN&password=PASSWORD&name=TestBrand&sandbox=1
Reply:
{"status":"ok"}
OneBox has a page ready to test the REST API. You can find it at / admin / shop / api / sandbox/