Logo PopinaPopina API

Export Orders for a given period

Export Orders for a given period

POST/v1/export-signed-url/orders/
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

dateStartstring
Formatdate-time
dateEndstring
Formatdate-time
timeStart?string
timeEnd?string
locationIdstring
tillIds?array<string>
roomsarray<string>
paymentsarray<string>
statusarray<string>
employeesarray<string>
criteriaId?string
criteriaValue?string|number
criteriaAttribute?string
emailstring
Formatemail
usernamestring
locale?string
Default"fr"
Value in"fr" | "en"
exportTypestring
Value in"csv" | "excel"

Response Body

application/json

application/json

curl -X POST "http://localhost:4009/v1/export-signed-url/orders/" \  -H "Content-Type: application/json" \  -d '{    "dateStart": "2019-08-24T14:15:22Z",    "dateEnd": "2019-08-24T14:15:22Z",    "locationId": "string",    "rooms": [      "string"    ],    "payments": [      "string"    ],    "status": [      "string"    ],    "employees": [      "string"    ],    "email": "user@example.com",    "username": "string",    "exportType": "csv"  }'
{
  "signedUrl": "http://example.com"
}
{
  "message": "string",
  "error": "string"
}