This type specifies the information included in a complaint request.
Type that uses AddComplaintRequestData
Call that uses AddComplaintRequestData
POST
Fields
affectedPackages
array of string
This array specifies a list of packages, specified by their packageId, affected by the issue causing the complaint.
Package ID values are returned when creating a package through the createPackage method
This array is required if the complaint being filed is for a missing package.
Package ID values are returned when creating a package through the createPackage method
This array is required if the complaint being filed is for a missing package.
complaintDate
The date in which the issue associated with the complaint occurred.
Format:
Format:
YYYY-MM-DDTHH:MM:SS.SSSZ
complaintReason
This string specifies the reason the complaint was filed.
Max length: 200 characters
Max length: 200 characters
complaintType
The type of complaint being filed.
Valid values:
Valid values:
ABNORMAL_COLLECTION_COMPLAINT
LOST_PACKAGE_COMPLAINT
preferenceId
The unique identifier of the address associated with the complaint.
This field is required if the complain being filed is associated with a specific address.
This field is required if the complain being filed is associated with a specific address.