Complaint

Register complaint

The user needs to be logged in to use this endpoint, click here to read more.

API is used to register a new complaint.

SecurityAuthorization_Code
Request
Request Body schema: application/json
product
required
string <= 12 characters

Product code

issue
required
string <= 10 characters

Issue code

complaintAction
required
string <= 2 characters

Complaint action code

createPostDistribution
boolean
Default: false

Whether to create postdistribution or not.

  • true: The postdistribution is created.
  • false: The postdistribution is not created.
Responses
200

OK

Response Schema: application/json
product
string <= 12 characters

Product code

Array of objects
Array of objects
400

Bad Request

429

Too Many Requests

500

Internal Server Error

post/v1/product/delivery/complaint
Request samples
application/json
{
  • "product": "CO27409",
  • "issue": "2019-63",
  • "complaintAction": "14",
  • "createPostDistribution": true
}
Response samples
application/json
{
  • "product": "CO27409",
  • "complaintActions": [
    ],
  • "complaints": [
    ]
}

List complaints

The user needs to be logged in to use this endpoint, click here to read more.

Complaint API used to get possible complaints.

SecurityAuthorization_Code
Request
path Parameters
product
required
string <= 12 characters

productcode

Responses
200

OK

Response Schema: application/json
product
string <= 12 characters

Product code

Array of objects
Array of objects
400

Bad Request

429

Too Many Requests

500

Internal Server Error

get/v1/product/delivery/complaint/{product}
Request samples
Response samples
application/json
{
  • "product": "CO27409",
  • "complaintActions": [
    ],
  • "complaints": [
    ]
}