Skip to main content

This type defines the actual weight, cost, and additional information of a specified package or packages.

Type that uses GetActualCostResponsesData

GetActualCostResponses

Call that uses GetActualCostResponsesData

Fields

Field
Type
Description
actualWeight
The actual weight of the package in grams.
amount
This container specifies the total monetary amount of the actual cost of the package.
billingTime
The time the seller was charged for the actual cost of the package in UTC format.
chargeMode
The two-digit charge mode for the package.

Valid values:
  • 01: Actual weight
  • 02: Additional dimension weight
  • 03: Charged by lite mode
chargeWeight
The weight, in grams, charged for when shipping the package.
costType
The two-digit cost type of the package. This field indicates any fees associated with the package.

The following values are the typical cost types returned through this field. If an undocumented cost type is returned, check the logistic provider's website for the latest values:
  • 01: Shipping fee
  • 02: Domestic
  • 03: Return fee
  • 04: Domestic burning fee
  • 05: Custom collected fee
  • 06: Weight gap fee
  • 07: Duplication compensation
message
A seller-defined message to the buyer regarding the transaction.

Note: This field is always returned, but will show as null or have an empty value if not defined/applicable.
remark
A remark to the seller themselves.

Note: This field is always returned, but will show as null or have an empty value if not defined/applicable.
resultCode
The result code associated with the call.

For example, a result code of 200 indicates that the call was a success.
size
The size of the package in centimeters. This value is returned in Length*Width*Height format.
trackingNumber
The tracking number associated with the package.