Get order reports details lines

GET /api-v1/order-reports/{id}/lines

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • id integer Required

    id

Query parameters

  • endDate string Required

    endDate

  • startDate string Required

    startDate

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • children array[object]
    • cost number
    • id string(uuid)
    • name string
    • profitability number
    • revenue number
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/order-reports/{id}/lines
curl \
 --request GET 'https://wyzio.app/api-v1/order-reports/{id}/lines?endDate=string&startDate=string' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "children": [
      {}
    ],
    "cost": 42.0,
    "id": "string",
    "name": "string",
    "profitability": 42.0,
    "revenue": 42.0
  }
]