Skip to main content

Historical contract: Customer satisfaction

Historical API contract. This page describes an earlier API contract. Methods, paths, and responses may differ from the current API.

Historical meaning​

Customer satisfaction

This API endpoint brings an average of orders ratings taking into account the filters

Current API​

For new integrations, use the linked current API reference or guide.

View the current API reference

Parameters​

[
{
"name": "api_version",
"in": "path",
"schema": {
"type": "string",
"default": "v400"
},
"required": true
},
{
"name": "language",
"in": "path",
"schema": {
"type": "string",
"default": "en"
},
"required": true
},
{
"name": "project",
"in": "path",
"schema": {
"type": "string",
"default": "<redacted-personal>"
},
"required": true
},
{
"name": "lapse",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "businesses",
"in": "query",
"schema": {
"type": "string"
}
}
]

Request body​

null

Responses​

{
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{\n \"error\": false,\n \"result\": {\n \"quality\": \"2.67\",\n \"delivery\": \"3.67\",\n \"service\": \"3.67\",\n \"package\": \"3.00\",\n \"general\": \"3.25\"\n }\n}"
}
},
"schema": {
"type": "object",
"properties": {
"error": {
"type": "boolean",
"example": false,
"default": true
},
"result": {
"type": "object",
"properties": {
"quality": {
"type": "string",
"example": "2.67"
},
"delivery": {
"type": "string",
"example": "3.67"
},
"service": {
"type": "string",
"example": "3.67"
},
"package": {
"type": "string",
"example": "3.00"
},
"general": {
"type": "string",
"example": "3.25"
}
}
}
}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}