Our products have complex specs,so API docs are provided per product.Please comtact us to get the right documentation.
1.Request API Documentation (Important)
Select the product you'd like to integrate on the product page and contact our team to get the specific API documentation.
{{"REGISTRATION_TITLE"|translate}}
{{"ACTIVATION_TITLE"|translate}}
{{"ACTIVATION_STEP_1"|translate}}
{{"ACTIVATION_STEP_2"|translate}}
{{"LOGIN_TITLE"|translate}}
{{"STORE_CREATION_SUBTITLE_1"|translate}}
{{"STORE_CREATION_STEP_2"|translate}}
{{"STORE_CREATION_STEP_3"|translate}}
{{"PRODUCT_SELECTION_SUBTITLE_1"|translate}}
{{"PRODUCT_SELECTION_STEP_2"|translate}}
{{"PRODUCT_SELECTION_STEP_3"|translate}}
{{"PRODUCT_SELECTION_STEP_4"|translate}}
{{"PRODUCT_SELECTION_STEP_5"|translate}}
{{"STORE_ORDER_INTEGRATION_SUBTITLE_2"|translate}}
{{"STORE_ORDER_INTEGRATION_STEP_2"|translate}}
{{"STORE_ORDER_INTEGRATION_SUBTITLE_3"|translate}}
1.Create an order using the API store order interface
Call the QPMN WhiteLabel API store creation interface to generate a retail order with basic customizations of the QPMN WhiteLabel API store.
2.How to obtain sample data of api store orders
Go to the 'Dashboard' of QPMN WhiteLabel, click on 'My Products' to view the store's product list information, and select a api store, then click the button in the action section of the store's products, click 'API Document'.
3. Design Data
Design Data indicates what structure to submit when placing an order. It follows the 'DesignSchema' structure, filling in the URL of the image uploaded by the user into the corresponding position to form the data that needs to be submitted when placing an order.
In store product JSON file Modal, design data is in the example data.
4. Design Schema
Design Schema describes what materials can be customized for the store's products, how many sides each material has, how many images need to be uploaded for each side, and what processes, image sizes, and formats are supported.
You can click to 'Download Design Schema File' to download the design schema sample data, then convert it to design data according to the design schema conversion specification.
'Design Schema' itself doesn't generate orders; it simply tells us "which customizations should be displayed and how much content is acceptable." When an order is actually placed, the system needs 'Design Data'.
5. How to convert the design schema structure into design data in the order?
| Location in Design Schema | Location in Design Data | illustrate |
|---|---|---|
| materials[].code | designData[].code | Same material path Base64 The code is used to identify which material it is. |
| materials[].views[].code | designData[].views[].code | The code for the same custom face, for example Card_Front、 Card_Back。 |
| materials[].views[].qty | designData[].views[].designs.length | The Design Schema specifies how many items should be passed to this face, and the number of designs in the Design Data must be consistent with this. |
| materials[].views[].effects[].name | designData[].views[].designs[].effectImages[].effect | The process name must be consistent, for example, CMYK. |
| materials[].views[].allowFormats | Affecting the types of files uploaded by users | Only these formats are allowed to be uploaded. |
| materials[].views[].dpi 、 materials[].views[].effects[].width、 materials[].views[].effects[].height、 materials[].views[].effects[].unit | Affects the size of user-uploaded images | This is used to suggest to users how large an image they should prepare. |
Frequently Asked Questions
Q: What is the relationship between 'qty' in Design Schema and 'designs' in Design Data?
'qty' represents the rule, and 'designs' represents the result. In the schema, if a face has 'qty = 54', it means that this face will ultimately submit 54 items; correspondingly, the 'designs' array for that face in the Design Data should have 54 elements.
Q: How should the 'index' field be filled in for each 'design'?
'index' is a sequence number starting from 0, indicating which card or custom content item it is. For example, the front of 54 cards should be numbered from 0 to 53.
Q: What must be filled in for 'effect' in 'effectImages'?
You must fill in the value corresponding to 'effects[].name' in the Schema. The current products are typically 'CMYK'.
Q: How large does the uploaded image need to be?
See 'views[].effects[]' in the Schema:





















