Create multiple sales. This will upsert
- application/json
Request Body
- lookback integer required
Possible values:
>= 1
and<= 60
How far do you want us to look back for call data to match against your sales? For example: if this is set to 6, then we'd be looking at calls in the previous 6 months to match to your uploaded sales.
sales object[]
id stringThe sale ID
description stringDescription
date string requiredThe date of the sale. Formatted as ISO 8601 without time.
value stringThe value of the sale
mhid string requiredThe MHID to match against
clis string[] requiredproperties object[]
key integerThe key of the property
value stringThe value of the property
Responses
- 200
- 400
- application/json
- Schema
- Example (from schema)
Schema
- id integer
The batch ID
- lookback integer
Possible values:
>= 1
and<= 60
This is the number of months to look back to when matching calls to your sales.
- status string
processing|complete|failed
- successes integer
The qty of successful matches
- errors integer
The qty of failed matches
{
"id": "1",
"lookback": 6,
"status": "processing",
"successes": "1",
"errors": "1"
}
Validation error in request, details can be found in the body of the response