BizKitHub
DokumentationAPI-ExplorerComplaint/api/v1/shop/complaint/detail
getComplaintÖffentliche API v1

/api/v1/shop/complaint/detail

Returns full complaint detail including items, events timeline, refund information, and satisfaction feedback.

Use this endpoint to check the current status and history of a complaint. The events array contains the full timeline of status changes and messages.

complaintgetApiV1ShopComplaintDetail

Parameter

2 in der Query

Query-Parameter

· 2
apiKeystringPflicht

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
idstringPflicht

Complaint external ID returned from the create endpoint.

Beispiela1b2c3d4e5f6g7h8

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
exist"true"Pflicht

Indicator of whether the complaint exists.

idstringPflicht

Complaint external ID.

Beispiela1b2c3d4e5f6g7h8
orderNumberstringOptional

Linked order number.

Beispiel25000087
variantobjectPflicht
idnumberPflicht

Variant ID.

codestringPflicht

Variant code.

Beispielcomplaint
labelstringPflicht

Variant display label.

BeispielComplaint
statusstringPflicht

Current complaint status.

Beispielenewopenwaitresolverejectclosed
isResolvedbooleanPflicht

Indicator of whether the complaint has been resolved.

Beispielfalse
descriptionstringPflicht

Complaint description provided by the customer.

customerNamestringPflicht

Customer full name.

BeispielJan Novák
emailstringOptional

Customer e-mail.

phonestringOptional

Customer phone number.

refundobjectOptional
countrystringOptional

Refund country code.

bankAccountstringOptional

Refund bank account.

variableSymbolstringOptional

Refund variable symbol.

satisfactionobjectOptional
scorenumberPflicht

Satisfaction score 1–10.

Beispiel8
messagestringOptional

Customer feedback message.

insertedDateDate | string | string | numberPflicht

Date and time the complaint was created.

Eine von 4 Varianten:
Variante 1
Date

Date and time the complaint was created.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
updatedDateDate | string | string | numberPflicht

Date and time the complaint was last updated.

Eine von 4 Varianten:
Variante 1
Date

Date and time the complaint was last updated.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
dueDateDate | string | string | numberOptional

Deadline for complaint resolution.

Eine von 4 Varianten:
Variante 1
Date

Deadline for complaint resolution.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
resolvedDateDate | string | string | numberOptional

Date and time the complaint was resolved.

Eine von 4 Varianten:
Variante 1
Date

Date and time the complaint was resolved.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
itemsobject[]Pflicht
Jedes Array-Element:
idnumberPflicht

Complaint item ID.

labelstringPflicht

Item description.

quantitynumberPflicht

Item quantity.

pricenumberOptional

Claimed item price.

eventsobject[]Pflicht

Complaint timeline — status changes, internal notes, and customer-facing messages.

Jedes Array-Element:
idnumberPflicht

Event ID.

statusstringOptional

Status at the time of this event.

shareWithCustomerbooleanPflicht

Indicator of whether this event is visible to the customer.

subjectstringOptional

Event subject.

messagestringOptional

Event message body.

insertedDateDate | string | string | numberPflicht

Date and time the event was created.

Eine von 4 Varianten:
Variante 1
Date

Date and time the event was created.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
Variante 2
exist"false"Pflicht

Complaint does not exist or does not belong to this organisation.

Antwortbeispiel

application/json
{
  "exist": true,
  "id": "a1b2c3d4e5f6g7h8",
  "orderNumber": "25000087",
  "variant": {
    "id": 0,
    "code": "complaint",
    "label": "Complaint"
  },
  "status": "new",
  "isResolved": false,
  "description": "example_description",
  "customerName": "Jan Novák",
  "email": "example_email",
  "phone": "example_phone",
  "refund": {
    "country": "example_country",
    "bankAccount": "example_bankAccount",
    "variableSymbol": "example_variableSymbol"
  },
  "satisfaction": {
    "score": 8,
    "message": "example_message"
  },
  "items": [
    {
      "id": 0,
      "label": "example_label",
      "quantity": 0,
      "price": 0
    }
  ],
  "events": [
    {
      "id": 0,
      "status": "example_status",
      "shareWithCustomer": false,
      "subject": "example_subject",
      "message": "example_message"
    }
  ]
}

Anfragebeispiel

GET /api/v1/shop/complaint/detail

get
curl -X GET "https://api.bizkithub.com/api/v1/shop/complaint/detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&id=a1b2c3d4e5f6g7h8" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten