API REFERENCE
Consultation groupée des commandes
Paramètres
| Parameter | Type | Description | Obligatoire |
|---|---|---|---|
| data.start_time | string | 开始时间 | ✓ |
| data.end_time | string | 结束时间 | ✓ |
Consultez les informations de transactions et de commandes sur une plage de dates. Cette API exporte directement un fichier CSV.
| Paramètre | Type | Description | Obligatoire |
|---|---|---|---|
| user | String | UID du compte caissier ou super administrateur | Obligatoire |
| sign | String | Signature | Obligatoire |
| method | String | v3.BatchQuery | Obligatoire |
| time | Long | Timestamp | Obligatoire |
- Parameters | Paramètre | Type | Description | Obligatoire | |:--- |:--- |:--- |:--- | | start_time | String | Heure de début | Obligatoire | | end_time | String | Heure de fin | Obligatoire |
Exemple de signature :
Paramètres triés et concaténés dans une chaîne de requête au format URL
"end_time=1573523141&method=v3.BatchQuery&start_time=1569894340&time=1546588959&user=YOUR_CASHIER_UID"
Utilisez stringA et secret_key pour obtenir stringSign
Signature obtenue :
"YOUR_SIGNATURE"
Exemple de requête :
{
"user": "YOUR_CASHIER_UID",
"sign": "YOUR_SIGNATURE",
"method": "v3.BatchQuery",
"time": 1546588959,
"data": {
"start_time" : "1569894340",
"end_time" : "1573523141"
}
}
