POST
/
reports
/
customers
/
{customerID}
/
businesses
/
{businessID}
curl --request POST \
  --url https://api.joinworth.com/report/api/v1/reports/customers/{customerID}/businesses/{businessID} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "Report generation started successfully",
  "data": {
    "report_id": "4eb20a20-f29f-4907-b305-b6d074ffff50"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerID
string
required
Example:

"{{customer_id}}"

businessID
string
required
Example:

"26a5d832-3f4e-4b43-84f2-e19c594bd7c1"

Response

200 - application/json; charset=utf-8
OK
status
string
required
message
string
required
data
object
required
Example:
{
  "report_id": "4eb20a20-f29f-4907-b305-b6d074ffff50"
}