Label Response#

The Label Response model represents the response from a shipment-creation request.

Properties#

Properties are protected and can be accessed with their getPropertyName() getter method or set via setPropertyName(value) setter method.

PropertyTypeDescription
contentstringThe body content of the response. Typically a JSON string, but this depends entirely on the carriers API.
responsemixedThe raw response from the carrier API.
statusCode?intThe HTTP status code for the response.
errorMessagestringThe error message for the response, if applicable.
labelsarrayA collection of Label models.