Create Parcels Report
POST {{baseUrl}}/reporting/parcels
This endpoint allows you to generate a CSV report containing information about outgoing or incoming parcels. The parcels included in the report will depend on the filters
provided, and the columns will be determined by the fields
parameter.
Use this endpoint to create the report and obtain the report id
, which you will use to obtain the actual CSV download via the Get parcels report endpoint.
Request Body
{"fields"=>["origin_city", "origin_country_code"], "filters"=>{"direction"=>"incoming", "integration_id"=>"<integer>", "updated_after"=>"<dateTime>", "updated_before"=>"<dateTime>", "announced_after"=>"<dateTime>", "announced_before"=>"<dateTime>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |