Check Real-time Inventory [Self-Service Kiosk Exclusive]

Last updated:2026-04-30 09:56:49

To query inventory information, third-party platforms can invoke the API to retrieve the inventory quantities for all product channels from the Open Platform, thereby enabling timely management of inventory status.

Interface Information

API Endpoint https://www.colorpark.cn/api/Printer/getChannelStocks
Request Method POST

Request Parameters

| Parameter Name | Parameter Value (Example) | Data Type | Required | Parameter Description | | ---- | ---- | :----: | ---- | | printer_id | 500001 | string | Yes | The unique ID assigned to the printer; each printer is assigned a distinct number. | | once | 8305 | string | Yes | A random value used during encryption to generate the signature. | | time | 1646790335 | string | Yes | The timestamp used during encryption to generate the signature. | | sign | 9ce3ce7a3fccaf3d7715bd7e9bb1dc1c | string | Yes | The generated signature; for details on the generation method, please refer to the "Generating Signatures" section within Underlying Methods [Basic Support]. | | channel | 1 | string | No | 1: Channel 1; 2: Channel 2; 3: Channel 3; 4: Channel 4. If this field is omitted, the quantities for all channels will be queried. |

Return Results

| Parameter Name | | Data Type | Parameter Value (Example) | Description | | --- | --- | --- |----| | code | | string | 0 | Status code of the returned result; 0 for success, 1 for failure. | | msg | | string | Retrieval successful | Description of the returned result (e.g., "Retrieval successful"). | |data| | Array Object | [{"channel":1,"stock quantity:10},{"channel":2,"stock quantity:20}] |Array of Stock Lane Inventory Objects| | | channel | string| 1 | Product Channel Number | | | stock_quantity | string| 20 | Stock Quantity |


If you encounter any unresolved issues during the device debugging process, please contact the Cloud Printing representative for troubleshooting and assistance in finding a solution. Contact details are as follows: Phone: 137-5177-4454 (Available on WeChat) Email: info@ColorPark.cn

A UV Cloud Printing Service Provider with Deep Hardware-Software Integration ® RefineColor