This method is used to void a previously created labels.
An object containing information about the labels to void.
This object model represents the response from a successful void labels request.
{- "void_requests": [
- {
- "void_request_id": "be1c8d79-5406-4995-a114-6ec0b9dced3c",
- "ship_from": {
- "tax_identifiers": [
- {
- "id": "string",
- "type": "tin",
- "registration_country": "string",
- "description": "string"
}
], - "name": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "phone_number": "string",
- "company_name": "string",
- "address_residential_indicator": "unknown",
- "instructions": "string",
- "address_metadata": {
- "property1": "string",
- "property2": "string"
}, - "address_lines": [
- "string"
], - "city_locality": "string",
- "state_province": "string",
- "postal_code": "string",
- "country_code": "string"
}, - "tracking_number": "string",
- "ship_to": {
- "tax_identifiers": [
- {
- "id": "string",
- "type": "tin",
- "registration_country": "string",
- "description": "string"
}
], - "name": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "phone_number": "string",
- "company_name": "string",
- "address_residential_indicator": "unknown",
- "instructions": "string",
- "address_metadata": {
- "property1": "string",
- "property2": "string"
}, - "address_lines": [
- "string"
], - "city_locality": "string",
- "state_province": "string",
- "postal_code": "string",
- "country_code": "string"
}, - "alternative_identifiers": [
- {
- "type": "string",
- "value": "string"
}
], - "service_code": "string",
- "packages": [
- {
- "tracking_number": "string",
- "alternative_identifiers": [
- {
- "type": "string",
- "value": "string"
}
], - "dimension_details": {
- "dimensions_in_centimeters": {
- "length": 0,
- "width": 0,
- "height": 0
}, - "dimensions_in_inches": {
- "length": 0,
- "width": 0,
- "height": 0
}, - "source_dimensions": {
- "length": 0,
- "width": 0,
- "height": 0
}, - "source_dimension_unit": "inches"
}, - "weight_details": {
- "weight_in_ounces": 0,
- "weight_in_grams": 0,
- "source_weight": 0,
- "source_weight_unit": "grams"
}, - "package_code": "string"
}
], - "advanced_options": {
- "contains_alcohol": true,
- "no_postage": true,
- "nonmachineable": true,
- "saturday_delivery": true,
- "tip": {
- "amount": "string",
- "currency": "string"
}, - "property1": null,
- "property2": null
}
}
], - "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
- "authorization": {
- "access_token": "string",
- "connection_context": {
- "property1": "string",
- "property2": "string"
}
}, - "metadata": {
- "property1": null,
- "property2": null
}
}
{- "void_responses": [
- {
- "void_request_id": "be1c8d79-5406-4995-a114-6ec0b9dced3c",
- "message": "string",
- "errors": [
- "string"
], - "billing_line_items": [
- {
- "billing_category": "uncategorized",
- "carrier_description": "string",
- "carrier_billing_code": "string",
- "memo": "string",
- "amount": {
- "amount": "string",
- "currency": "string"
}
}
]
}
], - "metadata": {
- "property1": null,
- "property2": null
}
}