From cc4e385cf0e1198d1de4d8099d5c6b5400d45c03 Mon Sep 17 00:00:00 2001
From: Rob Wigginton <8102829+bob2021@users.noreply.github.com>
Date: Mon, 29 Dec 2025 18:40:10 +0000
Subject: [PATCH 01/13] Remove RequestedShipment.totalWeight from required
fields.
---
resources/metadata/modifications.json | 16 ++++++++--------
resources/models/ship/v1.json | 3 +--
src/Api/ShipV1/Dto/RequestedShipment.php | 4 ++--
src/Generator/Schema/Refactorer.php | 4 ++++
4 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/resources/metadata/modifications.json b/resources/metadata/modifications.json
index 31bb6cbb..b1d94216 100644
--- a/resources/metadata/modifications.json
+++ b/resources/metadata/modifications.json
@@ -100,13 +100,18 @@
}
}
}, {
- " comment": "Remove required fields from PartyAddress",
+ "comment": "Remove required fields from PartyAddress",
"action": "delete",
"path": "components.schemas.PartyAddress.required"
}, {
"comment": "Remove required fields from PartyContact",
"action": "delete",
"path": "components.schemas.PartyContact.required"
+ }, {
+ "comment": "Remove totalWeight from RequestedShipment required fields",
+ "action": "delete-array-values",
+ "path": "components.schemas.RequestedShipment.required",
+ "value": ["totalWeight"]
}
]
},
@@ -227,14 +232,9 @@
},
{
"comment": "Delete moved `FullSchema-ImageUploadServiceInputVO.properties.rules` from required properties.",
- "action": "replace",
+ "action": "delete-array-values",
"path": "components.schemas.Document.required",
- "value": [
- "contentType",
- "meta",
- "name",
- "referenceId"
- ]
+ "value": ["rules"]
}
]
}
diff --git a/resources/models/ship/v1.json b/resources/models/ship/v1.json
index d33c32dd..6d41d94f 100644
--- a/resources/models/ship/v1.json
+++ b/resources/models/ship/v1.json
@@ -7318,8 +7318,7 @@
"requestedPackageLineItems",
"serviceType",
"shipper",
- "shippingChargesPayment",
- "totalWeight"
+ "shippingChargesPayment"
],
"type": "object",
"properties": {
diff --git a/src/Api/ShipV1/Dto/RequestedShipment.php b/src/Api/ShipV1/Dto/RequestedShipment.php
index 3cbf7172..bac6c5d6 100644
--- a/src/Api/ShipV1/Dto/RequestedShipment.php
+++ b/src/Api/ShipV1/Dto/RequestedShipment.php
@@ -25,7 +25,6 @@ final class RequestedShipment extends Dto
* @param string $pickupType Indicates if shipment is being dropped off at a FedEx location or being picked up by FedEx or if it's a regularly scheduled pickup for this shipment. Required for FedEx Express and Ground Shipment.
Example: USE_SCHEDULED_PICKUP
* @param string $serviceType Indicate the FedEx service type used for this shipment.
Example: STANDARD_OVERNIGHT
click here to see Service Types
* @param string $packagingType Specify the packaging used.
Note: For Express Freight shipments, the packaging will default to YOUR_PACKAGING irrespective of the user provided package type in the request.
Example: FEDEX_PAK
click here to see Package Types
- * @param float $totalWeight Indicate the shipment total weight in pounds.
Example: 10.6
Note:
- This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
* @param Payment $shippingChargesPayment Specifies the payment details specifying the method and means of payment to FedEx for providing shipping services.
* @param LabelSpecification $labelSpecification These are label specification details includes the image type, printer format, and label stock for label. Can also specify specific details such as doc-tab content, regulatory labels, and masking data on the label.
* @param RequestedPackageLineItem[] $requestedPackageLineItems These are one or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics of all packages in the shipment.- At least one instance containing the weight for at least one package is required for EXPRESS and GROUND shipments.
- Single piece requests will have one RequestedPackageLineItem.
- Multiple piece requests will have multiple RequestedPackageLineItems.
- Maximum occurrences is 30.
@@ -33,6 +32,7 @@ final class RequestedShipment extends Dto
* @param ?Money $totalDeclaredValue This customs value is applicable for all items(or units) under the specified commodity
* @param ?SoldToParty $soldTo Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply.
* @param ?string $recipientLocationNumber A unique identifier for a recipient location.
Example:1234567
+ * @param ?float $totalWeight Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
* @param ?ContactAndAddress $origin Specifies the contact and address details of a location.
* @param ?ShipmentSpecialServicesRequested $shipmentSpecialServices Specify the special services requested at the shipment level.
If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below.
RETURN_SHIPMENT is required for creating return shipments.
* @param ?ShipShipmentEmailNotificationDetail $emailNotificationDetail This is used to provide eMail notification information..
@@ -53,7 +53,6 @@ public function __construct(
public string $pickupType,
public string $serviceType,
public string $packagingType,
- public float $totalWeight,
public Payment $shippingChargesPayment,
public LabelSpecification $labelSpecification,
public array $requestedPackageLineItems,
@@ -61,6 +60,7 @@ public function __construct(
public ?Money $totalDeclaredValue = null,
public ?SoldToParty $soldTo = null,
public ?string $recipientLocationNumber = null,
+ public ?float $totalWeight = null,
public ?ContactAndAddress $origin = null,
public ?ShipmentSpecialServicesRequested $shipmentSpecialServices = null,
public ?ShipShipmentEmailNotificationDetail $emailNotificationDetail = null,
diff --git a/src/Generator/Schema/Refactorer.php b/src/Generator/Schema/Refactorer.php
index eff1c59e..034fe929 100644
--- a/src/Generator/Schema/Refactorer.php
+++ b/src/Generator/Schema/Refactorer.php
@@ -182,6 +182,10 @@ public function applyModifications(): stdClass
$modified = match ($mod->action) {
'delete' => null,
'replace' => $mod->value,
+ 'delete-array-values' => match (true) {
+ is_array($original) => array_values(array_diff($original, is_array($mod->value) ? $mod->value : [$mod->value])),
+ default => throw new InvalidArgumentException('Can only delete array values from an array'),
+ },
'merge' => match (true) {
is_array($original) => array_merge($original, $mod->value),
is_object($original) => (object) array_merge((array) $original, (array) $mod->value),
From e97206763684cce58dba6682a5d125b1c864318b Mon Sep 17 00:00:00 2001
From: Rob Wigginton <8102829+bob2021@users.noreply.github.com>
Date: Mon, 29 Dec 2025 19:03:13 +0000
Subject: [PATCH 02/13] Update all schemas.
---
.../v1/AccountRegistration-Resource.json | 6 +-
.../v1/Addresses-Resource.json | 4 +-
.../v1/ShipConsolidation-Resource.json | 1263 ++++++++++++-
.../freight-ltl/v1/LTLFreight-Resource.json | 30 +-
.../global-trade/v1/GlobalTrade-Resource.json | 852 +++++----
.../v1/ShipmentCloseAPI-Resource.json | 26 +
.../v1/Locations-Resource.json | 61 +-
.../open-ship/v1/OpenShipment-Resource.json | 371 +++-
.../pickup-request/v1/Pickup-Resource.json | 109 +-
.../v1/ValidatePostal-Resource.json | 23 +
.../v1/RateQuotes-Resource.json | 919 +++++++++-
.../v1/PackageAndServiceOptions-Resource.json | 26 +
.../v1/SpecialServiceOptions-Resource.json | 23 +
.../v1/ShipDGHazmatAPI-Resource.json | 116 +-
.../.raw/ship/v1/Shipment-Resource.json | 1269 ++++++++++++-
.../models/.raw/ship/v1/Tag-Resource.json | 22 +-
.../track/v1/TrackingNumbers-Resource.json | 5 +-
.../v1/EDUDocuments-Resource.json | 24 +-
resources/models/account-registration/v1.json | 6 +-
resources/models/address-validation/v1.json | 4 +-
resources/models/consolidation/v1.json | 1550 +++++++++++++---
resources/models/freight-ltl/v1.json | 30 +-
resources/models/global-trade/v1.json | 320 ++--
resources/models/ground-eod-close/v1.json | 26 +
resources/models/locations-search/v1.json | 53 +-
resources/models/open-ship/v1.json | 637 ++++---
resources/models/pickup-request/v1.json | 105 +-
.../models/postal-code-validation/v1.json | 23 +
resources/models/rates-transit-times/v1.json | 1189 ++++++++++--
resources/models/service-availability/v1.json | 29 +
resources/models/ship-dg-hazmat/v1.json | 640 +++++--
resources/models/ship/v1.json | 1611 ++++++++++++++---
resources/models/track/v1.json | 5 +-
.../models/trade-documents-upload/v1.json | 20 +-
.../Requests/ValidateAddress.php | 6 +-
.../Dto/AncillaryFeeAndTax.php | 27 +
.../Dto/AppliedPreferentialTradeAgreement.php | 22 +
.../Dto/ClearanceItemDetail.php | 29 +
.../Dto/ClearanceItemDetailAddress.php | 33 +
.../Dto/ClearanceItemDetailContact.php | 23 +
src/Api/ConsolidationV1/Dto/Commodity.php | 8 +
src/Api/ConsolidationV1/Dto/Commodity2.php | 45 +
.../ConsolidationShipmentResultsInputVo.php | 1 +
...teConsolidationCompletedShipmentDetail.php | 55 +
...teConsolidationShipmentOutputVoDetails.php | 4 +-
.../Dto/CustomsClearanceDetail2.php | 4 +-
.../Dto/DistributionLocations.php | 2 +-
.../ConsolidationV1/Dto/EdtCommodityTax.php | 27 +
src/Api/ConsolidationV1/Dto/EdtTaxDetail.php | 42 +
.../Dto/FullSchemaConfirmConsolidation.php | 1 +
.../FullSchemaConfirmConsolidationResults.php | 1 +
.../Dto/FullSchemaCreateConsolidation.php | 1 +
.../FullSchemaCreateConsolidationShipment.php | 3 +
.../Dto/FullSchemaDeleteConsolidation.php | 1 +
.../Dto/FullSchemaDeleteShipment.php | 1 +
.../Dto/FullSchemaModifyConsolidation.php | 1 +
.../Dto/FullSchemaRetrieveConsolidation.php | 1 +
.../Dto/InternationalDistributionDetail.php | 6 +-
.../Dto/LabelSpecification.php | 2 +-
src/Api/ConsolidationV1/Dto/PartyContact.php | 4 +-
.../Dto/PartyContactSoldTo.php | 2 +-
.../Dto/PartyContactSoldTo2.php | 2 +-
src/Api/ConsolidationV1/Dto/PickupDetail.php | 31 +
.../ConsolidationV1/Dto/PickupRateDetail.php | 90 +
src/Api/ConsolidationV1/Dto/RateDiscount.php | 11 +-
src/Api/ConsolidationV1/Dto/RateDiscount2.php | 29 +
src/Api/ConsolidationV1/Dto/Rebate.php | 28 +
.../Dto/RequestedConsolidation.php | 4 +-
.../Dto/RequestedConsolidationShipment.php | 1 +
.../Dto/RetrievedConsolidation.php | 4 +-
.../Dto/ShipmentLegRateDetail.php | 8 +-
.../Dto/ShipmentRateDetail.php | 4 +-
.../ConsolidationV1/Dto/ShipmentRating.php | 6 +
src/Api/ConsolidationV1/Dto/Surcharge2.php | 29 +
src/Api/ConsolidationV1/Dto/Tax.php | 12 +-
src/Api/ConsolidationV1/Dto/Tax2.php | 29 +
src/Api/ConsolidationV1/Dto/TaxRates.php | 23 +
...onOutputVoCompletedConsolidationDetail.php | 2 +
...teConsolidationShipmentResultsOutputVo.php | 44 +
...ransborderDistributionLtlDetailPayment.php | 2 +-
...ransborderDistributionLtlDetailPayment.php | 2 +-
.../Dto/VariableHandlingCharges.php | 29 +
src/Api/ConsolidationV1/Dto/Version.php | 27 +
src/Api/FreightLTLV1/Dto/FullSchema.php | 1 +
.../Dto/FullSchemaCreatePickup.php | 2 +-
.../Dto/FullSchemaFreightShipment.php | 1 +
src/Api/FreightLTLV1/Dto/Version.php | 27 +
.../FreightLTLV1/Dto/WeightWithoutLink.php | 2 +-
...lsOutputVo.php => BaseProcessOutputVo.php} | 2 +-
.../Dto/CommodityComplianceTypeDetail.php | 24 +
src/Api/GlobalTradeV1/Dto/FullSchema.php | 1 +
.../RegulatoryComplianceCommodityDetail.php | 20 +
.../Dto/RegulatoryComplianceCountryDetail.php | 31 +
.../Dto/RegulatoryComplianceTypeDetail.php | 25 +
src/Api/GlobalTradeV1/Dto/Version.php | 27 +
.../Responses/GticResponseVo.php | 6 +-
.../Dto/FullSchemaGeodPut.php | 1 +
.../Dto/FullSchemaReprintPost.php | 1 +
src/Api/GroundEODCloseV1/Dto/Version.php | 27 +
src/Api/LocationsSearchV1/Dto/Amounts.php | 21 +
.../Dto/FullSchemaFindLocation.php | 8 +
.../Dto/PackageAttribute.php | 2 +
.../OpenShipV1/Dto/ClearanceItemDetail.php | 29 +
.../Dto/ClearanceItemDetailAddress.php | 33 +
.../Dto/ClearanceItemDetailContact.php | 23 +
src/Api/OpenShipV1/Dto/Commodity.php | 7 +-
.../FullSchemaAddPackagesToOpenShipment.php | 6 +-
.../Dto/FullSchemaConfirmOpenShipment.php | 4 +-
.../Dto/FullSchemaCreateOpenShipment.php | 2 +-
.../FullSchemaModifyPackageInOpenShipment.php | 6 +-
.../Dto/OpenshipmentRequestedShipment.php | 2 +
src/Api/OpenShipV1/Dto/PartyAccountNumber.php | 2 +-
src/Api/OpenShipV1/Dto/PartyAddress.php | 2 +-
src/Api/OpenShipV1/Dto/Payment.php | 2 +-
.../Dto/TransactionOpenShipmentOutputVo.php | 4 +-
src/Api/PickupRequestV1/Dto/AccountNumber.php | 4 +-
src/Api/PickupRequestV1/Dto/Address.php | 2 +-
src/Api/PickupRequestV1/Dto/Address2.php | 2 +-
.../Dto/FullSchemaCancelPickup.php | 1 +
.../Dto/FullSchemaCreatePickup.php | 3 +
.../Dto/FullSchemaPickupAvailability.php | 1 +
src/Api/PickupRequestV1/Dto/Payor.php | 23 +
.../Dto/PickupChargesPayment.php | 27 +
.../PickupRequestV1/Dto/ResponsibleParty.php | 23 +
src/Api/PickupRequestV1/Dto/Version.php | 27 +
.../Dto/FullSchemaValidatePostal.php | 1 +
.../PostalCodeValidationV1/Dto/Version.php | 27 +
.../Dto/AncillaryFeeAndTax.php | 27 +
.../Dto/AppliedPreferentialTradeAgreement.php | 22 +
.../RatesAndTransitTimesV1/Dto/EdtCharge.php | 4 +-
.../Dto/EdtCommodityTax.php | 27 +
.../Dto/EdtTaxDetail.php | 27 +-
.../Dto/EdtTaxDetail2.php | 35 +
.../Dto/FullSchemaQuoteRate.php | 3 +
.../Dto/PackageRateDetail.php | 8 +-
.../Dto/PickupDetail.php | 31 +
.../Dto/PickupRateDetail.php | 90 +
.../Dto/RateDiscount.php | 13 +-
.../Dto/RateDiscount2.php | 31 +
.../Dto/RatedShipmentDetail.php | 14 +-
src/Api/RatesAndTransitTimesV1/Dto/Rebate.php | 28 +
.../Dto/RequestedShipment.php | 1 +
.../Dto/ShipmentLegRateDetail.php | 12 +-
.../Dto/ShipmentRateDetail.php | 12 +-
.../RatesAndTransitTimesV1/Dto/Surcharge.php | 14 +-
.../RatesAndTransitTimesV1/Dto/Surcharge2.php | 31 +
src/Api/RatesAndTransitTimesV1/Dto/Tax.php | 12 +-
src/Api/RatesAndTransitTimesV1/Dto/Tax2.php | 29 +
.../RatesAndTransitTimesV1/Dto/TaxRates.php | 23 +
.../Dto/VariableHandlingCharges.php | 12 +-
.../Dto/VariableHandlingCharges2.php | 25 +
.../RatesAndTransitTimesV1/Dto/Version.php | 27 +
.../FullSchemaPackageAndServiceOptions.php | 1 +
.../Dto/FullSchemaSpecialServiceOptions.php | 1 +
.../Dto/FullSchemaTransitTime.php | 1 +
src/Api/ServiceAvailabilityV1/Dto/Version.php | 27 +
.../Dto/ClearanceItemDetail.php | 29 +
.../Dto/ClearanceItemDetailAddress.php | 33 +
.../Dto/ClearanceItemDetailContact.php | 23 +
src/Api/ShipDGHazmatV1/Dto/Commodity.php | 7 +-
src/Api/ShipDGHazmatV1/Dto/Commodity2.php | 59 +
.../Dto/CustomsClearanceDetail2.php | 57 +
.../ShipDGHazmatV1/Dto/PackageBarcodes.php | 8 +-
src/Api/ShipDGHazmatV1/Dto/Payment.php | 2 +-
.../Dto/RequestedShipmentVerify.php | 4 +-
src/Api/ShipDGHazmatV1/Dto/TrackingId.php | 8 +-
src/Api/ShipV1/Dto/Address.php | 12 +-
src/Api/ShipV1/Dto/Alert3pp.php | 25 +
src/Api/ShipV1/Dto/AncillaryFeeAndTax.php | 27 +
.../Dto/AppliedPreferentialTradeAgreement.php | 22 +
src/Api/ShipV1/Dto/ClearanceItemDetail.php | 28 +
src/Api/ShipV1/Dto/Commodity.php | 7 +-
src/Api/ShipV1/Dto/Commodity2.php | 59 +
.../Dto/CompletedCreateShipmentDetail.php | 51 +
.../ShipV1/Dto/CompletedShipmentDetail.php | 1 -
src/Api/ShipV1/Dto/Contact.php | 12 +-
src/Api/ShipV1/Dto/Contact2.php | 2 +-
src/Api/ShipV1/Dto/ContactVerify.php | 2 +-
src/Api/ShipV1/Dto/CreateShipmentRating.php | 33 +
.../ShipV1/Dto/CreateTagRequestedShipment.php | 2 +-
.../ShipV1/Dto/CustomsClearanceDetailTag.php | 4 +-
src/Api/ShipV1/Dto/EdtCommodityTax.php | 27 +
src/Api/ShipV1/Dto/EdtTaxDetail.php | 42 +
.../ShipV1/Dto/FullSchemaCancelShipment.php | 1 +
...SchemaGetConfirmedShipmentAsyncResults.php | 1 +
src/Api/ShipV1/Dto/FullSchemaShip.php | 3 +
.../Dto/HazardousCommodityQuantityDetail.php | 2 +
src/Api/ShipV1/Dto/Money2.php | 25 +
.../Dto/PackageSpecialServicesRequested.php | 2 +-
src/Api/ShipV1/Dto/PartyAddress.php | 2 +-
src/Api/ShipV1/Dto/PartyAddress2.php | 2 +-
src/Api/ShipV1/Dto/PartyContact.php | 2 +-
src/Api/ShipV1/Dto/Payment.php | 2 +-
src/Api/ShipV1/Dto/PickupRateDetail.php | 90 +
src/Api/ShipV1/Dto/RateDiscount.php | 11 +-
src/Api/ShipV1/Dto/RateDiscount2.php | 29 +
src/Api/ShipV1/Dto/Rebate.php | 28 +
src/Api/ShipV1/Dto/RequestedShipment.php | 3 +-
src/Api/ShipV1/Dto/RequestedShipmentTag.php | 2 +-
src/Api/ShipV1/Dto/ShipShipmentOutputVo.php | 4 +-
src/Api/ShipV1/Dto/ShipmentLegRateDetail.php | 8 +-
.../ShipV1/Dto/ShipmentOperationalDetail.php | 2 +-
src/Api/ShipV1/Dto/ShipmentRateDetail.php | 4 +-
src/Api/ShipV1/Dto/Surcharge2.php | 29 +
src/Api/ShipV1/Dto/Tax.php | 12 +-
src/Api/ShipV1/Dto/Tax2.php | 29 +
src/Api/ShipV1/Dto/TaxRates.php | 23 +
.../Dto/TransactionCreateShipmentOutputVo.php | 46 +
.../ShipV1/Dto/VariableHandlingCharges.php | 29 +
src/Api/ShipV1/Dto/Version.php | 27 +
src/Api/ShipV1/Requests/CreateTag.php | 2 +-
.../TradeDocumentsUploadV1/Dto/Document.php | 2 +-
.../Dto/DocumentMetaOutput.php | 4 +-
.../FullSchemaBase64multiDocumentRequest.php | 4 +-
.../Dto/MultiEtdUploadRequest.php | 4 +-
.../Dto/MultiMetaDataPreResponse.php | 4 +-
216 files changed, 12363 insertions(+), 1907 deletions(-)
create mode 100644 src/Api/ConsolidationV1/Dto/AncillaryFeeAndTax.php
create mode 100644 src/Api/ConsolidationV1/Dto/AppliedPreferentialTradeAgreement.php
create mode 100644 src/Api/ConsolidationV1/Dto/ClearanceItemDetail.php
create mode 100644 src/Api/ConsolidationV1/Dto/ClearanceItemDetailAddress.php
create mode 100644 src/Api/ConsolidationV1/Dto/ClearanceItemDetailContact.php
create mode 100644 src/Api/ConsolidationV1/Dto/Commodity2.php
create mode 100644 src/Api/ConsolidationV1/Dto/CreateConsolidationCompletedShipmentDetail.php
create mode 100644 src/Api/ConsolidationV1/Dto/EdtCommodityTax.php
create mode 100644 src/Api/ConsolidationV1/Dto/EdtTaxDetail.php
create mode 100644 src/Api/ConsolidationV1/Dto/PickupDetail.php
create mode 100644 src/Api/ConsolidationV1/Dto/PickupRateDetail.php
create mode 100644 src/Api/ConsolidationV1/Dto/RateDiscount2.php
create mode 100644 src/Api/ConsolidationV1/Dto/Rebate.php
create mode 100644 src/Api/ConsolidationV1/Dto/Surcharge2.php
create mode 100644 src/Api/ConsolidationV1/Dto/Tax2.php
create mode 100644 src/Api/ConsolidationV1/Dto/TaxRates.php
create mode 100644 src/Api/ConsolidationV1/Dto/TransactionCreateConsolidationShipmentResultsOutputVo.php
create mode 100644 src/Api/ConsolidationV1/Dto/VariableHandlingCharges.php
create mode 100644 src/Api/ConsolidationV1/Dto/Version.php
create mode 100644 src/Api/FreightLTLV1/Dto/Version.php
rename src/Api/GlobalTradeV1/Dto/{ShipmentRegulatoryDetailsOutputVo.php => BaseProcessOutputVo.php} (92%)
create mode 100644 src/Api/GlobalTradeV1/Dto/CommodityComplianceTypeDetail.php
create mode 100644 src/Api/GlobalTradeV1/Dto/RegulatoryComplianceCommodityDetail.php
create mode 100644 src/Api/GlobalTradeV1/Dto/RegulatoryComplianceCountryDetail.php
create mode 100644 src/Api/GlobalTradeV1/Dto/RegulatoryComplianceTypeDetail.php
create mode 100644 src/Api/GlobalTradeV1/Dto/Version.php
create mode 100644 src/Api/GroundEODCloseV1/Dto/Version.php
create mode 100644 src/Api/LocationsSearchV1/Dto/Amounts.php
create mode 100644 src/Api/OpenShipV1/Dto/ClearanceItemDetail.php
create mode 100644 src/Api/OpenShipV1/Dto/ClearanceItemDetailAddress.php
create mode 100644 src/Api/OpenShipV1/Dto/ClearanceItemDetailContact.php
create mode 100644 src/Api/PickupRequestV1/Dto/Payor.php
create mode 100644 src/Api/PickupRequestV1/Dto/PickupChargesPayment.php
create mode 100644 src/Api/PickupRequestV1/Dto/ResponsibleParty.php
create mode 100644 src/Api/PickupRequestV1/Dto/Version.php
create mode 100644 src/Api/PostalCodeValidationV1/Dto/Version.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/AncillaryFeeAndTax.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/AppliedPreferentialTradeAgreement.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/EdtCommodityTax.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/EdtTaxDetail2.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/PickupDetail.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/PickupRateDetail.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/RateDiscount2.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/Rebate.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/Surcharge2.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/Tax2.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/TaxRates.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/VariableHandlingCharges2.php
create mode 100644 src/Api/RatesAndTransitTimesV1/Dto/Version.php
create mode 100644 src/Api/ServiceAvailabilityV1/Dto/Version.php
create mode 100644 src/Api/ShipDGHazmatV1/Dto/ClearanceItemDetail.php
create mode 100644 src/Api/ShipDGHazmatV1/Dto/ClearanceItemDetailAddress.php
create mode 100644 src/Api/ShipDGHazmatV1/Dto/ClearanceItemDetailContact.php
create mode 100644 src/Api/ShipDGHazmatV1/Dto/Commodity2.php
create mode 100644 src/Api/ShipDGHazmatV1/Dto/CustomsClearanceDetail2.php
create mode 100644 src/Api/ShipV1/Dto/Alert3pp.php
create mode 100644 src/Api/ShipV1/Dto/AncillaryFeeAndTax.php
create mode 100644 src/Api/ShipV1/Dto/AppliedPreferentialTradeAgreement.php
create mode 100644 src/Api/ShipV1/Dto/ClearanceItemDetail.php
create mode 100644 src/Api/ShipV1/Dto/Commodity2.php
create mode 100644 src/Api/ShipV1/Dto/CompletedCreateShipmentDetail.php
create mode 100644 src/Api/ShipV1/Dto/CreateShipmentRating.php
create mode 100644 src/Api/ShipV1/Dto/EdtCommodityTax.php
create mode 100644 src/Api/ShipV1/Dto/EdtTaxDetail.php
create mode 100644 src/Api/ShipV1/Dto/Money2.php
create mode 100644 src/Api/ShipV1/Dto/PickupRateDetail.php
create mode 100644 src/Api/ShipV1/Dto/RateDiscount2.php
create mode 100644 src/Api/ShipV1/Dto/Rebate.php
create mode 100644 src/Api/ShipV1/Dto/Surcharge2.php
create mode 100644 src/Api/ShipV1/Dto/Tax2.php
create mode 100644 src/Api/ShipV1/Dto/TaxRates.php
create mode 100644 src/Api/ShipV1/Dto/TransactionCreateShipmentOutputVo.php
create mode 100644 src/Api/ShipV1/Dto/VariableHandlingCharges.php
create mode 100644 src/Api/ShipV1/Dto/Version.php
diff --git a/resources/models/.raw/account-registration/v1/AccountRegistration-Resource.json b/resources/models/.raw/account-registration/v1/AccountRegistration-Resource.json
index 1bdd52ea..93451981 100644
--- a/resources/models/.raw/account-registration/v1/AccountRegistration-Resource.json
+++ b/resources/models/.raw/account-registration/v1/AccountRegistration-Resource.json
@@ -303,7 +303,7 @@
{
"name": "Authorization",
"in": "header",
- "description": "Bearer token from oauth/token",
+ "description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
@@ -501,7 +501,7 @@
{
"name": "authorization",
"in": "header",
- "description": "Bearer token from oauth/token",
+ "description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
@@ -693,7 +693,7 @@
{
"name": "Authorization",
"in": "header",
- "description": "Bearer token generated with child id and secret",
+ "description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
diff --git a/resources/models/.raw/address-validation/v1/Addresses-Resource.json b/resources/models/.raw/address-validation/v1/Addresses-Resource.json
index dbeec9bc..81afc4a2 100644
--- a/resources/models/.raw/address-validation/v1/Addresses-Resource.json
+++ b/resources/models/.raw/address-validation/v1/Addresses-Resource.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
- "title": "Address Validation APi",
+ "title": "Address Validation API",
"version": "1.0.0"
},
"servers": [
@@ -13,7 +13,7 @@
"/address/v1/addresses/resolve": {
"post": {
"summary": "Validate Address",
- "description": "Use this endpointtt to get address resolution details. These details areee the outcome of validation and resolution of the input address. An address is stated as resolved when the input address matches the known reference data.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
+ "description": "Use this endpoint to get address resolution details. These details are the outcome of validation and resolution of the input address. An address is stated as resolved when the input address matches the known reference data.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
"operationId": "Validate Address",
"requestBody": {
"content": {
diff --git a/resources/models/.raw/consolidation/v1/ShipConsolidation-Resource.json b/resources/models/.raw/consolidation/v1/ShipConsolidation-Resource.json
index 254596cf..e97f3c4d 100644
--- a/resources/models/.raw/consolidation/v1/ShipConsolidation-Resource.json
+++ b/resources/models/.raw/consolidation/v1/ShipConsolidation-Resource.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
- "title": "ShipConsolidation",
+ "title": "Consolidation API",
"version": "API"
},
"servers": [
@@ -1929,7 +1929,7 @@
"INTERNATIONAL_PRIORITY_DISTRIBUTION"
]
},
- "shipDate": {
+ "shipDateStamp": {
"type": "string",
"description": "This field indicates the shipping date of the LTL Shipment",
"example": "2021-05-07"
@@ -2121,7 +2121,7 @@
"properties": {
"personName": {
"type": "string",
- "description": "Specify contact name. Maximum length is 70.
Note: Either the companyName or personName is mandatory.
Example: John Taylor",
+ "description": "Specify contact name. First 35 chars will be printed on the label, excess characters will be truncated..
Note: Either the companyName or personName is mandatory.
Example: John Taylor",
"example": "John Taylor"
},
"emailAddress": {
@@ -2136,7 +2136,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"companyName": {
@@ -2326,7 +2326,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"companyName": {
@@ -2685,7 +2685,7 @@
"properties": {
"personName": {
"type": "string",
- "description": "Specify contact name. Maximum length is 70.Note: Either the companyName or personName is mandatory.
Example: John Taylor",
+ "description": "Specify contact name. First 35 chars will be printed on the label, excess characters will be truncated.
Note: Either the companyName or personName is mandatory.
Example: John Taylor",
"example": "John Taylor"
},
"emailAddress": {
@@ -2700,7 +2700,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "1234567890"
},
"faxNumber": {
@@ -3094,7 +3094,10 @@
]
},
"declaredCurrencies": {
- "$ref": "#/components/schemas/Money_1"
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Money_1"
+ }
},
"clearanceFacilityLocationId": {
"type": "string",
@@ -3809,6 +3812,11 @@
"description": "This is the commodity description. Maximum allowed 450 characters.",
"example": "AC parts"
},
+ "cIMarksAndNumbers": {
+ "type": "string",
+ "description": "This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment
Example: 125SU212061F7",
+ "example": "125SU212061F7"
+ },
"countryOfManufacture": {
"type": "string",
"description": "This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.",
@@ -3838,6 +3846,13 @@
"type": "string",
"description": "Value used to identify a commodity description; must be unique within the containing shipment.",
"example": "commodity Id"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
}
}
},
@@ -3913,7 +3928,24 @@
"CONSOLIDATED_CUSTOMS_LINEHAUL_REPORT",
"CONSOLIDATED_PARTY_REPORT",
"CONSOLIDATED_SOLD_TO_SUMMARY_REPORT",
- "CUSTOM_CONSOLIDATION_DOCUMENT"
+ "CUSTOM_CONSOLIDATION_DOCUMENT",
+ "CERTIFICATE_OF_ORIGIN",
+ "COMMERCIAL_INVOICE",
+ "CUSTOM_PACKAGE_DOCUMENT",
+ "CUSTOM_SHIPMENT_DOCUMENT",
+ "CUSTOMER_SPECIFIED_LABELS",
+ "DANGEROUS_GOODS_SHIPPERS_DECLARATION",
+ "EXPORT_DECLARATION",
+ "FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING",
+ "GENERAL_AGENCY_AGREEMENT",
+ "LABEL",
+ "USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN",
+ "USMCA_CERTIFICATION_OF_ORIGIN",
+ "OP_900",
+ "PENDING_SHIPMENT_EMAIL_NOTIFICATION",
+ "PRO_FORMA_INVOICE",
+ "RETURN_INSTRUCTIONS",
+ "VICS_BILL_OF_LADING"
],
"items": {
"type": "string"
@@ -4445,6 +4477,9 @@
},
"accountNumber": {
"$ref": "#/components/schemas/AccountNumber"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to modify a consolidation."
@@ -4503,7 +4538,7 @@
"INTERNATIONAL_PRIORITY_DISTRIBUTION"
]
},
- "shipDate": {
+ "shipDateStamp": {
"type": "string",
"description": "This is the ship date for the outbound shipment associated with a return shipment. The format is YYYY-MM-DD.
Example: 2019-10-01",
"example": "2021-05-07"
@@ -4576,6 +4611,26 @@
},
"description": "Specify the requested consolidation"
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"ShipperParty_1": {
"required": [
"address",
@@ -4653,7 +4708,7 @@
"properties": {
"personName": {
"type": "string",
- "description": "Specify contact name. Maximum length is 70.
Note: Either the companyName or personName is mandatory.
Example: John Taylor",
+ "description": "Specify contact name. First 35 chars will be printed on the label, excess characters will be truncated.
Note: Either the companyName or personName is mandatory.
Example: John Taylor",
"example": "John Taylor"
},
"emailAddress": {
@@ -4668,7 +4723,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"companyName": {
@@ -4849,7 +4904,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Specify contact phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
+ "description": "Specify contact phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
"example": "1234567890"
},
"companyName": {
@@ -4930,7 +4985,7 @@
"$ref": "#/components/schemas/AddressAncillaryDetail"
}
},
- "description": "Idicates the contact and address details of a location."
+ "description": "Indicate the contact and address details of a location."
},
"Contact_1_1": {
"type": "object",
@@ -5459,7 +5514,10 @@
]
},
"declaredCurrencies": {
- "$ref": "#/components/schemas/Money_1_1"
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Money_1_1"
+ }
},
"clearanceFacilityLocationId": {
"type": "string",
@@ -5957,9 +6015,90 @@
"type": "string",
"description": "Value used to identify a commodity description; must be unique within the containing shipment.",
"example": "commodity Id"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ }
+ }
+ },
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.
For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_contact"
+ },
+ "address": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_address"
}
}
},
+ "ClearanceItemDetail_contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.
Example: THE GREENHOUSE",
+ "example": "THE GREENHOUSE"
+ }
+ },
+ "description": "Contact details of the manufacturer."
+ },
+ "ClearanceItemDetail_address": {
+ "type": "object",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.
Example: 98 Royal Crescent",
+ "items": {
+ "type": "string",
+ "example": "[\"98 Royal Crescent\"]"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.
Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.
Example: US",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.",
+ "example": false
+ }
+ },
+ "description": "Address of the manufacturer."
+ },
"BrokerDetail_1": {
"type": "object",
"properties": {
@@ -6061,7 +6200,24 @@
"CONSOLIDATED_CUSTOMS_LINEHAUL_REPORT",
"CONSOLIDATED_PARTY_REPORT",
"CONSOLIDATED_SOLD_TO_SUMMARY_REPORT",
- "CUSTOM_CONSOLIDATION_DOCUMENT"
+ "CUSTOM_CONSOLIDATION_DOCUMENT",
+ "CERTIFICATE_OF_ORIGIN",
+ "COMMERCIAL_INVOICE",
+ "CUSTOM_PACKAGE_DOCUMENT",
+ "CUSTOM_SHIPMENT_DOCUMENT",
+ "CUSTOMER_SPECIFIED_LABELS",
+ "DANGEROUS_GOODS_SHIPPERS_DECLARATION",
+ "EXPORT_DECLARATION",
+ "FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING",
+ "GENERAL_AGENCY_AGREEMENT",
+ "LABEL",
+ "USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN",
+ "USMCA_CERTIFICATION_OF_ORIGIN",
+ "OP_900",
+ "PENDING_SHIPMENT_EMAIL_NOTIFICATION",
+ "PRO_FORMA_INVOICE",
+ "RETURN_INSTRUCTIONS",
+ "VICS_BILL_OF_LADING"
],
"items": {
"type": "string"
@@ -6325,6 +6481,9 @@
},
"accountNumber": {
"$ref": "#/components/schemas/AccountNumber"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to create a consolidation."
@@ -6858,12 +7017,126 @@
"type": "array",
"description": "a list of consolidation shipments within the open shipment",
"items": {
- "$ref": "#/components/schemas/TransactionConsolidationShipmentResultsOutputVO"
+ "$ref": "#/components/schemas/TransactionCreateConsolidationShipmentResultsOutputVO"
}
}
},
"description": "This is the response received when a create consolidation shipment is requested."
},
+ "TransactionCreateConsolidationShipmentResultsOutputVO": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Identifies the service for this shipment
Example: FEDEX_2_DAY_FREIGHT
Click here to see Service Types",
+ "example": "FEDEX_2_DAY_FREIGHT"
+ },
+ "shipDateStamp": {
+ "type": "string",
+ "description": "Specifies shipment date. Format [YYYY-MM-DD]
Example: 2010-03-04",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Specifies Service Category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "shipmentDocuments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "pieceResponses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "Describes the service name for the shipment
Example: FedEx 2 Day Freight",
+ "example": "FedEx 2 Day Freight"
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CreateConsolidationCompletedShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "Indicates the TrackingNumber for the single or multiple-package shipment
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
+ "CreateConsolidationCompletedShipmentDetail": {
+ "type": "object",
+ "properties": {
+ "completedPackageDetails": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CompletedPackageDetail"
+ }
+ },
+ "operationalDetail": {
+ "$ref": "#/components/schemas/ShipmentOperationalDetail"
+ },
+ "carrierCode": {
+ "type": "string",
+ "description": "Specify the four letter code of a FedEx operating company that meets your requirements
Examples of FedEx Operating Companies are:- FDXE - FedEx Express
- FDXG - FedEx Ground
- FXSP - FedEx SmartPost
- FXCC - FedEx Custom Critical.
",
+ "example": "FDXE"
+ },
+ "completedHoldAtLocationDetail": {
+ "$ref": "#/components/schemas/CompletedHoldAtLocationDetail"
+ },
+ "completedEtdDetail": {
+ "$ref": "#/components/schemas/CompletedEtdDetail"
+ },
+ "packagingDescription": {
+ "type": "string",
+ "description": "Specifies packaging description.",
+ "example": "barrel"
+ },
+ "masterTrackingId": {
+ "$ref": "#/components/schemas/TrackingId"
+ },
+ "serviceDescription": {
+ "$ref": "#/components/schemas/ServiceDescription"
+ },
+ "usDomestic": {
+ "type": "boolean",
+ "description": "Indicates whether or not this is an intra-U.S. shipment.",
+ "example": true
+ },
+ "hazardousShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedHazardousShipmentDetail"
+ },
+ "shipmentRating": {
+ "$ref": "#/components/schemas/ShipmentRating"
+ },
+ "documentRequirements": {
+ "$ref": "#/components/schemas/DocumentRequirementsDetail"
+ },
+ "exportComplianceStatement": {
+ "type": "string",
+ "description": "Specifies export Compliance Statement.",
+ "example": "export Compliance Statement"
+ },
+ "accessDetail": {
+ "$ref": "#/components/schemas/PendingShipmentAccessDetail"
+ },
+ "shipmentConsolidationDetail": {
+ "$ref": "#/components/schemas/ShipmentConsolidationDetail"
+ },
+ "completedCodDetail": {
+ "$ref": "#/components/schemas/CompletedCodDetail"
+ }
+ },
+ "description": "Returns the result of processing the desired package as a single-package shipment."
+ },
"TransactionConsolidationShipmentResultsOutputVO": {
"type": "object",
"properties": {
@@ -8391,51 +8664,829 @@
"items": {
"$ref": "#/components/schemas/ShipmentRateDetail"
}
- }
- },
- "description": "All shipment-level rating data for this shipment, which may include data for multiple rate types."
- },
- "ShipmentRateDetail": {
- "type": "object",
- "properties": {
- "rateZone": {
- "type": "string",
- "description": "Indicates the rate zone used (based on origin and destination).",
- "example": "US001O"
- },
- "ratedWeightMethod": {
- "type": "string",
- "description": "Indicates which weight was used.",
- "example": "ACTUAL"
- },
- "totalDutiesTaxesAndFees": {
- "type": "number",
- "description": "The total of the total duties & taxes and the total ancillary fees & taxes.",
- "format": "double",
- "example": 24.56
- },
- "pricingCode": {
- "type": "string",
- "description": "Specifies pricing Code.",
- "example": "LTL_FREIGHT"
},
- "totalFreightDiscounts": {
- "type": "number",
- "description": "The total discounts used in the rate calculation.",
- "format": "double",
- "example": 1.56
- },
- "totalTaxes": {
- "type": "number",
- "description": "Total of the transportation-based taxes.
Example: 3.45",
- "format": "double",
- "example": 3.45
+ "totalNetTransportationAndPickupCharge": {
+ "description": "Sum of totalNetCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of pickup.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
},
- "totalDutiesAndTaxes": {
- "type": "number",
- "description": "Total of all values under this shipment's duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.",
- "format": "double",
- "example": 6.78
+ "totalNetFedExTransportationAndPickupCharge": {
+ "description": "Sum of totalNetFedExCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of a pickup.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "pickupRateDetail": {
+ "description": "Charges associated with a scheduled shipment pickup",
+ "type": "object",
+ "properties": {
+ "rateType": {
+ "description": "Type used for this specific set of rate data.",
+ "type": "string",
+ "enum": [
+ "INCENTIVE",
+ "NEGOTIATED",
+ "PAYOR_ACCOUNT_PACKAGE",
+ "PAYOR_ACCOUNT_SHIPMENT",
+ "PAYOR_CUSTOM_PACKAGE",
+ "PAYOR_CUSTOM_SHIPMENT",
+ "PAYOR_LIST_PACKAGE",
+ "PAYOR_LIST_SHIPMENT",
+ "PAYOR_RETAIL_PACKAGE",
+ "PAYOR_RETAIL_SHIPMENT",
+ "PREFERRED_ACCOUNT_PACKAGE",
+ "PREFERRED_ACCOUNT_SHIPMENT",
+ "PREFERRED_CUSTOM_PACKAGE",
+ "PREFERRED_CUSTOM_SHIPMENT",
+ "PREFERRED_INCENTIVE",
+ "PREFERRED_LIST_PACKAGE",
+ "PREFERRED_LIST_SHIPMENT",
+ "PREFERRED_NEGOTIATED",
+ "PREFERRED_RETAIL_PACKAGE",
+ "PREFERRED_RETAIL_SHIPMENT",
+ "RATED_ACCOUNT_PACKAGE",
+ "RATED_ACCOUNT_SHIPMENT",
+ "RATED_CUSTOM_PACKAGE",
+ "RATED_CUSTOM_SHIPMENT",
+ "RATED_LIST_PACKAGE",
+ "RATED_LIST_SHIPMENT",
+ "RATED_RETAIL_PACKAGE",
+ "RATED_RETAIL_SHIPMENT",
+ "UNKNOWN"
+ ],
+ "example": "PAYOR_ACCOUNT_PACKAGE"
+ },
+ "rateScale": {
+ "type": "string",
+ "description": "Indicates the rate scale used.",
+ "example": "*USER IMS20160104 LD067110"
+ },
+ "rateZone": {
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "type": "string",
+ "example": "CA003O"
+ },
+ "ratingBasis": {
+ "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.
- SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.
- FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.
- PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.
",
+ "type": "string",
+ "enum": [
+ "SHIPMENT_WEIGHT_BASED",
+ "FLAT_RATE_PER_PAK",
+ "PACK_WEIGHT_BASED",
+ "UNKNOWN"
+ ],
+ "example": "SHIPMENT_WEIGHT_BASED"
+ },
+ "pricingCode": {
+ "description": "Identifies the type of pricing used for this shipment.",
+ "type": "string",
+ "enum": [
+ "ACTUAL",
+ "ALTERNATE",
+ "BASE",
+ "HUNDREDWEIGHT",
+ "HUNDREDWEIGHT_ALTERNATE",
+ "INTERNATIONAL_DISTRIBUTION",
+ "INTERNATIONAL_ECONOMY_SERVICE",
+ "LTL_FREIGHT",
+ "PACKAGE",
+ "SHIPMENT",
+ "SHIPMENT_FIVE_POUND_OPTIONAL",
+ "SHIPMENT_OPTIONAL",
+ "SPECIAL",
+ "UNKNOWN"
+ ],
+ "example": "ACTUAL"
+ },
+ "minimumChargeType": {
+ "description": "provides the minimum charge type applicable to the rates.",
+ "type": "string",
+ "enum": [
+ "CUSTOMER",
+ "CUSTOMER_FREIGHT_WEIGHT",
+ "EARNED_DISCOUNT",
+ "MIXED",
+ "RATE_SCALE",
+ "UNKNOWN"
+ ],
+ "example": "EARNED_DISCOUNT"
+ },
+ "currencyExchangeRate": {
+ "$ref": "#/components/schemas/CurrencyExchangeRate"
+ },
+ "specialRatingApplied": {
+ "type": "array",
+ "description": "Indicates which special rating cases applied to this shipment.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FEDEX_ONE_RATE",
+ "FIXED_FUEL_SURCHARGE",
+ "IMPORT_PRICING"
+ ]
+ },
+ "example": "FEDEX_ONE_RATE"
+ },
+ "fuelSurchargePercent": {
+ "description": "Specify a fuel surcharge percentage.",
+ "format": "double",
+ "type": "number",
+ "example": 121
+ },
+ "pickupBaseChargeDescription": {
+ "description": "Will indicate the pickup charge description of the on call pickup",
+ "type": "string",
+ "enum": [
+ "Regularly Scheduled Pickup Mon-Fri",
+ "Automated Pickup Mon-Fri",
+ "Same Day OC Pickup Mon-Fri (CS)",
+ "Same Day OC Pickup Mon-Fri (Online)",
+ "Fut. Day OC Pickup Mon-Fri (CS)",
+ "Fut. Day OC Pickup Mon-Fri (Online)",
+ "Regularly Scheduled Pickup Sat",
+ "Automated Pickup Sat",
+ "Same Day OC Pickup Sat (CS)",
+ "Same Day OC Pickup Sat (Online)",
+ "Fut. Day OC Pickup Sat (CS)",
+ "Fut. Day OC Pickup Sat (Online)",
+ "Regularly Scheduled Pickup Sun",
+ "Automated Pickup Sun",
+ "Same Day OC Pickup Sun (CS)",
+ "Same Day OC Pickup Sun (Online)",
+ "Fut. Day OC Pickup Sun (CS)",
+ "Fut. Day OC Pickup Sun (Online)",
+ "Residential On-Call Pickup Surcharge",
+ "Pickup Area Surcharge",
+ "Extended Pickup Area Surcharge",
+ "Remote Pickup Area Surcharge",
+ "Fuel Surcharge"
+ ],
+ "example": "Pickup Area Surcharge"
+ },
+ "totalBaseCharge": {
+ "description": "Total base charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalFreightDiscounts": {
+ "description": "The total discounts used in the rate calculation.
Example: 1257.26",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetFreight": {
+ "description": "This shipment's totalNetFreight.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalSurcharges": {
+ "description": "The sum of all surcharges on the package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetFedExCharge": {
+ "description": "This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalTaxes": {
+ "description": "The sum of all taxes on this package.
Example: 1257.25",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetCharge": {
+ "description": "Total net charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalRebates": {
+ "description": "The total sum of all rebates applied to this package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalDutiesAndTaxes": {
+ "description": "The sum of shipment/package Duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalAncillaryFeesAndTaxes": {
+ "description": "Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalDutiesTaxesAndFees": {
+ "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetChargeWithDutiesAndTaxes": {
+ "description": "Total netChargesWithDutiesAndTaxes for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "freightDiscounts": {
+ "description": "All rate discounts that apply to this shipment",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RateDiscount_2"
+ }
+ },
+ "rebates": {
+ "description": "The all rebates applied to this package.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Rebate"
+ }
+ },
+ "surcharges": {
+ "description": "The amount of surcharges applied to this shipment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Surcharge_2"
+ }
+ },
+ "taxes": {
+ "description": "List of taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Tax_2"
+ }
+ },
+ "dutiesAndTaxes": {
+ "description": "List of The shipment/package Duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/EdtCommodityTax"
+ }
+ },
+ "ancillaryFeesAndTaxes": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/AncillaryFeeAndTax"
+ }
+ },
+ "variableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges_1"
+ }
+ ]
+ },
+ "totalVariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges_1"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "description": "All shipment-level rating data for this shipment, which may include data for multiple rate types."
+ },
+ "EdtCommodityTax": {
+ "description": "The shipment/package Duties and taxes.",
+ "type": "object",
+ "properties": {
+ "harmonizedCode": {
+ "description": "Harmonized code is used by customer to classify the product being shipped and define the duties and taxes to be paid.",
+ "type": "string",
+ "example": "harmonizedCode"
+ },
+ "taxes": {
+ "$ref": "#/components/schemas/EdtTaxDetail_1"
+ },
+ "total": {
+ "description": "Total of Duties and taxes",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "EdtTaxDetail_1": {
+ "description": "Estimated duties and taxes detail.",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Estimated taxes type",
+ "type": "string",
+ "enum": [
+ "ADDITIONAL_TAXES",
+ "CONSULAR_INVOICE_FEE",
+ "CUSTOMS_SURCHARGES",
+ "DUTY",
+ "EXCISE_TAX",
+ "FOREIGN_EXCHANGE_TAX",
+ "GENERAL_SALES_TAX",
+ "IMPORT_LICENSE_FEE",
+ "INTERNAL_ADDITIONAL_TAXES",
+ "INTERNAL_SENSITIVE_PRODUCTS_TAX",
+ "OTHER",
+ "SENSITIVE_PRODUCTS_TAX",
+ "STAMP_TAX",
+ "STATISTICAL_TAX",
+ "TRANSPORT_FACILITIES_TAX"
+ ],
+ "example": "INCENTIVE"
+ },
+ "taxcode": {
+ "type": "string",
+ "example": "taxcode"
+ },
+ "effectiveDate": {
+ "description": "Estimated duties and taxes effective date. Format [YYYY-MM-DD].",
+ "type": "string",
+ "example": "2019-12-06"
+ },
+ "name": {
+ "description": "The localized name of the surcharge.",
+ "type": "string",
+ "example": "VAT"
+ },
+ "taxableValue": {
+ "description": "Estimated duties and taxes taxable Value.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "description": {
+ "description": "FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible",
+ "type": "string",
+ "example": "Christmas"
+ },
+ "formula": {
+ "description": "Indicates the formula.",
+ "type": "string",
+ "example": "VAT Payable = Output VAT \u2013 Input VAT"
+ },
+ "amount": {
+ "description": "Amount for the estimated duties and taxes type.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "taxRates": {
+ "description": "Estimated duties and taxes taxRates",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "example": null
+ },
+ "currency": {
+ "type": "string",
+ "example": null
+ },
+ "quantity": {
+ "format": "double",
+ "type": "number",
+ "example": null
+ },
+ "unitOfMeasure": {
+ "type": "string",
+ "example": null
+ }
+ }
+ }
+ },
+ "appliedPreferentialTradeAgreement": {
+ "description": "provides details about PTA applied between countries for specific product. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "name": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "description": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ }
+ }
+ }
+ }
+ },
+ "VariableHandlingCharges_1": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "type": "object",
+ "properties": {
+ "variableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "fixedVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percentVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalCustomerCharge": {
+ "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "AncillaryFeeAndTax": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "enum": [
+ "CLEARANCE_ENTRY_FEE",
+ "GOODS_AND_SERVICES_TAX",
+ "HARMONIZED_SALES_TAX",
+ "OTHER"
+ ],
+ "example": "CLEARANCE_ENTRY_FEE"
+ },
+ "description": {
+ "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "list of AncillaryFees And Taxes",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "RateDiscount_2": {
+ "type": "object",
+ "properties": {
+ "rateDiscountType": {
+ "description": "Indicates the type.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "COUPON",
+ "EARNED",
+ "INCENTIVE",
+ "OTHER",
+ "VOLUME"
+ ],
+ "example": "INCENTIVE"
+ },
+ "description": {
+ "description": "Indicates the description for the rate discount.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Indicates the amount for the rate discount.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "Rebate": {
+ "type": "object",
+ "properties": {
+ "rebateType": {
+ "description": "The type of rebate.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "EARNED",
+ "OTHER"
+ ],
+ "example": "EARNED"
+ },
+ "description": {
+ "description": "The description of the rebate",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "provides the calculated rebate amount based on customer details, transaction information, and applicable rules. ",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "Surcharge_2": {
+ "type": "object",
+ "properties": {
+ "surchargeType": {
+ "description": "The type of surcharge.",
+ "type": "string",
+ "enum": [
+ "ACCOUNT_NUMBER_PROCESSING_FEE",
+ "ADDITIONAL_HANDLING",
+ "ADDRESS_CORRECTION",
+ "ANCILLARY_FEE",
+ "APPOINTMENT_DELIVERY",
+ "BLIND_SHIPMENT",
+ "BROKER_SELECT_OPTION",
+ "CANADIAN_DESTINATION",
+ "CHARGEABLE_PALLET_WEIGHT",
+ "COD",
+ "CUT_FLOWERS",
+ "DANGEROUS_GOODS",
+ "DELIVERY_AREA",
+ "DELIVERY_CONFIRMATION",
+ "DELIVERY_ON_INVOICE_ACCEPTANCE",
+ "DEMAND",
+ "DEMAND_ADDITIONAL_HANDLING",
+ "DEMAND_OVERSIZE",
+ "DEMAND_RESIDENTIAL_DELIVERY",
+ "DETENTION",
+ "DOCUMENTATION_FEE",
+ "DRY_ICE",
+ "EMAIL_LABEL",
+ "ENHANCED_SECURITY",
+ "EUROPE_FIRST",
+ "EXCESS_VALUE",
+ "EXCLUSIVE_USE",
+ "EXHIBITION",
+ "EXPEDITED",
+ "EXPORT",
+ "EXTRA_LABOR",
+ "EXTRA_SURFACE_HANDLING_CHARGE",
+ "EXTREME_LENGTH",
+ "FEDEX_INTRACOUNTRY_FEES",
+ "FEDEX_TAG",
+ "FICE",
+ "FLATBED",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_PICKUP",
+ "FREIGHT_DIRECT_BASIC_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_PICKUP",
+ "FREIGHT_DIRECT_PREMIUM_DELIVERY",
+ "FREIGHT_DIRECT_PREMIUM_PICKUP",
+ "FREIGHT_DIRECT_STANDARD_DELIVERY",
+ "FREIGHT_DIRECT_STANDARD_PICKUP",
+ "FREIGHT_GUARANTEE",
+ "FREIGHT_ON_VALUE",
+ "FREIGHT_TO_COLLECT",
+ "FUEL",
+ "HIGH_COST_SERVICE_AREA_DESTINATION",
+ "HIGH_COST_SERVICE_AREA_ORIGIN",
+ "HIGH_DENSITY",
+ "HOLD_AT_LOCATION",
+ "HOLIDAY_DELIVERY",
+ "HOLIDAY_GUARANTEE",
+ "HOME_DELIVERY_APPOINTMENT",
+ "HOME_DELIVERY_DATE_CERTAIN",
+ "HOME_DELIVERY_EVENING",
+ "INSIDE_DELIVERY",
+ "INSIDE_PICKUP",
+ "INSURED_VALUE",
+ "INTERHAWAII",
+ "LIFTGATE_DELIVERY",
+ "LIFTGATE_PICKUP",
+ "LIMITED_ACCESS_DELIVERY",
+ "LIMITED_ACCESS_PICKUP",
+ "MARKING_OR_TAGGING",
+ "METRO_DELIVERY",
+ "METRO_PICKUP",
+ "MONITORING_AND_INTERVENTION",
+ "NON_BUSINESS_TIME",
+ "NON_MACHINABLE",
+ "OFFSHORE",
+ "ON_CALL_PICKUP",
+ "ON_DEMAND_CARE",
+ "OTHER",
+ "OUT_OF_DELIVERY_AREA",
+ "OUT_OF_PICKUP_AREA",
+ "OVER_DIMENSION",
+ "OVER_LENGTH",
+ "OVERSIZE",
+ "OVERWEIGHT",
+ "PALLET_SHRINKWRAP",
+ "PALLETS_PROVIDED",
+ "PEAK",
+ "PEAK_ADDITIONAL_HANDLING",
+ "PEAK_OVERSIZE",
+ "PEAK_RESIDENTIAL_DELIVERY",
+ "PERMIT",
+ "PIECE_COUNT_VERIFICATION",
+ "PORT",
+ "PRE_DELIVERY_NOTIFICATION",
+ "PRIORITY_ALERT",
+ "PROTECTION_FROM_FREEZING",
+ "REGIONAL_MALL_DELIVERY",
+ "REGIONAL_MALL_PICKUP",
+ "REROUTE",
+ "RESCHEDULE",
+ "RESIDENTIAL_DELIVERY",
+ "RESIDENTIAL_PICKUP",
+ "RETURN_LABEL",
+ "SATURDAY_DELIVERY",
+ "SATURDAY_PICKUP",
+ "SHIPMENT_ASSEMBLY",
+ "SIGNATURE_OPTION",
+ "SINGLE_PIECE",
+ "SORT_AND_SEGREGATE",
+ "SPECIAL_DELIVERY",
+ "SPECIAL_EQUIPMENT",
+ "STORAGE",
+ "SUNDAY_DELIVERY",
+ "TARP",
+ "THIRD_PARTY_BILLING",
+ "THIRD_PARTY_CONSIGNEE",
+ "TRANSMART_SERVICE_FEE",
+ "USPS",
+ "WEIGHING"
+ ],
+ "example": "COD"
+ },
+ "level": {
+ "description": "The level of surcharge.",
+ "type": "string",
+ "enum": [
+ "PACKAGE",
+ "SHIPMENT"
+ ],
+ "example": "PACKAGE"
+ },
+ "description": {
+ "description": "The description of the surcharge.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "Tax_2": {
+ "description": "Tax surcharge details",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Specifies the type of Surcharge/Tax.",
+ "type": "string",
+ "enum": [
+ "EXPORT",
+ "GST",
+ "HST",
+ "INTRACOUNTRY",
+ "OTHER",
+ "PST",
+ "SST",
+ "VAT"
+ ],
+ "example": "VAT"
+ },
+ "description": {
+ "description": "Specifies the description of the Surcharge/Tax.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Specifies the list of tax amounts.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "ShipmentRateDetail": {
+ "type": "object",
+ "properties": {
+ "rateZone": {
+ "type": "string",
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "example": "US001O"
+ },
+ "ratedWeightMethod": {
+ "type": "string",
+ "description": "Indicates which weight was used.",
+ "example": "ACTUAL"
+ },
+ "totalDutiesTaxesAndFees": {
+ "type": "number",
+ "description": "The total of the total duties & taxes and the total ancillary fees & taxes.",
+ "format": "double",
+ "example": 24.56
+ },
+ "pricingCode": {
+ "type": "string",
+ "description": "Specifies pricing Code.",
+ "example": "LTL_FREIGHT"
+ },
+ "totalFreightDiscounts": {
+ "type": "number",
+ "description": "The total discounts used in the rate calculation.",
+ "format": "double",
+ "example": 1.56
+ },
+ "totalTaxes": {
+ "type": "number",
+ "description": "Total of the transportation-based taxes.
Example: 3.45",
+ "format": "double",
+ "example": 3.45
+ },
+ "totalDutiesAndTaxes": {
+ "type": "number",
+ "description": "Total of all values under this shipment's duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.",
+ "format": "double",
+ "example": 6.78
},
"totalAncillaryFeesAndTaxes": {
"type": "number",
@@ -9190,8 +10241,22 @@
"requestedShipment": {
"$ref": "#/components/schemas/RequestedConsolidationShipment"
},
+ "processingOptions": {
+ "type": "array",
+ "description": "Array of processing options for the shipment.",
+ "items": {
+ "type": "string",
+ "example": "INCLUDE_PICKUPRATES",
+ "enum": [
+ "INCLUDE_PICKUPRATES"
+ ]
+ }
+ },
"labelResponseOptions": {
"$ref": "#/components/schemas/LableResponseOptions"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to create a consolidation shipment."
@@ -9269,6 +10334,9 @@
"$ref": "#/components/schemas/RecipientParty"
}
},
+ "pickupDetail": {
+ "$ref": "#/components/schemas/PickupDetail"
+ },
"shippingChargesPayment": {
"$ref": "#/components/schemas/Payment"
},
@@ -9305,6 +10373,52 @@
},
"description": "The consolidation shipment details"
},
+ "PickupDetail": {
+ "type": "object",
+ "properties": {
+ "readyDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Pickup ready date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "latestPickupDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Latest pickup date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "courierInstructions": {
+ "type": "string",
+ "description": "Special instructions for the courier",
+ "example": "Leave package at reception"
+ },
+ "requestType": {
+ "$ref": "#/components/schemas/PickupRequestType"
+ },
+ "requestSource": {
+ "$ref": "#/components/schemas/PickupRequestSourceType"
+ }
+ }
+ },
+ "PickupRequestType": {
+ "type": "string",
+ "description": "Type of pickup request",
+ "enum": [
+ "FUTURE_DAY",
+ "SAME_DAY"
+ ],
+ "example": "FUTURE_DAY"
+ },
+ "PickupRequestSourceType": {
+ "type": "string",
+ "description": "Source of the pickup request",
+ "enum": [
+ "AUTOMATION",
+ "CUSTOMER_SERVICE"
+ ],
+ "example": "AUTOMATION"
+ },
"HoldAtLocationDetail": {
"required": [
"locationId"
@@ -10657,6 +11771,9 @@
},
"accountNumber": {
"$ref": "#/components/schemas/PartyAccountNumber"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -10920,6 +12037,9 @@
},
"consolidationDocumentSpecification": {
"$ref": "#/components/schemas/ConsolidationDocumentSpec"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -11005,6 +12125,9 @@
"type": "string",
"description": "When the confirm consolidation is processed asynchronously, job Id is generated which is passed in confirm consolidation results to get complete consolidation results",
"example": "b8r763490cj7462n8907"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -11131,6 +12254,9 @@
},
"consolidationKey": {
"$ref": "#/components/schemas/ConsolidationKey"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to retrieve a consolidation."
@@ -11151,7 +12277,7 @@
"consolidationKey": {
"consolidationType": "INTERNATIONAL_ECONOMY_DISTRIBUTION",
"index": "12345",
- "shipDate": "2022-03-21"
+ "shipDateStamp": "2022-03-21"
}
}
},
@@ -11266,6 +12392,9 @@
"type": "string",
"description": "This is a unique number assigned by FedEx to the packages for tracking. This will help in the identification of the dangerous goods shipments to mark it for removal on the manifest report.",
"example": "86ea9b69e068191a59f0e2721b8fbfee"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to cancel a shipment. "
@@ -11325,6 +12454,9 @@
},
"trackingId": {
"$ref": "#/components/schemas/TrackingIds"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to delete a consolidation."
@@ -11337,7 +12469,7 @@
"consolidationKey": {
"consolidationType": "INTERNATIONAL_ECONOMY_DISTRIBUTION",
"index": "12345",
- "shipDate": "2022-03-21"
+ "shipDateStamp": "2022-03-21"
},
"trackingId": {
"trackingNumber": "547698721345",
@@ -11752,7 +12884,7 @@
}
}
},
- "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT."
+ "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY."
},
"TransborderDistributionDetail_specialServicesRequested_transborderDistributionLtlDetail_payment_ePaymentDetail_amount": {
"type": "object",
@@ -12635,7 +13767,7 @@
}
}
},
- "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT."
+ "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY."
},
"TransborderDistributionDetail_1_specialServicesRequested_transborderDistributionLtlDetail_payment_creditCard_creditCardHolder": {
"type": "object",
@@ -13594,6 +14726,9 @@
"properties": {
"consolidationShipments": {
"$ref": "#/components/schemas/ConsolidationShipments"
+ },
+ "consolidationDocumentTypes": {
+ "$ref": "#/components/schemas/ConsolidationDocumentSpec"
}
},
"description": "Specifies Complete Consolidation Details when user selected ASYCHRONOUSLY_PROCESSED"
diff --git a/resources/models/.raw/freight-ltl/v1/LTLFreight-Resource.json b/resources/models/.raw/freight-ltl/v1/LTLFreight-Resource.json
index d3a50eab..4a16bb1b 100644
--- a/resources/models/.raw/freight-ltl/v1/LTLFreight-Resource.json
+++ b/resources/models/.raw/freight-ltl/v1/LTLFreight-Resource.json
@@ -1082,6 +1082,9 @@
},
"freightRequestedShipment": {
"$ref": "#/components/schemas/LTLRequestedShipment"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for requesting a freight rate quote."
@@ -4396,6 +4399,9 @@
"type": "boolean",
"description": "If the value is false, it uses single shot MPS shipments where in all the packages are processed in the same transaction and can generate number of labels for the handling units all at once. If the value is true, the MPS shipment processes packages and labels one at a time. Default value is false. \n
Example: true or false",
"example": true
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to create a Freight2020Shipment."
@@ -6018,7 +6024,7 @@
],
"properties": {
"units": {
- "description": "Specifies the package weight unit type.
Example:KG",
+ "description": "Specifies the shipment weight unit type.
Example:KG",
"type": "string",
"enum": [
"KG",
@@ -11937,7 +11943,7 @@
"type": "number"
}
},
- "description": "The total weight of the packages for the pickup. Unit of measure is LB and KG.",
+ "description": "The total shipment weight for pickup. Unit of measure is LB and KG.",
"items": {
"$ref": "#/components/schemas/TotalWeight"
}
@@ -12915,6 +12921,26 @@
}
},
"description": "Specifies the freight guarantee detail."
+ },
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "2",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
}
}
}
diff --git a/resources/models/.raw/global-trade/v1/GlobalTrade-Resource.json b/resources/models/.raw/global-trade/v1/GlobalTrade-Resource.json
index e061a319..6ec0be32 100644
--- a/resources/models/.raw/global-trade/v1/GlobalTrade-Resource.json
+++ b/resources/models/.raw/global-trade/v1/GlobalTrade-Resource.json
@@ -19,14 +19,7 @@
"content": {
"application/json": {
"schema": {
- "oneOf": [
- {
- "$ref": "#/components/schemas/FullSchema"
- },
- {
- "$ref": "#/components/schemas/MinimumSamplePayload"
- }
- ]
+ "$ref": "#/components/schemas/regulatorydetails_retrieve_body"
}
}
}
@@ -180,6 +173,279 @@
},
"components": {
"schemas": {
+ "regulatorydetails_retrieve_body": {
+ "oneOf": [
+ {
+ "$ref": "#/components/schemas/FullSchema"
+ },
+ {
+ "$ref": "#/components/schemas/MinimumSamplePayload"
+ }
+ ]
+ },
+ "GticResponseVO": {
+ "type": "object",
+ "properties": {
+ "transactionId": {
+ "type": "string",
+ "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
+ "example": "624deea6-b709-470c-8c39-4b5511281492"
+ },
+ "customerTransactionId": {
+ "type": "string",
+ "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
Example: AnyCo_order123456789",
+ "example": "AnyCo_order123456789"
+ },
+ "output": {
+ "$ref": "#/components/schemas/BaseProcessOutputVO_1"
+ }
+ },
+ "description": "This is a wrapper class for outputVO."
+ },
+ "BaseProcessOutputVO_1": {
+ "required": [
+ "countryDetails",
+ "userMessages"
+ ],
+ "type": "object",
+ "properties": {
+ "userMessages": {
+ "type": "array",
+ "description": "Represents User Message",
+ "items": {
+ "$ref": "#/components/schemas/RegulatoryMessage"
+ }
+ },
+ "countryDetails": {
+ "description": "Represents Country Details",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/RegulatoryCountryDetails"
+ }
+ ]
+ },
+ "cxsalerts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CXSAlert_1"
+ }
+ }
+ },
+ "description": "ShipmentRegulatoryDetailsOutputVO Model"
+ },
+ "ErrorResponseVO": {
+ "type": "object",
+ "properties": {
+ "transactionId": {
+ "type": "string",
+ "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
+ "example": "624deea6-b709-470c-8c39-4b5511281492"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CXSError"
+ }
+ }
+ },
+ "description": "This holds the error responses."
+ },
+ "CXSError": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Indicates the error code.
Example: ACCOUNT.NUMBER.INVALID,LOGIN.REAUTHENTICATE.ERROR,SHIPMENT.USER.UNAUTHORIZED,NOT.FOUND.ERROR,INTERNAL.SERVER.ERROR"
+ },
+ "parameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Parameter_2"
+ }
+ },
+ "message": {
+ "type": "string",
+ "description": "Indicates the description of API error alert message.
Example: We are unable to process this request. Please try again later or contact FedEx Customer Service."
+ }
+ },
+ "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
+ },
+ "Parameter_2": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Identifies the error option to be applied."
+ },
+ "key": {
+ "type": "string",
+ "description": "Indicates the value associated with the key."
+ }
+ },
+ "description": "List of parameters which indicates the properties of the alert message."
+ },
+ "ErrorResponseVO401": {
+ "type": "object",
+ "properties": {
+ "transactionId": {
+ "type": "string",
+ "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
+ "example": "624deea6-b709-470c-8c39-4b5511281492"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CXSError401"
+ }
+ }
+ },
+ "description": "This holds the error responses."
+ },
+ "CXSError401": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Indicates the error code.
Example: NOT.AUTHORIZED.ERROR"
+ },
+ "parameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Parameter"
+ }
+ },
+ "message": {
+ "description": "Indicates the description of API error alert message.
Example: Access token expired. Please modify your request and try again."
+ }
+ },
+ "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
+ },
+ "Parameter": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Identifies the error option to be applied."
+ },
+ "key": {
+ "type": "string",
+ "description": "Indicates the value associated with the key."
+ }
+ },
+ "description": "List of parameters which indicates the properties of the alert message."
+ },
+ "ErrorResponseVO404": {
+ "type": "object",
+ "properties": {
+ "transactionId": {
+ "type": "string",
+ "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
+ "example": "624deea6-b709-470c-8c39-4b5511281492"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CXSError404"
+ }
+ }
+ },
+ "description": "This holds the error responses."
+ },
+ "CXSError404": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Indicates the error code.
Example: NOT.FOUND.ERROR"
+ },
+ "parameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Parameter"
+ }
+ },
+ "message": {
+ "description": "Indicates the description of API error alert message.
Example: The resource you requested is no longer available. Please modify your request and try again."
+ }
+ },
+ "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
+ },
+ "ErrorResponseVO422": {
+ "type": "object",
+ "properties": {
+ "transactionId": {
+ "type": "string",
+ "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
+ "example": "624deea6-b709-470c-8c39-4b5511281492"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CXSError422"
+ }
+ }
+ },
+ "description": "This holds the error responses."
+ },
+ "CXSError422": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Indicates the error code.
Example: INVALID.INPUT.EXCEPTION"
+ },
+ "parameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Parameter"
+ }
+ },
+ "message": {
+ "description": "Validation failed for the object='shipmentRegulatoryDetailsInputVO'.Error count:1"
+ }
+ },
+ "description": "Indicates error when mandatory elements are not passed in the request."
+ },
+ "ErrorResponseVO500": {
+ "type": "object",
+ "properties": {
+ "transactionId": {
+ "type": "string",
+ "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
+ "example": "624deea6-b709-470c-8c39-4b5511281492"
+ },
+ "customerTransactionId": {
+ "type": "string",
+ "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
Example: AnyCo_order123456789",
+ "format": "uuid"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CXSError500"
+ }
+ }
+ },
+ "description": "This holds the error responses."
+ },
+ "CXSError500": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Indicates the error code.
Example: INTERNAL.SERVER.ERROR"
+ },
+ "parameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Parameter"
+ }
+ },
+ "message": {
+ "description": "Indicates the description of API error alert message.
Example: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time."
+ }
+ },
+ "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
+ },
"FullSchema": {
"required": [
"carrierCode",
@@ -265,7 +531,7 @@
"includeURLReferences": {
"type": "boolean",
"description": "Specify if the url references to be included in the output. These are regulatory reference data urls specific to document, agency.",
- "example": "True"
+ "example": true
},
"consolidationType": {
"type": "string",
@@ -276,36 +542,15 @@
"type": "string",
"description": "Specify the role this shipment plays within the consolidation.
Valid values are:- CONSOLIDATION_DOCUMENTS_SHIPMENT – Shipment contains clearance documents for the corresponding consolidation.
- CRN_SHIPMENT – Shipment is a Child Reference Number(individual shipment within consolidation).
- MASTER_AIRWAYBILL_SHIPMENT – Shipment represents entire consolidation, moving as a unit.
",
"example": "CONSOLIDATION_DOCUMENTS_SHIPMENT"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements to retrieve Shipment Regulatory Details."
},
"Money": {
"type": "object",
- "description": "Customs value for this commodity.",
- "properties": {
- "amount": {
- "type": "number",
- "description": "This is the amount.
Example: 12.45",
- "format": "double",
- "example": 12.45,
- "xml": {
- "name": "Amount"
- }
- },
- "currency": {
- "type": "string",
- "description": "This is the currency code for the amount.
Example: USD
click here to see Currency codes",
- "example": "USD",
- "xml": {
- "name": "Currency"
- }
- }
- }
- },
- "Money_1": {
- "type": "object",
- "description": "Specify Insurance charges if applicable.
Note: FedEx does not provide insurance of any kind.",
"properties": {
"amount": {
"type": "number",
@@ -324,7 +569,8 @@
"name": "Currency"
}
}
- }
+ },
+ "description": "Customs value for this commodity."
},
"Address": {
"required": [
@@ -372,7 +618,6 @@
}
},
"insuranceCharges": {
- "description": "Specify Insurance charges if applicable.
Note: FedEx does not provide insurance of any kind.",
"$ref": "#/components/schemas/Money_1"
},
"importerOfRecordAccountNumber": {
@@ -407,6 +652,29 @@
},
"description": "These are customs clearance details.
Required for International and intra-country Shipments."
},
+ "Money_1": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "This is the amount.
Example: 12.45",
+ "format": "double",
+ "example": 12.45,
+ "xml": {
+ "name": "Amount"
+ }
+ },
+ "currency": {
+ "type": "string",
+ "description": "This is the currency code for the amount.
Example: USD
click here to see Currency codes",
+ "example": "USD",
+ "xml": {
+ "name": "Currency"
+ }
+ }
+ },
+ "description": "Specify Insurance charges if applicable.
Note: FedEx does not provide insurance of any kind."
+ },
"Party": {
"type": "object",
"properties": {
@@ -495,6 +763,31 @@
}
}
},
+ "Measure": {
+ "required": [
+ "quantity",
+ "uom"
+ ],
+ "type": "object",
+ "properties": {
+ "uom": {
+ "type": "string",
+ "description": "Unit of measure used to express the quantity of this commodity line item.",
+ "xml": {
+ "name": "Uom"
+ }
+ },
+ "quantity": {
+ "type": "number",
+ "description": "Specify commodity quantity.",
+ "format": "double",
+ "xml": {
+ "name": "Quantity"
+ }
+ }
+ },
+ "description": "This object contains additional quantitative information other than weight and quantity to calculate duties and taxes."
+ },
"Weight": {
"required": [
"units",
@@ -524,31 +817,6 @@
"value": 68
}
},
- "Measure": {
- "required": [
- "quantity",
- "uom"
- ],
- "type": "object",
- "description": "This object contains additional quantitative information other than weight and quantity to calculate duties and taxes.",
- "properties": {
- "uom": {
- "type": "string",
- "description": "Unit of measure used to express the quantity of this commodity line item.",
- "xml": {
- "name": "Uom"
- }
- },
- "quantity": {
- "type": "number",
- "description": "Specify commodity quantity.",
- "format": "double",
- "xml": {
- "name": "Quantity"
- }
- }
- }
- },
"MinimumSamplePayload": {
"example": {
"originAddress": {
@@ -571,27 +839,165 @@
}
}
},
- "GticResponseVO": {
+ "Version": {
"type": "object",
"properties": {
- "transactionId": {
+ "major": {
+ "type": "integer",
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": 1
+ },
+ "minor": {
+ "type": "integer",
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": 1
+ },
+ "patch": {
+ "type": "integer",
+ "description": "This represents a backward-compatible bug fix adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": 1
+ }
+ }
+ },
+ "BaseProcessOutputVO": {
+ "type": "object",
+ "properties": {
+ "regulatoryComplianceCountryDetails": {
+ "type": "array",
+ "description": "This is an array of nonnegative-Integer identifying the associated commodities.",
+ "items": {
+ "$ref": "#/components/schemas/RegulatoryComplianceCountryDetail"
+ }
+ },
+ "shipmentRegulatoryComplianceDetails": {
+ "type": "array",
+ "description": "This is an array of nonnegative-Integer identifying the associated commodities.",
+ "items": {
+ "$ref": "#/components/schemas/RegulatoryComplianceTypeDetail"
+ }
+ }
+ }
+ },
+ "RegulatoryComplianceCountryDetail": {
+ "type": "object",
+ "properties": {
+ "countryCode": {
"type": "string",
- "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
- "example": "624deea6-b709-470c-8c39-4b5511281492"
+ "description": "The ISO country code for the country.",
+ "example": "US"
},
- "customerTransactionId": {
+ "category": {
"type": "string",
- "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
Example: AnyCo_order123456789",
- "example": "AnyCo_order123456789"
+ "description": "Describes the type of category",
+ "example": "ProductType"
},
- "output": {
- "$ref": "#/components/schemas/BaseProcessOutputVO"
+ "regulatoryComplianceCommodityDetails": {
+ "type": "array",
+ "description": "This is an array of nonnegative-Integer identifying the associated commodities.",
+ "items": {
+ "$ref": "#/components/schemas/RegulatoryComplianceCommodityDetail"
+ }
+ }
+ }
+ },
+ "RegulatoryComplianceCommodityDetail": {
+ "type": "object",
+ "properties": {
+ "commodityComplianceTypeDetail": {
+ "$ref": "#/components/schemas/CommodityComplianceTypeDetail"
+ }
+ }
+ },
+ "CommodityComplianceTypeDetail": {
+ "type": "object",
+ "properties": {
+ "commodityIndexes": {
+ "type": "array",
+ "description": "This is an array of nonnegative-Integer identifying the associated commodities.",
+ "example": 1,
+ "items": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "regulatoryComplianceTypeDetail": {
+ "$ref": "#/components/schemas/RegulatoryComplianceTypeDetail"
+ }
+ }
+ },
+ "RegulatoryComplianceTypeDetail": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "compliance type.",
+ "example": "EEI"
+ },
+ "description": {
+ "type": "string",
+ "description": "compliance description.",
+ "example": "Shipments to your selected country require an EEI filing"
+ }
+ }
+ },
+ "CXSAlert": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Specifies the API alert code.",
+ "example": "INVALID.INPUT.EXCEPTION"
+ },
+ "alertType": {
+ "type": "string",
+ "description": "Specifies the API alert Type.",
+ "example": "WARNING",
+ "enum": [
+ "NOTE",
+ "WARNING"
+ ]
+ },
+ "parameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Parameter_1"
+ }
+ },
+ "message": {
+ "type": "string",
+ "description": "Specifies the API alert message.",
+ "example": "Validation failed for object. Error count: 1"
+ }
+ }
+ },
+ "Parameter_1": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Identifies the error option to be applied.",
+ "example": "packagingType can not be null"
+ },
+ "key": {
+ "type": "string",
+ "description": "Indicates the value associated with the key.",
+ "example": "NotNull.specialServicesOptionsInputVO.requestedShipment.packagingType"
}
},
- "description": "This is a wrapper class for outputVO."
+ "description": "List of parameters which indicates the properties of the alert message."
},
- "BaseProcessOutputVO": {
- "$ref": "#/components/schemas/ShipmentRegulatoryDetailsOutputVO"
+ "CXSError_1": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Indicates the error code.
Example: ACCOUNT.NUMBER.INVALID,LOGIN.REAUTHENTICATE.ERROR,SHIPMENT.USER.UNAUTHORIZED,NOT.FOUND.ERROR,INTERNAL.SERVER.ERROR"
+ },
+ "message": {
+ "type": "string",
+ "description": "Indicates the description of API error alert message.
Example: We are unable to process this request. Please try again later or contact FedEx Customer Service."
+ }
+ },
+ "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
},
"ShipmentRegulatoryDetailsOutputVO": {
"required": [
@@ -618,7 +1024,7 @@
"cxsalerts": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/CXSAlert"
+ "$ref": "#/components/schemas/CXSAlert_1"
}
}
},
@@ -782,52 +1188,19 @@
"localizedAttributes": {
"$ref": "#/components/schemas/LocalizedAttributeDetail"
},
- "documentIds": {
- "type": "array",
- "description": "Specifies the document identifier.",
- "items": {
- "type": "string"
- }
- },
- "statementUrl": {
- "type": "string",
- "description": "This represents statement url."
- }
- },
- "description": "Specifies the list of regulatory statements."
- },
- "LocalizedAttributeDetail": {
- "type": "object",
- "properties": {
- "localization": {
- "$ref": "#/components/schemas/Localization"
- },
- "name": {
- "type": "string",
- "description": "Specifies the name of the product being shipped."
- },
- "description": {
- "type": "string",
- "description": "Specifies elabaorate material description and other technical details of the product beingshipped."
- }
- },
- "description": "Specifies the localized attribute details."
- },
- "Localization": {
- "type": "object",
- "properties": {
- "localization": {
- "type": "string",
- "description": "Two letter language code.
Example: EN
click here to see Locales",
- "example": "EN"
- },
- "localeCode": {
+ "documentIds": {
+ "type": "array",
+ "description": "Specifies the document identifier.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "statementUrl": {
"type": "string",
- "description": "Two letter region code.
Example: us
click here to see Locales",
- "example": "us"
+ "description": "This represents statement url."
}
},
- "description": "Specify locale details for composing email with the document."
+ "description": "Specifies the list of regulatory statements."
},
"RegulatoryDocument": {
"type": "object",
@@ -896,6 +1269,39 @@
},
"description": "Specifies the types and parameters of Country's advisory regulations."
},
+ "LocalizedAttributeDetail": {
+ "type": "object",
+ "properties": {
+ "localization": {
+ "$ref": "#/components/schemas/Localization"
+ },
+ "name": {
+ "type": "string",
+ "description": "Specifies the name of the product being shipped."
+ },
+ "description": {
+ "type": "string",
+ "description": "Specifies elabaorate material description and other technical details of the product beingshipped."
+ }
+ },
+ "description": "Specifies the localized attribute details."
+ },
+ "Localization": {
+ "type": "object",
+ "properties": {
+ "localization": {
+ "type": "string",
+ "description": "Two letter language code.
Example: EN
click here to see Locales",
+ "example": "EN"
+ },
+ "localeCode": {
+ "type": "string",
+ "description": "Two letter region code.
Example: us
click here to see Locales",
+ "example": "us"
+ }
+ },
+ "description": "Specify locale details for composing email with the document."
+ },
"Message": {
"type": "object",
"properties": {
@@ -933,7 +1339,7 @@
}
}
},
- "CXSAlert": {
+ "CXSAlert_1": {
"type": "object",
"properties": {
"code": {
@@ -960,218 +1366,18 @@
}
}
},
- "Parameter": {
- "type": "object",
- "properties": {
- "value": {
- "type": "string",
- "description": "Identifies the error option to be applied."
- },
- "key": {
- "type": "string",
- "description": "Indicates the value associated with the key."
- }
- },
- "description": "List of parameters which indicates the properties of the alert message."
- },
- "ErrorResponseVO": {
- "type": "object",
- "properties": {
- "transactionId": {
- "type": "string",
- "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
- "example": "624deea6-b709-470c-8c39-4b5511281492"
- },
- "errors": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CXSError"
- }
- }
- },
- "description": "This holds the error responses."
- },
- "CXSError": {
- "type": "object",
- "properties": {
- "code": {
- "description": "Indicates the error code.
Example: ACCOUNT.NUMBER.INVALID,LOGIN.REAUTHENTICATE.ERROR,SHIPMENT.USER.UNAUTHORIZED,NOT.FOUND.ERROR,INTERNAL.SERVER.ERROR"
- },
- "parameterList": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Parameter_2"
- }
- },
- "message": {
- "type": "string",
- "description": "Indicates the description of API error alert message.
Example: We are unable to process this request. Please try again later or contact FedEx Customer Service."
- }
- },
- "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
- },
- "Parameter_2": {
+ "AccountNumber": {
"type": "object",
"properties": {
"value": {
"type": "string",
- "description": "Identifies the error option to be applied."
- },
- "key": {
- "type": "string",
- "description": "Indicates the value associated with the key."
- }
- },
- "description": "List of parameters which indicates the properties of the alert message."
- },
- "ErrorResponseVO401": {
- "type": "object",
- "properties": {
- "transactionId": {
- "type": "string",
- "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
- "example": "624deea6-b709-470c-8c39-4b5511281492"
- },
- "errors": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CXSError401"
- }
- }
- },
- "description": "This holds the error responses."
- },
- "CXSError401": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "description": "Indicates the error code.
Example: NOT.AUTHORIZED.ERROR"
- },
- "parameterList": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Parameter"
- }
- },
- "message": {
- "description": "Indicates the description of API error alert message.
Example: Access token expired. Please modify your request and try again."
- }
- },
- "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
- },
- "ErrorResponseVO422": {
- "type": "object",
- "properties": {
- "transactionId": {
- "type": "string",
- "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
- "example": "624deea6-b709-470c-8c39-4b5511281492"
- },
- "errors": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CXSError422"
- }
- }
- },
- "description": "This holds the error responses."
- },
- "CXSError422": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "description": "Indicates the error code.
Example: INVALID.INPUT.EXCEPTION"
- },
- "parameterList": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Parameter"
- }
- },
- "message": {
- "description": "Validation failed for the object='shipmentRegulatoryDetailsInputVO'.Error count:1"
- }
- },
- "description": "Indicates error when mandatory elements are not passed in the request."
- },
- "ErrorResponseVO404": {
- "type": "object",
- "properties": {
- "transactionId": {
- "type": "string",
- "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
- "example": "624deea6-b709-470c-8c39-4b5511281492"
- },
- "errors": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CXSError404"
- }
- }
- },
- "description": "This holds the error responses."
- },
- "CXSError404": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "description": "Indicates the error code.
Example: NOT.FOUND.ERROR"
- },
- "parameterList": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Parameter"
- }
- },
- "message": {
- "description": "Indicates the description of API error alert message.
Example: The resource you requested is no longer available. Please modify your request and try again."
- }
- },
- "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
- },
- "ErrorResponseVO500": {
- "type": "object",
- "properties": {
- "transactionId": {
- "type": "string",
- "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
- "example": "624deea6-b709-470c-8c39-4b5511281492"
- },
- "customerTransactionId": {
- "type": "string",
- "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
Example: AnyCo_order123456789",
- "format": "uuid"
- },
- "errors": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CXSError500"
- }
- }
- },
- "description": "This holds the error responses."
- },
- "CXSError500": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "description": "Indicates the error code.
Example: INTERNAL.SERVER.ERROR"
- },
- "parameterList": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Parameter"
- }
- },
- "message": {
- "description": "Indicates the description of API error alert message.
Example: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time."
+ "description": "The account number value.
Max Length is 9.
Example: 123456789"
}
},
- "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
+ "description": "The account number of the recipient.",
+ "example": {
+ "value": "602345XXX"
+ }
}
}
}
diff --git a/resources/models/.raw/ground-eod-close/v1/ShipmentCloseAPI-Resource.json b/resources/models/.raw/ground-eod-close/v1/ShipmentCloseAPI-Resource.json
index b0b33e73..578c538a 100644
--- a/resources/models/.raw/ground-eod-close/v1/ShipmentCloseAPI-Resource.json
+++ b/resources/models/.raw/ground-eod-close/v1/ShipmentCloseAPI-Resource.json
@@ -809,6 +809,9 @@
},
"closeDocumentSpecification": {
"$ref": "#/components/schemas/CloseDocumentSpecification"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -856,6 +859,26 @@
},
"description": "Specifies characteristics of the document to be returned for this request."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"Op950Detail": {
"type": "object",
"properties": {
@@ -918,6 +941,9 @@
},
"closeDocumentSpecification": {
"$ref": "#/components/schemas/CloseDocumentSpecification"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
diff --git a/resources/models/.raw/locations-search/v1/Locations-Resource.json b/resources/models/.raw/locations-search/v1/Locations-Resource.json
index a9c9269c..4fb6dc8d 100644
--- a/resources/models/.raw/locations-search/v1/Locations-Resource.json
+++ b/resources/models/.raw/locations-search/v1/Locations-Resource.json
@@ -434,6 +434,38 @@
"type": "boolean",
"description": "Get a call.
Valid values: True, False.",
"example": false
+ },
+ "packagingType": {
+ "type": "string",
+ "description": "The FedEx Package Type",
+ "example": "FEDEX_PAK"
+ },
+ "totalDeclaredValue": {
+ "description": "This is the total declared value of all of the packages for the shipment",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Amounts"
+ }
+ ]
+ },
+ "totalCustomsValue": {
+ "description": "This is the total customs value of all of the packages for the shipment",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Amounts"
+ }
+ ]
+ },
+ "paymentType": {
+ "type": "string",
+ "description": "Duties and Taxes Payor Payment Type",
+ "example": "SENDER",
+ "enum": [
+ "SENDER",
+ "THIRD_PARTY",
+ "RECIPIENT",
+ "COLLECT"
+ ]
}
}
},
@@ -749,6 +781,16 @@
"$ref": "#/components/schemas/Dimensions"
}
]
+ },
+ "serviceOptions": {
+ "type": "array",
+ "description": "Provide all the service Options for this package",
+ "example": [
+ "DRY_ICE"
+ ],
+ "items": {
+ "type": "string"
+ }
}
},
"example": {
@@ -761,7 +803,10 @@
"width": 40,
"units": "IN",
"height": 70
- }
+ },
+ "serviceOptions": [
+ "DRY_ICE"
+ ]
}
},
"Weight": {
@@ -828,6 +873,20 @@
"units": "CM"
}
},
+ "Amounts": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "example": 100
+ },
+ "currency": {
+ "type": "string",
+ "example": "USD"
+ }
+ },
+ "description": "The package dimension limits supported at the location."
+ },
"Search_Location_for_Postal_Aware_Country": {
"example": {
"location": {
diff --git a/resources/models/.raw/open-ship/v1/OpenShipment-Resource.json b/resources/models/.raw/open-ship/v1/OpenShipment-Resource.json
index dc455bc1..05535721 100644
--- a/resources/models/.raw/open-ship/v1/OpenShipment-Resource.json
+++ b/resources/models/.raw/open-ship/v1/OpenShipment-Resource.json
@@ -2189,7 +2189,8 @@
"requestedPackageLineItems",
"serviceType",
"shipper",
- "shippingChargesPayment"
+ "shippingChargesPayment",
+ "labelSpecification"
],
"type": "object",
"properties": {
@@ -2340,6 +2341,9 @@
"items": {
"$ref": "#/components/schemas/RequestedPackageLineItem"
}
+ },
+ "labelSpecification": {
+ "$ref": "#/components/schemas/LabelSpecification"
}
},
"description": "The detailed transaction data for the requested Open Shipment."
@@ -2430,7 +2434,7 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "This is the combination of number, street name, etc. Maximum length per line is 35.
Example: 10 FedEx Parkway, Suite 302.Note:- At least one line is required.
- Streetlines more than 3 will be ignored.
- Empty lines should not be included
- For SmartPost Shipments, only 30 characters from the individual street lines will be printed on the labels.
",
+ "description": "This is the Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Note - For FedEx Ground Economy, a maximum of 30 characters will be printed on the label, excess characters will be truncated.",
"example": [
"1550 Union Blvd",
"Suite 302"
@@ -2802,7 +2806,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty"
}
},
- "description": "Indicate the payer Information responsible for paying for the shipment.
Note: credit card payment is not applicable.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Indicate the payer Information responsible for paying for the shipment.
Note: credit card payment is not applicable.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY. ",
"example": {
"responsibleParty": {
"address": {
@@ -2886,7 +2890,7 @@
"properties": {
"value": {
"type": "string",
- "description": "Conditional.
The account number value.
Max Length is 9.
Example: 12XXXXX89
NOTE:- FedEx Account number is required for FedEx International Connect Plus (FICP) service shipments from APAC to US or PR with duty & tax Bill-to recipient:
if any of the shipment commodities\u2019 Country of Manufacture is CN/HK"
+ "description": "Conditional.
The account number value.
Max Length is 9.
Example: 12XXXXX89
NOTE: A FedEx account number is required for FedEx International Connect Plus (FICP) service non-document shipments. This applies to shipments from APAC countries and territories to U.S. or PR with duty and tax bill-to recipient if any shipment commodities\u2019 country of manufacture is AU, CN, HK, ID, JP, KR, MO, MY, NZ, PH, SG, TH, TW, VN (APAC countries and territories)."
}
},
"description": "This is FedEx Account number details.",
@@ -4372,9 +4376,90 @@
},
"usmcaDetail": {
"$ref": "#/components/schemas/UsmcaDetail"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
}
}
},
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.
For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_contact"
+ },
+ "address": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_address"
+ }
+ }
+ },
+ "ClearanceItemDetail_contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.
Example: THE GREENHOUSE",
+ "example": "THE GREENHOUSE"
+ }
+ },
+ "description": "Contact details of the manufacturer."
+ },
+ "ClearanceItemDetail_address": {
+ "type": "object",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.
Example: 98 Royal Crescent",
+ "items": {
+ "type": "string",
+ "example": "[\"98 Royal Crescent\"]"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.
Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.
Example: US",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.",
+ "example": false
+ }
+ },
+ "description": "Address of the manufacturer"
+ },
"AdditionalMeasures": {
"type": "object",
"properties": {
@@ -5091,6 +5176,17 @@
]
},
"OpenShipAction": {
+ "type": "string",
+ "description": "Indicates the optional actions that can be performed during the modification of packages in Open Shipment.Here are the values:
- CREATE_PACKAGE - Use CREATE_PACKAGE option to create Open Shipment.
- STRONG_VALIDATION \u2013 Full shipment edits: any edit that fails will cause the transaction to fail. If the transaction is successful, a tracking number may be returned and the transaction will be saved to the database (committed).
- WEAK_VALIDATION - Full shipment edits: any edit that fails will return errors but the transaction does not fail. The tracking number is returned and the transaction is saved in the database if the core edits are passed. Fix errors with the ModifyRequests transaction using the Index and returned tracking number.
- PROVIDE_DOCUMENTS_INCREMENTALLY - Used in the Print as You Go (PASGO) flow to print labels incrementally as packages are added to an open shipment.
",
+ "example": "CREATE_PACKAGE",
+ "enum": [
+ "STRONG_VALIDATION",
+ "WEAK_VALIDATION",
+ "CREATE_PACKAGE",
+ "PROVIDE_DOCUMENTS_INCREMENTALLY"
+ ]
+ },
+ "OpenShipmentAction_1": {
"type": "string",
"description": "Indicates the optional actions that can be performed during the modification of packages in Open Shipment.Here are the values:
- CREATE_PACKAGE - Use CREATE_PACKAGE option to create Open Shipment.
- STRONG_VALIDATION \u2013 Full shipment edits: any edit that fails will cause the transaction to fail. If the transaction is successful, a tracking number may be returned and the transaction will be saved to the database (committed).
- WEAK_VALIDATION - Full shipment edits: any edit that fails will return errors but the transaction does not fail. The tracking number is returned and the transaction is saved in the database if the core edits are passed. Fix errors with the ModifyRequests transaction using the Index and returned tracking number.
",
"example": "CREATE_PACKAGE",
@@ -5269,7 +5365,7 @@
"type": "array",
"description": "The shipping transaction details, such as master tracking number, service type, and ship timestamp.",
"items": {
- "$ref": "#/components/schemas/TransactionOpenShipmentOutputVO"
+ "$ref": "#/components/schemas/TransactionOpenShipmentOutputVO_1"
}
},
"alerts": {
@@ -5300,6 +5396,13 @@
"description": "Indicates service category.
Example: EXPRESS",
"example": "EXPRESS"
},
+ "pieceResponses": {
+ "type": "array",
+ "description": "These are pieces information received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse"
+ }
+ },
"serviceName": {
"type": "string",
"description": "Describes the service name for the shipment.
Example: FedEx Ground",
@@ -5326,6 +5429,238 @@
},
"description": "Specifies shipping transaction output details"
},
+ "TransactionOpenShipmentOutputVO_1": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
+ "example": "FEDEX_2_DAY_FREIGHT"
+ },
+ "shipDatestamp": {
+ "type": "string",
+ "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates service category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "pieceResponses": {
+ "type": "array",
+ "description": "These are pieces information received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse_1"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "Describes the service name for the shipment.
Example: FedEx Ground",
+ "example": "FedEx 2 Day Freight"
+ },
+ "alerts": {
+ "type": "array",
+ "description": "These are alert details received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/Alert"
+ }
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
+ "TransactionShipmentOutputVO_1": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
+ "example": "STANDARD_OVERNIGHT"
+ },
+ "shipDatestamp": {
+ "type": "string",
+ "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates the Service Category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "shipmentDocuments": {
+ "type": "array",
+ "description": "These are shipping document details.",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "pieceResponses": {
+ "type": "array",
+ "description": "These are pieces information received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse_1"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "This is the service name associated with the shipment.
Example: FedEx Ground",
+ "example": "FedEx 2 Day Freight"
+ },
+ "alerts": {
+ "type": "array",
+ "description": "These are alert details received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/Alert"
+ }
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
+ "PieceResponse_1": {
+ "type": "object",
+ "properties": {
+ "netChargeAmount": {
+ "type": "number",
+ "description": "Indicates the net charges amount.
Example: 21.45",
+ "format": "double",
+ "example": 21.45
+ },
+ "transactionDetails": {
+ "type": "array",
+ "description": "Indicates data received that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.",
+ "items": {
+ "$ref": "#/components/schemas/TransactionDetailVO"
+ }
+ },
+ "packageDocuments": {
+ "type": "array",
+ "description": "Placeholder for package documents.
Note- it will be returned in response of create open shipment if openShipAction is PROVIDE_DOCUMENTS_INCREMENTALLY",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "acceptanceTrackingNumber": {
+ "type": "string",
+ "description": "Indicates the acceptance tracking number.
Example: 7949XXXXX5000",
+ "example": "794953535000"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates the service category.",
+ "example": "EXPRESS",
+ "enum": [
+ "EXPRESS",
+ "GROUND",
+ "EXPRESS_FREIGHT",
+ "FREIGHT",
+ "SMARTPOST",
+ "EXPRESS_PARCEL",
+ "NULL"
+ ]
+ },
+ "listCustomerTotalCharge": {
+ "type": "string",
+ "description": "Indicates total charges applicable to the customer.
Example: listCustomerTotalCharge",
+ "example": "listCustomerTotalCharge"
+ },
+ "deliveryTimestamp": {
+ "type": "string",
+ "description": "Indicates delivery date.
Example: 2012-09-23",
+ "example": "2012-09-23"
+ },
+ "trackingIdType": {
+ "type": "string",
+ "description": "Indicates the type of the tracking identifier.",
+ "example": "FEDEX"
+ },
+ "additionalChargesDiscount": {
+ "type": "number",
+ "description": "These are additional charges or discounts.
Example: 621.45",
+ "format": "double",
+ "example": 621.45
+ },
+ "netListRateAmount": {
+ "type": "number",
+ "description": "Indicates the net List rate amount.
Example: 1.45",
+ "format": "double",
+ "example": 1.45
+ },
+ "baseRateAmount": {
+ "type": "number",
+ "description": "Specifies the base rate amount.
Example: 321.45",
+ "format": "double",
+ "example": 321.45
+ },
+ "packageSequenceNumber": {
+ "type": "integer",
+ "description": "Indicates package sequence number.
Example: 215",
+ "format": "int32",
+ "example": 215
+ },
+ "netDiscountAmount": {
+ "type": "number",
+ "description": "Specifies the net discount amount.
Example: 121.45",
+ "format": "double",
+ "example": 121.45
+ },
+ "codcollectionAmount": {
+ "type": "number",
+ "description": "Specifies the Collect on Delivery collection amount.
Example: 231.45",
+ "format": "double",
+ "example": 231.45
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794XXXXX5000",
+ "example": "794953535000"
+ },
+ "acceptanceType": {
+ "type": "string",
+ "description": "Indicates acceptance type.",
+ "example": "acceptanceType"
+ },
+ "trackingNumber": {
+ "type": "string",
+ "description": "This is a tracking number associated with this package.
Example: 49XXX0000XXX20032835",
+ "example": "794953535000"
+ },
+ "successful": {
+ "type": "boolean",
+ "description": "Returns true if the responses are successful otherwise false.",
+ "example": true
+ },
+ "customerReferences": {
+ "type": "array",
+ "description": "These are additional customer reference data.
Note: The groupPackageCount must be specified to retrieve customer references.",
+ "items": {
+ "$ref": "#/components/schemas/CustomerReference"
+ }
+ }
+ },
+ "description": "Piece Response information."
+ },
"Alert": {
"type": "object",
"properties": {
@@ -7435,7 +7770,7 @@
"$ref": "#/components/schemas/OpenshipmentRequestedShipment"
},
"openShipmentAction": {
- "$ref": "#/components/schemas/OpenShipAction"
+ "$ref": "#/components/schemas/OpenShipmentAction_1"
},
"accountNumber": {
"$ref": "#/components/schemas/AccountNumber"
@@ -7746,12 +8081,20 @@
},
"accountNumber": {
"$ref": "#/components/schemas/AccountNumber"
+ },
+ "openShipmentAction": {
+ "type": "string",
+ "description": "Indicates the optional actions that can be performed during the modification of packages in Open Shipment.Here are the value:
- PROVIDE_DOCUMENTS_INCREMENTALLY- Used in the Print as You Go (PASGO) flow to print labels incrementally as packages are added to an open shipment.
",
+ "example": "PROVIDE_DOCUMENTS_INCREMENTALLY",
+ "enum": [
+ "PROVIDE_DOCUMENTS_INCREMENTALLY"
+ ]
}
}
},
"LABELRESPONSEOPTIONS": {
"type": "string",
- "description": "Specify whether the encoded bytecode or the label URL to be returned in the response.Valid values:
- LABEL – Indicates request is for encoded bytecode.
- URL_ONLY – Indicates label URL request.
Note: For asynchronous shipment (More than 40 packages) request only the value LABEL is suported.
Note: With URL_ONLY option, the URL once created will be active for 12 hours.",
+ "description": "Specify whether the encoded bytecode or the label URL to be returned in the response.Valid values:
- LABEL – Indicates request is for encoded bytecode.
- URL_ONLY – Indicates label URL request.
Note:
- For asynchronous shipment (More than 40 packages) request only the value LABEL is supported.
- With URL_ONLY option, the URL once created will be active for 12 hours.
- Label will be returned as Base64 ONLY when openShipmentAction is PROVIDE_DOCUMENTS_INCREMENTALLY
",
"example": "LABEL",
"enum": [
"URL_ONLY",
@@ -9026,12 +9369,10 @@
"description": "This is a unique value assigned to the already created Open Shipment. If this isn\u2019t available then provide the master tracking number.
Example: Test1234",
"example": "Test1234"
},
- "shipAction": {
- "description": "Allowed values are STRONG_VALIDATION, PROVIDE_DOCUMENTS_INCREMENTALLY",
- "example": "STRONG_VALIDATION",
+ "OpenShipAction": {
"allOf": [
{
- "$ref": "#/components/schemas/OpenShipAction"
+ "$ref": "#/components/schemas/OpenShipmentAction_1"
}
]
},
@@ -9264,12 +9605,10 @@
"description": "This is a unique value assigned to the already created Open Shipment. If this isn\u2019t available then provide the master tracking number.
Example: Test1234",
"example": "Test1234"
},
- "shipAction": {
- "description": "There are Ship actions as part of processing the shipment.",
- "example": "STRONG_VALIDATION",
+ "OpenShipAction": {
"allOf": [
{
- "$ref": "#/components/schemas/OpenShipmentAction"
+ "$ref": "#/components/schemas/OpenShipmentAction_1"
}
]
},
@@ -9335,7 +9674,7 @@
"type": "array",
"description": "These are shipping transaction details, such as master tracking number, service type, and ship date and time.",
"items": {
- "$ref": "#/components/schemas/TransactionShipmentOutputVO"
+ "$ref": "#/components/schemas/TransactionShipmentOutputVO_1"
}
},
"alerts": {
diff --git a/resources/models/.raw/pickup-request/v1/Pickup-Resource.json b/resources/models/.raw/pickup-request/v1/Pickup-Resource.json
index 773185ef..d8a107e4 100644
--- a/resources/models/.raw/pickup-request/v1/Pickup-Resource.json
+++ b/resources/models/.raw/pickup-request/v1/Pickup-Resource.json
@@ -1077,10 +1077,85 @@
"$ref": "#/components/schemas/PickupNotificationdetail"
}
]
+ },
+ "pickupChargesPayment": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/PickupChargesPayment"
+ }
+ ]
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "Use this endpoint to create a pickup request."
},
+ "PickupChargesPayment": {
+ "type": "object",
+ "description": "Specifies how the pickup charges will be paid.",
+ "properties": {
+ "paymentType": {
+ "type": "string",
+ "description": "Type of payment for the pickup charges.",
+ "enum": [
+ "ACCOUNT",
+ "CASH",
+ "COLLECT",
+ "CHECK",
+ "CREDIT_CARD",
+ "RECIPIENT",
+ "SENDER",
+ "THIRD_PARTY"
+ ],
+ "example": "ACCOUNT"
+ },
+ "payor": {
+ "$ref": "#/components/schemas/Payor"
+ },
+ "payorType": {
+ "$ref": "#/components/schemas/PayorType"
+ }
+ }
+ },
+ "Payor": {
+ "type": "object",
+ "description": "Details about the party responsible for payment.",
+ "properties": {
+ "responsibleParty": {
+ "type": "object",
+ "description": "The entity paying for the pickup charges.",
+ "properties": {
+ "accountNumber": {
+ "type": "object",
+ "description": "The FedEx account number of the responsible party.",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Conditional.
The account number value. Max Length is 9.",
+ "example": "XXXXXX789"
+ },
+ "key": {
+ "type": "string",
+ "description": "The account key associated with this account number.",
+ "example": "d53b8011d262ae762da1c9a5a71XXXXX"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "PayorType": {
+ "type": "string",
+ "description": "Identifies the role of the party paying for the pickup.",
+ "enum": [
+ "RECIPIENT",
+ "SENDER",
+ "THIRD_PARTY"
+ ],
+ "example": "SENDER"
+ },
"MinimumSamplePayload-ExpressFreightPickup": {
"example": {
"associatedAccountNumber": {
@@ -1332,9 +1407,11 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "This is a combination of number, street name, etc.
Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included.
Example: [\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
+ "description": "This is a combination of number, street name, etc.
Note: At least one line is required. Empty lines should not be included. Minimum length is 3 and maximum length is 35.
Example: [\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
"items": {
"type": "string",
+ "minLength": 3,
+ "maxLength": 35,
"example": "[[\"123 Ship Street\"]]"
}
},
@@ -1424,9 +1501,11 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "Specify Street line details for the given address
Example :[\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
+ "description": " This is a combination of number, street name, etc.
Note: At least one line is required. Empty lines should not be included. Minimum length is 3 and maximum length is 35.
Example :[\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
"items": {
"type": "string",
+ "minLength": 3,
+ "maxLength": 35,
"example": "[[\"123 Ship Street\"]]"
}
},
@@ -1972,6 +2051,9 @@
"DOMESTIC",
"INTERNATIONAL"
]
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "These are pickup availability request elements."
@@ -2251,6 +2333,9 @@
"type": "string",
"description": "The FedEx Express location identifier responsible for processing the pickup request. This is returned in the CreatePickup response and is required to cancel a FedEx Express dispatch.Required only for FedEx Express Pickups. Optional for FedEx Ground. Example: LOSA",
"example": "LOSA"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "This is a placeholder for cancelled pickup request elements."
@@ -2392,6 +2477,26 @@
"example": "7194446666"
}
}
+ },
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
}
}
}
diff --git a/resources/models/.raw/postal-code-validation/v1/ValidatePostal-Resource.json b/resources/models/.raw/postal-code-validation/v1/ValidatePostal-Resource.json
index 2a4f0795..9645718b 100644
--- a/resources/models/.raw/postal-code-validation/v1/ValidatePostal-Resource.json
+++ b/resources/models/.raw/postal-code-validation/v1/ValidatePostal-Resource.json
@@ -288,6 +288,9 @@
"type": "boolean",
"description": "This element checks for mismatch between State/Province Code and Postal Code. - When the checkForMismatch is set TRUE, for U.S. and Canada: The values in State/Province Code are checked with respect to Postal Code provided. If these entries are valid, the response provides respective State/Province Code and Postal Code. In case of mismatch of Postal Code and State/Province Code an error message is displayed.
- When the checkForMismatch is set FALSE, for U.S. and Canada: The values in State/Province Code are not checked with respect to Postal Code provided. Instead the given data is reflected in the response.
For regions other than U.S and Canada regardless of the value of checkForMismatch the State/Province Code are checked with respect to the Postal Code and the response provides the respective State/Province Code and Postal Code.",
"example": true
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for validating a postal code."
@@ -361,6 +364,26 @@
},
"description": "Indicates data returned in the postal validation reply."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"Alert": {
"type": "object",
"properties": {
diff --git a/resources/models/.raw/rates-transit-times/v1/RateQuotes-Resource.json b/resources/models/.raw/rates-transit-times/v1/RateQuotes-Resource.json
index adf410cd..be191d30 100644
--- a/resources/models/.raw/rates-transit-times/v1/RateQuotes-Resource.json
+++ b/resources/models/.raw/rates-transit-times/v1/RateQuotes-Resource.json
@@ -230,6 +230,511 @@
},
"components": {
"schemas": {
+ "EdtCommodityTax": {
+ "description": "The shipment/package Duties and taxes.",
+ "type": "object",
+ "properties": {
+ "harmonizedCode": {
+ "description": "Harmonized code is used by customer to classify the product being shipped and define the duties and taxes to be paid.",
+ "type": "string",
+ "example": "harmonizedCode"
+ },
+ "taxes": {
+ "$ref": "#/components/schemas/EdtTaxDetail_1"
+ },
+ "total": {
+ "description": "Total of Duties and taxes",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "EdtTaxDetail_1": {
+ "description": "Estimated duties and taxes detail.",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Estimated taxes type",
+ "type": "string",
+ "enum": [
+ "ADDITIONAL_TAXES",
+ "CONSULAR_INVOICE_FEE",
+ "CUSTOMS_SURCHARGES",
+ "DUTY",
+ "EXCISE_TAX",
+ "FOREIGN_EXCHANGE_TAX",
+ "GENERAL_SALES_TAX",
+ "IMPORT_LICENSE_FEE",
+ "INTERNAL_ADDITIONAL_TAXES",
+ "INTERNAL_SENSITIVE_PRODUCTS_TAX",
+ "OTHER",
+ "SENSITIVE_PRODUCTS_TAX",
+ "STAMP_TAX",
+ "STATISTICAL_TAX",
+ "TRANSPORT_FACILITIES_TAX"
+ ],
+ "example": "INCENTIVE"
+ },
+ "taxcode": {
+ "type": "string",
+ "example": "taxcode"
+ },
+ "effectiveDate": {
+ "description": "Estimated duties and taxes effective date. Format [YYYY-MM-DD].",
+ "type": "string",
+ "example": "2019-12-06"
+ },
+ "name": {
+ "description": "The localized name of the surcharge.",
+ "type": "string",
+ "example": "VAT"
+ },
+ "taxableValue": {
+ "description": "Estimated duties and taxes taxable Value.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "description": {
+ "description": "FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible",
+ "type": "string",
+ "example": "Christmas"
+ },
+ "formula": {
+ "description": "Indicates the formula.",
+ "type": "string",
+ "example": "VAT Payable = Output VAT \u2013 Input VAT"
+ },
+ "amount": {
+ "description": "Amount for the estimated duties and taxes type.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "taxRates": {
+ "description": "Estimated duties and taxes taxRates",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "example": null
+ },
+ "currency": {
+ "type": "string",
+ "example": null
+ },
+ "quantity": {
+ "format": "double",
+ "type": "number",
+ "example": null
+ },
+ "unitOfMeasure": {
+ "type": "string",
+ "example": null
+ }
+ }
+ }
+ },
+ "appliedPreferentialTradeAgreement": {
+ "description": "provides details about PTA applied between countries for specific product. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "name": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "description": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ }
+ }
+ }
+ }
+ },
+ "VariableHandlingCharges_1": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "type": "object",
+ "properties": {
+ "variableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "fixedVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percentVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalCustomerCharge": {
+ "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "AncillaryFeeAndTax": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "enum": [
+ "CLEARANCE_ENTRY_FEE",
+ "GOODS_AND_SERVICES_TAX",
+ "HARMONIZED_SALES_TAX",
+ "OTHER"
+ ],
+ "example": "CLEARANCE_ENTRY_FEE"
+ },
+ "description": {
+ "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "list of AncillaryFees And Taxes",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "RateDiscount_2": {
+ "type": "object",
+ "properties": {
+ "rateDiscountType": {
+ "description": "Indicates the type.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "COUPON",
+ "EARNED",
+ "INCENTIVE",
+ "OTHER",
+ "VOLUME"
+ ],
+ "example": "INCENTIVE"
+ },
+ "description": {
+ "description": "Indicates the description for the rate discount.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Indicates the amount for the rate discount.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "Rebate": {
+ "type": "object",
+ "properties": {
+ "rebateType": {
+ "description": "The type of rebate.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "EARNED",
+ "OTHER"
+ ],
+ "example": "EARNED"
+ },
+ "description": {
+ "description": "The description of the rebate",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "provides the calculated rebate amount based on customer details, transaction information, and applicable rules. ",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "Surcharge_2": {
+ "type": "object",
+ "properties": {
+ "surchargeType": {
+ "description": "The type of surcharge.",
+ "type": "string",
+ "enum": [
+ "ACCOUNT_NUMBER_PROCESSING_FEE",
+ "ADDITIONAL_HANDLING",
+ "ADDRESS_CORRECTION",
+ "ANCILLARY_FEE",
+ "APPOINTMENT_DELIVERY",
+ "BLIND_SHIPMENT",
+ "BROKER_SELECT_OPTION",
+ "CANADIAN_DESTINATION",
+ "CHARGEABLE_PALLET_WEIGHT",
+ "COD",
+ "CUT_FLOWERS",
+ "DANGEROUS_GOODS",
+ "DELIVERY_AREA",
+ "DELIVERY_CONFIRMATION",
+ "DELIVERY_ON_INVOICE_ACCEPTANCE",
+ "DEMAND",
+ "DEMAND_ADDITIONAL_HANDLING",
+ "DEMAND_OVERSIZE",
+ "DEMAND_RESIDENTIAL_DELIVERY",
+ "DETENTION",
+ "DOCUMENTATION_FEE",
+ "DRY_ICE",
+ "EMAIL_LABEL",
+ "ENHANCED_SECURITY",
+ "EUROPE_FIRST",
+ "EXCESS_VALUE",
+ "EXCLUSIVE_USE",
+ "EXHIBITION",
+ "EXPEDITED",
+ "EXPORT",
+ "EXTRA_LABOR",
+ "EXTRA_SURFACE_HANDLING_CHARGE",
+ "EXTREME_LENGTH",
+ "FEDEX_INTRACOUNTRY_FEES",
+ "FEDEX_TAG",
+ "FICE",
+ "FLATBED",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_PICKUP",
+ "FREIGHT_DIRECT_BASIC_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_PICKUP",
+ "FREIGHT_DIRECT_PREMIUM_DELIVERY",
+ "FREIGHT_DIRECT_PREMIUM_PICKUP",
+ "FREIGHT_DIRECT_STANDARD_DELIVERY",
+ "FREIGHT_DIRECT_STANDARD_PICKUP",
+ "FREIGHT_GUARANTEE",
+ "FREIGHT_ON_VALUE",
+ "FREIGHT_TO_COLLECT",
+ "FUEL",
+ "HIGH_COST_SERVICE_AREA_DESTINATION",
+ "HIGH_COST_SERVICE_AREA_ORIGIN",
+ "HIGH_DENSITY",
+ "HOLD_AT_LOCATION",
+ "HOLIDAY_DELIVERY",
+ "HOLIDAY_GUARANTEE",
+ "HOME_DELIVERY_APPOINTMENT",
+ "HOME_DELIVERY_DATE_CERTAIN",
+ "HOME_DELIVERY_EVENING",
+ "INSIDE_DELIVERY",
+ "INSIDE_PICKUP",
+ "INSURED_VALUE",
+ "INTERHAWAII",
+ "LIFTGATE_DELIVERY",
+ "LIFTGATE_PICKUP",
+ "LIMITED_ACCESS_DELIVERY",
+ "LIMITED_ACCESS_PICKUP",
+ "MARKING_OR_TAGGING",
+ "METRO_DELIVERY",
+ "METRO_PICKUP",
+ "MONITORING_AND_INTERVENTION",
+ "NON_BUSINESS_TIME",
+ "NON_MACHINABLE",
+ "OFFSHORE",
+ "ON_CALL_PICKUP",
+ "ON_DEMAND_CARE",
+ "OTHER",
+ "OUT_OF_DELIVERY_AREA",
+ "OUT_OF_PICKUP_AREA",
+ "OVER_DIMENSION",
+ "OVER_LENGTH",
+ "OVERSIZE",
+ "OVERWEIGHT",
+ "PALLET_SHRINKWRAP",
+ "PALLETS_PROVIDED",
+ "PEAK",
+ "PEAK_ADDITIONAL_HANDLING",
+ "PEAK_OVERSIZE",
+ "PEAK_RESIDENTIAL_DELIVERY",
+ "PERMIT",
+ "PIECE_COUNT_VERIFICATION",
+ "PORT",
+ "PRE_DELIVERY_NOTIFICATION",
+ "PRIORITY_ALERT",
+ "PROTECTION_FROM_FREEZING",
+ "REGIONAL_MALL_DELIVERY",
+ "REGIONAL_MALL_PICKUP",
+ "REROUTE",
+ "RESCHEDULE",
+ "RESIDENTIAL_DELIVERY",
+ "RESIDENTIAL_PICKUP",
+ "RETURN_LABEL",
+ "SATURDAY_DELIVERY",
+ "SATURDAY_PICKUP",
+ "SHIPMENT_ASSEMBLY",
+ "SIGNATURE_OPTION",
+ "SINGLE_PIECE",
+ "SORT_AND_SEGREGATE",
+ "SPECIAL_DELIVERY",
+ "SPECIAL_EQUIPMENT",
+ "STORAGE",
+ "SUNDAY_DELIVERY",
+ "TARP",
+ "THIRD_PARTY_BILLING",
+ "THIRD_PARTY_CONSIGNEE",
+ "TRANSMART_SERVICE_FEE",
+ "USPS",
+ "WEIGHING"
+ ],
+ "example": "COD"
+ },
+ "level": {
+ "description": "The level of surcharge.",
+ "type": "string",
+ "enum": [
+ "PACKAGE",
+ "SHIPMENT"
+ ],
+ "example": "PACKAGE"
+ },
+ "description": {
+ "description": "The description of the surcharge.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "PickupDetail": {
+ "type": "object",
+ "properties": {
+ "readyDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Pickup ready date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "latestPickupDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Latest pickup date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "courierInstructions": {
+ "type": "string",
+ "description": "Special instructions for the courier",
+ "example": "Leave package at reception"
+ },
+ "requestType": {
+ "$ref": "#/components/schemas/PickupRequestType"
+ },
+ "requestSource": {
+ "$ref": "#/components/schemas/PickupRequestSourceType"
+ }
+ }
+ },
+ "PickupRequestType": {
+ "type": "string",
+ "description": "Type of pickup request",
+ "enum": [
+ "FUTURE_DAY",
+ "SAME_DAY"
+ ],
+ "example": "FUTURE_DAY"
+ },
+ "PickupRequestSourceType": {
+ "type": "string",
+ "description": "Source of the pickup request",
+ "enum": [
+ "AUTOMATION",
+ "CUSTOMER_SERVICE"
+ ],
+ "example": "AUTOMATION"
+ },
+ "Tax_2": {
+ "description": "Tax surcharge details",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Specifies the type of Surcharge/Tax.",
+ "type": "string",
+ "enum": [
+ "EXPORT",
+ "GST",
+ "HST",
+ "INTRACOUNTRY",
+ "OTHER",
+ "PST",
+ "SST",
+ "VAT"
+ ],
+ "example": "VAT"
+ },
+ "description": {
+ "description": "Specifies the description of the Surcharge/Tax.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Specifies the list of tax amounts.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
"RatcResponseVO": {
"type": "object",
"properties": {
@@ -307,6 +812,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 445.54,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 445.54,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -346,6 +865,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 445.54,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 445.54,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -385,6 +918,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 341.13,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 341.13,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -424,6 +971,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 341.13,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 341.13,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -1051,7 +1612,7 @@
},
{
"serviceType": "FEDEX_GROUND",
- "serviceName": "FedEx International Ground\ufffd",
+ "serviceName": "FedEx International Ground ",
"packagingType": "YOUR_PACKAGING",
"customerMessages": [
{
@@ -1767,6 +2328,325 @@
"PREFERRED_CURRENCY"
]
},
+ "totalNetTransportationAndPickupCharge": {
+ "description": "Sum of totalNetCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of pickup.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "description": "Sum of totalNetFedExCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of a pickup.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "pickupRateDetail": {
+ "description": "Charges associated with a scheduled shipment pickup",
+ "type": "object",
+ "properties": {
+ "rateType": {
+ "description": "Type used for this specific set of rate data.",
+ "type": "string",
+ "enum": [
+ "INCENTIVE",
+ "NEGOTIATED",
+ "PAYOR_ACCOUNT_PACKAGE",
+ "PAYOR_ACCOUNT_SHIPMENT",
+ "PAYOR_CUSTOM_PACKAGE",
+ "PAYOR_CUSTOM_SHIPMENT",
+ "PAYOR_LIST_PACKAGE",
+ "PAYOR_LIST_SHIPMENT",
+ "PAYOR_RETAIL_PACKAGE",
+ "PAYOR_RETAIL_SHIPMENT",
+ "PREFERRED_ACCOUNT_PACKAGE",
+ "PREFERRED_ACCOUNT_SHIPMENT",
+ "PREFERRED_CUSTOM_PACKAGE",
+ "PREFERRED_CUSTOM_SHIPMENT",
+ "PREFERRED_INCENTIVE",
+ "PREFERRED_LIST_PACKAGE",
+ "PREFERRED_LIST_SHIPMENT",
+ "PREFERRED_NEGOTIATED",
+ "PREFERRED_RETAIL_PACKAGE",
+ "PREFERRED_RETAIL_SHIPMENT",
+ "RATED_ACCOUNT_PACKAGE",
+ "RATED_ACCOUNT_SHIPMENT",
+ "RATED_CUSTOM_PACKAGE",
+ "RATED_CUSTOM_SHIPMENT",
+ "RATED_LIST_PACKAGE",
+ "RATED_LIST_SHIPMENT",
+ "RATED_RETAIL_PACKAGE",
+ "RATED_RETAIL_SHIPMENT",
+ "UNKNOWN"
+ ],
+ "example": "PAYOR_ACCOUNT_PACKAGE"
+ },
+ "rateScale": {
+ "type": "string",
+ "description": "Indicates the rate scale used.",
+ "example": "*USER IMS20160104 LD067110"
+ },
+ "rateZone": {
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "type": "string",
+ "example": "CA003O"
+ },
+ "ratingBasis": {
+ "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.
- SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.
- FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.
- PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.
",
+ "type": "string",
+ "enum": [
+ "SHIPMENT_WEIGHT_BASED",
+ "FLAT_RATE_PER_PAK",
+ "PACK_WEIGHT_BASED",
+ "UNKNOWN"
+ ],
+ "example": "SHIPMENT_WEIGHT_BASED"
+ },
+ "pricingCode": {
+ "description": "Identifies the type of pricing used for this shipment.",
+ "type": "string",
+ "enum": [
+ "ACTUAL",
+ "ALTERNATE",
+ "BASE",
+ "HUNDREDWEIGHT",
+ "HUNDREDWEIGHT_ALTERNATE",
+ "INTERNATIONAL_DISTRIBUTION",
+ "INTERNATIONAL_ECONOMY_SERVICE",
+ "LTL_FREIGHT",
+ "PACKAGE",
+ "SHIPMENT",
+ "SHIPMENT_FIVE_POUND_OPTIONAL",
+ "SHIPMENT_OPTIONAL",
+ "SPECIAL",
+ "UNKNOWN"
+ ],
+ "example": "ACTUAL"
+ },
+ "minimumChargeType": {
+ "description": "provides the minimum charge type applicable to the rates.",
+ "type": "string",
+ "enum": [
+ "CUSTOMER",
+ "CUSTOMER_FREIGHT_WEIGHT",
+ "EARNED_DISCOUNT",
+ "MIXED",
+ "RATE_SCALE",
+ "UNKNOWN"
+ ],
+ "example": "EARNED_DISCOUNT"
+ },
+ "currencyExchangeRate": {
+ "$ref": "#/components/schemas/CurrencyExchangeRate"
+ },
+ "specialRatingApplied": {
+ "type": "array",
+ "description": "Indicates which special rating cases applied to this shipment.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FEDEX_ONE_RATE",
+ "FIXED_FUEL_SURCHARGE",
+ "IMPORT_PRICING"
+ ]
+ },
+ "example": "FEDEX_ONE_RATE"
+ },
+ "fuelSurchargePercent": {
+ "description": "Specify a fuel surcharge percentage.",
+ "format": "double",
+ "type": "number",
+ "example": 121
+ },
+ "pickupBaseChargeDescription": {
+ "description": "Will indicate the pickup charge description of the on call pickup",
+ "type": "string",
+ "enum": [
+ "Regularly Scheduled Pickup Mon-Fri",
+ "Automated Pickup Mon-Fri",
+ "Same Day OC Pickup Mon-Fri (CS)",
+ "Same Day OC Pickup Mon-Fri (Online)",
+ "Fut. Day OC Pickup Mon-Fri (CS)",
+ "Fut. Day OC Pickup Mon-Fri (Online)",
+ "Regularly Scheduled Pickup Sat",
+ "Automated Pickup Sat",
+ "Same Day OC Pickup Sat (CS)",
+ "Same Day OC Pickup Sat (Online)",
+ "Fut. Day OC Pickup Sat (CS)",
+ "Fut. Day OC Pickup Sat (Online)",
+ "Regularly Scheduled Pickup Sun",
+ "Automated Pickup Sun",
+ "Same Day OC Pickup Sun (CS)",
+ "Same Day OC Pickup Sun (Online)",
+ "Fut. Day OC Pickup Sun (CS)",
+ "Fut. Day OC Pickup Sun (Online)",
+ "Residential On-Call Pickup Surcharge",
+ "Pickup Area Surcharge",
+ "Extended Pickup Area Surcharge",
+ "Remote Pickup Area Surcharge",
+ "Fuel Surcharge"
+ ],
+ "example": "Pickup Area Surcharge"
+ },
+ "totalBaseCharge": {
+ "description": "Total base charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalFreightDiscounts": {
+ "description": "The total discounts used in the rate calculation.
Example: 1257.26",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetFreight": {
+ "description": "This shipment's totalNetFreight.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalSurcharges": {
+ "description": "The sum of all surcharges on the package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetFedExCharge": {
+ "description": "This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalTaxes": {
+ "description": "The sum of all taxes on this package.
Example: 1257.25",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetCharge": {
+ "description": "Total net charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalRebates": {
+ "description": "The total sum of all rebates applied to this package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalDutiesAndTaxes": {
+ "description": "The sum of shipment/package Duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalAncillaryFeesAndTaxes": {
+ "description": "Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalDutiesTaxesAndFees": {
+ "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetChargeWithDutiesAndTaxes": {
+ "description": "Total netChargesWithDutiesAndTaxes for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "freightDiscounts": {
+ "description": "All rate discounts that apply to this shipment",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RateDiscount_2"
+ }
+ },
+ "rebates": {
+ "description": "The all rebates applied to this package.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Rebate"
+ }
+ },
+ "surcharges": {
+ "description": "The amount of surcharges applied to this shipment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Surcharge_2"
+ }
+ },
+ "taxes": {
+ "description": "List of taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Tax_2"
+ }
+ },
+ "dutiesAndTaxes": {
+ "description": "List of The shipment/package Duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/EdtCommodityTax"
+ }
+ },
+ "ancillaryFeesAndTaxes": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/AncillaryFeeAndTax"
+ }
+ },
+ "variableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges_1"
+ }
+ ]
+ },
+ "totalVariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges_1"
+ }
+ ]
+ }
+ }
+ },
"ratedWeightMethod": {
"type": "string",
"description": "Indicates which weight was used for the rate.
Example: 'ACTUAL'",
@@ -3555,6 +4435,17 @@
"requestedShipment": {
"$ref": "#/components/schemas/RequestedShipment"
},
+ "processingOptions": {
+ "type": "array",
+ "description": "Array of processing options for the shipment.",
+ "items": {
+ "type": "string",
+ "example": "INCLUDE_PICKUPRATES",
+ "enum": [
+ "INCLUDE_PICKUPRATES"
+ ]
+ }
+ },
"carrierCodes": {
"type": "array",
"description": "Specify the four letter code of a FedEx operating company that meets your requirements.
Example: FDXE
- FDXE - FedEx Express
- FDXG - FedEx Ground
- FXSP - FedEx SmartPost
- FXCC - FedEx Custom Critical.
",
@@ -3565,10 +4456,33 @@
"items": {
"type": "string"
}
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for requesting a rate quote."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"FDGSamplePayload-RateResourceDetails-IntraEurope": {
"example": {
"rateRequestControlParameters": {
@@ -3892,6 +4806,9 @@
}
]
},
+ "pickupDetail": {
+ "$ref": "#/components/schemas/PickupDetail"
+ },
"recipient": {
"description": "Indicate the descriptive data for the recipient location to which the shipment is to be received.",
"allOf": [
diff --git a/resources/models/.raw/service-availability/v1/PackageAndServiceOptions-Resource.json b/resources/models/.raw/service-availability/v1/PackageAndServiceOptions-Resource.json
index 588a10a8..285e7c7f 100644
--- a/resources/models/.raw/service-availability/v1/PackageAndServiceOptions-Resource.json
+++ b/resources/models/.raw/service-availability/v1/PackageAndServiceOptions-Resource.json
@@ -779,6 +779,9 @@
"FXSP"
]
}
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "TransitTimeInputVO describes the details needed in order to get the transit times for a particular shipment. "
@@ -1707,6 +1710,9 @@
"IMPERIAL",
"METRIC"
]
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "These are the input elements for requesting package and service options."
@@ -4424,6 +4430,26 @@
"example": 10
}
}
+ },
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
}
}
}
diff --git a/resources/models/.raw/service-availability/v1/SpecialServiceOptions-Resource.json b/resources/models/.raw/service-availability/v1/SpecialServiceOptions-Resource.json
index f7a23925..03641251 100644
--- a/resources/models/.raw/service-availability/v1/SpecialServiceOptions-Resource.json
+++ b/resources/models/.raw/service-availability/v1/SpecialServiceOptions-Resource.json
@@ -917,6 +917,9 @@
"FXFR"
]
}
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for special service options availability."
@@ -3039,6 +3042,26 @@
"example": 10
}
}
+ },
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
}
}
}
diff --git a/resources/models/.raw/ship-dg-hazmat/v1/ShipDGHazmatAPI-Resource.json b/resources/models/.raw/ship-dg-hazmat/v1/ShipDGHazmatAPI-Resource.json
index 40c5d0a1..ba450a2a 100644
--- a/resources/models/.raw/ship-dg-hazmat/v1/ShipDGHazmatAPI-Resource.json
+++ b/resources/models/.raw/ship-dg-hazmat/v1/ShipDGHazmatAPI-Resource.json
@@ -1485,7 +1485,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty"
}
},
- "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY.",
"example": {
"responsibleParty": {
"address": {
@@ -3259,9 +3259,90 @@
},
"usmcaDetail": {
"$ref": "#/components/schemas/UsmcaCommodityDetail"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ }
+ }
+ },
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.
For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_contact"
+ },
+ "address": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_address"
}
}
},
+ "ClearanceItemDetail_contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.
Example: THE GREENHOUSE",
+ "example": "THE GREENHOUSE"
+ }
+ },
+ "description": "Contact details of the manufacturer."
+ },
+ "ClearanceItemDetail_address": {
+ "type": "object",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.
Example: 98 Royal Crescent",
+ "items": {
+ "type": "string",
+ "example": "[\"98 Royal Crescent\"]"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.
Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.
Example: US",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.",
+ "example": false
+ }
+ },
+ "description": "Address of the manufacturer"
+ },
"AdditionalMeasures": {
"type": "object",
"properties": {
@@ -4452,7 +4533,7 @@
"type": "object",
"properties": {
"formId": {
- "type": "integer",
+ "type": "string",
"description": "This is FedEx tracking Identifier associated with the package.
Example: 0201",
"example": 201
},
@@ -4462,7 +4543,7 @@
"example": "EXPRESS"
},
"uspsApplicationId": {
- "type": "integer",
+ "type": "string",
"description": "Specify the USPS tracking Identifier associated with FedEx SmartPost shipment.
Example: 92",
"example": 92
},
@@ -7563,7 +7644,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty_1"
}
},
- "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY.",
"example": {
"responsibleParty": {
"address": {
@@ -10690,7 +10771,7 @@
"type": "object",
"properties": {
"binaryBarcodes": {
- "type": "array",
+ "type": "string",
"items": {
"$ref": "#/components/schemas/BinaryBarcode"
}
@@ -10907,12 +10988,10 @@
"type": "object",
"properties": {
"amount": {
- "description": "Specifies the Surcharge Amount.",
- "allOf": [
- {
- "$ref": "#/components/schemas/Money"
- }
- ]
+ "type": "number",
+ "description": "This is commodity value in amount used for Customs declaration.
Max limit: 7 digits before decimal.
Example: 12.45",
+ "format": "double",
+ "example": 12.45
},
"surchargeType": {
"type": "string",
@@ -12615,24 +12694,9 @@
{
"$ref": "#/components/schemas/DGHazShipmentGroundMPS-UN1888-UN3082"
},
- {
- "$ref": "#/components/schemas/US_Domestic_Print_Return_Label_Shipment"
- },
- {
- "$ref": "#/components/schemas/US_Domestic_Email_Return_Label_Shipment"
- },
{
"$ref": "#/components/schemas/International_Shipment"
},
- {
- "$ref": "#/components/schemas/International_SingleShot_Multi_Piece_Shipment"
- },
- {
- "$ref": "#/components/schemas/Domestic_Express_Customer_Reference"
- },
- {
- "$ref": "#/components/schemas/International_Express_Email_notifications"
- },
{
"$ref": "#/components/schemas/MinimumSamplePayload-Intra-EU"
},
diff --git a/resources/models/.raw/ship/v1/Shipment-Resource.json b/resources/models/.raw/ship/v1/Shipment-Resource.json
index 92e68549..b112b952 100644
--- a/resources/models/.raw/ship/v1/Shipment-Resource.json
+++ b/resources/models/.raw/ship/v1/Shipment-Resource.json
@@ -1014,6 +1014,20 @@
"type": "boolean",
"description": "This flag is used to specify if the shipment is singleshot mps or one Label at a time, piece by piece shipment. Default is false. If true, one label at a time is processed.",
"example": true
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
+ },
+ "processingOptions": {
+ "type": "array",
+ "description": "Array of processing options for the shipment.",
+ "items": {
+ "type": "string",
+ "example": "INCLUDE_PICKUPRATES",
+ "enum": [
+ "INCLUDE_PICKUPRATES"
+ ]
+ }
}
},
"description": "The request elements required to create a shipment."
@@ -1164,6 +1178,9 @@
"$ref": "#/components/schemas/RecipientsParty"
}
},
+ "pickupDetail": {
+ "$ref": "#/components/schemas/PickupDetail"
+ },
"soldTo": {
"description": "Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply.",
"allOf": [
@@ -1199,7 +1216,7 @@
},
"totalWeight": {
"type": "number",
- "description": "Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
+ "description": "Indicate the shipment total weight in Metric or US.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
"format": "double",
"example": 20.6
},
@@ -1286,6 +1303,52 @@
},
"description": "The descriptive data of the requested shipment."
},
+ "PickupDetail": {
+ "type": "object",
+ "properties": {
+ "readyDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Pickup ready date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "latestPickupDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Latest pickup date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "courierInstructions": {
+ "type": "string",
+ "description": "Special instructions for the courier",
+ "example": "Leave package at reception"
+ },
+ "requestType": {
+ "$ref": "#/components/schemas/PickupRequestType"
+ },
+ "requestSource": {
+ "$ref": "#/components/schemas/PickupRequestSourceType"
+ }
+ }
+ },
+ "PickupRequestType": {
+ "type": "string",
+ "description": "Type of pickup request",
+ "enum": [
+ "FUTURE_DAY",
+ "SAME_DAY"
+ ],
+ "example": "FUTURE_DAY"
+ },
+ "PickupRequestSourceType": {
+ "type": "string",
+ "description": "Source of the pickup request",
+ "enum": [
+ "AUTOMATION",
+ "CUSTOMER_SERVICE"
+ ],
+ "example": "AUTOMATION"
+ },
"Money": {
"type": "object",
"properties": {
@@ -1405,7 +1468,7 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Example: [1550 Union Blvd,Suite 302]",
+ "description": "This is the Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.Note - For FedEx Ground Economy, a maximum of 30 characters will be printed on the label, excess characters will be truncated.",
"example": "1550 Union Blvd, Suite 302",
"items": {
"type": "string"
@@ -1461,7 +1524,7 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Example: [1550 Union Blvd,Suite 302]",
+ "description": "This is the Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35. Note - For FedEx Ground Economy, a maximum of 30 characters will be printed on the label, excess characters will be truncated.",
"example": "1550 Union Blvd, Suite 302",
"items": {
"type": "string"
@@ -1530,7 +1593,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Contact person's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "Contact person's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "1234567890"
},
"companyName": {
@@ -1703,7 +1766,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Specify contact phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
+ "description": "Specify contact phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
"example": "1234567890"
},
"phoneExtension": {
@@ -1836,7 +1899,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty"
}
},
- "description": "Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY.",
"example": {
"responsibleParty": {
"address": {
@@ -1924,7 +1987,7 @@
"properties": {
"value": {
"type": "string",
- "description": "Conditional.
The account number value.
Max Length is 9.
Example: 12XXXXX89
NOTE-FedEx Account Number is required for FedEx International Connect Plus (FICP) service shipments from APAC to US or PR with duty & tax Bill-to recipient:
1. If any of the shipment Commodities' Country of Manufacture is CN/HK",
+ "description": "Conditional.
The account number value.
Max Length is 9.
Example: 12XXXXX89
NOTE: A FedEx account number is required for FedEx International Connect Plus (FICP) service non-document shipments. This applies to shipments from APAC countries and territories to U.S. or PR with duty and tax bill-to recipient if any shipment commodities\u2019 country of manufacture is AU, CN, HK, ID, JP, KR, MO, MY, NZ, PH, SG, TH, TW, VN (APAC countries and territories).",
"example": "12XXXXX89"
}
},
@@ -2527,7 +2590,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Contact person's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "Contact person's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "1234567890"
},
"phoneExtension": {
@@ -3633,6 +3696,13 @@
],
"type": "object",
"properties": {
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "These are commodities clearance item detail",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ },
"unitPrice": {
"description": "This is the unit price.",
"allOf": [
@@ -3730,6 +3800,92 @@
}
}
},
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.For shipments to United States, refer to U.S. Customs and Border Protection website.",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.",
+ "example": "THE GREENHOUSE"
+ }
+ }
+ },
+ "address": {
+ "type": "object",
+ "description": "Address of the manufacturer",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.98 Royal Crescent",
+ "example": [
+ "98 Royal Crescent"
+ ],
+ "items": {
+ "type": "string"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country. Example: CA.click here to see State or Province Code",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country. Example: 35209click here to see Postal aware countries",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.Example: USclick here to see Country codes",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is residential (as opposed to commercial).Valid Values: True or False.",
+ "example": false
+ }
+ }
+ }
+ },
+ "example": {
+ "type": "MANUFACTURER",
+ "id": "USGRE98BIR",
+ "contact": {
+ "companyName": "THE GREENHOUSE"
+ },
+ "address": {
+ "streetLines": [
+ "98 Royal Crescent"
+ ],
+ "city": "Birmingham",
+ "stateOrProvinceCode": "CA",
+ "postalCode": "35209",
+ "countryCode": "US",
+ "residential": false
+ }
+ }
+ },
"AdditionalMeasures": {
"type": "object",
"properties": {
@@ -3755,8 +3911,8 @@
"properties": {
"units": {
"type": "string",
- "description": "Specifies the package weight unit type.
Example:KG",
- "example": "KG",
+ "description": "Specifies the package weight unit type.
Example:KG,LB",
+ "example": "KG, LB",
"enum": [
"KG",
"LB"
@@ -3784,7 +3940,7 @@
"properties": {
"units": {
"type": "string",
- "description": "Indicate the weight unit type. The package and commodity weight unit should be the same else the request will result in an error.",
+ "description": "Indicate the weight unit type.",
"example": "KG",
"enum": [
"KG"
@@ -3812,7 +3968,7 @@
"properties": {
"units": {
"type": "string",
- "description": "Indicate the weight unit type. The package and commodity weight unit should be the same else the request will result in an error.
Example:KG",
+ "description": "Indicate the weight unit type.
Example:KG",
"example": "KG",
"enum": [
"KG",
@@ -4835,7 +4991,7 @@
"properties": {
"personName": {
"type": "string",
- "description": "Specify contact name. Maximum length is 70.
Example: John Taylor",
+ "description": "Specify contact name. First 35 chars will be printed on the label, excess characters will be truncated.
Example: John Taylor",
"example": "John Taylor"
},
"emailAddress": {
@@ -4850,7 +5006,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Contact person's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "Contact person's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "1234567890"
},
"companyName": {
@@ -5167,7 +5323,7 @@
"properties": {
"specialServiceTypes": {
"type": "array",
- "description": "The list of all special services requested for the package.
Click here to see Package Special Service Types
Example:ALCOHOL",
+ "description": "The list of all special services requested for the package.
Click here to see Package Level Special Service Types
Example:ALCOHOL",
"example": [
"ALCOHOL",
"NON_STANDARD_CONTAINER",
@@ -8458,7 +8614,7 @@
"type": "array",
"description": "These are shipping transaction details, such as master tracking number, service type, and ship date and time.",
"items": {
- "$ref": "#/components/schemas/TransactionShipmentOutputVO"
+ "$ref": "#/components/schemas/TransactionCreateShipmentOutputVO"
}
},
"alerts": {
@@ -8476,6 +8632,131 @@
},
"description": "This is the response received when a shipment is requested."
},
+ "TransactionCreateShipmentOutputVO": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
+ "example": "STANDARD_OVERNIGHT"
+ },
+ "shipDatestamp": {
+ "type": "string",
+ "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates the Service Category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "shipmentDocuments": {
+ "type": "array",
+ "description": "These are shipping document details.",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "pieceResponses": {
+ "type": "array",
+ "description": "Specifies the information about the pieces, received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "This is the service name associated with the shipment.
Example: FedEx Ground",
+ "example": "FedEx 2 Day Freight"
+ },
+ "alerts": {
+ "type": "array",
+ "description": "These are alert details received in the response.",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/Alert_3P"
+ },
+ {
+ "$ref": "#/components/schemas/Alert_3PP"
+ }
+ ]
+ }
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedCreateShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
+ "CompletedCreateShipmentDetail": {
+ "type": "object",
+ "properties": {
+ "completedPackageDetails": {
+ "type": "array",
+ "description": "Indicates the completed package details.",
+ "items": {
+ "$ref": "#/components/schemas/CompletedPackageDetail"
+ }
+ },
+ "operationalDetail": {
+ "$ref": "#/components/schemas/ShipmentOperationalDetail"
+ },
+ "carrierCode": {
+ "type": "string",
+ "description": "Specify the four letter code of a FedEx operating company that meets your requirements
Examples of FedEx Operating Companies are:- FDXE - FedEx Express
- FDXG - FedEx Ground
- FXSP - FedEx SmartPost
- FXCC - FedEx Custom Critical.
",
+ "example": "FDXE"
+ },
+ "completedHoldAtLocationDetail": {
+ "$ref": "#/components/schemas/CompletedHoldAtLocationDetail"
+ },
+ "completedEtdDetail": {
+ "$ref": "#/components/schemas/CompletedEtdDetail"
+ },
+ "packagingDescription": {
+ "type": "string",
+ "description": "Specifies packaging description
Example: Customer Packaging",
+ "example": "Customer Packaging"
+ },
+ "masterTrackingId": {
+ "$ref": "#/components/schemas/TrackingId"
+ },
+ "serviceDescription": {
+ "$ref": "#/components/schemas/ServiceDescription"
+ },
+ "usDomestic": {
+ "type": "boolean",
+ "description": "Indicates whether or not this is an intra-U.S. shipment.",
+ "example": true
+ },
+ "hazardousShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedHazardousShipmentDetail"
+ },
+ "shipmentRating": {
+ "$ref": "#/components/schemas/Create_ShipmentRating"
+ },
+ "documentRequirements": {
+ "$ref": "#/components/schemas/DocumentRequirementsDetail"
+ },
+ "exportComplianceStatement": {
+ "type": "string",
+ "description": "For US export shipments requiring an EEI, enter the ITN number received from AES when you filed your shipment or the FTR (Foreign Trade Regulations) exemption number.The proper format for an ITN number is AES XYYYYMMDDNNNNNN where YYYYMMDD is date and NNNNNN are numbers generated by the AES.
Example: AESX20220714987654
Note: The ITN or FTR exemption number you submit in the ship request prints on the international shipping label.
For CA export shipments,it can be Proof of report number(15-32 alphanumeric) , Summary proof of report number(7-32 alphanumeric) or Exemption number(2 digit) based on the selected b13AFilingOption.
Example: 98765432107654321(POR number), 7654321(Summary POR number) and 02(Exemption number).
For FTR exemption number you need provide a predefined value as NO_EEI_30_37_A.",
+ "example": "12345678901234567"
+ },
+ "accessDetail": {
+ "$ref": "#/components/schemas/PendingShipmentAccessDetail"
+ }
+ },
+ "description": "Returns the result of processing the desired package as a single-package shipment."
+ },
"TransactionShipmentOutputVO": {
"type": "object",
"properties": {
@@ -9271,6 +9552,12 @@
"type": "string",
"description": "Indicate the unit of measure.
Example: KG",
"example": "Kg"
+ },
+ "value": {
+ "type": "number",
+ "description": "Weight Value.
Example: 68.25
Click here to see Weight Values.",
+ "format": "double",
+ "example": 68.25
}
},
"description": "Specify the Hazardous commodity quantity details."
@@ -9681,7 +9968,7 @@
},
"stateOrProvinceCode": {
"type": "string",
- "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.
Example: CA
click here to see State or Province Code",
+ "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional.
Example: CA
click here to see State or Province Code",
"example": "GA"
},
"destinationLocationNumber": {
@@ -9779,7 +10066,7 @@
},
"stateOrProvinceCode": {
"type": "string",
- "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.
Example: CA
click here to see State or Province Code"
+ "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional.
Example: CA
click here to see State or Province Code"
},
"postalCode": {
"type": "string",
@@ -9821,7 +10108,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shippers phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of 1 or +1.
Example: 918xxxxx890"
+ "description": "The shippers phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of 1 or +1.
Example: 918xxxxx890"
},
"phoneExtension": {
"type": "string",
@@ -9995,7 +10282,7 @@
"type": "object",
"properties": {
"totalWeight": {
- "description": "Specify total dry ice weight for the shipment.",
+ "description": "This is the total dry ice weight in all packages of this shipment",
"allOf": [
{
"$ref": "#/components/schemas/Weight"
@@ -10045,60 +10332,878 @@
"$ref": "#/components/schemas/ShipmentRateDetail"
}
}
- },
- "description": "All shipment-level rating data for this shipment, which may include data for multiple rate types."
+ }
},
- "ShipmentRateDetail": {
+ "Create_ShipmentRating": {
"type": "object",
"properties": {
- "rateZone": {
- "type": "string",
- "description": "Indicates the rate zone used (based on origin and destination).
Example: US001O",
- "example": "US001O"
- },
- "ratedWeightMethod": {
- "type": "string",
- "description": "Indicates which weight was used.
Example: ACTUAL",
- "example": "ACTUAL"
- },
- "totalDutiesTaxesAndFees": {
- "type": "number",
- "description": "The total of the total duties & taxes and the total ancillary fees & taxes.
Example: 24.56",
- "format": "double",
- "example": 24.56
- },
- "pricingCode": {
+ "actualRateType": {
"type": "string",
- "description": "Specifies pricing Code.
Example: PACKAGE",
- "example": "LTL_FREIGHT"
- },
- "totalFreightDiscounts": {
- "type": "number",
- "description": "The total discounts used in the rate calculation.
Example: 1.56",
- "format": "double",
- "example": 1.56
- },
- "totalTaxes": {
- "type": "number",
- "description": "Total of the transportation-based taxes.
Example: 3.45",
- "format": "double",
- "example": 3.45
- },
- "totalDutiesAndTaxes": {
- "type": "number",
- "description": "Total of all values under this shipment's duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.
Example: 6.78",
- "format": "double",
- "example": 6.78
- },
- "totalAncillaryFeesAndTaxes": {
- "type": "number",
- "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.
Example: 5.67",
- "format": "double",
- "example": 5.67
+ "description": "This rate type identifies which entry in the following array is considered as presenting the \"actual\" rates for the shipment.
Example: PAYOR_LIST_SHIPMENT",
+ "example": "PAYOR_LIST_SHIPMENT"
},
- "taxes": {
+ "shipmentRateDetails": {
"type": "array",
- "description": "All transportation-based taxes applicable to this shipment.",
+ "description": "Each element of this field provides shipment-level rate totals for a specific rate type.",
+ "items": {
+ "$ref": "#/components/schemas/ShipmentRateDetail"
+ }
+ },
+ "totalNetTransportationAndPickupCharge": {
+ "description": "Sum of totalNetCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of pickup.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "description": "Sum of totalNetFedExCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of a pickup.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "pickupRateDetail": {
+ "description": "Charges associated with a scheduled shipment pickup",
+ "type": "object",
+ "properties": {
+ "rateType": {
+ "description": "Type used for this specific set of rate data.",
+ "type": "string",
+ "enum": [
+ "INCENTIVE",
+ "NEGOTIATED",
+ "PAYOR_ACCOUNT_PACKAGE",
+ "PAYOR_ACCOUNT_SHIPMENT",
+ "PAYOR_CUSTOM_PACKAGE",
+ "PAYOR_CUSTOM_SHIPMENT",
+ "PAYOR_LIST_PACKAGE",
+ "PAYOR_LIST_SHIPMENT",
+ "PAYOR_RETAIL_PACKAGE",
+ "PAYOR_RETAIL_SHIPMENT",
+ "PREFERRED_ACCOUNT_PACKAGE",
+ "PREFERRED_ACCOUNT_SHIPMENT",
+ "PREFERRED_CUSTOM_PACKAGE",
+ "PREFERRED_CUSTOM_SHIPMENT",
+ "PREFERRED_INCENTIVE",
+ "PREFERRED_LIST_PACKAGE",
+ "PREFERRED_LIST_SHIPMENT",
+ "PREFERRED_NEGOTIATED",
+ "PREFERRED_RETAIL_PACKAGE",
+ "PREFERRED_RETAIL_SHIPMENT",
+ "RATED_ACCOUNT_PACKAGE",
+ "RATED_ACCOUNT_SHIPMENT",
+ "RATED_CUSTOM_PACKAGE",
+ "RATED_CUSTOM_SHIPMENT",
+ "RATED_LIST_PACKAGE",
+ "RATED_LIST_SHIPMENT",
+ "RATED_RETAIL_PACKAGE",
+ "RATED_RETAIL_SHIPMENT",
+ "UNKNOWN"
+ ],
+ "example": "PAYOR_ACCOUNT_PACKAGE"
+ },
+ "rateScale": {
+ "type": "string",
+ "description": "Indicates the rate scale used.",
+ "example": "*USER IMS20160104 LD067110"
+ },
+ "rateZone": {
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "type": "string",
+ "example": "CA003O"
+ },
+ "ratingBasis": {
+ "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.
- SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.
- FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.
- PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.
",
+ "type": "string",
+ "enum": [
+ "SHIPMENT_WEIGHT_BASED",
+ "FLAT_RATE_PER_PAK",
+ "PACK_WEIGHT_BASED",
+ "UNKNOWN"
+ ],
+ "example": "SHIPMENT_WEIGHT_BASED"
+ },
+ "pricingCode": {
+ "description": "Identifies the type of pricing used for this shipment.",
+ "type": "string",
+ "enum": [
+ "ACTUAL",
+ "ALTERNATE",
+ "BASE",
+ "HUNDREDWEIGHT",
+ "HUNDREDWEIGHT_ALTERNATE",
+ "INTERNATIONAL_DISTRIBUTION",
+ "INTERNATIONAL_ECONOMY_SERVICE",
+ "LTL_FREIGHT",
+ "PACKAGE",
+ "SHIPMENT",
+ "SHIPMENT_FIVE_POUND_OPTIONAL",
+ "SHIPMENT_OPTIONAL",
+ "SPECIAL",
+ "UNKNOWN"
+ ],
+ "example": "ACTUAL"
+ },
+ "minimumChargeType": {
+ "description": "provides the minimum charge type applicable to the rates.",
+ "type": "string",
+ "enum": [
+ "CUSTOMER",
+ "CUSTOMER_FREIGHT_WEIGHT",
+ "EARNED_DISCOUNT",
+ "MIXED",
+ "RATE_SCALE",
+ "UNKNOWN"
+ ],
+ "example": "EARNED_DISCOUNT"
+ },
+ "currencyExchangeRate": {
+ "$ref": "#/components/schemas/CurrencyExchangeRate"
+ },
+ "specialRatingApplied": {
+ "type": "array",
+ "description": "Indicates which special rating cases applied to this shipment.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FEDEX_ONE_RATE",
+ "FIXED_FUEL_SURCHARGE",
+ "IMPORT_PRICING"
+ ]
+ },
+ "example": "FEDEX_ONE_RATE"
+ },
+ "fuelSurchargePercent": {
+ "description": "Specify a fuel surcharge percentage.",
+ "format": "double",
+ "type": "number",
+ "example": 121
+ },
+ "pickupBaseChargeDescription": {
+ "description": "Will indicate the pickup charge description of the on call pickup",
+ "type": "string",
+ "enum": [
+ "Regularly Scheduled Pickup Mon-Fri",
+ "Automated Pickup Mon-Fri",
+ "Same Day OC Pickup Mon-Fri (CS)",
+ "Same Day OC Pickup Mon-Fri (Online)",
+ "Fut. Day OC Pickup Mon-Fri (CS)",
+ "Fut. Day OC Pickup Mon-Fri (Online)",
+ "Regularly Scheduled Pickup Sat",
+ "Automated Pickup Sat",
+ "Same Day OC Pickup Sat (CS)",
+ "Same Day OC Pickup Sat (Online)",
+ "Fut. Day OC Pickup Sat (CS)",
+ "Fut. Day OC Pickup Sat (Online)",
+ "Regularly Scheduled Pickup Sun",
+ "Automated Pickup Sun",
+ "Same Day OC Pickup Sun (CS)",
+ "Same Day OC Pickup Sun (Online)",
+ "Fut. Day OC Pickup Sun (CS)",
+ "Fut. Day OC Pickup Sun (Online)",
+ "Residential On-Call Pickup Surcharge",
+ "Pickup Area Surcharge",
+ "Extended Pickup Area Surcharge",
+ "Remote Pickup Area Surcharge",
+ "Fuel Surcharge"
+ ],
+ "example": "Pickup Area Surcharge"
+ },
+ "totalBaseCharge": {
+ "description": "Total base charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalFreightDiscounts": {
+ "description": "The total discounts used in the rate calculation.
Example: 1257.26",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetFreight": {
+ "description": "This shipment's totalNetFreight.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalSurcharges": {
+ "description": "The sum of all surcharges on the package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetFedExCharge": {
+ "description": "This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalTaxes": {
+ "description": "The sum of all taxes on this package.
Example: 1257.25",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetCharge": {
+ "description": "Total net charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalRebates": {
+ "description": "The total sum of all rebates applied to this package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalDutiesAndTaxes": {
+ "description": "The sum of shipment/package Duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalAncillaryFeesAndTaxes": {
+ "description": "Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalDutiesTaxesAndFees": {
+ "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalNetChargeWithDutiesAndTaxes": {
+ "description": "Total netChargesWithDutiesAndTaxes for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "freightDiscounts": {
+ "description": "All rate discounts that apply to this shipment",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RateDiscount_2"
+ }
+ },
+ "rebates": {
+ "description": "The all rebates applied to this package.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Rebate"
+ }
+ },
+ "surcharges": {
+ "description": "The amount of surcharges applied to this shipment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Surcharge_2"
+ }
+ },
+ "taxes": {
+ "description": "List of taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Tax_2"
+ }
+ },
+ "dutiesAndTaxes": {
+ "description": "List of The shipment/package Duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/EdtCommodityTax"
+ }
+ },
+ "ancillaryFeesAndTaxes": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/AncillaryFeeAndTax"
+ }
+ },
+ "variableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges_1"
+ }
+ ]
+ },
+ "totalVariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges_1"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "description": "All shipment-level rating data for this shipment, which may include data for multiple rate types."
+ },
+ "Money_1": {
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "currency": {
+ "type": "string",
+ "description": "Three-character currency code (e.g. USD, CAD, EUR, JPY, etc.)
Click here to see Currency Codes",
+ "example": "USD"
+ },
+ "value": {
+ "type": "string",
+ "description": "Specify the value.",
+ "example": "CUSTOMS_VALUE",
+ "enum": [
+ "CUSTOMS_VALUE",
+ "INSURED_VALUE"
+ ]
+ }
+ },
+ "description": "This is commodity value used for Customs declaration."
+ },
+ "EdtCommodityTax": {
+ "description": "The shipment/package Duties and taxes.",
+ "type": "object",
+ "properties": {
+ "harmonizedCode": {
+ "description": "Harmonized code is used by customer to classify the product being shipped and define the duties and taxes to be paid.",
+ "type": "string",
+ "example": "harmonizedCode"
+ },
+ "taxes": {
+ "$ref": "#/components/schemas/EdtTaxDetail_1"
+ },
+ "total": {
+ "description": "Total of Duties and taxes",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "EdtTaxDetail_1": {
+ "description": "Estimated duties and taxes detail.",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Estimated taxes type",
+ "type": "string",
+ "enum": [
+ "ADDITIONAL_TAXES",
+ "CONSULAR_INVOICE_FEE",
+ "CUSTOMS_SURCHARGES",
+ "DUTY",
+ "EXCISE_TAX",
+ "FOREIGN_EXCHANGE_TAX",
+ "GENERAL_SALES_TAX",
+ "IMPORT_LICENSE_FEE",
+ "INTERNAL_ADDITIONAL_TAXES",
+ "INTERNAL_SENSITIVE_PRODUCTS_TAX",
+ "OTHER",
+ "SENSITIVE_PRODUCTS_TAX",
+ "STAMP_TAX",
+ "STATISTICAL_TAX",
+ "TRANSPORT_FACILITIES_TAX"
+ ],
+ "example": "INCENTIVE"
+ },
+ "taxcode": {
+ "type": "string",
+ "example": "taxcode"
+ },
+ "effectiveDate": {
+ "description": "Estimated duties and taxes effective date. Format [YYYY-MM-DD].",
+ "type": "string",
+ "example": "2019-12-06"
+ },
+ "name": {
+ "description": "The localized name of the surcharge.",
+ "type": "string",
+ "example": "VAT"
+ },
+ "taxableValue": {
+ "description": "Estimated duties and taxes taxable Value.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "description": {
+ "description": "FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible",
+ "type": "string",
+ "example": "Christmas"
+ },
+ "formula": {
+ "description": "Indicates the formula.",
+ "type": "string",
+ "example": "VAT Payable = Output VAT \u2013 Input VAT"
+ },
+ "amount": {
+ "description": "Amount for the estimated duties and taxes type.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "taxRates": {
+ "description": "Estimated duties and taxes taxRates",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "example": null
+ },
+ "currency": {
+ "type": "string",
+ "example": null
+ },
+ "quantity": {
+ "format": "double",
+ "type": "number",
+ "example": null
+ },
+ "unitOfMeasure": {
+ "type": "string",
+ "example": null
+ }
+ }
+ }
+ },
+ "appliedPreferentialTradeAgreement": {
+ "description": "provides details about PTA applied between countries for specific product. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "name": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "description": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ }
+ }
+ }
+ }
+ },
+ "VariableHandlingCharges_1": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "type": "object",
+ "properties": {
+ "variableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "fixedVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percentVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "totalCustomerCharge": {
+ "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "AncillaryFeeAndTax": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "enum": [
+ "CLEARANCE_ENTRY_FEE",
+ "GOODS_AND_SERVICES_TAX",
+ "HARMONIZED_SALES_TAX",
+ "OTHER"
+ ],
+ "example": "CLEARANCE_ENTRY_FEE"
+ },
+ "description": {
+ "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "list of AncillaryFees And Taxes",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "RateDiscount_2": {
+ "type": "object",
+ "properties": {
+ "rateDiscountType": {
+ "description": "Indicates the type.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "COUPON",
+ "EARNED",
+ "INCENTIVE",
+ "OTHER",
+ "VOLUME"
+ ],
+ "example": "INCENTIVE"
+ },
+ "description": {
+ "description": "Indicates the description for the rate discount.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Indicates the amount for the rate discount.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "Rebate": {
+ "type": "object",
+ "properties": {
+ "rebateType": {
+ "description": "The type of rebate.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "EARNED",
+ "OTHER"
+ ],
+ "example": "EARNED"
+ },
+ "description": {
+ "description": "The description of the rebate",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "provides the calculated rebate amount based on customer details, transaction information, and applicable rules. ",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "Surcharge_2": {
+ "type": "object",
+ "properties": {
+ "surchargeType": {
+ "description": "The type of surcharge.",
+ "type": "string",
+ "enum": [
+ "ACCOUNT_NUMBER_PROCESSING_FEE",
+ "ADDITIONAL_HANDLING",
+ "ADDRESS_CORRECTION",
+ "ANCILLARY_FEE",
+ "APPOINTMENT_DELIVERY",
+ "BLIND_SHIPMENT",
+ "BROKER_SELECT_OPTION",
+ "CANADIAN_DESTINATION",
+ "CHARGEABLE_PALLET_WEIGHT",
+ "COD",
+ "CUT_FLOWERS",
+ "DANGEROUS_GOODS",
+ "DELIVERY_AREA",
+ "DELIVERY_CONFIRMATION",
+ "DELIVERY_ON_INVOICE_ACCEPTANCE",
+ "DEMAND",
+ "DEMAND_ADDITIONAL_HANDLING",
+ "DEMAND_OVERSIZE",
+ "DEMAND_RESIDENTIAL_DELIVERY",
+ "DETENTION",
+ "DOCUMENTATION_FEE",
+ "DRY_ICE",
+ "EMAIL_LABEL",
+ "ENHANCED_SECURITY",
+ "EUROPE_FIRST",
+ "EXCESS_VALUE",
+ "EXCLUSIVE_USE",
+ "EXHIBITION",
+ "EXPEDITED",
+ "EXPORT",
+ "EXTRA_LABOR",
+ "EXTRA_SURFACE_HANDLING_CHARGE",
+ "EXTREME_LENGTH",
+ "FEDEX_INTRACOUNTRY_FEES",
+ "FEDEX_TAG",
+ "FICE",
+ "FLATBED",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_PICKUP",
+ "FREIGHT_DIRECT_BASIC_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_PICKUP",
+ "FREIGHT_DIRECT_PREMIUM_DELIVERY",
+ "FREIGHT_DIRECT_PREMIUM_PICKUP",
+ "FREIGHT_DIRECT_STANDARD_DELIVERY",
+ "FREIGHT_DIRECT_STANDARD_PICKUP",
+ "FREIGHT_GUARANTEE",
+ "FREIGHT_ON_VALUE",
+ "FREIGHT_TO_COLLECT",
+ "FUEL",
+ "HIGH_COST_SERVICE_AREA_DESTINATION",
+ "HIGH_COST_SERVICE_AREA_ORIGIN",
+ "HIGH_DENSITY",
+ "HOLD_AT_LOCATION",
+ "HOLIDAY_DELIVERY",
+ "HOLIDAY_GUARANTEE",
+ "HOME_DELIVERY_APPOINTMENT",
+ "HOME_DELIVERY_DATE_CERTAIN",
+ "HOME_DELIVERY_EVENING",
+ "INSIDE_DELIVERY",
+ "INSIDE_PICKUP",
+ "INSURED_VALUE",
+ "INTERHAWAII",
+ "LIFTGATE_DELIVERY",
+ "LIFTGATE_PICKUP",
+ "LIMITED_ACCESS_DELIVERY",
+ "LIMITED_ACCESS_PICKUP",
+ "MARKING_OR_TAGGING",
+ "METRO_DELIVERY",
+ "METRO_PICKUP",
+ "MONITORING_AND_INTERVENTION",
+ "NON_BUSINESS_TIME",
+ "NON_MACHINABLE",
+ "OFFSHORE",
+ "ON_CALL_PICKUP",
+ "ON_DEMAND_CARE",
+ "OTHER",
+ "OUT_OF_DELIVERY_AREA",
+ "OUT_OF_PICKUP_AREA",
+ "OVER_DIMENSION",
+ "OVER_LENGTH",
+ "OVERSIZE",
+ "OVERWEIGHT",
+ "PALLET_SHRINKWRAP",
+ "PALLETS_PROVIDED",
+ "PEAK",
+ "PEAK_ADDITIONAL_HANDLING",
+ "PEAK_OVERSIZE",
+ "PEAK_RESIDENTIAL_DELIVERY",
+ "PERMIT",
+ "PIECE_COUNT_VERIFICATION",
+ "PORT",
+ "PRE_DELIVERY_NOTIFICATION",
+ "PRIORITY_ALERT",
+ "PROTECTION_FROM_FREEZING",
+ "REGIONAL_MALL_DELIVERY",
+ "REGIONAL_MALL_PICKUP",
+ "REROUTE",
+ "RESCHEDULE",
+ "RESIDENTIAL_DELIVERY",
+ "RESIDENTIAL_PICKUP",
+ "RETURN_LABEL",
+ "SATURDAY_DELIVERY",
+ "SATURDAY_PICKUP",
+ "SHIPMENT_ASSEMBLY",
+ "SIGNATURE_OPTION",
+ "SINGLE_PIECE",
+ "SORT_AND_SEGREGATE",
+ "SPECIAL_DELIVERY",
+ "SPECIAL_EQUIPMENT",
+ "STORAGE",
+ "SUNDAY_DELIVERY",
+ "TARP",
+ "THIRD_PARTY_BILLING",
+ "THIRD_PARTY_CONSIGNEE",
+ "TRANSMART_SERVICE_FEE",
+ "USPS",
+ "WEIGHING"
+ ],
+ "example": "COD"
+ },
+ "level": {
+ "description": "The level of surcharge.",
+ "type": "string",
+ "enum": [
+ "PACKAGE",
+ "SHIPMENT"
+ ],
+ "example": "PACKAGE"
+ },
+ "description": {
+ "description": "The description of the surcharge.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "Tax_2": {
+ "description": "Tax surcharge details",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Specifies the type of Surcharge/Tax.",
+ "type": "string",
+ "enum": [
+ "EXPORT",
+ "GST",
+ "HST",
+ "INTRACOUNTRY",
+ "OTHER",
+ "PST",
+ "SST",
+ "VAT"
+ ],
+ "example": "VAT"
+ },
+ "description": {
+ "description": "Specifies the description of the Surcharge/Tax.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Specifies the list of tax amounts.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_1"
+ }
+ ]
+ }
+ }
+ },
+ "ShipmentRateDetail": {
+ "type": "object",
+ "properties": {
+ "rateZone": {
+ "type": "string",
+ "description": "Indicates the rate zone used (based on origin and destination).
Example: US001O",
+ "example": "US001O"
+ },
+ "ratedWeightMethod": {
+ "type": "string",
+ "description": "Indicates which weight was used.
Example: ACTUAL",
+ "example": "ACTUAL"
+ },
+ "totalDutiesTaxesAndFees": {
+ "type": "number",
+ "description": "The total of the total duties & taxes and the total ancillary fees & taxes.
Example: 24.56",
+ "format": "double",
+ "example": 24.56
+ },
+ "pricingCode": {
+ "type": "string",
+ "description": "Specifies pricing Code.
Example: PACKAGE",
+ "example": "LTL_FREIGHT"
+ },
+ "totalFreightDiscounts": {
+ "type": "number",
+ "description": "The total discounts used in the rate calculation.
Example: 1.56",
+ "format": "double",
+ "example": 1.56
+ },
+ "totalTaxes": {
+ "type": "number",
+ "description": "Total of the transportation-based taxes.
Example: 3.45",
+ "format": "double",
+ "example": 3.45
+ },
+ "totalDutiesAndTaxes": {
+ "type": "number",
+ "description": "Total of all values under this shipment's duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.
Example: 6.78",
+ "format": "double",
+ "example": 6.78
+ },
+ "totalAncillaryFeesAndTaxes": {
+ "type": "number",
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.
Example: 5.67",
+ "format": "double",
+ "example": 5.67
+ },
+ "taxes": {
+ "type": "array",
+ "description": "All transportation-based taxes applicable to this shipment.",
"items": {
"allOf": [
{
@@ -10985,6 +12090,9 @@
"type": "string",
"description": "This is an unique number assigned by FedEx to the packages for tracking.
Example: \"794953555571\"",
"example": "794953555571"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to cancel a shipment. "
@@ -11188,6 +12296,9 @@
"type": "string",
"description": "Indicates the job under which the deferred shipment artifacts must be identified in the subsequent retrieval request.
Example: 89sxxxxx233ae24ff31xxxxx",
"example": "89sxxxxx233ae24ff31xxxxx"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -11478,7 +12589,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Specify contact phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
+ "description": "Specify contact phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
"example": "1234567890"
},
"phoneExtension": {
@@ -12277,6 +13388,26 @@
"value": "XXXXX2842"
}
}
+ },
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
}
}
}
diff --git a/resources/models/.raw/ship/v1/Tag-Resource.json b/resources/models/.raw/ship/v1/Tag-Resource.json
index 3fe81a2e..15b9b19e 100644
--- a/resources/models/.raw/ship/v1/Tag-Resource.json
+++ b/resources/models/.raw/ship/v1/Tag-Resource.json
@@ -13,7 +13,7 @@
"/ship/v1/shipments/tag": {
"post": {
"summary": "Create Tag",
- "description": "FedEx creates and delivers a returnnn shipping label to your customer and collects the item for return. Your customer needs to have the package ready for pickup when the FedEx driver arrives. Use this endpoint to create tag requests for FedEx Express and FedEx Ground shipments.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
+ "description": "FedEx creates and delivers a return shipping label to your customer and collects the item for return. Your customer needs to have the package ready for pickup when the FedEx driver arrives. Use this endpoint to create tag requests for FedEx Express and FedEx Ground shipments.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
"operationId": "Create Tag",
"requestBody": {
"content": {
@@ -646,7 +646,7 @@
},
"totalWeight": {
"type": "number",
- "description": "Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
+ "description": "Indicate the shipment total weight in Metric or US.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
"format": "double",
"example": 20.6
},
@@ -852,7 +852,7 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Example: [1550 Union Blvd,Suite 302]",
+ "description": "This is the Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Note - For FedEx Ground Economy, a maximum of 30 characters will be printed on the label, excess characters will be truncated.
Example: [1550 Union Blvd,Suite 302]",
"example": "1550 Union Blvd, Suite 302",
"items": {
"type": "string"
@@ -908,7 +908,7 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Example: [1550 Union Blvd,Suite 302]",
+ "description": "This is the Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Note - For FedEx Ground Economy, a maximum of 30 characters will be printed on the label, excess characters will be truncated.
Example: [1550 Union Blvd,Suite 302]",
"example": "1550 Union Blvd, Suite 302",
"items": {
"type": "string"
@@ -977,7 +977,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"companyName": {
@@ -1152,7 +1152,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Specify contact phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
+ "description": "Specify contact phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
"example": "1234567890"
},
"phoneExtension": {
@@ -1202,7 +1202,7 @@
},
"stateOrProvinceCode": {
"type": "string",
- "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.
Example: CA
click here to see State or Province Code",
+ "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional.
Example: CA
click here to see State or Province Code",
"example": "CA"
},
"postalCode": {
@@ -1285,7 +1285,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty"
}
},
- "description": "Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY.",
"example": {
"responsibleParty": {
"address": {
@@ -1976,7 +1976,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Contact person's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "Contact person's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"phoneExtension": {
@@ -4241,7 +4241,7 @@
},
"stateOrProvinceCode": {
"type": "string",
- "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.
Example: CA.
click here to see State or Province Code",
+ "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional.
Example: CA.
click here to see State or Province Code",
"example": "CA"
},
"postalCode": {
@@ -4615,7 +4615,7 @@
"properties": {
"specialServiceTypes": {
"type": "array",
- "description": "The list of all special services requested for the package.
Click here to see Package Special Service Types
Example:ALCOHOL",
+ "description": "The list of all special services requested for the package.
Click here to see Package Special Service Types
Example:ALCOHOL",
"example": [
"ALCOHOL",
"NON_STANDARD_CONTAINER",
diff --git a/resources/models/.raw/track/v1/TrackingNumbers-Resource.json b/resources/models/.raw/track/v1/TrackingNumbers-Resource.json
index 4147c0c8..3b6f3e3a 100644
--- a/resources/models/.raw/track/v1/TrackingNumbers-Resource.json
+++ b/resources/models/.raw/track/v1/TrackingNumbers-Resource.json
@@ -1904,7 +1904,10 @@
"ESTIMATED_PICKUP",
"ESTIMATED_RETURN_TO_STATION",
"SHIP",
- "SHIPMENT_DATA_RECEIVED"
+ "SHIPMENT_DATA_RECEIVED",
+ "TYPICAL",
+ "PROJECTED",
+ "PRE_DELIVERY"
]
}
}
diff --git a/resources/models/.raw/trade-documents-upload/v1/EDUDocuments-Resource.json b/resources/models/.raw/trade-documents-upload/v1/EDUDocuments-Resource.json
index e03f1877..ad5fa40d 100644
--- a/resources/models/.raw/trade-documents-upload/v1/EDUDocuments-Resource.json
+++ b/resources/models/.raw/trade-documents-upload/v1/EDUDocuments-Resource.json
@@ -249,7 +249,7 @@
"name": "x-customer-transaction-id",
"in": "header",
"description": "Identifies the transaction ID of the request.
Example: \"771407-1\"",
- "required": true,
+ "required": false,
"schema": {
"type": "string",
"example": "771407-1"
@@ -1093,11 +1093,9 @@
"example": "090493e181586308"
},
"folderId": {
- "type": "array",
+ "type": "string",
"description": "This is the reference server folder id, where the document is uploaded. ",
- "example": [
- "0b0493e1812f8921"
- ],
+ "example": "0b0493e1812f8921",
"items": {
"type": "string"
}
@@ -1565,7 +1563,7 @@
},
"name": {
"type": "string",
- "description": "Specify file name to be uploaded.
Example: Signature.PNG",
+ "description": "Specify file name to be uploaded.
Example: LH2.PNG",
"example": "FedExImages.PNG"
},
"contentType": {
@@ -1639,7 +1637,7 @@
"example": "D0l5gsn6inat9IiB"
},
"folderId": {
- "type": "array",
+ "type": "string",
"description": "This is the reference server folder id, where the document is uploaded. Note that, this data is returned only for Post-Shipment Upload scenario",
"items": {
"type": "string",
@@ -1929,7 +1927,7 @@
"carrierCode",
"destinationCountryCode",
"metaData",
- "orginCountryCode",
+ "originCountryCode",
"workflowName"
],
"type": "object",
@@ -1952,7 +1950,7 @@
"FDXG"
]
},
- "orginCountryCode": {
+ "originCountryCode": {
"type": "string",
"description": "Provide origin country code for the shipment",
"example": "US"
@@ -2313,7 +2311,7 @@
"carrierCode",
"destinationCountryCode",
"metaData",
- "orginCountryCode",
+ "originCountryCode",
"workflowName"
],
"type": "object",
@@ -2336,7 +2334,7 @@
"FDXG"
]
},
- "orginCountryCode": {
+ "originCountryCode": {
"type": "string",
"description": "Origin country code for the shipment.
Example: US
Click here to see Country Codes",
"example": "US"
@@ -2412,7 +2410,7 @@
"carrierCode",
"destinationCountryCode",
"metaData",
- "orginCountryCode",
+ "originCountryCode",
"workflowName"
],
"type": "object",
@@ -2435,7 +2433,7 @@
"FDXG"
]
},
- "orginCountryCode": {
+ "originCountryCode": {
"type": "string",
"description": "Origin country code for the shipment.
Example: US
Click here to see Country Codes",
"example": "US"
diff --git a/resources/models/account-registration/v1.json b/resources/models/account-registration/v1.json
index 4582a29f..64ca20d0 100644
--- a/resources/models/account-registration/v1.json
+++ b/resources/models/account-registration/v1.json
@@ -276,7 +276,7 @@
{
"name": "Authorization",
"in": "header",
- "description": "Bearer token from oauth/token",
+ "description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
@@ -467,7 +467,7 @@
{
"name": "authorization",
"in": "header",
- "description": "Bearer token from oauth/token",
+ "description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
@@ -658,7 +658,7 @@
{
"name": "Authorization",
"in": "header",
- "description": "Bearer token generated with child id and secret",
+ "description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
diff --git a/resources/models/address-validation/v1.json b/resources/models/address-validation/v1.json
index cca19ace..4ac5bb47 100644
--- a/resources/models/address-validation/v1.json
+++ b/resources/models/address-validation/v1.json
@@ -3,7 +3,7 @@
"/address/v1/addresses/resolve": {
"post": {
"summary": "Validate Address",
- "description": "Use this endpointtt to get address resolution details. These details areee the outcome of validation and resolution of the input address. An address is stated as resolved when the input address matches the known reference data.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
+ "description": "Use this endpoint to get address resolution details. These details are the outcome of validation and resolution of the input address. An address is stated as resolved when the input address matches the known reference data.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
"operationId": "Validate Address",
"requestBody": {
"content": {
@@ -735,7 +735,7 @@
},
"openapi": "3.0.0",
"info": {
- "title": "Address Validation APi",
+ "title": "Address Validation API",
"version": "1.0.0"
}
}
\ No newline at end of file
diff --git a/resources/models/consolidation/v1.json b/resources/models/consolidation/v1.json
index 57d96db8..57af5bd8 100644
--- a/resources/models/consolidation/v1.json
+++ b/resources/models/consolidation/v1.json
@@ -2039,7 +2039,7 @@
"INTERNATIONAL_PRIORITY_DISTRIBUTION"
]
},
- "shipDate": {
+ "shipDateStamp": {
"type": "string",
"description": "This field indicates the shipping date of the LTL Shipment",
"example": "2021-05-07"
@@ -2614,6 +2614,9 @@
},
"accountNumber": {
"$ref": "#/components/schemas/PartyAccountNumber"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to modify a consolidation.",
@@ -2673,7 +2676,7 @@
"INTERNATIONAL_PRIORITY_DISTRIBUTION"
]
},
- "shipDate": {
+ "shipDateStamp": {
"type": "string",
"description": "This is the ship date for the outbound shipment associated with a return shipment. The format is YYYY-MM-DD.
Example: 2019-10-01",
"example": "2021-05-07"
@@ -2738,6 +2741,26 @@
},
"description": "Specify the requested consolidation"
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"ConsolidationDataSources_1": {
"type": "array",
"description": "Specifies how selected values in the consolidation are to be determined.",
@@ -2800,6 +2823,80 @@
"description": "This is a customer reference type value.
Example: 3686
Note: Maximum length for all customer references is 40 characters.",
"example": "USD"
},
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.
For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_contact"
+ },
+ "address": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_address"
+ }
+ }
+ },
+ "ClearanceItemDetail_contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.
Example: THE GREENHOUSE",
+ "example": "THE GREENHOUSE"
+ }
+ },
+ "description": "Contact details of the manufacturer."
+ },
+ "ClearanceItemDetail_address": {
+ "type": "object",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.
Example: 98 Royal Crescent",
+ "items": {
+ "type": "string",
+ "example": "[\"98 Royal Crescent\"]"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.
Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.
Example: US",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.",
+ "example": false
+ }
+ },
+ "description": "Address of the manufacturer."
+ },
"ConsolidationProcessingOptionsRequested": {
"type": "object",
"properties": {
@@ -2925,6 +3022,9 @@
},
"accountNumber": {
"$ref": "#/components/schemas/PartyAccountNumber"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to create a consolidation.",
@@ -2956,12 +3056,126 @@
"type": "array",
"description": "a list of consolidation shipments within the open shipment",
"items": {
- "$ref": "#/components/schemas/TransactionConsolidationShipmentResultsOutputVO"
+ "$ref": "#/components/schemas/TransactionCreateConsolidationShipmentResultsOutputVO"
}
}
},
"description": "This is the response received when a create consolidation shipment is requested."
},
+ "TransactionCreateConsolidationShipmentResultsOutputVO": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Identifies the service for this shipment
Example: FEDEX_2_DAY_FREIGHT
Click here to see Service Types",
+ "example": "FEDEX_2_DAY_FREIGHT"
+ },
+ "shipDateStamp": {
+ "type": "string",
+ "description": "Specifies shipment date. Format [YYYY-MM-DD]
Example: 2010-03-04",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Specifies Service Category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "shipmentDocuments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "pieceResponses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "Describes the service name for the shipment
Example: FedEx 2 Day Freight",
+ "example": "FedEx 2 Day Freight"
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CreateConsolidationCompletedShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "Indicates the TrackingNumber for the single or multiple-package shipment
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
+ "CreateConsolidationCompletedShipmentDetail": {
+ "type": "object",
+ "properties": {
+ "completedPackageDetails": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CompletedPackageDetail"
+ }
+ },
+ "operationalDetail": {
+ "$ref": "#/components/schemas/ShipmentOperationalDetail"
+ },
+ "carrierCode": {
+ "type": "string",
+ "description": "Specify the four letter code of a FedEx operating company that meets your requirements
Examples of FedEx Operating Companies are:- FDXE - FedEx Express
- FDXG - FedEx Ground
- FXSP - FedEx SmartPost
- FXCC - FedEx Custom Critical.
",
+ "example": "FDXE"
+ },
+ "completedHoldAtLocationDetail": {
+ "$ref": "#/components/schemas/CompletedHoldAtLocationDetail"
+ },
+ "completedEtdDetail": {
+ "$ref": "#/components/schemas/CompletedEtdDetail"
+ },
+ "packagingDescription": {
+ "type": "string",
+ "description": "Specifies packaging description.",
+ "example": "barrel"
+ },
+ "masterTrackingId": {
+ "$ref": "#/components/schemas/TrackingId"
+ },
+ "serviceDescription": {
+ "$ref": "#/components/schemas/ServiceDescription"
+ },
+ "usDomestic": {
+ "type": "boolean",
+ "description": "Indicates whether or not this is an intra-U.S. shipment.",
+ "example": true
+ },
+ "hazardousShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedHazardousShipmentDetail"
+ },
+ "shipmentRating": {
+ "$ref": "#/components/schemas/ShipmentRating"
+ },
+ "documentRequirements": {
+ "$ref": "#/components/schemas/DocumentRequirementsDetail"
+ },
+ "exportComplianceStatement": {
+ "type": "string",
+ "description": "Specifies export Compliance Statement.",
+ "example": "export Compliance Statement"
+ },
+ "accessDetail": {
+ "$ref": "#/components/schemas/PendingShipmentAccessDetail"
+ },
+ "shipmentConsolidationDetail": {
+ "$ref": "#/components/schemas/ShipmentConsolidationDetail"
+ },
+ "completedCodDetail": {
+ "$ref": "#/components/schemas/CompletedCodDetail"
+ }
+ },
+ "description": "Returns the result of processing the desired package as a single-package shipment."
+ },
"TransactionConsolidationShipmentResultsOutputVO": {
"type": "object",
"properties": {
@@ -3447,31 +3661,6 @@
},
"description": "Details of the rates associated with the package, as calculated per a specific rate type."
},
- "Surcharge": {
- "type": "object",
- "properties": {
- "amount": {
- "description": "This is the surcharge amount.
Example: 15.35",
- "$ref": "#/components/schemas/Money_2"
- },
- "surchargeType": {
- "type": "string",
- "description": "Specifies the Surcharge Type.
Example: APPOINTMENT_DELIVERY",
- "example": "APPOINTMENT_DELIVERY"
- },
- "level": {
- "type": "string",
- "description": "Specifies if the surcharge applies to the entire shipment, or to an individual package.
Example: PACKAGE",
- "example": "PACKAGE, or SHIPMENT"
- },
- "description": {
- "type": "string",
- "description": "Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services.
Example: Fuel Surcharge",
- "example": "Overweight package"
- }
- },
- "description": "All surcharges that apply to this shipment.
click here to see Surcharges"
- },
"CompletedHazardousPackageDetail": {
"type": "object",
"properties": {
@@ -4058,41 +4247,425 @@
"items": {
"$ref": "#/components/schemas/ShipmentRateDetail"
}
+ },
+ "totalNetTransportationAndPickupCharge": {
+ "description": "Sum of totalNetCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of pickup.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "description": "Sum of totalNetFedExCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of a pickup.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "pickupRateDetail": {
+ "description": "Charges associated with a scheduled shipment pickup",
+ "type": "object",
+ "properties": {
+ "rateType": {
+ "description": "Type used for this specific set of rate data.",
+ "type": "string",
+ "enum": [
+ "INCENTIVE",
+ "NEGOTIATED",
+ "PAYOR_ACCOUNT_PACKAGE",
+ "PAYOR_ACCOUNT_SHIPMENT",
+ "PAYOR_CUSTOM_PACKAGE",
+ "PAYOR_CUSTOM_SHIPMENT",
+ "PAYOR_LIST_PACKAGE",
+ "PAYOR_LIST_SHIPMENT",
+ "PAYOR_RETAIL_PACKAGE",
+ "PAYOR_RETAIL_SHIPMENT",
+ "PREFERRED_ACCOUNT_PACKAGE",
+ "PREFERRED_ACCOUNT_SHIPMENT",
+ "PREFERRED_CUSTOM_PACKAGE",
+ "PREFERRED_CUSTOM_SHIPMENT",
+ "PREFERRED_INCENTIVE",
+ "PREFERRED_LIST_PACKAGE",
+ "PREFERRED_LIST_SHIPMENT",
+ "PREFERRED_NEGOTIATED",
+ "PREFERRED_RETAIL_PACKAGE",
+ "PREFERRED_RETAIL_SHIPMENT",
+ "RATED_ACCOUNT_PACKAGE",
+ "RATED_ACCOUNT_SHIPMENT",
+ "RATED_CUSTOM_PACKAGE",
+ "RATED_CUSTOM_SHIPMENT",
+ "RATED_LIST_PACKAGE",
+ "RATED_LIST_SHIPMENT",
+ "RATED_RETAIL_PACKAGE",
+ "RATED_RETAIL_SHIPMENT",
+ "UNKNOWN"
+ ],
+ "example": "PAYOR_ACCOUNT_PACKAGE"
+ },
+ "rateScale": {
+ "type": "string",
+ "description": "Indicates the rate scale used.",
+ "example": "*USER IMS20160104 LD067110"
+ },
+ "rateZone": {
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "type": "string",
+ "example": "CA003O"
+ },
+ "ratingBasis": {
+ "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.
- SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.
- FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.
- PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.
",
+ "type": "string",
+ "enum": [
+ "SHIPMENT_WEIGHT_BASED",
+ "FLAT_RATE_PER_PAK",
+ "PACK_WEIGHT_BASED",
+ "UNKNOWN"
+ ],
+ "example": "SHIPMENT_WEIGHT_BASED"
+ },
+ "pricingCode": {
+ "description": "Identifies the type of pricing used for this shipment.",
+ "type": "string",
+ "enum": [
+ "ACTUAL",
+ "ALTERNATE",
+ "BASE",
+ "HUNDREDWEIGHT",
+ "HUNDREDWEIGHT_ALTERNATE",
+ "INTERNATIONAL_DISTRIBUTION",
+ "INTERNATIONAL_ECONOMY_SERVICE",
+ "LTL_FREIGHT",
+ "PACKAGE",
+ "SHIPMENT",
+ "SHIPMENT_FIVE_POUND_OPTIONAL",
+ "SHIPMENT_OPTIONAL",
+ "SPECIAL",
+ "UNKNOWN"
+ ],
+ "example": "ACTUAL"
+ },
+ "minimumChargeType": {
+ "description": "provides the minimum charge type applicable to the rates.",
+ "type": "string",
+ "enum": [
+ "CUSTOMER",
+ "CUSTOMER_FREIGHT_WEIGHT",
+ "EARNED_DISCOUNT",
+ "MIXED",
+ "RATE_SCALE",
+ "UNKNOWN"
+ ],
+ "example": "EARNED_DISCOUNT"
+ },
+ "currencyExchangeRate": {
+ "$ref": "#/components/schemas/CurrencyExchangeRate"
+ },
+ "specialRatingApplied": {
+ "type": "array",
+ "description": "Indicates which special rating cases applied to this shipment.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FEDEX_ONE_RATE",
+ "FIXED_FUEL_SURCHARGE",
+ "IMPORT_PRICING"
+ ]
+ },
+ "example": "FEDEX_ONE_RATE"
+ },
+ "fuelSurchargePercent": {
+ "description": "Specify a fuel surcharge percentage.",
+ "format": "double",
+ "type": "number",
+ "example": 121
+ },
+ "pickupBaseChargeDescription": {
+ "description": "Will indicate the pickup charge description of the on call pickup",
+ "type": "string",
+ "enum": [
+ "Regularly Scheduled Pickup Mon-Fri",
+ "Automated Pickup Mon-Fri",
+ "Same Day OC Pickup Mon-Fri (CS)",
+ "Same Day OC Pickup Mon-Fri (Online)",
+ "Fut. Day OC Pickup Mon-Fri (CS)",
+ "Fut. Day OC Pickup Mon-Fri (Online)",
+ "Regularly Scheduled Pickup Sat",
+ "Automated Pickup Sat",
+ "Same Day OC Pickup Sat (CS)",
+ "Same Day OC Pickup Sat (Online)",
+ "Fut. Day OC Pickup Sat (CS)",
+ "Fut. Day OC Pickup Sat (Online)",
+ "Regularly Scheduled Pickup Sun",
+ "Automated Pickup Sun",
+ "Same Day OC Pickup Sun (CS)",
+ "Same Day OC Pickup Sun (Online)",
+ "Fut. Day OC Pickup Sun (CS)",
+ "Fut. Day OC Pickup Sun (Online)",
+ "Residential On-Call Pickup Surcharge",
+ "Pickup Area Surcharge",
+ "Extended Pickup Area Surcharge",
+ "Remote Pickup Area Surcharge",
+ "Fuel Surcharge"
+ ],
+ "example": "Pickup Area Surcharge"
+ },
+ "totalBaseCharge": {
+ "description": "Total base charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalFreightDiscounts": {
+ "description": "The total discounts used in the rate calculation.
Example: 1257.26",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetFreight": {
+ "description": "This shipment's totalNetFreight.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalSurcharges": {
+ "description": "The sum of all surcharges on the package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetFedExCharge": {
+ "description": "This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalTaxes": {
+ "description": "The sum of all taxes on this package.
Example: 1257.25",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetCharge": {
+ "description": "Total net charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalRebates": {
+ "description": "The total sum of all rebates applied to this package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalDutiesAndTaxes": {
+ "description": "The sum of shipment/package Duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalAncillaryFeesAndTaxes": {
+ "description": "Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalDutiesTaxesAndFees": {
+ "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetChargeWithDutiesAndTaxes": {
+ "description": "Total netChargesWithDutiesAndTaxes for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "freightDiscounts": {
+ "description": "All rate discounts that apply to this shipment",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RateDiscount"
+ }
+ },
+ "rebates": {
+ "description": "The all rebates applied to this package.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Rebate"
+ }
+ },
+ "surcharges": {
+ "description": "The amount of surcharges applied to this shipment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Surcharge_2"
+ }
+ },
+ "taxes": {
+ "description": "List of taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Tax"
+ }
+ },
+ "dutiesAndTaxes": {
+ "description": "List of The shipment/package Duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/EdtCommodityTax"
+ }
+ },
+ "ancillaryFeesAndTaxes": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/AncillaryFeeAndTax"
+ }
+ },
+ "variableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges"
+ }
+ ]
+ },
+ "totalVariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges"
+ }
+ ]
+ }
+ }
}
},
"description": "All shipment-level rating data for this shipment, which may include data for multiple rate types."
},
- "ShipmentRateDetail": {
+ "EdtCommodityTax": {
+ "description": "The shipment/package Duties and taxes.",
"type": "object",
"properties": {
- "rateZone": {
- "type": "string",
- "description": "Indicates the rate zone used (based on origin and destination).",
- "example": "US001O"
- },
- "ratedWeightMethod": {
+ "harmonizedCode": {
+ "description": "Harmonized code is used by customer to classify the product being shipped and define the duties and taxes to be paid.",
"type": "string",
- "description": "Indicates which weight was used.",
- "example": "ACTUAL"
+ "example": "harmonizedCode"
},
- "totalDutiesTaxesAndFees": {
- "type": "number",
- "description": "The total of the total duties & taxes and the total ancillary fees & taxes.",
- "format": "double",
- "example": 24.56
+ "taxes": {
+ "$ref": "#/components/schemas/EdtTaxDetail"
},
- "pricingCode": {
+ "total": {
+ "description": "Total of Duties and taxes",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "AncillaryFeeAndTax": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
"type": "string",
- "description": "Specifies pricing Code.",
- "example": "LTL_FREIGHT"
+ "enum": [
+ "CLEARANCE_ENTRY_FEE",
+ "GOODS_AND_SERVICES_TAX",
+ "HARMONIZED_SALES_TAX",
+ "OTHER"
+ ],
+ "example": "CLEARANCE_ENTRY_FEE"
},
- "totalFreightDiscounts": {
- "type": "number",
- "description": "The total discounts used in the rate calculation.",
- "format": "double",
- "example": 1.56
+ "description": {
+ "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "example": "description"
},
- "totalTaxes": {
+ "amount": {
+ "description": "list of AncillaryFees And Taxes",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "Rebate": {
+ "type": "object",
+ "properties": {
+ "rebateType": {
+ "description": "The type of rebate.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "EARNED",
+ "OTHER"
+ ],
+ "example": "EARNED"
+ },
+ "description": {
+ "description": "The description of the rebate",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "provides the calculated rebate amount based on customer details, transaction information, and applicable rules. ",
+ "$ref": "#/components/schemas/Money"
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "ShipmentRateDetail": {
+ "type": "object",
+ "properties": {
+ "rateZone": {
+ "type": "string",
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "example": "US001O"
+ },
+ "ratedWeightMethod": {
+ "type": "string",
+ "description": "Indicates which weight was used.",
+ "example": "ACTUAL"
+ },
+ "totalDutiesTaxesAndFees": {
+ "type": "number",
+ "description": "The total of the total duties & taxes and the total ancillary fees & taxes.",
+ "format": "double",
+ "example": 24.56
+ },
+ "pricingCode": {
+ "type": "string",
+ "description": "Specifies pricing Code.",
+ "example": "LTL_FREIGHT"
+ },
+ "totalFreightDiscounts": {
+ "type": "number",
+ "description": "The total discounts used in the rate calculation.",
+ "format": "double",
+ "example": 1.56
+ },
+ "totalTaxes": {
"type": "number",
"description": "Total of the transportation-based taxes.
Example: 3.45",
"format": "double",
@@ -4116,7 +4689,7 @@
"items": {
"type": "object",
"schema": {
- "$ref": "#/components/schemas/Tax"
+ "$ref": "#/components/schemas/Tax_2"
}
}
},
@@ -4184,7 +4757,7 @@
"freightDiscounts": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/RateDiscount"
+ "$ref": "#/components/schemas/RateDiscount_2"
}
},
"rateScale": {
@@ -4218,33 +4791,6 @@
},
"description": "This is a placeholder for the shipment's total/summary rates details, as calculated per a specific rate type. The totals may differ from the sum of corresponding package data for Multiweight or Express MPS."
},
- "Tax": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "number",
- "description": "Indicates the amount of tax",
- "format": "double",
- "example": 10
- },
- "level": {
- "type": "string",
- "description": "Indicates the Level of Tax.",
- "example": "level"
- },
- "description": {
- "type": "string",
- "description": "Placeholder for the tax description.
Example: descrption",
- "example": "description"
- },
- "type": {
- "type": "string",
- "description": "Specifies the type of the tax.",
- "example": "type"
- }
- },
- "description": "All transportation-based taxes applicable to this shipment.."
- },
"CurrencyExchangeRate": {
"type": "object",
"properties": {
@@ -4284,7 +4830,7 @@
"type": "array",
"description": "Specifies the taxes.",
"items": {
- "$ref": "#/components/schemas/Tax"
+ "$ref": "#/components/schemas/Tax_2"
}
},
"totalDimWeight": {
@@ -4394,7 +4940,7 @@
"freightDiscounts": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/RateDiscount"
+ "$ref": "#/components/schemas/RateDiscount_2"
}
},
"rateScale": {
@@ -4422,34 +4968,6 @@
},
"description": "This is data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type."
},
- "RateDiscount": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "number",
- "description": "Specifies the amount.",
- "format": "double",
- "example": 8.9
- },
- "rateDiscountType": {
- "type": "string",
- "description": "The type of rate discount.
Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.",
- "example": "COUPON"
- },
- "percent": {
- "type": "number",
- "description": "Specifies the percentage of Rate discount.",
- "format": "double",
- "example": 28.9
- },
- "description": {
- "type": "string",
- "description": "Specifies the description of the discounted rate.",
- "example": "description"
- }
- },
- "description": "Specifies discount Rate for Shipment."
- },
"DocumentRequirementsDetail": {
"type": "object",
"properties": {
@@ -4840,8 +5358,22 @@
"requestedShipment": {
"$ref": "#/components/schemas/RequestedConsolidationShipment"
},
+ "processingOptions": {
+ "type": "array",
+ "description": "Array of processing options for the shipment.",
+ "items": {
+ "type": "string",
+ "example": "INCLUDE_PICKUPRATES",
+ "enum": [
+ "INCLUDE_PICKUPRATES"
+ ]
+ }
+ },
"labelResponseOptions": {
"$ref": "#/components/schemas/LableResponseOptions"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to create a consolidation shipment.",
@@ -4920,6 +5452,9 @@
"$ref": "#/components/schemas/RecipientParty"
}
},
+ "pickupDetail": {
+ "$ref": "#/components/schemas/PickupDetail"
+ },
"shippingChargesPayment": {
"$ref": "#/components/schemas/Payment"
},
@@ -4956,6 +5491,52 @@
},
"description": "The consolidation shipment details"
},
+ "PickupDetail": {
+ "type": "object",
+ "properties": {
+ "readyDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Pickup ready date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "latestPickupDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Latest pickup date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "courierInstructions": {
+ "type": "string",
+ "description": "Special instructions for the courier",
+ "example": "Leave package at reception"
+ },
+ "requestType": {
+ "$ref": "#/components/schemas/PickupRequestType"
+ },
+ "requestSource": {
+ "$ref": "#/components/schemas/PickupRequestSourceType"
+ }
+ }
+ },
+ "PickupRequestType": {
+ "type": "string",
+ "description": "Type of pickup request",
+ "enum": [
+ "FUTURE_DAY",
+ "SAME_DAY"
+ ],
+ "example": "FUTURE_DAY"
+ },
+ "PickupRequestSourceType": {
+ "type": "string",
+ "description": "Source of the pickup request",
+ "enum": [
+ "AUTOMATION",
+ "CUSTOMER_SERVICE"
+ ],
+ "example": "AUTOMATION"
+ },
"HoldAtLocationDetail": {
"required": [
"locationId"
@@ -5376,6 +5957,9 @@
},
"accountNumber": {
"$ref": "#/components/schemas/PartyAccountNumber"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -5631,6 +6215,9 @@
},
"consolidationDocumentSpecification": {
"$ref": "#/components/schemas/ConsolidationDocumentSpec"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -5697,6 +6284,9 @@
"type": "string",
"description": "When the confirm consolidation is processed asynchronously, job Id is generated which is passed in confirm consolidation results to get complete consolidation results",
"example": "b8r763490cj7462n8907"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -5746,6 +6336,9 @@
},
"consolidationKey": {
"$ref": "#/components/schemas/ConsolidationKey"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to retrieve a consolidation.",
@@ -5822,6 +6415,9 @@
"type": "string",
"description": "This is a unique number assigned by FedEx to the packages for tracking. This will help in the identification of the dangerous goods shipments to mark it for removal on the manifest report.",
"example": "86ea9b69e068191a59f0e2721b8fbfee"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to cancel a shipment. "
@@ -5873,6 +6469,9 @@
},
"trackingId": {
"$ref": "#/components/schemas/TrackingIds"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to delete a consolidation.",
@@ -6100,7 +6699,7 @@
}
}
},
- "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT."
+ "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY."
},
"TransborderDistributionDetail_specialServicesRequested_transborderDistributionLtlDetail_payment_ePaymentDetail_amount": {
"type": "object",
@@ -6983,7 +7582,7 @@
}
}
},
- "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT."
+ "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY."
},
"TransborderDistributionDetail_1_specialServicesRequested_transborderDistributionLtlDetail_payment_creditCard_creditCardHolder": {
"type": "object",
@@ -7920,6 +8519,9 @@
"properties": {
"consolidationShipments": {
"$ref": "#/components/schemas/ConsolidationShipments"
+ },
+ "consolidationDocumentTypes": {
+ "$ref": "#/components/schemas/ConsolidationDocumentSpec"
}
},
"description": "Specifies Complete Consolidation Details when user selected ASYCHRONOUSLY_PROCESSED"
@@ -7932,7 +8534,7 @@
"properties": {
"personName": {
"type": "string",
- "description": "Specify contact name. Maximum length is 70.
Note: Either the companyName or personName is mandatory.
Example: John Taylor",
+ "description": "Specify contact name. First 35 chars will be printed on the label, excess characters will be truncated.
Note: Either the companyName or personName is mandatory.
Example: John Taylor",
"example": "John Taylor"
},
"emailAddress": {
@@ -7947,7 +8549,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"companyName": {
@@ -8727,6 +9329,135 @@
},
"description": "Specifies documentation and limits for validation of an individual packing group/category. DG Data Upload Mode: Required (IATA), Optional (Other), DG Full Validation Mode: Required (IATA), Optional (Other),"
},
+ "EdtTaxDetail": {
+ "description": "Estimated duties and taxes detail.",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Estimated taxes type",
+ "type": "string",
+ "enum": [
+ "ADDITIONAL_TAXES",
+ "CONSULAR_INVOICE_FEE",
+ "CUSTOMS_SURCHARGES",
+ "DUTY",
+ "EXCISE_TAX",
+ "FOREIGN_EXCHANGE_TAX",
+ "GENERAL_SALES_TAX",
+ "IMPORT_LICENSE_FEE",
+ "INTERNAL_ADDITIONAL_TAXES",
+ "INTERNAL_SENSITIVE_PRODUCTS_TAX",
+ "OTHER",
+ "SENSITIVE_PRODUCTS_TAX",
+ "STAMP_TAX",
+ "STATISTICAL_TAX",
+ "TRANSPORT_FACILITIES_TAX"
+ ],
+ "example": "INCENTIVE"
+ },
+ "taxcode": {
+ "type": "string",
+ "example": "taxcode"
+ },
+ "effectiveDate": {
+ "description": "Estimated duties and taxes effective date. Format [YYYY-MM-DD].",
+ "type": "string",
+ "example": "2019-12-06"
+ },
+ "name": {
+ "description": "The localized name of the surcharge.",
+ "type": "string",
+ "example": "VAT"
+ },
+ "taxableValue": {
+ "description": "Estimated duties and taxes taxable Value.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "description": {
+ "description": "FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible",
+ "type": "string",
+ "example": "Christmas"
+ },
+ "formula": {
+ "description": "Indicates the formula.",
+ "type": "string",
+ "example": "VAT Payable = Output VAT \u2013 Input VAT"
+ },
+ "amount": {
+ "description": "Amount for the estimated duties and taxes type.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "taxRates": {
+ "description": "Estimated duties and taxes taxRates",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "example": null
+ },
+ "currency": {
+ "type": "string",
+ "example": null
+ },
+ "quantity": {
+ "format": "double",
+ "type": "number",
+ "example": null
+ },
+ "unitOfMeasure": {
+ "type": "string",
+ "example": null
+ }
+ }
+ }
+ },
+ "appliedPreferentialTradeAgreement": {
+ "description": "provides details about PTA applied between countries for specific product. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "name": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "description": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ }
+ }
+ }
+ }
+ },
+ "VariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "type": "object",
+ "properties": {
+ "variableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "$ref": "#/components/schemas/Money"
+ },
+ "fixedVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "percentVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "$ref": "#/components/schemas/Money"
+ },
+ "totalCustomerCharge": {
+ "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
"ShippingDocumentDispositionDetail": {
"type": "object",
"properties": {
@@ -8782,7 +9513,7 @@
"$ref": "#/components/schemas/AddressAncillaryDetail"
}
},
- "description": "Idicates the contact and address details of a location."
+ "description": "Indicate the contact and address details of a location."
},
"DocTabContentZone": {
"type": "object",
@@ -8859,7 +9590,10 @@
]
},
"declaredCurrencies": {
- "$ref": "#/components/schemas/Money"
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Money"
+ }
},
"clearanceFacilityLocationId": {
"type": "string",
@@ -8903,98 +9637,43 @@
},
"description": "Conditional. Export Detail Used for US or CA exports."
},
- "Commodity": {
- "required": [
- "description",
- "numberOfPieces"
- ],
+ "DocTabContent": {
"type": "object",
"properties": {
- "name": {
+ "docTabContentType": {
"type": "string",
- "description": "Specify the commodity name",
- "example": "non-threaded rivets"
+ "description": "Doc Tab Content Type",
+ "example": "BARCODED",
+ "enum": [
+ "BARCODED",
+ "CUSTOM",
+ "MINIMUM",
+ "STANDARD",
+ "ZONE001"
+ ]
},
- "numberOfPieces": {
- "type": "integer",
- "description": "Indicates the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.",
- "format": "int32",
- "example": 12
+ "zone001": {
+ "$ref": "#/components/schemas/DocTabContentZone"
},
- "description": {
- "type": "string",
- "description": "This is the commodity description. Maximum allowed 450 characters.",
- "example": "AC parts"
- },
- "countryOfManufacture": {
- "type": "string",
- "description": "This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.",
- "example": "US"
- },
- "weight": {
- "$ref": "#/components/schemas/Weight"
- },
- "quantity": {
- "type": "integer",
- "description": "This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.",
- "format": "int32",
- "example": 125
- },
- "quantityUnits": {
- "type": "string",
- "description": "This is the unit of measure for the units quantity. This is used to estimate duties and taxes.",
- "example": "EA"
- },
- "unitPrice": {
- "$ref": "#/components/schemas/Money_2"
- },
- "customsValue": {
- "$ref": "#/components/schemas/Money_2"
- },
- "commodityId": {
- "type": "string",
- "description": "Value used to identify a commodity description; must be unique within the containing shipment.",
- "example": "commodity Id"
- }
- }
- },
- "DocTabContent": {
- "type": "object",
- "properties": {
- "docTabContentType": {
- "type": "string",
- "description": "Doc Tab Content Type",
- "example": "BARCODED",
- "enum": [
- "BARCODED",
- "CUSTOM",
- "MINIMUM",
- "STANDARD",
- "ZONE001"
- ]
- },
- "zone001": {
- "$ref": "#/components/schemas/DocTabContentZone"
- },
- "barcoded": {
- "$ref": "#/components/schemas/DocTabContentBarcoded"
- }
- },
- "description": "Specifies details of doc tab content, If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content."
- },
- "Payor": {
- "type": "object",
- "properties": {
- "responsibleParty": {
- "$ref": "#/components/schemas/Party_2"
- }
- },
- "description": "Information about the person who is paying for the shipment. Not applicable for credit card payment. "
- },
- "DistributionLocations": {
- "type": "object",
- "properties": {
- "type": {
+ "barcoded": {
+ "$ref": "#/components/schemas/DocTabContentBarcoded"
+ }
+ },
+ "description": "Specifies details of doc tab content, If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content."
+ },
+ "Payor": {
+ "type": "object",
+ "properties": {
+ "responsibleParty": {
+ "$ref": "#/components/schemas/Party_2"
+ }
+ },
+ "description": "Information about the person who is paying for the shipment. Not applicable for credit card payment. "
+ },
+ "DistributionLocations": {
+ "type": "object",
+ "properties": {
+ "type": {
"type": "string",
"description": "Specifies the type of distribution locations.",
"example": "CUSTOMER_SPECIFIED",
@@ -9473,7 +10152,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"companyName": {
@@ -9511,7 +10190,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Specify contact phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
+ "description": "Specify contact phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
"example": "1234567890"
},
"companyName": {
@@ -9939,7 +10618,7 @@
"type": "array",
"description": "Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment.",
"items": {
- "$ref": "#/components/schemas/Commodity"
+ "$ref": "#/components/schemas/Commodity_2"
}
},
"brokers": {
@@ -10102,6 +10781,136 @@
]
}
},
+ "Commodity": {
+ "required": [
+ "description",
+ "numberOfPieces"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Specify the commodity name",
+ "example": "non-threaded rivets"
+ },
+ "numberOfPieces": {
+ "type": "integer",
+ "description": "Indicates the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.",
+ "format": "int32",
+ "example": 12
+ },
+ "description": {
+ "type": "string",
+ "description": "This is the commodity description. Maximum allowed 450 characters.",
+ "example": "AC parts"
+ },
+ "cIMarksAndNumbers": {
+ "type": "string",
+ "description": "This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment
Example: 125SU212061F7",
+ "example": "125SU212061F7"
+ },
+ "countryOfManufacture": {
+ "type": "string",
+ "description": "This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.",
+ "example": "US"
+ },
+ "weight": {
+ "$ref": "#/components/schemas/Weight"
+ },
+ "quantity": {
+ "type": "integer",
+ "description": "This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.",
+ "format": "int32",
+ "example": 125
+ },
+ "quantityUnits": {
+ "type": "string",
+ "description": "This is the unit of measure for the units quantity. This is used to estimate duties and taxes.",
+ "example": "EA"
+ },
+ "unitPrice": {
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "customsValue": {
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "commodityId": {
+ "type": "string",
+ "description": "Value used to identify a commodity description; must be unique within the containing shipment.",
+ "example": "commodity Id"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ }
+ }
+ },
+ "Commodity_2": {
+ "required": [
+ "description",
+ "name",
+ "numberOfPieces"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Specify the commodity name",
+ "example": "non-threaded rivets"
+ },
+ "numberOfPieces": {
+ "type": "integer",
+ "description": "Indicates the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.",
+ "format": "int32",
+ "example": 12
+ },
+ "description": {
+ "type": "string",
+ "description": "This is the commodity description. Maximum allowed 450 characters.",
+ "example": "AC parts"
+ },
+ "countryOfManufacture": {
+ "type": "string",
+ "description": "This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.",
+ "example": "US"
+ },
+ "weight": {
+ "$ref": "#/components/schemas/Weight"
+ },
+ "quantity": {
+ "type": "integer",
+ "description": "This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.",
+ "format": "int32",
+ "example": 125
+ },
+ "quantityUnits": {
+ "type": "string",
+ "description": "This is the unit of measure for the units quantity. This is used to estimate duties and taxes.",
+ "example": "EA"
+ },
+ "unitPrice": {
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "customsValue": {
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "commodityId": {
+ "type": "string",
+ "description": "Value used to identify a commodity description; must be unique within the containing shipment.",
+ "example": "commodity Id"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ }
+ }
+ },
"BrokerDetail": {
"type": "object",
"properties": {
@@ -10145,7 +10954,24 @@
"CONSOLIDATED_CUSTOMS_LINEHAUL_REPORT",
"CONSOLIDATED_PARTY_REPORT",
"CONSOLIDATED_SOLD_TO_SUMMARY_REPORT",
- "CUSTOM_CONSOLIDATION_DOCUMENT"
+ "CUSTOM_CONSOLIDATION_DOCUMENT",
+ "CERTIFICATE_OF_ORIGIN",
+ "COMMERCIAL_INVOICE",
+ "CUSTOM_PACKAGE_DOCUMENT",
+ "CUSTOM_SHIPMENT_DOCUMENT",
+ "CUSTOMER_SPECIFIED_LABELS",
+ "DANGEROUS_GOODS_SHIPPERS_DECLARATION",
+ "EXPORT_DECLARATION",
+ "FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING",
+ "GENERAL_AGENCY_AGREEMENT",
+ "LABEL",
+ "USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN",
+ "USMCA_CERTIFICATION_OF_ORIGIN",
+ "OP_900",
+ "PENDING_SHIPMENT_EMAIL_NOTIFICATION",
+ "PRO_FORMA_INVOICE",
+ "RETURN_INSTRUCTIONS",
+ "VICS_BILL_OF_LADING"
],
"items": {
"type": "string"
@@ -10200,7 +11026,24 @@
"CONSOLIDATED_CUSTOMS_LINEHAUL_REPORT",
"CONSOLIDATED_PARTY_REPORT",
"CONSOLIDATED_SOLD_TO_SUMMARY_REPORT",
- "CUSTOM_CONSOLIDATION_DOCUMENT"
+ "CUSTOM_CONSOLIDATION_DOCUMENT",
+ "CERTIFICATE_OF_ORIGIN",
+ "COMMERCIAL_INVOICE",
+ "CUSTOM_PACKAGE_DOCUMENT",
+ "CUSTOM_SHIPMENT_DOCUMENT",
+ "CUSTOMER_SPECIFIED_LABELS",
+ "DANGEROUS_GOODS_SHIPPERS_DECLARATION",
+ "EXPORT_DECLARATION",
+ "FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING",
+ "GENERAL_AGENCY_AGREEMENT",
+ "LABEL",
+ "USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN",
+ "USMCA_CERTIFICATION_OF_ORIGIN",
+ "OP_900",
+ "PENDING_SHIPMENT_EMAIL_NOTIFICATION",
+ "PRO_FORMA_INVOICE",
+ "RETURN_INSTRUCTIONS",
+ "VICS_BILL_OF_LADING"
],
"items": {
"type": "string"
@@ -10449,12 +11292,301 @@
}
},
"description": "Indicates exception when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
+ },
+ "Surcharge": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "description": "This is the surcharge amount.
Example: 15.35",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "surchargeType": {
+ "type": "string",
+ "description": "Specifies the Surcharge Type.
Example: APPOINTMENT_DELIVERY",
+ "example": "APPOINTMENT_DELIVERY"
+ },
+ "level": {
+ "type": "string",
+ "description": "Specifies if the surcharge applies to the entire shipment, or to an individual package.
Example: PACKAGE",
+ "example": "PACKAGE, or SHIPMENT"
+ },
+ "description": {
+ "type": "string",
+ "description": "Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services.
Example: Fuel Surcharge",
+ "example": "Overweight package"
+ }
+ },
+ "description": "All surcharges that apply to this shipment.
click here to see Surcharges"
+ },
+ "Surcharge_2": {
+ "type": "object",
+ "properties": {
+ "surchargeType": {
+ "description": "The type of surcharge.",
+ "type": "string",
+ "enum": [
+ "ACCOUNT_NUMBER_PROCESSING_FEE",
+ "ADDITIONAL_HANDLING",
+ "ADDRESS_CORRECTION",
+ "ANCILLARY_FEE",
+ "APPOINTMENT_DELIVERY",
+ "BLIND_SHIPMENT",
+ "BROKER_SELECT_OPTION",
+ "CANADIAN_DESTINATION",
+ "CHARGEABLE_PALLET_WEIGHT",
+ "COD",
+ "CUT_FLOWERS",
+ "DANGEROUS_GOODS",
+ "DELIVERY_AREA",
+ "DELIVERY_CONFIRMATION",
+ "DELIVERY_ON_INVOICE_ACCEPTANCE",
+ "DEMAND",
+ "DEMAND_ADDITIONAL_HANDLING",
+ "DEMAND_OVERSIZE",
+ "DEMAND_RESIDENTIAL_DELIVERY",
+ "DETENTION",
+ "DOCUMENTATION_FEE",
+ "DRY_ICE",
+ "EMAIL_LABEL",
+ "ENHANCED_SECURITY",
+ "EUROPE_FIRST",
+ "EXCESS_VALUE",
+ "EXCLUSIVE_USE",
+ "EXHIBITION",
+ "EXPEDITED",
+ "EXPORT",
+ "EXTRA_LABOR",
+ "EXTRA_SURFACE_HANDLING_CHARGE",
+ "EXTREME_LENGTH",
+ "FEDEX_INTRACOUNTRY_FEES",
+ "FEDEX_TAG",
+ "FICE",
+ "FLATBED",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_PICKUP",
+ "FREIGHT_DIRECT_BASIC_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_PICKUP",
+ "FREIGHT_DIRECT_PREMIUM_DELIVERY",
+ "FREIGHT_DIRECT_PREMIUM_PICKUP",
+ "FREIGHT_DIRECT_STANDARD_DELIVERY",
+ "FREIGHT_DIRECT_STANDARD_PICKUP",
+ "FREIGHT_GUARANTEE",
+ "FREIGHT_ON_VALUE",
+ "FREIGHT_TO_COLLECT",
+ "FUEL",
+ "HIGH_COST_SERVICE_AREA_DESTINATION",
+ "HIGH_COST_SERVICE_AREA_ORIGIN",
+ "HIGH_DENSITY",
+ "HOLD_AT_LOCATION",
+ "HOLIDAY_DELIVERY",
+ "HOLIDAY_GUARANTEE",
+ "HOME_DELIVERY_APPOINTMENT",
+ "HOME_DELIVERY_DATE_CERTAIN",
+ "HOME_DELIVERY_EVENING",
+ "INSIDE_DELIVERY",
+ "INSIDE_PICKUP",
+ "INSURED_VALUE",
+ "INTERHAWAII",
+ "LIFTGATE_DELIVERY",
+ "LIFTGATE_PICKUP",
+ "LIMITED_ACCESS_DELIVERY",
+ "LIMITED_ACCESS_PICKUP",
+ "MARKING_OR_TAGGING",
+ "METRO_DELIVERY",
+ "METRO_PICKUP",
+ "MONITORING_AND_INTERVENTION",
+ "NON_BUSINESS_TIME",
+ "NON_MACHINABLE",
+ "OFFSHORE",
+ "ON_CALL_PICKUP",
+ "ON_DEMAND_CARE",
+ "OTHER",
+ "OUT_OF_DELIVERY_AREA",
+ "OUT_OF_PICKUP_AREA",
+ "OVER_DIMENSION",
+ "OVER_LENGTH",
+ "OVERSIZE",
+ "OVERWEIGHT",
+ "PALLET_SHRINKWRAP",
+ "PALLETS_PROVIDED",
+ "PEAK",
+ "PEAK_ADDITIONAL_HANDLING",
+ "PEAK_OVERSIZE",
+ "PEAK_RESIDENTIAL_DELIVERY",
+ "PERMIT",
+ "PIECE_COUNT_VERIFICATION",
+ "PORT",
+ "PRE_DELIVERY_NOTIFICATION",
+ "PRIORITY_ALERT",
+ "PROTECTION_FROM_FREEZING",
+ "REGIONAL_MALL_DELIVERY",
+ "REGIONAL_MALL_PICKUP",
+ "REROUTE",
+ "RESCHEDULE",
+ "RESIDENTIAL_DELIVERY",
+ "RESIDENTIAL_PICKUP",
+ "RETURN_LABEL",
+ "SATURDAY_DELIVERY",
+ "SATURDAY_PICKUP",
+ "SHIPMENT_ASSEMBLY",
+ "SIGNATURE_OPTION",
+ "SINGLE_PIECE",
+ "SORT_AND_SEGREGATE",
+ "SPECIAL_DELIVERY",
+ "SPECIAL_EQUIPMENT",
+ "STORAGE",
+ "SUNDAY_DELIVERY",
+ "TARP",
+ "THIRD_PARTY_BILLING",
+ "THIRD_PARTY_CONSIGNEE",
+ "TRANSMART_SERVICE_FEE",
+ "USPS",
+ "WEIGHING"
+ ],
+ "example": "COD"
+ },
+ "level": {
+ "description": "The level of surcharge.",
+ "type": "string",
+ "enum": [
+ "PACKAGE",
+ "SHIPMENT"
+ ],
+ "example": "PACKAGE"
+ },
+ "description": {
+ "description": "The description of the surcharge.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "RateDiscount": {
+ "type": "object",
+ "properties": {
+ "rateDiscountType": {
+ "description": "Indicates the type.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "COUPON",
+ "EARNED",
+ "INCENTIVE",
+ "OTHER",
+ "VOLUME"
+ ],
+ "example": "INCENTIVE"
+ },
+ "description": {
+ "description": "Indicates the description for the rate discount.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Indicates the amount for the rate discount.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "RateDiscount_2": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "Specifies the amount.",
+ "format": "double",
+ "example": 8.9
+ },
+ "rateDiscountType": {
+ "type": "string",
+ "description": "The type of rate discount.
Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.",
+ "example": "COUPON"
+ },
+ "percent": {
+ "type": "number",
+ "description": "Specifies the percentage of Rate discount.",
+ "format": "double",
+ "example": 28.9
+ },
+ "description": {
+ "type": "string",
+ "description": "Specifies the description of the discounted rate.",
+ "example": "description"
+ }
+ },
+ "description": "Specifies discount Rate for Shipment."
+ },
+ "Tax": {
+ "description": "Tax surcharge details",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Specifies the type of Surcharge/Tax.",
+ "type": "string",
+ "enum": [
+ "EXPORT",
+ "GST",
+ "HST",
+ "INTRACOUNTRY",
+ "OTHER",
+ "PST",
+ "SST",
+ "VAT"
+ ],
+ "example": "VAT"
+ },
+ "description": {
+ "description": "Specifies the description of the Surcharge/Tax.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Specifies the list of tax amounts.",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "Tax_2": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "Indicates the amount of tax",
+ "format": "double",
+ "example": 10
+ },
+ "level": {
+ "type": "string",
+ "description": "Indicates the Level of Tax.",
+ "example": "level"
+ },
+ "description": {
+ "type": "string",
+ "description": "Placeholder for the tax description.
Example: descrption",
+ "example": "description"
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the tax.",
+ "example": "type"
+ }
+ },
+ "description": "All transportation-based taxes applicable to this shipment.."
}
}
},
"openapi": "3.0.0",
"info": {
- "title": "ShipConsolidation",
+ "title": "Consolidation API",
"version": "API"
}
}
\ No newline at end of file
diff --git a/resources/models/freight-ltl/v1.json b/resources/models/freight-ltl/v1.json
index dda892bb..82808a86 100644
--- a/resources/models/freight-ltl/v1.json
+++ b/resources/models/freight-ltl/v1.json
@@ -1102,6 +1102,9 @@
},
"freightRequestedShipment": {
"$ref": "#/components/schemas/LTLRequestedShipment"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for requesting a freight rate quote."
@@ -2813,6 +2816,9 @@
"type": "boolean",
"description": "If the value is false, it uses single shot MPS shipments where in all the packages are processed in the same transaction and can generate number of labels for the handling units all at once. If the value is true, the MPS shipment processes packages and labels one at a time. Default value is false. \n
Example: true or false",
"example": true
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to create a Freight2020Shipment."
@@ -3640,7 +3646,7 @@
],
"properties": {
"units": {
- "description": "Specifies the package weight unit type.
Example:KG",
+ "description": "Specifies the shipment weight unit type.
Example:KG",
"type": "string",
"enum": [
"KG",
@@ -6925,7 +6931,7 @@
"type": "number"
}
},
- "description": "The total weight of the packages for the pickup. Unit of measure is LB and KG.",
+ "description": "The total shipment weight for pickup. Unit of measure is LB and KG.",
"items": {
"$ref": "#/components/schemas/Weight"
}
@@ -7642,6 +7648,26 @@
},
"description": "Specifies the freight guarantee detail."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "2",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"ContentRecord": {
"type": "object",
"properties": {
diff --git a/resources/models/global-trade/v1.json b/resources/models/global-trade/v1.json
index 05841000..503a2ce7 100644
--- a/resources/models/global-trade/v1.json
+++ b/resources/models/global-trade/v1.json
@@ -176,6 +176,25 @@
},
"components": {
"schemas": {
+ "GticResponseVO": {
+ "type": "object",
+ "properties": {
+ "transactionId": {
+ "type": "string",
+ "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
+ "example": "624deea6-b709-470c-8c39-4b5511281492"
+ },
+ "customerTransactionId": {
+ "type": "string",
+ "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
Example: AnyCo_order123456789",
+ "example": "AnyCo_order123456789"
+ },
+ "output": {
+ "$ref": "#/components/schemas/BaseProcessOutputVO"
+ }
+ },
+ "description": "This is a wrapper class for outputVO."
+ },
"FullSchema": {
"required": [
"carrierCode",
@@ -241,7 +260,7 @@
"includeURLReferences": {
"type": "boolean",
"description": "Specify if the url references to be included in the output. These are regulatory reference data urls specific to document, agency.",
- "example": "True"
+ "example": true
},
"consolidationType": {
"type": "string",
@@ -252,6 +271,9 @@
"type": "string",
"description": "Specify the role this shipment plays within the consolidation.
Valid values are:- CONSOLIDATION_DOCUMENTS_SHIPMENT – Shipment contains clearance documents for the corresponding consolidation.
- CRN_SHIPMENT – Shipment is a Child Reference Number(individual shipment within consolidation).
- MASTER_AIRWAYBILL_SHIPMENT – Shipment represents entire consolidation, moving as a unit.
",
"example": "CONSOLIDATION_DOCUMENTS_SHIPMENT"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements to retrieve Shipment Regulatory Details."
@@ -302,7 +324,6 @@
}
},
"insuranceCharges": {
- "description": "Specify Insurance charges if applicable.
Note: FedEx does not provide insurance of any kind.",
"$ref": "#/components/schemas/Money"
},
"importerOfRecordAccountNumber": {
@@ -409,6 +430,31 @@
}
}
},
+ "Measure": {
+ "required": [
+ "quantity",
+ "uom"
+ ],
+ "type": "object",
+ "properties": {
+ "uom": {
+ "type": "string",
+ "description": "Unit of measure used to express the quantity of this commodity line item.",
+ "xml": {
+ "name": "Uom"
+ }
+ },
+ "quantity": {
+ "type": "number",
+ "description": "Specify commodity quantity.",
+ "format": "double",
+ "xml": {
+ "name": "Quantity"
+ }
+ }
+ },
+ "description": "This object contains additional quantitative information other than weight and quantity to calculate duties and taxes."
+ },
"Weight": {
"required": [
"units",
@@ -438,76 +484,87 @@
"value": 68
}
},
- "Measure": {
- "required": [
- "quantity",
- "uom"
- ],
+ "Version": {
"type": "object",
- "description": "This object contains additional quantitative information other than weight and quantity to calculate duties and taxes.",
"properties": {
- "uom": {
- "type": "string",
- "description": "Unit of measure used to express the quantity of this commodity line item.",
- "xml": {
- "name": "Uom"
- }
+ "major": {
+ "type": "integer",
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": 1
},
- "quantity": {
- "type": "number",
- "description": "Specify commodity quantity.",
- "format": "double",
- "xml": {
- "name": "Quantity"
- }
+ "minor": {
+ "type": "integer",
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": 1
+ },
+ "patch": {
+ "type": "integer",
+ "description": "This represents a backward-compatible bug fix adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": 1
}
}
},
- "GticResponseVO": {
+ "RegulatoryComplianceCountryDetail": {
"type": "object",
"properties": {
- "transactionId": {
+ "countryCode": {
"type": "string",
- "description": "The transaction ID is a special set of numbers that defines each transaction.
Example: 624deea6-b709-470c-8c39-4b5511281492",
- "example": "624deea6-b709-470c-8c39-4b5511281492"
+ "description": "The ISO country code for the country.",
+ "example": "US"
},
- "customerTransactionId": {
+ "category": {
"type": "string",
- "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
Example: AnyCo_order123456789",
- "example": "AnyCo_order123456789"
+ "description": "Describes the type of category",
+ "example": "ProductType"
},
- "output": {
- "$ref": "#/components/schemas/ShipmentRegulatoryDetailsOutputVO"
+ "regulatoryComplianceCommodityDetails": {
+ "type": "array",
+ "description": "This is an array of nonnegative-Integer identifying the associated commodities.",
+ "items": {
+ "$ref": "#/components/schemas/RegulatoryComplianceCommodityDetail"
+ }
}
- },
- "description": "This is a wrapper class for outputVO."
+ }
},
- "ShipmentRegulatoryDetailsOutputVO": {
- "required": [
- "countryDetails",
- "userMessages"
- ],
+ "RegulatoryComplianceCommodityDetail": {
"type": "object",
"properties": {
- "userMessages": {
+ "commodityComplianceTypeDetail": {
+ "$ref": "#/components/schemas/CommodityComplianceTypeDetail"
+ }
+ }
+ },
+ "CommodityComplianceTypeDetail": {
+ "type": "object",
+ "properties": {
+ "commodityIndexes": {
"type": "array",
- "description": "Represents User Message",
+ "description": "This is an array of nonnegative-Integer identifying the associated commodities.",
+ "example": 1,
"items": {
- "$ref": "#/components/schemas/RegulatoryMessage"
+ "minimum": 0,
+ "type": "number"
}
},
- "countryDetails": {
- "description": "Represents Country Details",
- "$ref": "#/components/schemas/RegulatoryCountryDetails"
+ "regulatoryComplianceTypeDetail": {
+ "$ref": "#/components/schemas/RegulatoryComplianceTypeDetail"
+ }
+ }
+ },
+ "RegulatoryComplianceTypeDetail": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "compliance type.",
+ "example": "EEI"
},
- "cxsalerts": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CXSAlert"
- }
+ "description": {
+ "type": "string",
+ "description": "compliance description.",
+ "example": "Shipments to your selected country require an EEI filing"
}
- },
- "description": "ShipmentRegulatoryDetailsOutputVO Model"
+ }
},
"RegulatoryMessage": {
"type": "object",
@@ -677,39 +734,6 @@
},
"description": "Specifies the list of regulatory statements."
},
- "LocalizedAttributeDetail": {
- "type": "object",
- "properties": {
- "localization": {
- "$ref": "#/components/schemas/Localization"
- },
- "name": {
- "type": "string",
- "description": "Specifies the name of the product being shipped."
- },
- "description": {
- "type": "string",
- "description": "Specifies elabaorate material description and other technical details of the product beingshipped."
- }
- },
- "description": "Specifies the localized attribute details."
- },
- "Localization": {
- "type": "object",
- "properties": {
- "localization": {
- "type": "string",
- "description": "Two letter language code.
Example: EN
click here to see Locales",
- "example": "EN"
- },
- "localeCode": {
- "type": "string",
- "description": "Two letter region code.
Example: us
click here to see Locales",
- "example": "us"
- }
- },
- "description": "Specify locale details for composing email with the document."
- },
"RegulatoryDocument": {
"type": "object",
"properties": {
@@ -777,6 +801,39 @@
},
"description": "Specifies the types and parameters of Country's advisory regulations."
},
+ "LocalizedAttributeDetail": {
+ "type": "object",
+ "properties": {
+ "localization": {
+ "$ref": "#/components/schemas/Localization"
+ },
+ "name": {
+ "type": "string",
+ "description": "Specifies the name of the product being shipped."
+ },
+ "description": {
+ "type": "string",
+ "description": "Specifies elabaorate material description and other technical details of the product beingshipped."
+ }
+ },
+ "description": "Specifies the localized attribute details."
+ },
+ "Localization": {
+ "type": "object",
+ "properties": {
+ "localization": {
+ "type": "string",
+ "description": "Two letter language code.
Example: EN
click here to see Locales",
+ "example": "EN"
+ },
+ "localeCode": {
+ "type": "string",
+ "description": "Two letter region code.
Example: us
click here to see Locales",
+ "example": "us"
+ }
+ },
+ "description": "Specify locale details for composing email with the document."
+ },
"Message": {
"type": "object",
"properties": {
@@ -814,36 +871,24 @@
}
}
},
- "CXSAlert": {
+ "Parameter": {
"type": "object",
"properties": {
- "code": {
- "type": "string",
- "description": "Specifies the API alert code."
- },
- "alertType": {
+ "value": {
"type": "string",
- "description": "Specifies the API alert type.",
- "enum": [
- "NOTE",
- "WARNING"
- ]
+ "description": "Identifies the error option to be applied.",
+ "example": "packagingType can not be null"
},
- "parameterList": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Parameter"
- }
- },
- "message": {
+ "key": {
"type": "string",
- "description": "Specifies the API alert message."
+ "description": "Indicates the value associated with the key.",
+ "example": "NotNull.specialServicesOptionsInputVO.requestedShipment.packagingType"
}
- }
+ },
+ "description": "List of parameters which indicates the properties of the alert message."
},
"Money": {
"type": "object",
- "description": "Specify Insurance charges if applicable.
Note: FedEx does not provide insurance of any kind.",
"properties": {
"amount": {
"type": "number",
@@ -862,28 +907,43 @@
"name": "Currency"
}
}
- }
+ },
+ "description": "Specify Insurance charges if applicable.
Note: FedEx does not provide insurance of any kind."
},
- "Parameter": {
+ "CXSError": {
"type": "object",
"properties": {
- "value": {
+ "code": {
"type": "string",
- "description": "Identifies the error option to be applied."
+ "description": "Indicates the error code.
Example: INTERNAL.SERVER.ERROR"
},
- "key": {
- "type": "string",
- "description": "Indicates the value associated with the key."
+ "parameterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Parameter"
+ }
+ },
+ "message": {
+ "description": "Indicates the description of API error alert message.
Example: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time.",
+ "type": "string"
}
},
- "description": "List of parameters which indicates the properties of the alert message."
+ "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
},
- "CXSError": {
+ "CXSAlert": {
"type": "object",
"properties": {
"code": {
"type": "string",
- "description": "Indicates the error code.
Example: INTERNAL.SERVER.ERROR"
+ "description": "Specifies the API alert code."
+ },
+ "alertType": {
+ "type": "string",
+ "description": "Specifies the API alert type.",
+ "enum": [
+ "NOTE",
+ "WARNING"
+ ]
},
"parameterList": {
"type": "array",
@@ -892,11 +952,37 @@
}
},
"message": {
- "description": "Indicates the description of API error alert message.
Example: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time.",
- "type": "string"
+ "type": "string",
+ "description": "Specifies the API alert message."
+ }
+ }
+ },
+ "BaseProcessOutputVO": {
+ "required": [
+ "countryDetails",
+ "userMessages"
+ ],
+ "type": "object",
+ "properties": {
+ "userMessages": {
+ "type": "array",
+ "description": "Represents User Message",
+ "items": {
+ "$ref": "#/components/schemas/RegulatoryMessage"
+ }
+ },
+ "countryDetails": {
+ "description": "Represents Country Details",
+ "$ref": "#/components/schemas/RegulatoryCountryDetails"
+ },
+ "cxsalerts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CXSAlert"
+ }
}
},
- "description": "Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter"
+ "description": "ShipmentRegulatoryDetailsOutputVO Model"
},
"ErrorResponseVO": {
"type": "object",
diff --git a/resources/models/ground-eod-close/v1.json b/resources/models/ground-eod-close/v1.json
index f7ad6ae3..bbaeb7aa 100644
--- a/resources/models/ground-eod-close/v1.json
+++ b/resources/models/ground-eod-close/v1.json
@@ -604,6 +604,9 @@
},
"closeDocumentSpecification": {
"$ref": "#/components/schemas/CloseDocumentSpecification"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -643,6 +646,26 @@
},
"description": "Specifies characteristics of the document to be returned for this request."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"Op950Detail": {
"type": "object",
"properties": {
@@ -695,6 +718,9 @@
},
"closeDocumentSpecification": {
"$ref": "#/components/schemas/CloseDocumentSpecification"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
diff --git a/resources/models/locations-search/v1.json b/resources/models/locations-search/v1.json
index 214e213e..c69d3d34 100644
--- a/resources/models/locations-search/v1.json
+++ b/resources/models/locations-search/v1.json
@@ -394,6 +394,30 @@
"type": "boolean",
"description": "Get a call.
Valid values: True, False.",
"example": false
+ },
+ "packagingType": {
+ "type": "string",
+ "description": "The FedEx Package Type",
+ "example": "FEDEX_PAK"
+ },
+ "totalDeclaredValue": {
+ "description": "This is the total declared value of all of the packages for the shipment",
+ "$ref": "#/components/schemas/Amounts"
+ },
+ "totalCustomsValue": {
+ "description": "This is the total customs value of all of the packages for the shipment",
+ "$ref": "#/components/schemas/Amounts"
+ },
+ "paymentType": {
+ "type": "string",
+ "description": "Duties and Taxes Payor Payment Type",
+ "example": "SENDER",
+ "enum": [
+ "SENDER",
+ "THIRD_PARTY",
+ "RECIPIENT",
+ "COLLECT"
+ ]
}
}
},
@@ -697,6 +721,16 @@
"dimensions": {
"description": "Indicate the dimensions of the package.
Following conditions will apply: - Dimensions are optional but when added, then all three dimensions must be indicated.
- Dimensions are required with YOUR_PACKAGING package type.
Note: The maximum/minimum dimension values varies based on the services and the packaging types.
Refer FedEx Service Guide for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground.",
"$ref": "#/components/schemas/Dimensions"
+ },
+ "serviceOptions": {
+ "type": "array",
+ "description": "Provide all the service Options for this package",
+ "example": [
+ "DRY_ICE"
+ ],
+ "items": {
+ "type": "string"
+ }
}
},
"example": {
@@ -709,7 +743,10 @@
"width": 40,
"units": "IN",
"height": 70
- }
+ },
+ "serviceOptions": [
+ "DRY_ICE"
+ ]
}
},
"Weight": {
@@ -776,6 +813,20 @@
"units": "CM"
}
},
+ "Amounts": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "example": 100
+ },
+ "currency": {
+ "type": "string",
+ "example": "USD"
+ }
+ },
+ "description": "The package dimension limits supported at the location."
+ },
"LoccResponseVO": {
"type": "object",
"properties": {
diff --git a/resources/models/open-ship/v1.json b/resources/models/open-ship/v1.json
index e1d6ac29..aaffc0d6 100644
--- a/resources/models/open-ship/v1.json
+++ b/resources/models/open-ship/v1.json
@@ -2233,7 +2233,8 @@
"requestedPackageLineItems",
"serviceType",
"shipper",
- "shippingChargesPayment"
+ "shippingChargesPayment",
+ "labelSpecification"
],
"type": "object",
"properties": {
@@ -2372,6 +2373,9 @@
"items": {
"$ref": "#/components/schemas/RequestedPackageLineItem"
}
+ },
+ "labelSpecification": {
+ "$ref": "#/components/schemas/LabelSpecification"
}
},
"description": "The detailed transaction data for the requested Open Shipment."
@@ -3481,9 +3485,90 @@
},
"usmcaDetail": {
"$ref": "#/components/schemas/UsmcaDetail"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ }
+ }
+ },
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.
For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_contact"
+ },
+ "address": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_address"
}
}
},
+ "ClearanceItemDetail_contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.
Example: THE GREENHOUSE",
+ "example": "THE GREENHOUSE"
+ }
+ },
+ "description": "Contact details of the manufacturer."
+ },
+ "ClearanceItemDetail_address": {
+ "type": "object",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.
Example: 98 Royal Crescent",
+ "items": {
+ "type": "string",
+ "example": "[\"98 Royal Crescent\"]"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.
Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.
Example: US",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.",
+ "example": false
+ }
+ },
+ "description": "Address of the manufacturer"
+ },
"AdditionalMeasures": {
"type": "object",
"properties": {
@@ -4157,6 +4242,17 @@
}
},
"OpenShipAction": {
+ "type": "string",
+ "description": "Indicates the optional actions that can be performed during the modification of packages in Open Shipment.Here are the values:
- CREATE_PACKAGE - Use CREATE_PACKAGE option to create Open Shipment.
- STRONG_VALIDATION \u2013 Full shipment edits: any edit that fails will cause the transaction to fail. If the transaction is successful, a tracking number may be returned and the transaction will be saved to the database (committed).
- WEAK_VALIDATION - Full shipment edits: any edit that fails will return errors but the transaction does not fail. The tracking number is returned and the transaction is saved in the database if the core edits are passed. Fix errors with the ModifyRequests transaction using the Index and returned tracking number.
- PROVIDE_DOCUMENTS_INCREMENTALLY - Used in the Print as You Go (PASGO) flow to print labels incrementally as packages are added to an open shipment.
",
+ "example": "CREATE_PACKAGE",
+ "enum": [
+ "STRONG_VALIDATION",
+ "WEAK_VALIDATION",
+ "CREATE_PACKAGE",
+ "PROVIDE_DOCUMENTS_INCREMENTALLY"
+ ]
+ },
+ "OpenShipmentAction_1": {
"type": "string",
"description": "Indicates the optional actions that can be performed during the modification of packages in Open Shipment.Here are the values:
- CREATE_PACKAGE - Use CREATE_PACKAGE option to create Open Shipment.
- STRONG_VALIDATION \u2013 Full shipment edits: any edit that fails will cause the transaction to fail. If the transaction is successful, a tracking number may be returned and the transaction will be saved to the database (committed).
- WEAK_VALIDATION - Full shipment edits: any edit that fails will return errors but the transaction does not fail. The tracking number is returned and the transaction is saved in the database if the core edits are passed. Fix errors with the ModifyRequests transaction using the Index and returned tracking number.
",
"example": "CREATE_PACKAGE",
@@ -4215,50 +4311,6 @@
},
"description": "The response elements received when a shipment is created."
},
- "TransactionOpenShipmentOutputVO": {
- "type": "object",
- "properties": {
- "serviceType": {
- "type": "string",
- "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
- "example": "FEDEX_2_DAY_FREIGHT"
- },
- "shipDatestamp": {
- "type": "string",
- "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
- "example": "2010-03-04"
- },
- "serviceCategory": {
- "type": "string",
- "description": "Indicates service category.
Example: EXPRESS",
- "example": "EXPRESS"
- },
- "serviceName": {
- "type": "string",
- "description": "Describes the service name for the shipment.
Example: FedEx Ground",
- "example": "FedEx 2 Day Freight"
- },
- "alerts": {
- "type": "array",
- "description": "These are alert details received in the response.",
- "items": {
- "$ref": "#/components/schemas/Alert"
- }
- },
- "completedShipmentDetail": {
- "$ref": "#/components/schemas/CompletedShipmentDetail"
- },
- "shipmentAdvisoryDetails": {
- "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
- },
- "masterTrackingNumber": {
- "type": "string",
- "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
- "example": "794953535000"
- }
- },
- "description": "Specifies shipping transaction output details"
- },
"Alert": {
"type": "object",
"properties": {
@@ -5913,7 +5965,7 @@
"$ref": "#/components/schemas/OpenshipmentRequestedShipment"
},
"openShipmentAction": {
- "$ref": "#/components/schemas/OpenShipAction"
+ "$ref": "#/components/schemas/OpenShipmentAction_1"
},
"accountNumber": {
"$ref": "#/components/schemas/PartyAccountNumber"
@@ -6001,12 +6053,20 @@
},
"accountNumber": {
"$ref": "#/components/schemas/PartyAccountNumber"
+ },
+ "openShipmentAction": {
+ "type": "string",
+ "description": "Indicates the optional actions that can be performed during the modification of packages in Open Shipment.Here are the value:
- PROVIDE_DOCUMENTS_INCREMENTALLY- Used in the Print as You Go (PASGO) flow to print labels incrementally as packages are added to an open shipment.
",
+ "example": "PROVIDE_DOCUMENTS_INCREMENTALLY",
+ "enum": [
+ "PROVIDE_DOCUMENTS_INCREMENTALLY"
+ ]
}
}
},
"LABELRESPONSEOPTIONS": {
"type": "string",
- "description": "Specify whether the encoded bytecode or the label URL to be returned in the response.Valid values:
- LABEL – Indicates request is for encoded bytecode.
- URL_ONLY – Indicates label URL request.
Note: For asynchronous shipment (More than 40 packages) request only the value LABEL is suported.
Note: With URL_ONLY option, the URL once created will be active for 12 hours.",
+ "description": "Specify whether the encoded bytecode or the label URL to be returned in the response.Valid values:
- LABEL – Indicates request is for encoded bytecode.
- URL_ONLY – Indicates label URL request.
Note:
- For asynchronous shipment (More than 40 packages) request only the value LABEL is supported.
- With URL_ONLY option, the URL once created will be active for 12 hours.
- Label will be returned as Base64 ONLY when openShipmentAction is PROVIDE_DOCUMENTS_INCREMENTALLY
",
"example": "LABEL",
"enum": [
"URL_ONLY",
@@ -6813,64 +6873,6 @@
},
"description": "The response elements received when a shipment is created."
},
- "TransactionShipmentOutputVO": {
- "type": "object",
- "properties": {
- "serviceType": {
- "type": "string",
- "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
- "example": "STANDARD_OVERNIGHT"
- },
- "shipDatestamp": {
- "type": "string",
- "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
- "example": "2010-03-04"
- },
- "serviceCategory": {
- "type": "string",
- "description": "Indicates the Service Category.
Example: EXPRESS",
- "example": "EXPRESS"
- },
- "shipmentDocuments": {
- "type": "array",
- "description": "These are shipping document details.",
- "items": {
- "$ref": "#/components/schemas/LabelResponseVO"
- }
- },
- "pieceResponses": {
- "type": "array",
- "description": "These are pieces information received in the response.",
- "items": {
- "$ref": "#/components/schemas/PieceResponse"
- }
- },
- "serviceName": {
- "type": "string",
- "description": "This is the service name associated with the shipment.
Example: FedEx Ground",
- "example": "FedEx 2 Day Freight"
- },
- "alerts": {
- "type": "array",
- "description": "These are alert details received in the response.",
- "items": {
- "$ref": "#/components/schemas/Alert"
- }
- },
- "completedShipmentDetail": {
- "$ref": "#/components/schemas/CompletedShipmentDetail"
- },
- "shipmentAdvisoryDetails": {
- "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
- },
- "masterTrackingNumber": {
- "type": "string",
- "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
- "example": "794953535000"
- }
- },
- "description": "Specifies shipping transaction output details"
- },
"LabelResponseVO": {
"type": "object",
"properties": {
@@ -6938,169 +6940,44 @@
},
"description": "These are shipping document/label specific information."
},
- "PieceResponse": {
+ "TransactionDetailVO": {
"type": "object",
"properties": {
- "netChargeAmount": {
- "type": "number",
- "description": "Indicates the net charges amount.
Example: 21.45",
- "format": "double",
- "example": 21.45
- },
"transactionDetails": {
- "type": "array",
- "description": "Indicates data received that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.",
- "items": {
- "$ref": "#/components/schemas/TransactionDetailVO"
- }
- },
- "packageDocuments": {
- "type": "array",
- "description": "These are package documents returned in the response.",
- "items": {
- "$ref": "#/components/schemas/LabelResponseVO"
- }
- },
- "acceptanceTrackingNumber": {
- "type": "string",
- "description": "Indicates the acceptance tracking number.
Example: 7949XXXXX5000",
- "example": "794953535000"
- },
- "serviceCategory": {
"type": "string",
- "description": "Indicates the service category.",
- "example": "EXPRESS",
- "enum": [
- "EXPRESS",
- "GROUND",
- "EXPRESS_FREIGHT",
- "FREIGHT",
- "SMARTPOST",
- "EXPRESS_PARCEL",
- "NULL"
- ]
+ "description": "Includes data returned which governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.
Example: transactionDetails",
+ "example": "transactionDetails"
},
- "listCustomerTotalCharge": {
+ "transactionId": {
"type": "string",
- "description": "Indicates total charges applicable to the customer.
Example: listCustomerTotalCharge",
- "example": "listCustomerTotalCharge"
+ "description": "This element has a unique identifier added in your request, helps you match the request to the reply. Maximum of 40 characters allowed.
Example: XXXX_XXX123XXXXX.",
+ "example": "12345"
+ }
+ }
+ },
+ "FullSchema-modifyPackageInOpenShipment": {
+ "required": [
+ "accountNumber",
+ "index",
+ "requestedPackageLineItem",
+ "trackingId"
+ ],
+ "type": "object",
+ "properties": {
+ "requestedPackageLineItem": {
+ "description": "Contains the data for the package that is to be modified in the open shipment.",
+ "$ref": "#/components/schemas/RequestedPackageLineItem"
},
- "deliveryTimestamp": {
+ "index": {
"type": "string",
- "description": "Indicates delivery date.
Example: 2012-09-23",
- "example": "2012-09-23"
+ "description": "This is a unique value assigned to the already created Open Shipment. If this isn\u2019t available then provide the master tracking number.
Example: Test1234",
+ "example": "Test1234"
},
- "trackingIdType": {
- "type": "string",
- "description": "Indicates the type of the tracking identifier.",
- "example": "FEDEX"
+ "OpenShipAction": {
+ "$ref": "#/components/schemas/OpenShipmentAction_1"
},
- "additionalChargesDiscount": {
- "type": "number",
- "description": "These are additional charges or discounts.
Example: 621.45",
- "format": "double",
- "example": 621.45
- },
- "netListRateAmount": {
- "type": "number",
- "description": "Indicates the net List rate amount.
Example: 1.45",
- "format": "double",
- "example": 1.45
- },
- "baseRateAmount": {
- "type": "number",
- "description": "Specifies the base rate amount.
Example: 321.45",
- "format": "double",
- "example": 321.45
- },
- "packageSequenceNumber": {
- "type": "integer",
- "description": "Indicates package sequence number.
Example: 215",
- "format": "int32",
- "example": 215
- },
- "netDiscountAmount": {
- "type": "number",
- "description": "Specifies the net discount amount.
Example: 121.45",
- "format": "double",
- "example": 121.45
- },
- "codcollectionAmount": {
- "type": "number",
- "description": "Specifies the Collect on Delivery collection amount.
Example: 231.45",
- "format": "double",
- "example": 231.45
- },
- "masterTrackingNumber": {
- "type": "string",
- "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794XXXXX5000",
- "example": "794953535000"
- },
- "acceptanceType": {
- "type": "string",
- "description": "Indicates acceptance type.",
- "example": "acceptanceType"
- },
- "trackingNumber": {
- "type": "string",
- "description": "This is a tracking number associated with this package.
Example: 49XXX0000XXX20032835",
- "example": "794953535000"
- },
- "successful": {
- "type": "boolean",
- "description": "Returns true if the responses are successful otherwise false.",
- "example": true
- },
- "customerReferences": {
- "type": "array",
- "description": "These are additional customer reference data.
Note: The groupPackageCount must be specified to retrieve customer references.",
- "items": {
- "$ref": "#/components/schemas/CustomerReference"
- }
- }
- },
- "description": "Piece Response information."
- },
- "TransactionDetailVO": {
- "type": "object",
- "properties": {
- "transactionDetails": {
- "type": "string",
- "description": "Includes data returned which governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.
Example: transactionDetails",
- "example": "transactionDetails"
- },
- "transactionId": {
- "type": "string",
- "description": "This element has a unique identifier added in your request, helps you match the request to the reply. Maximum of 40 characters allowed.
Example: XXXX_XXX123XXXXX.",
- "example": "12345"
- }
- }
- },
- "FullSchema-modifyPackageInOpenShipment": {
- "required": [
- "accountNumber",
- "index",
- "requestedPackageLineItem",
- "trackingId"
- ],
- "type": "object",
- "properties": {
- "requestedPackageLineItem": {
- "description": "Contains the data for the package that is to be modified in the open shipment.",
- "$ref": "#/components/schemas/RequestedPackageLineItem"
- },
- "index": {
- "type": "string",
- "description": "This is a unique value assigned to the already created Open Shipment. If this isn\u2019t available then provide the master tracking number.
Example: Test1234",
- "example": "Test1234"
- },
- "shipAction": {
- "description": "Allowed values are STRONG_VALIDATION, PROVIDE_DOCUMENTS_INCREMENTALLY",
- "example": "STRONG_VALIDATION",
- "$ref": "#/components/schemas/OpenShipAction"
- },
- "accountNumber": {
- "$ref": "#/components/schemas/PartyAccountNumber"
+ "accountNumber": {
+ "$ref": "#/components/schemas/PartyAccountNumber"
},
"trackingId": {
"$ref": "#/components/schemas/TrackingId"
@@ -7169,10 +7046,8 @@
"description": "This is a unique value assigned to the already created Open Shipment. If this isn\u2019t available then provide the master tracking number.
Example: Test1234",
"example": "Test1234"
},
- "shipAction": {
- "description": "There are Ship actions as part of processing the shipment.",
- "example": "STRONG_VALIDATION",
- "$ref": "#/components/schemas/OpenShipmentAction"
+ "OpenShipAction": {
+ "$ref": "#/components/schemas/OpenShipmentAction_1"
},
"accountNumber": {
"$ref": "#/components/schemas/PartyAccountNumber"
@@ -8168,7 +8043,7 @@
"properties": {
"value": {
"type": "string",
- "description": "Conditional.
The account number value.
Max Length is 9.
Example: 12XXXXX89
NOTE:- FedEx Account number is required for FedEx International Connect Plus (FICP) service shipments from APAC to US or PR with duty & tax Bill-to recipient:
if any of the shipment commodities\u2019 Country of Manufacture is CN/HK"
+ "description": "Conditional.
The account number value.
Max Length is 9.
Example: 12XXXXX89
NOTE: A FedEx account number is required for FedEx International Connect Plus (FICP) service non-document shipments. This applies to shipments from APAC countries and territories to U.S. or PR with duty and tax bill-to recipient if any shipment commodities\u2019 country of manufacture is AU, CN, HK, ID, JP, KR, MO, MY, NZ, PH, SG, TH, TW, VN (APAC countries and territories)."
}
},
"description": "This is FedEx Account number details.",
@@ -8263,6 +8138,129 @@
}
}
},
+ "PieceResponse": {
+ "type": "object",
+ "properties": {
+ "netChargeAmount": {
+ "type": "number",
+ "description": "Indicates the net charges amount.
Example: 21.45",
+ "format": "double",
+ "example": 21.45
+ },
+ "transactionDetails": {
+ "type": "array",
+ "description": "Indicates data received that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.",
+ "items": {
+ "$ref": "#/components/schemas/TransactionDetailVO"
+ }
+ },
+ "packageDocuments": {
+ "type": "array",
+ "description": "These are package documents returned in the response.",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "acceptanceTrackingNumber": {
+ "type": "string",
+ "description": "Indicates the acceptance tracking number.
Example: 7949XXXXX5000",
+ "example": "794953535000"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates the service category.",
+ "example": "EXPRESS",
+ "enum": [
+ "EXPRESS",
+ "GROUND",
+ "EXPRESS_FREIGHT",
+ "FREIGHT",
+ "SMARTPOST",
+ "EXPRESS_PARCEL",
+ "NULL"
+ ]
+ },
+ "listCustomerTotalCharge": {
+ "type": "string",
+ "description": "Indicates total charges applicable to the customer.
Example: listCustomerTotalCharge",
+ "example": "listCustomerTotalCharge"
+ },
+ "deliveryTimestamp": {
+ "type": "string",
+ "description": "Indicates delivery date.
Example: 2012-09-23",
+ "example": "2012-09-23"
+ },
+ "trackingIdType": {
+ "type": "string",
+ "description": "Indicates the type of the tracking identifier.",
+ "example": "FEDEX"
+ },
+ "additionalChargesDiscount": {
+ "type": "number",
+ "description": "These are additional charges or discounts.
Example: 621.45",
+ "format": "double",
+ "example": 621.45
+ },
+ "netListRateAmount": {
+ "type": "number",
+ "description": "Indicates the net List rate amount.
Example: 1.45",
+ "format": "double",
+ "example": 1.45
+ },
+ "baseRateAmount": {
+ "type": "number",
+ "description": "Specifies the base rate amount.
Example: 321.45",
+ "format": "double",
+ "example": 321.45
+ },
+ "packageSequenceNumber": {
+ "type": "integer",
+ "description": "Indicates package sequence number.
Example: 215",
+ "format": "int32",
+ "example": 215
+ },
+ "netDiscountAmount": {
+ "type": "number",
+ "description": "Specifies the net discount amount.
Example: 121.45",
+ "format": "double",
+ "example": 121.45
+ },
+ "codcollectionAmount": {
+ "type": "number",
+ "description": "Specifies the Collect on Delivery collection amount.
Example: 231.45",
+ "format": "double",
+ "example": 231.45
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794XXXXX5000",
+ "example": "794953535000"
+ },
+ "acceptanceType": {
+ "type": "string",
+ "description": "Indicates acceptance type.",
+ "example": "acceptanceType"
+ },
+ "trackingNumber": {
+ "type": "string",
+ "description": "This is a tracking number associated with this package.
Example: 49XXX0000XXX20032835",
+ "example": "794953535000"
+ },
+ "successful": {
+ "type": "boolean",
+ "description": "Returns true if the responses are successful otherwise false.",
+ "example": true
+ },
+ "customerReferences": {
+ "type": "array",
+ "description": "These are additional customer reference data.
Note: The groupPackageCount must be specified to retrieve customer references.",
+ "items": {
+ "$ref": "#/components/schemas/CustomerReference"
+ }
+ }
+ },
+ "description": "Piece Response information."
+ },
"HazardousCommodityQuantityDetail": {
"required": [
"amount",
@@ -8521,6 +8519,115 @@
}
}
},
+ "TransactionOpenShipmentOutputVO": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
+ "example": "FEDEX_2_DAY_FREIGHT"
+ },
+ "shipDatestamp": {
+ "type": "string",
+ "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates service category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "pieceResponses": {
+ "type": "array",
+ "description": "These are pieces information received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "Describes the service name for the shipment.
Example: FedEx Ground",
+ "example": "FedEx 2 Day Freight"
+ },
+ "alerts": {
+ "type": "array",
+ "description": "These are alert details received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/Alert"
+ }
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
+ "TransactionShipmentOutputVO": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
+ "example": "STANDARD_OVERNIGHT"
+ },
+ "shipDatestamp": {
+ "type": "string",
+ "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates the Service Category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "shipmentDocuments": {
+ "type": "array",
+ "description": "These are shipping document details.",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "pieceResponses": {
+ "type": "array",
+ "description": "These are pieces information received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "This is the service name associated with the shipment.
Example: FedEx Ground",
+ "example": "FedEx 2 Day Freight"
+ },
+ "alerts": {
+ "type": "array",
+ "description": "These are alert details received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/Alert"
+ }
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
"PartyAddress": {
"required": [
"city",
@@ -8532,7 +8639,7 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "This is the combination of number, street name, etc. Maximum length per line is 35.
Example: 10 FedEx Parkway, Suite 302.Note:- At least one line is required.
- Streetlines more than 3 will be ignored.
- Empty lines should not be included
- For SmartPost Shipments, only 30 characters from the individual street lines will be printed on the labels.
",
+ "description": "This is the Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Note - For FedEx Ground Economy, a maximum of 30 characters will be printed on the label, excess characters will be truncated.",
"example": [
"1550 Union Blvd",
"Suite 302"
@@ -8954,7 +9061,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty"
}
},
- "description": "Indicate the payer Information responsible for paying for the shipment.
Note: credit card payment is not applicable.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Indicate the payer Information responsible for paying for the shipment.
Note: credit card payment is not applicable.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY. ",
"example": {
"responsibleParty": {
"address": {
diff --git a/resources/models/pickup-request/v1.json b/resources/models/pickup-request/v1.json
index b17168f2..ccc8d413 100644
--- a/resources/models/pickup-request/v1.json
+++ b/resources/models/pickup-request/v1.json
@@ -862,10 +862,81 @@
},
"pickupNotificationDetail": {
"$ref": "#/components/schemas/PickupNotificationDetail"
+ },
+ "pickupChargesPayment": {
+ "$ref": "#/components/schemas/PickupChargesPayment"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "Use this endpoint to create a pickup request."
},
+ "PickupChargesPayment": {
+ "type": "object",
+ "description": "Specifies how the pickup charges will be paid.",
+ "properties": {
+ "paymentType": {
+ "type": "string",
+ "description": "Type of payment for the pickup charges.",
+ "enum": [
+ "ACCOUNT",
+ "CASH",
+ "COLLECT",
+ "CHECK",
+ "CREDIT_CARD",
+ "RECIPIENT",
+ "SENDER",
+ "THIRD_PARTY"
+ ],
+ "example": "ACCOUNT"
+ },
+ "payor": {
+ "$ref": "#/components/schemas/Payor"
+ },
+ "payorType": {
+ "$ref": "#/components/schemas/PayorType"
+ }
+ }
+ },
+ "Payor": {
+ "type": "object",
+ "description": "Details about the party responsible for payment.",
+ "properties": {
+ "responsibleParty": {
+ "type": "object",
+ "description": "The entity paying for the pickup charges.",
+ "properties": {
+ "accountNumber": {
+ "type": "object",
+ "description": "The FedEx account number of the responsible party.",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Conditional.
The account number value. Max Length is 9.",
+ "example": "XXXXXX789"
+ },
+ "key": {
+ "type": "string",
+ "description": "The account key associated with this account number.",
+ "example": "d53b8011d262ae762da1c9a5a71XXXXX"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "PayorType": {
+ "type": "string",
+ "description": "Identifies the role of the party paying for the pickup.",
+ "enum": [
+ "RECIPIENT",
+ "SENDER",
+ "THIRD_PARTY"
+ ],
+ "example": "SENDER"
+ },
"AccountNumber": {
"type": "object",
"properties": {
@@ -1409,6 +1480,9 @@
"DOMESTIC",
"INTERNATIONAL"
]
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "These are pickup availability request elements."
@@ -1556,10 +1630,33 @@
"type": "string",
"description": "The FedEx Express location identifier responsible for processing the pickup request. This is returned in the CreatePickup response and is required to cancel a FedEx Express dispatch.Required only for FedEx Express Pickups. Optional for FedEx Ground. Example: LOSA",
"example": "LOSA"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "This is a placeholder for cancelled pickup request elements."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"CXSError": {
"type": "object",
"properties": {
@@ -1661,9 +1758,11 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "This is a combination of number, street name, etc.
Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included.
Example: [\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
+ "description": "This is a combination of number, street name, etc.
Note: At least one line is required. Empty lines should not be included. Minimum length is 3 and maximum length is 35.
Example: [\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
"items": {
"type": "string",
+ "minLength": 3,
+ "maxLength": 35,
"example": "[[\"123 Ship Street\"]]"
}
},
@@ -1728,9 +1827,11 @@
"properties": {
"streetLines": {
"type": "array",
- "description": "Specify Street line details for the given address
Example :[\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
+ "description": " This is a combination of number, street name, etc.
Note: At least one line is required. Empty lines should not be included. Minimum length is 3 and maximum length is 35.
Example :[\\\"10 FedEx Parkway\\\", \\\"Suite 302\\\"]",
"items": {
"type": "string",
+ "minLength": 3,
+ "maxLength": 35,
"example": "[[\"123 Ship Street\"]]"
}
},
diff --git a/resources/models/postal-code-validation/v1.json b/resources/models/postal-code-validation/v1.json
index 4ed2b10c..ae00c631 100644
--- a/resources/models/postal-code-validation/v1.json
+++ b/resources/models/postal-code-validation/v1.json
@@ -284,6 +284,9 @@
"type": "boolean",
"description": "This element checks for mismatch between State/Province Code and Postal Code. - When the checkForMismatch is set TRUE, for U.S. and Canada: The values in State/Province Code are checked with respect to Postal Code provided. If these entries are valid, the response provides respective State/Province Code and Postal Code. In case of mismatch of Postal Code and State/Province Code an error message is displayed.
- When the checkForMismatch is set FALSE, for U.S. and Canada: The values in State/Province Code are not checked with respect to Postal Code provided. Instead the given data is reflected in the response.
For regions other than U.S and Canada regardless of the value of checkForMismatch the State/Province Code are checked with respect to the Postal Code and the response provides the respective State/Province Code and Postal Code.",
"example": true
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for validating a postal code."
@@ -345,6 +348,26 @@
},
"description": "Indicates data returned in the postal validation reply."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"Alert": {
"type": "object",
"properties": {
diff --git a/resources/models/rates-transit-times/v1.json b/resources/models/rates-transit-times/v1.json
index 6aeb0aea..921fc669 100644
--- a/resources/models/rates-transit-times/v1.json
+++ b/resources/models/rates-transit-times/v1.json
@@ -233,6 +233,125 @@
},
"components": {
"schemas": {
+ "EdtCommodityTax": {
+ "description": "The shipment/package Duties and taxes.",
+ "type": "object",
+ "properties": {
+ "harmonizedCode": {
+ "description": "Harmonized code is used by customer to classify the product being shipped and define the duties and taxes to be paid.",
+ "type": "string",
+ "example": "harmonizedCode"
+ },
+ "taxes": {
+ "$ref": "#/components/schemas/EdtTaxDetail"
+ },
+ "total": {
+ "description": "Total of Duties and taxes",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "AncillaryFeeAndTax": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "enum": [
+ "CLEARANCE_ENTRY_FEE",
+ "GOODS_AND_SERVICES_TAX",
+ "HARMONIZED_SALES_TAX",
+ "OTHER"
+ ],
+ "example": "CLEARANCE_ENTRY_FEE"
+ },
+ "description": {
+ "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "list of AncillaryFees And Taxes",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "Rebate": {
+ "type": "object",
+ "properties": {
+ "rebateType": {
+ "description": "The type of rebate.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "EARNED",
+ "OTHER"
+ ],
+ "example": "EARNED"
+ },
+ "description": {
+ "description": "The description of the rebate",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "provides the calculated rebate amount based on customer details, transaction information, and applicable rules. ",
+ "$ref": "#/components/schemas/Money"
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "PickupDetail": {
+ "type": "object",
+ "properties": {
+ "readyDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Pickup ready date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "latestPickupDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Latest pickup date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "courierInstructions": {
+ "type": "string",
+ "description": "Special instructions for the courier",
+ "example": "Leave package at reception"
+ },
+ "requestType": {
+ "$ref": "#/components/schemas/PickupRequestType"
+ },
+ "requestSource": {
+ "$ref": "#/components/schemas/PickupRequestSourceType"
+ }
+ }
+ },
+ "PickupRequestType": {
+ "type": "string",
+ "description": "Type of pickup request",
+ "enum": [
+ "FUTURE_DAY",
+ "SAME_DAY"
+ ],
+ "example": "FUTURE_DAY"
+ },
+ "PickupRequestSourceType": {
+ "type": "string",
+ "description": "Source of the pickup request",
+ "enum": [
+ "AUTOMATION",
+ "CUSTOMER_SERVICE"
+ ],
+ "example": "AUTOMATION"
+ },
"RatcResponseVO": {
"type": "object",
"properties": {
@@ -307,6 +426,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 445.54,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 445.54,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -346,6 +479,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 445.54,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 445.54,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -385,6 +532,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 341.13,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 341.13,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -424,6 +585,20 @@
"totalVatCharge": 0,
"totalNetFedExCharge": 341.13,
"totalDutiesAndTaxes": 0,
+ "totalNetTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "amount": 12.45,
+ "currency": "USD"
+ },
+ "pickupRateDetail": {
+ "rateType": "INCENTIVE",
+ "ratingBasis": "PACK_WEIGHT_BASED",
+ "pricingCode": "ACTUAL",
+ "fuelSurchargePercent": 90.8
+ },
"totalNetChargeWithDutiesAndTaxes": 341.13,
"totalDutiesTaxesAndFees": 0,
"totalAncillaryFeesAndTaxes": 0,
@@ -1051,7 +1226,7 @@
},
{
"serviceType": "FEDEX_GROUND",
- "serviceName": "FedEx International Ground\ufffd",
+ "serviceName": "FedEx International Ground ",
"packagingType": "YOUR_PACKAGING",
"customerMessages": [
{
@@ -1767,6 +1942,317 @@
"PREFERRED_CURRENCY"
]
},
+ "totalNetTransportationAndPickupCharge": {
+ "description": "Sum of totalNetCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of pickup.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "description": "Sum of totalNetFedExCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of a pickup.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "pickupRateDetail": {
+ "description": "Charges associated with a scheduled shipment pickup",
+ "type": "object",
+ "properties": {
+ "rateType": {
+ "description": "Type used for this specific set of rate data.",
+ "type": "string",
+ "enum": [
+ "INCENTIVE",
+ "NEGOTIATED",
+ "PAYOR_ACCOUNT_PACKAGE",
+ "PAYOR_ACCOUNT_SHIPMENT",
+ "PAYOR_CUSTOM_PACKAGE",
+ "PAYOR_CUSTOM_SHIPMENT",
+ "PAYOR_LIST_PACKAGE",
+ "PAYOR_LIST_SHIPMENT",
+ "PAYOR_RETAIL_PACKAGE",
+ "PAYOR_RETAIL_SHIPMENT",
+ "PREFERRED_ACCOUNT_PACKAGE",
+ "PREFERRED_ACCOUNT_SHIPMENT",
+ "PREFERRED_CUSTOM_PACKAGE",
+ "PREFERRED_CUSTOM_SHIPMENT",
+ "PREFERRED_INCENTIVE",
+ "PREFERRED_LIST_PACKAGE",
+ "PREFERRED_LIST_SHIPMENT",
+ "PREFERRED_NEGOTIATED",
+ "PREFERRED_RETAIL_PACKAGE",
+ "PREFERRED_RETAIL_SHIPMENT",
+ "RATED_ACCOUNT_PACKAGE",
+ "RATED_ACCOUNT_SHIPMENT",
+ "RATED_CUSTOM_PACKAGE",
+ "RATED_CUSTOM_SHIPMENT",
+ "RATED_LIST_PACKAGE",
+ "RATED_LIST_SHIPMENT",
+ "RATED_RETAIL_PACKAGE",
+ "RATED_RETAIL_SHIPMENT",
+ "UNKNOWN"
+ ],
+ "example": "PAYOR_ACCOUNT_PACKAGE"
+ },
+ "rateScale": {
+ "type": "string",
+ "description": "Indicates the rate scale used.",
+ "example": "*USER IMS20160104 LD067110"
+ },
+ "rateZone": {
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "type": "string",
+ "example": "CA003O"
+ },
+ "ratingBasis": {
+ "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.
- SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.
- FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.
- PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.
",
+ "type": "string",
+ "enum": [
+ "SHIPMENT_WEIGHT_BASED",
+ "FLAT_RATE_PER_PAK",
+ "PACK_WEIGHT_BASED",
+ "UNKNOWN"
+ ],
+ "example": "SHIPMENT_WEIGHT_BASED"
+ },
+ "pricingCode": {
+ "description": "Identifies the type of pricing used for this shipment.",
+ "type": "string",
+ "enum": [
+ "ACTUAL",
+ "ALTERNATE",
+ "BASE",
+ "HUNDREDWEIGHT",
+ "HUNDREDWEIGHT_ALTERNATE",
+ "INTERNATIONAL_DISTRIBUTION",
+ "INTERNATIONAL_ECONOMY_SERVICE",
+ "LTL_FREIGHT",
+ "PACKAGE",
+ "SHIPMENT",
+ "SHIPMENT_FIVE_POUND_OPTIONAL",
+ "SHIPMENT_OPTIONAL",
+ "SPECIAL",
+ "UNKNOWN"
+ ],
+ "example": "ACTUAL"
+ },
+ "minimumChargeType": {
+ "description": "provides the minimum charge type applicable to the rates.",
+ "type": "string",
+ "enum": [
+ "CUSTOMER",
+ "CUSTOMER_FREIGHT_WEIGHT",
+ "EARNED_DISCOUNT",
+ "MIXED",
+ "RATE_SCALE",
+ "UNKNOWN"
+ ],
+ "example": "EARNED_DISCOUNT"
+ },
+ "currencyExchangeRate": {
+ "$ref": "#/components/schemas/CurrencyExchangeRate"
+ },
+ "specialRatingApplied": {
+ "type": "array",
+ "description": "Indicates which special rating cases applied to this shipment.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FEDEX_ONE_RATE",
+ "FIXED_FUEL_SURCHARGE",
+ "IMPORT_PRICING"
+ ]
+ },
+ "example": "FEDEX_ONE_RATE"
+ },
+ "fuelSurchargePercent": {
+ "description": "Specify a fuel surcharge percentage.",
+ "format": "double",
+ "type": "number",
+ "example": 121
+ },
+ "pickupBaseChargeDescription": {
+ "description": "Will indicate the pickup charge description of the on call pickup",
+ "type": "string",
+ "enum": [
+ "Regularly Scheduled Pickup Mon-Fri",
+ "Automated Pickup Mon-Fri",
+ "Same Day OC Pickup Mon-Fri (CS)",
+ "Same Day OC Pickup Mon-Fri (Online)",
+ "Fut. Day OC Pickup Mon-Fri (CS)",
+ "Fut. Day OC Pickup Mon-Fri (Online)",
+ "Regularly Scheduled Pickup Sat",
+ "Automated Pickup Sat",
+ "Same Day OC Pickup Sat (CS)",
+ "Same Day OC Pickup Sat (Online)",
+ "Fut. Day OC Pickup Sat (CS)",
+ "Fut. Day OC Pickup Sat (Online)",
+ "Regularly Scheduled Pickup Sun",
+ "Automated Pickup Sun",
+ "Same Day OC Pickup Sun (CS)",
+ "Same Day OC Pickup Sun (Online)",
+ "Fut. Day OC Pickup Sun (CS)",
+ "Fut. Day OC Pickup Sun (Online)",
+ "Residential On-Call Pickup Surcharge",
+ "Pickup Area Surcharge",
+ "Extended Pickup Area Surcharge",
+ "Remote Pickup Area Surcharge",
+ "Fuel Surcharge"
+ ],
+ "example": "Pickup Area Surcharge"
+ },
+ "totalBaseCharge": {
+ "description": "Total base charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalFreightDiscounts": {
+ "description": "The total discounts used in the rate calculation.
Example: 1257.26",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetFreight": {
+ "description": "This shipment's totalNetFreight.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalSurcharges": {
+ "description": "The sum of all surcharges on the package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetFedExCharge": {
+ "description": "This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalTaxes": {
+ "description": "The sum of all taxes on this package.
Example: 1257.25",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetCharge": {
+ "description": "Total net charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalRebates": {
+ "description": "The total sum of all rebates applied to this package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalDutiesAndTaxes": {
+ "description": "The sum of shipment/package Duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalAncillaryFeesAndTaxes": {
+ "description": "Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalDutiesTaxesAndFees": {
+ "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "totalNetChargeWithDutiesAndTaxes": {
+ "description": "Total netChargesWithDutiesAndTaxes for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money"
+ }
+ ]
+ },
+ "freightDiscounts": {
+ "description": "All rate discounts that apply to this shipment",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RateDiscount"
+ }
+ },
+ "rebates": {
+ "description": "The all rebates applied to this package.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Rebate"
+ }
+ },
+ "surcharges": {
+ "description": "The amount of surcharges applied to this shipment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Surcharge"
+ }
+ },
+ "taxes": {
+ "description": "List of taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Tax"
+ }
+ },
+ "dutiesAndTaxes": {
+ "description": "List of The shipment/package Duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/EdtCommodityTax"
+ }
+ },
+ "ancillaryFeesAndTaxes": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/AncillaryFeeAndTax"
+ }
+ },
+ "variableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges"
+ }
+ ]
+ },
+ "totalVariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges"
+ }
+ ]
+ }
+ }
+ },
"ratedWeightMethod": {
"type": "string",
"description": "Indicates which weight was used for the rate.
Example: 'ACTUAL'",
@@ -1806,7 +2292,7 @@
"example": 445.54
},
"variableHandlingCharges": {
- "$ref": "#/components/schemas/VariableHandlingCharges"
+ "$ref": "#/components/schemas/VariableHandlingCharges_2"
},
"edtCharges": {
"type": "array",
@@ -1860,7 +2346,7 @@
]
},
"totalVariableHandlingCharges": {
- "$ref": "#/components/schemas/VariableHandlingCharges"
+ "$ref": "#/components/schemas/VariableHandlingCharges_2"
},
"totalVatCharge": {
"type": "number",
@@ -1906,29 +2392,11 @@
},
"description": "This object provides the shipment and package rating data in a rate request reply."
},
- "VariableHandlingCharges": {
- "type": "object",
- "properties": {
- "totalCustomerCharge": {
- "type": "number",
- "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
- "format": "double",
- "example": 445.54
- },
- "variableHandlingCharge": {
- "type": "number",
- "description": "The variable handling charge amount calculated based on the requested variable handling charge detail.
Example: 403.2",
- "format": "double",
- "example": 403.2
- }
- },
- "description": "The variable handling charge amount calculated based on the requested variable handling charge detail."
- },
"EdtCharge": {
"type": "object",
"properties": {
"edtTaxDetail": {
- "$ref": "#/components/schemas/EdtTaxDetail"
+ "$ref": "#/components/schemas/EdtTaxDetail_2"
},
"harmonizedCode": {
"type": "string",
@@ -1938,49 +2406,6 @@
},
"description": "estimated duties and tax charge"
},
- "EdtTaxDetail": {
- "type": "object",
- "properties": {
- "edtTaxType": {
- "type": "string",
- "description": "Specifies the Estimated duties and taxes type.
Example: TaxType",
- "example": "TaxType"
- },
- "amount": {
- "type": "number",
- "description": "Specifies the amount for the estimated duties and taxes type.
Example: 785.12",
- "format": "double",
- "example": 785.12
- },
- "taxableValue": {
- "type": "number",
- "description": "Specifies the Estimated duties and taxes taxable Value.
Example: 562.23",
- "format": "double",
- "example": 562.23
- },
- "name": {
- "type": "string",
- "description": "Indicates the name for the Etd tax.",
- "example": "name"
- },
- "description": {
- "type": "string",
- "description": "Indicates the description for the Etd tax.",
- "example": "description"
- },
- "formula": {
- "type": "string",
- "description": "Indicates the formula.",
- "example": "formula"
- },
- "effectiveDate": {
- "type": "string",
- "description": "Specifies the Estimated duties and taxes effective date. Format [YYYY-MM-DD].
Example: 2019-12-06",
- "example": "2019-12-06"
- }
- },
- "description": "Specifies the Estimated duties and taxes detail."
- },
"RatedPackageDetail": {
"type": "object",
"properties": {
@@ -2050,7 +2475,7 @@
"type": "array",
"description": "Specifies the list of all surcharges that apply to this package.",
"items": {
- "$ref": "#/components/schemas/Surcharge"
+ "$ref": "#/components/schemas/Surcharge_2"
}
},
"totalSurcharges": {
@@ -2075,7 +2500,7 @@
"type": "array",
"description": "All rate discounts that apply to this shipment.
Click here to see Discounts",
"items": {
- "$ref": "#/components/schemas/RateDiscount"
+ "$ref": "#/components/schemas/RateDiscount_2"
}
}
},
@@ -2179,7 +2604,7 @@
"type": "array",
"description": "This is total discount used in the rate calculation.
Click here to see Discounts",
"items": {
- "$ref": "#/components/schemas/RateDiscount"
+ "$ref": "#/components/schemas/RateDiscount_2"
}
},
"fuelSurchargePercent": {
@@ -2206,14 +2631,14 @@
"type": "array",
"description": "Indicates the surcharges applied to this shipment.",
"items": {
- "$ref": "#/components/schemas/Surcharge"
+ "$ref": "#/components/schemas/Surcharge_2"
}
},
"taxes": {
"description": "List of taxes.",
"type": "array",
"items": {
- "$ref": "#/components/schemas/Tax"
+ "$ref": "#/components/schemas/Tax_2"
}
}
},
@@ -2798,6 +3223,17 @@
"requestedShipment": {
"$ref": "#/components/schemas/RequestedShipment"
},
+ "processingOptions": {
+ "type": "array",
+ "description": "Array of processing options for the shipment.",
+ "items": {
+ "type": "string",
+ "example": "INCLUDE_PICKUPRATES",
+ "enum": [
+ "INCLUDE_PICKUPRATES"
+ ]
+ }
+ },
"carrierCodes": {
"type": "array",
"description": "Specify the four letter code of a FedEx operating company that meets your requirements.
Example: FDXE
- FDXE - FedEx Express
- FDXG - FedEx Ground
- FXSP - FedEx SmartPost
- FXCC - FedEx Custom Critical.
",
@@ -2808,10 +3244,33 @@
"items": {
"type": "string"
}
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for requesting a rate quote."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"RateRequestControlParameters": {
"type": "object",
"properties": {
@@ -2862,6 +3321,9 @@
"description": "The descriptive data for the physical shipper location from which the shipment originates.",
"$ref": "#/components/schemas/RateParty"
},
+ "pickupDetail": {
+ "$ref": "#/components/schemas/PickupDetail"
+ },
"recipient": {
"description": "Indicate the descriptive data for the recipient location to which the shipment is to be received.",
"$ref": "#/components/schemas/RateParty"
@@ -4079,77 +4541,14 @@
"value": 10
}
},
- "Surcharge": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "number",
- "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.
Example: 87.5",
- "format": "double",
- "example": 87.5
- },
- "level": {
- "type": "string",
- "description": "The level of surcharge.
Example: level",
- "example": "level"
- },
- "name": {
- "type": "string",
- "description": "The localized name of the surcharge.
Example: name",
- "example": "name"
- },
- "description": {
- "type": "string",
- "description": "The description of the surcharge.
Example: description",
- "example": "description"
- },
- "type": {
- "type": "string",
- "description": "The type of surcharge.
Example: type",
- "example": "type"
- }
- }
- },
- "RateDiscount": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "number",
- "description": "Indicates the amount for the rate discount.
Example: 87.5",
- "format": "double",
- "example": 87.5
- },
- "name": {
- "type": "string",
- "description": "Indicate the name of the discount.Click here to see Discounts
Example: name",
- "example": "name"
- },
- "description": {
- "type": "string",
- "description": "Indicates the description for the rate discount.
Example: Description",
- "example": "description"
- },
- "type": {
- "type": "string",
- "description": "Indicates the type.
Example: type",
- "example": "type"
- },
- "percent": {
- "type": "number",
- "description": "Indicates the percentage of the rate discount.
Example: 10.5",
- "format": "double",
- "example": 10.5
- }
- }
- },
- "ShipmentLegRateDetail": {
+ "ShipmentLegRateDetail": {
"type": "object",
"properties": {
"discounts": {
"type": "array",
"description": "Specifies the list of discounts.
Click here to see Discounts",
"items": {
- "$ref": "#/components/schemas/RateDiscount"
+ "$ref": "#/components/schemas/RateDiscount_2"
}
},
"pricingCode": {
@@ -4166,7 +4565,7 @@
"type": "array",
"description": "Specifies the list of surcharges.
Valid value is:PEAKPEAK_ADDTIONAL_HANDLINGPEAK_OVERSIZEPEAK_RESIDENTIAL_DELIVERY",
"items": {
- "$ref": "#/components/schemas/Surcharge"
+ "$ref": "#/components/schemas/Surcharge_2"
}
},
"specialRatingApplied": {
@@ -4180,7 +4579,7 @@
"type": "array",
"description": "Specifies the list of taxes.",
"items": {
- "$ref": "#/components/schemas/Tax"
+ "$ref": "#/components/schemas/Tax_2"
}
},
"rateScale": {
@@ -4213,33 +4612,6 @@
}
}
},
- "Tax": {
- "description": "Tax surcharge details",
- "type": "object",
- "properties": {
- "amount": {
- "description": "Tax amount.
Example: 408.97",
- "format": "double",
- "type": "number",
- "example": 408.97
- },
- "name": {
- "description": "The localized name of the tax.
Example: Denmark VAT",
- "type": "string",
- "example": "Denmark VAT"
- },
- "description": {
- "description": "The description of the Surcharge/Tax.
Example: Denmark VAT",
- "type": "string",
- "example": "Denmark VAT"
- },
- "type": {
- "description": "The type of Surcharge/Tax.
Example: VAT",
- "type": "string",
- "example": "VAT"
- }
- }
- },
"Address": {
"type": "object",
"properties": {
@@ -4480,6 +4852,495 @@
"units": "CM"
}
},
+ "EdtTaxDetail": {
+ "description": "Estimated duties and taxes detail.",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Estimated taxes type",
+ "type": "string",
+ "enum": [
+ "ADDITIONAL_TAXES",
+ "CONSULAR_INVOICE_FEE",
+ "CUSTOMS_SURCHARGES",
+ "DUTY",
+ "EXCISE_TAX",
+ "FOREIGN_EXCHANGE_TAX",
+ "GENERAL_SALES_TAX",
+ "IMPORT_LICENSE_FEE",
+ "INTERNAL_ADDITIONAL_TAXES",
+ "INTERNAL_SENSITIVE_PRODUCTS_TAX",
+ "OTHER",
+ "SENSITIVE_PRODUCTS_TAX",
+ "STAMP_TAX",
+ "STATISTICAL_TAX",
+ "TRANSPORT_FACILITIES_TAX"
+ ],
+ "example": "INCENTIVE"
+ },
+ "taxcode": {
+ "type": "string",
+ "example": "taxcode"
+ },
+ "effectiveDate": {
+ "description": "Estimated duties and taxes effective date. Format [YYYY-MM-DD].",
+ "type": "string",
+ "example": "2019-12-06"
+ },
+ "name": {
+ "description": "The localized name of the surcharge.",
+ "type": "string",
+ "example": "VAT"
+ },
+ "taxableValue": {
+ "description": "Estimated duties and taxes taxable Value.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "description": {
+ "description": "FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible",
+ "type": "string",
+ "example": "Christmas"
+ },
+ "formula": {
+ "description": "Indicates the formula.",
+ "type": "string",
+ "example": "VAT Payable = Output VAT \u2013 Input VAT"
+ },
+ "amount": {
+ "description": "Amount for the estimated duties and taxes type.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "taxRates": {
+ "description": "Estimated duties and taxes taxRates",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "example": null
+ },
+ "currency": {
+ "type": "string",
+ "example": null
+ },
+ "quantity": {
+ "format": "double",
+ "type": "number",
+ "example": null
+ },
+ "unitOfMeasure": {
+ "type": "string",
+ "example": null
+ }
+ }
+ }
+ },
+ "appliedPreferentialTradeAgreement": {
+ "description": "provides details about PTA applied between countries for specific product. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "name": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "description": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ }
+ }
+ }
+ }
+ },
+ "EdtTaxDetail_2": {
+ "type": "object",
+ "properties": {
+ "edtTaxType": {
+ "type": "string",
+ "description": "Specifies the Estimated duties and taxes type.
Example: TaxType",
+ "example": "TaxType"
+ },
+ "amount": {
+ "type": "number",
+ "description": "Specifies the amount for the estimated duties and taxes type.
Example: 785.12",
+ "format": "double",
+ "example": 785.12
+ },
+ "taxableValue": {
+ "type": "number",
+ "description": "Specifies the Estimated duties and taxes taxable Value.
Example: 562.23",
+ "format": "double",
+ "example": 562.23
+ },
+ "name": {
+ "type": "string",
+ "description": "Indicates the name for the Etd tax.",
+ "example": "name"
+ },
+ "description": {
+ "type": "string",
+ "description": "Indicates the description for the Etd tax.",
+ "example": "description"
+ },
+ "formula": {
+ "type": "string",
+ "description": "Indicates the formula.",
+ "example": "formula"
+ },
+ "effectiveDate": {
+ "type": "string",
+ "description": "Specifies the Estimated duties and taxes effective date. Format [YYYY-MM-DD].
Example: 2019-12-06",
+ "example": "2019-12-06"
+ }
+ },
+ "description": "Specifies the Estimated duties and taxes detail."
+ },
+ "VariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "type": "object",
+ "properties": {
+ "variableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "$ref": "#/components/schemas/Money"
+ },
+ "fixedVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "percentVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "$ref": "#/components/schemas/Money"
+ },
+ "totalCustomerCharge": {
+ "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "VariableHandlingCharges_2": {
+ "type": "object",
+ "properties": {
+ "totalCustomerCharge": {
+ "type": "number",
+ "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
+ "format": "double",
+ "example": 445.54
+ },
+ "variableHandlingCharge": {
+ "type": "number",
+ "description": "The variable handling charge amount calculated based on the requested variable handling charge detail.
Example: 403.2",
+ "format": "double",
+ "example": 403.2
+ }
+ },
+ "description": "The variable handling charge amount calculated based on the requested variable handling charge detail."
+ },
+ "RateDiscount": {
+ "type": "object",
+ "properties": {
+ "rateDiscountType": {
+ "description": "Indicates the type.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "COUPON",
+ "EARNED",
+ "INCENTIVE",
+ "OTHER",
+ "VOLUME"
+ ],
+ "example": "INCENTIVE"
+ },
+ "description": {
+ "description": "Indicates the description for the rate discount.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Indicates the amount for the rate discount.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "RateDiscount_2": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "Indicates the amount for the rate discount.
Example: 87.5",
+ "format": "double",
+ "example": 87.5
+ },
+ "name": {
+ "type": "string",
+ "description": "Indicate the name of the discount.Click here to see Discounts
Example: name",
+ "example": "name"
+ },
+ "description": {
+ "type": "string",
+ "description": "Indicates the description for the rate discount.
Example: Description",
+ "example": "description"
+ },
+ "type": {
+ "type": "string",
+ "description": "Indicates the type.
Example: type",
+ "example": "type"
+ },
+ "percent": {
+ "type": "number",
+ "description": "Indicates the percentage of the rate discount.
Example: 10.5",
+ "format": "double",
+ "example": 10.5
+ }
+ }
+ },
+ "Surcharge": {
+ "type": "object",
+ "properties": {
+ "surchargeType": {
+ "description": "The type of surcharge.",
+ "type": "string",
+ "enum": [
+ "ACCOUNT_NUMBER_PROCESSING_FEE",
+ "ADDITIONAL_HANDLING",
+ "ADDRESS_CORRECTION",
+ "ANCILLARY_FEE",
+ "APPOINTMENT_DELIVERY",
+ "BLIND_SHIPMENT",
+ "BROKER_SELECT_OPTION",
+ "CANADIAN_DESTINATION",
+ "CHARGEABLE_PALLET_WEIGHT",
+ "COD",
+ "CUT_FLOWERS",
+ "DANGEROUS_GOODS",
+ "DELIVERY_AREA",
+ "DELIVERY_CONFIRMATION",
+ "DELIVERY_ON_INVOICE_ACCEPTANCE",
+ "DEMAND",
+ "DEMAND_ADDITIONAL_HANDLING",
+ "DEMAND_OVERSIZE",
+ "DEMAND_RESIDENTIAL_DELIVERY",
+ "DETENTION",
+ "DOCUMENTATION_FEE",
+ "DRY_ICE",
+ "EMAIL_LABEL",
+ "ENHANCED_SECURITY",
+ "EUROPE_FIRST",
+ "EXCESS_VALUE",
+ "EXCLUSIVE_USE",
+ "EXHIBITION",
+ "EXPEDITED",
+ "EXPORT",
+ "EXTRA_LABOR",
+ "EXTRA_SURFACE_HANDLING_CHARGE",
+ "EXTREME_LENGTH",
+ "FEDEX_INTRACOUNTRY_FEES",
+ "FEDEX_TAG",
+ "FICE",
+ "FLATBED",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_PICKUP",
+ "FREIGHT_DIRECT_BASIC_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_PICKUP",
+ "FREIGHT_DIRECT_PREMIUM_DELIVERY",
+ "FREIGHT_DIRECT_PREMIUM_PICKUP",
+ "FREIGHT_DIRECT_STANDARD_DELIVERY",
+ "FREIGHT_DIRECT_STANDARD_PICKUP",
+ "FREIGHT_GUARANTEE",
+ "FREIGHT_ON_VALUE",
+ "FREIGHT_TO_COLLECT",
+ "FUEL",
+ "HIGH_COST_SERVICE_AREA_DESTINATION",
+ "HIGH_COST_SERVICE_AREA_ORIGIN",
+ "HIGH_DENSITY",
+ "HOLD_AT_LOCATION",
+ "HOLIDAY_DELIVERY",
+ "HOLIDAY_GUARANTEE",
+ "HOME_DELIVERY_APPOINTMENT",
+ "HOME_DELIVERY_DATE_CERTAIN",
+ "HOME_DELIVERY_EVENING",
+ "INSIDE_DELIVERY",
+ "INSIDE_PICKUP",
+ "INSURED_VALUE",
+ "INTERHAWAII",
+ "LIFTGATE_DELIVERY",
+ "LIFTGATE_PICKUP",
+ "LIMITED_ACCESS_DELIVERY",
+ "LIMITED_ACCESS_PICKUP",
+ "MARKING_OR_TAGGING",
+ "METRO_DELIVERY",
+ "METRO_PICKUP",
+ "MONITORING_AND_INTERVENTION",
+ "NON_BUSINESS_TIME",
+ "NON_MACHINABLE",
+ "OFFSHORE",
+ "ON_CALL_PICKUP",
+ "ON_DEMAND_CARE",
+ "OTHER",
+ "OUT_OF_DELIVERY_AREA",
+ "OUT_OF_PICKUP_AREA",
+ "OVER_DIMENSION",
+ "OVER_LENGTH",
+ "OVERSIZE",
+ "OVERWEIGHT",
+ "PALLET_SHRINKWRAP",
+ "PALLETS_PROVIDED",
+ "PEAK",
+ "PEAK_ADDITIONAL_HANDLING",
+ "PEAK_OVERSIZE",
+ "PEAK_RESIDENTIAL_DELIVERY",
+ "PERMIT",
+ "PIECE_COUNT_VERIFICATION",
+ "PORT",
+ "PRE_DELIVERY_NOTIFICATION",
+ "PRIORITY_ALERT",
+ "PROTECTION_FROM_FREEZING",
+ "REGIONAL_MALL_DELIVERY",
+ "REGIONAL_MALL_PICKUP",
+ "REROUTE",
+ "RESCHEDULE",
+ "RESIDENTIAL_DELIVERY",
+ "RESIDENTIAL_PICKUP",
+ "RETURN_LABEL",
+ "SATURDAY_DELIVERY",
+ "SATURDAY_PICKUP",
+ "SHIPMENT_ASSEMBLY",
+ "SIGNATURE_OPTION",
+ "SINGLE_PIECE",
+ "SORT_AND_SEGREGATE",
+ "SPECIAL_DELIVERY",
+ "SPECIAL_EQUIPMENT",
+ "STORAGE",
+ "SUNDAY_DELIVERY",
+ "TARP",
+ "THIRD_PARTY_BILLING",
+ "THIRD_PARTY_CONSIGNEE",
+ "TRANSMART_SERVICE_FEE",
+ "USPS",
+ "WEIGHING"
+ ],
+ "example": "COD"
+ },
+ "level": {
+ "description": "The level of surcharge.",
+ "type": "string",
+ "enum": [
+ "PACKAGE",
+ "SHIPMENT"
+ ],
+ "example": "PACKAGE"
+ },
+ "description": {
+ "description": "The description of the surcharge.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "Surcharge_2": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.
Example: 87.5",
+ "format": "double",
+ "example": 87.5
+ },
+ "level": {
+ "type": "string",
+ "description": "The level of surcharge.
Example: level",
+ "example": "level"
+ },
+ "name": {
+ "type": "string",
+ "description": "The localized name of the surcharge.
Example: name",
+ "example": "name"
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the surcharge.
Example: description",
+ "example": "description"
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of surcharge.
Example: type",
+ "example": "type"
+ }
+ }
+ },
+ "Tax": {
+ "description": "Tax surcharge details",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Specifies the type of Surcharge/Tax.",
+ "type": "string",
+ "enum": [
+ "EXPORT",
+ "GST",
+ "HST",
+ "INTRACOUNTRY",
+ "OTHER",
+ "PST",
+ "SST",
+ "VAT"
+ ],
+ "example": "VAT"
+ },
+ "description": {
+ "description": "Specifies the description of the Surcharge/Tax.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Specifies the list of tax amounts.",
+ "$ref": "#/components/schemas/Money"
+ }
+ }
+ },
+ "Tax_2": {
+ "description": "Tax surcharge details",
+ "type": "object",
+ "properties": {
+ "amount": {
+ "description": "Tax amount.
Example: 408.97",
+ "format": "double",
+ "type": "number",
+ "example": 408.97
+ },
+ "name": {
+ "description": "The localized name of the tax.
Example: Denmark VAT",
+ "type": "string",
+ "example": "Denmark VAT"
+ },
+ "description": {
+ "description": "The description of the Surcharge/Tax.
Example: Denmark VAT",
+ "type": "string",
+ "example": "Denmark VAT"
+ },
+ "type": {
+ "description": "The type of Surcharge/Tax.
Example: VAT",
+ "type": "string",
+ "example": "VAT"
+ }
+ }
+ },
"Party": {
"type": "object",
"properties": {
diff --git a/resources/models/service-availability/v1.json b/resources/models/service-availability/v1.json
index 2bbeaf6c..80137d0e 100644
--- a/resources/models/service-availability/v1.json
+++ b/resources/models/service-availability/v1.json
@@ -942,6 +942,9 @@
"FXSP"
]
}
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "TransitTimeInputVO describes the details needed in order to get the transit times for a particular shipment. "
@@ -1480,6 +1483,9 @@
"IMPERIAL",
"METRIC"
]
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "These are the input elements for requesting package and service options."
@@ -3512,6 +3518,26 @@
},
"description": "Indicate the amount details. This is optional, but if indicated, amount and currency must be provided."
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"AvailabilitycxsResponseVO": {
"type": "object",
"properties": {
@@ -3860,6 +3886,9 @@
"FXFR"
]
}
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements for special service options availability."
diff --git a/resources/models/ship-dg-hazmat/v1.json b/resources/models/ship-dg-hazmat/v1.json
index 723e27aa..82785451 100644
--- a/resources/models/ship-dg-hazmat/v1.json
+++ b/resources/models/ship-dg-hazmat/v1.json
@@ -1709,6 +1709,80 @@
"accountNumberCountryCode": "CA"
}
},
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.
For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_contact"
+ },
+ "address": {
+ "$ref": "#/components/schemas/ClearanceItemDetail_address"
+ }
+ }
+ },
+ "ClearanceItemDetail_contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.
Example: THE GREENHOUSE",
+ "example": "THE GREENHOUSE"
+ }
+ },
+ "description": "Contact details of the manufacturer."
+ },
+ "ClearanceItemDetail_address": {
+ "type": "object",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.
Example: 98 Royal Crescent",
+ "items": {
+ "type": "string",
+ "example": "[\"98 Royal Crescent\"]"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.
Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.
Example: US",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.",
+ "example": false
+ }
+ },
+ "description": "Address of the manufacturer"
+ },
"AdditionalMeasures": {
"type": "object",
"properties": {
@@ -2075,7 +2149,7 @@
"type": "object",
"properties": {
"formId": {
- "type": "integer",
+ "type": "string",
"description": "This is FedEx tracking Identifier associated with the package.
Example: 0201",
"example": 201
},
@@ -2085,7 +2159,7 @@
"example": "EXPRESS"
},
"uspsApplicationId": {
- "type": "integer",
+ "type": "string",
"description": "Specify the USPS tracking Identifier associated with FedEx SmartPost shipment.
Example: 92",
"example": 92
},
@@ -2565,7 +2639,7 @@
"$ref": "#/components/schemas/VariableHandlingChargeDetail"
},
"customsClearanceDetail": {
- "$ref": "#/components/schemas/CustomsClearanceDetail"
+ "$ref": "#/components/schemas/CustomsClearanceDetail_2"
},
"smartPostInfoDetail": {
"$ref": "#/components/schemas/SmartPostInfoDetail"
@@ -3056,7 +3130,7 @@
"type": "object",
"properties": {
"binaryBarcodes": {
- "type": "array",
+ "type": "string",
"items": {
"$ref": "#/components/schemas/BinaryBarcode"
}
@@ -5388,99 +5462,6 @@
},
"description": "Use this object to provide Commercial Invoice details. This element is required for electronic upload of CI data. It will serve to create/transmit an electronic Commercial Invoice through the FedEx system.
Customers are responsible for printing their own Commercial Invoice.
If you would like FedEx to generate a Commercial Invoice and transmit it to Customs for clearance purposes, you need to specify that in the 'ETDDetail/RequesteDocumentCopies' element.
Support consists of a maximum of 99 commodity line items."
},
- "Commodity": {
- "required": [
- "name"
- ],
- "type": "object",
- "properties": {
- "unitPrice": {
- "$ref": "#/components/schemas/Money"
- },
- "additionalMeasures": {
- "type": "array",
- "description": "Optional
Contains only additional quantitative information other than weight and quantity to calculate duties and taxes.",
- "items": {
- "$ref": "#/components/schemas/AdditionalMeasures"
- }
- },
- "numberOfPieces": {
- "type": "integer",
- "description": "Required.
Indicate the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.
Example: 12",
- "format": "int32",
- "example": 12
- },
- "quantity": {
- "type": "integer",
- "description": "Required
Total number of units (using quantityUnits as the unit of measure) of this commodity present in the shipment. Used to estimate duties and taxes.
Example: 125",
- "format": "int32",
- "example": 125
- },
- "quantityUnits": {
- "type": "string",
- "description": "Required
Unit of measure for the above quantity. Used to estimate duties and taxes
Example: Ea",
- "example": "Ea"
- },
- "customsValue": {
- "$ref": "#/components/schemas/Customs_Money"
- },
- "countryOfManufacture": {
- "type": "string",
- "description": "Required
Maximum allowed length is 4.
Example: US",
- "example": "US"
- },
- "cIMarksAndNumbers": {
- "type": "string",
- "description": "An identifying mark or number used on the packagingof a shipment to help customers identify a particularshipment
Example: 87123",
- "example": "87123"
- },
- "harmonizedCode": {
- "type": "string",
- "description": "This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.
Example: 0613
To research the classification for your commodity, use the FedEx Global Trade Manager online at fedex.com/gtm. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination.",
- "example": "0613"
- },
- "description": {
- "type": "string",
- "description": "Required
ScrewsMaximum allowed 450 characters.
Example: description",
- "example": "description"
- },
- "name": {
- "type": "string",
- "description": "Required
Commodity name
Example: non-threaded rivets",
- "example": "non-threaded rivets"
- },
- "weight": {
- "$ref": "#/components/schemas/Weight"
- },
- "exportLicenseNumber": {
- "type": "string",
- "description": "Specifies the export license number for the shipment
Example: 26456",
- "example": "26456"
- },
- "exportLicenseExpirationDate": {
- "type": "string",
- "description": "Specifies the export license expiration date for the shipment
Format YYYY-MM-DD
Example : 2009-04-12",
- "format": "date-time"
- },
- "partNumber": {
- "type": "string",
- "description": "a part number for the item
Example: 167",
- "example": "167"
- },
- "purpose": {
- "type": "string",
- "description": "This field is used for calculation of duties and taxes.
Valid values are : BUSINESS and CONSUMER",
- "example": "BUSINESS",
- "enum": [
- "BUSINESS",
- "CONSUMER"
- ]
- },
- "usmcaDetail": {
- "$ref": "#/components/schemas/UsmcaCommodityDetail"
- }
- }
- },
"ExportDetail": {
"type": "object",
"properties": {
@@ -6389,96 +6370,6 @@
},
"description": "Customer-provided specifications for handling individual commodities."
},
- "CustomsClearanceDetail": {
- "required": [
- "commercialInvoice",
- "commodities"
- ],
- "type": "object",
- "properties": {
- "regulatoryControls": {
- "type": "array",
- "description": "These are the regulatory controls applicable to the shipment.",
- "example": "NOT_IN_FREE_CIRCULATION",
- "items": {
- "type": "string",
- "enum": [
- "FOOD_OR_PERISHABLE",
- "USMCA",
- "NOT_APPLICABLE_FOR_LOW_VALUE_CUSTOMS_EXCEPTIONS",
- "NOT_IN_FREE_CIRCULATION"
- ]
- }
- },
- "brokers": {
- "type": "array",
- "description": "Conditional.
Specify Broker information only if you are using Broker Select Option for your shipment.To be considered a valid, a country code must be specified in addition to one of the following address items: postal code, city, or location id.",
- "items": {
- "$ref": "#/components/schemas/BrokerDetail"
- }
- },
- "commercialInvoice": {
- "$ref": "#/components/schemas/CommercialInvoice"
- },
- "freightOnValue": {
- "type": "string",
- "description": "Specify the risk owner for the Freight shipment.This element is only mandatory or valid for Intra India shipments. ",
- "example": "OWN_RISK",
- "enum": [
- "CARRIER_RISK",
- "OWN_RISK"
- ]
- },
- "dutiesPayment": {
- "$ref": "#/components/schemas/Payment_2"
- },
- "commodities": {
- "type": "array",
- "description": "Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment",
- "items": {
- "$ref": "#/components/schemas/Commodity"
- }
- },
- "recipientCustomsId": {
- "$ref": "#/components/schemas/RecipientCustomsId"
- },
- "customsOption": {
- "$ref": "#/components/schemas/CustomsOptionDetail"
- },
- "importerOfRecord": {
- "description": "The descriptive data for the importer of Record for the shipment and their physical address, contact and account number information.",
- "$ref": "#/components/schemas/Party"
- },
- "generatedDocumentLocale": {
- "type": "string",
- "description": "This is the locale for generated document.
Example: en_US
click here to see Locales
Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response.",
- "example": "US"
- },
- "exportDetail": {
- "$ref": "#/components/schemas/ExportDetail"
- },
- "totalCustomsValue": {
- "description": "This is the total customs value.",
- "$ref": "#/components/schemas/Money"
- },
- "partiesToTransactionAreRelated": {
- "type": "boolean",
- "description": "Parties To Transaction Are Related"
- },
- "declarationStatementDetail": {
- "$ref": "#/components/schemas/CustomsDeclarationStatementDetail"
- },
- "isDocumentOnly": {
- "type": "boolean",
- "description": "Used to specify if a shipment is document shipment or not. Used only for International Express document shipments. Default value is false."
- },
- "insuranceCharge": {
- "description": "Amount paid to a third party for the purpose of insuring this shipment against damage or loss. Used to calculate estimated duties and taxes",
- "$ref": "#/components/schemas/Money"
- }
- },
- "description": "Required for International and intra-country Shipments. Information about this package that only applies to an international (export) shipment or return."
- },
"LabelSpecification": {
"type": "object",
"properties": {
@@ -7456,7 +7347,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty"
}
},
- "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY.",
"example": {
"responsibleParty": {
"address": {
@@ -7723,6 +7614,379 @@
"deliveryInstructions": "deliveryInstructions"
}
},
+ "CustomsClearanceDetail": {
+ "required": [
+ "commercialInvoice",
+ "commodities"
+ ],
+ "type": "object",
+ "properties": {
+ "regulatoryControls": {
+ "type": "array",
+ "description": "These are the regulatory controls applicable to the shipment.",
+ "example": "NOT_IN_FREE_CIRCULATION",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FOOD_OR_PERISHABLE",
+ "USMCA",
+ "NOT_APPLICABLE_FOR_LOW_VALUE_CUSTOMS_EXCEPTIONS",
+ "NOT_IN_FREE_CIRCULATION"
+ ]
+ }
+ },
+ "brokers": {
+ "type": "array",
+ "description": "Conditional.
Specify Broker information only if you are using Broker Select Option for your shipment.To be considered a valid, a country code must be specified in addition to one of the following address items: postal code, city, or location id.",
+ "items": {
+ "$ref": "#/components/schemas/BrokerDetail"
+ }
+ },
+ "commercialInvoice": {
+ "$ref": "#/components/schemas/CommercialInvoice"
+ },
+ "freightOnValue": {
+ "type": "string",
+ "description": "Specify the risk owner for the Freight shipment.This element is only mandatory or valid for Intra India shipments. ",
+ "example": "OWN_RISK",
+ "enum": [
+ "CARRIER_RISK",
+ "OWN_RISK"
+ ]
+ },
+ "dutiesPayment": {
+ "$ref": "#/components/schemas/Payment_2"
+ },
+ "commodities": {
+ "type": "array",
+ "description": "Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment",
+ "items": {
+ "$ref": "#/components/schemas/Commodity"
+ }
+ },
+ "recipientCustomsId": {
+ "$ref": "#/components/schemas/RecipientCustomsId"
+ },
+ "customsOption": {
+ "$ref": "#/components/schemas/CustomsOptionDetail"
+ },
+ "importerOfRecord": {
+ "description": "The descriptive data for the importer of Record for the shipment and their physical address, contact and account number information.",
+ "$ref": "#/components/schemas/Party"
+ },
+ "generatedDocumentLocale": {
+ "type": "string",
+ "description": "This is the locale for generated document.
Example: en_US
click here to see Locales
Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response.",
+ "example": "US"
+ },
+ "exportDetail": {
+ "$ref": "#/components/schemas/ExportDetail"
+ },
+ "totalCustomsValue": {
+ "description": "This is the total customs value.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "partiesToTransactionAreRelated": {
+ "type": "boolean",
+ "description": "Parties To Transaction Are Related"
+ },
+ "declarationStatementDetail": {
+ "$ref": "#/components/schemas/CustomsDeclarationStatementDetail"
+ },
+ "isDocumentOnly": {
+ "type": "boolean",
+ "description": "Used to specify if a shipment is document shipment or not. Used only for International Express document shipments. Default value is false."
+ },
+ "insuranceCharge": {
+ "description": "Amount paid to a third party for the purpose of insuring this shipment against damage or loss. Used to calculate estimated duties and taxes",
+ "$ref": "#/components/schemas/Money"
+ }
+ },
+ "description": "Required for International and intra-country Shipments. Information about this package that only applies to an international (export) shipment or return."
+ },
+ "CustomsClearanceDetail_2": {
+ "required": [
+ "commercialInvoice",
+ "commodities"
+ ],
+ "type": "object",
+ "properties": {
+ "regulatoryControls": {
+ "type": "array",
+ "description": "These are the regulatory controls applicable to the shipment.",
+ "example": "NOT_IN_FREE_CIRCULATION",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FOOD_OR_PERISHABLE",
+ "USMCA",
+ "NOT_APPLICABLE_FOR_LOW_VALUE_CUSTOMS_EXCEPTIONS",
+ "NOT_IN_FREE_CIRCULATION"
+ ]
+ }
+ },
+ "brokers": {
+ "type": "array",
+ "description": "Conditional.
Specify Broker information only if you are using Broker Select Option for your shipment.To be considered a valid, a country code must be specified in addition to one of the following address items: postal code, city, or location id.",
+ "items": {
+ "$ref": "#/components/schemas/BrokerDetail"
+ }
+ },
+ "commercialInvoice": {
+ "$ref": "#/components/schemas/CommercialInvoice"
+ },
+ "freightOnValue": {
+ "type": "string",
+ "description": "Specify the risk owner for the Freight shipment.This element is only mandatory or valid for Intra India shipments. ",
+ "example": "OWN_RISK",
+ "enum": [
+ "CARRIER_RISK",
+ "OWN_RISK"
+ ]
+ },
+ "dutiesPayment": {
+ "$ref": "#/components/schemas/Payment_2"
+ },
+ "commodities": {
+ "type": "array",
+ "description": "Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment",
+ "items": {
+ "$ref": "#/components/schemas/Commodity_2"
+ }
+ },
+ "recipientCustomsId": {
+ "$ref": "#/components/schemas/RecipientCustomsId"
+ },
+ "customsOption": {
+ "$ref": "#/components/schemas/CustomsOptionDetail"
+ },
+ "importerOfRecord": {
+ "description": "The descriptive data for the importer of Record for the shipment and their physical address, contact and account number information.",
+ "$ref": "#/components/schemas/Party"
+ },
+ "generatedDocumentLocale": {
+ "type": "string",
+ "description": "This is the locale for generated document.
Example: en_US
click here to see Locales
Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response.",
+ "example": "US"
+ },
+ "exportDetail": {
+ "$ref": "#/components/schemas/ExportDetail"
+ },
+ "totalCustomsValue": {
+ "description": "This is the total customs value.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "partiesToTransactionAreRelated": {
+ "type": "boolean",
+ "description": "Parties To Transaction Are Related"
+ },
+ "declarationStatementDetail": {
+ "$ref": "#/components/schemas/CustomsDeclarationStatementDetail"
+ },
+ "isDocumentOnly": {
+ "type": "boolean",
+ "description": "Used to specify if a shipment is document shipment or not. Used only for International Express document shipments. Default value is false."
+ },
+ "insuranceCharge": {
+ "description": "Amount paid to a third party for the purpose of insuring this shipment against damage or loss. Used to calculate estimated duties and taxes",
+ "$ref": "#/components/schemas/Money"
+ }
+ },
+ "description": "Required for International and intra-country Shipments. Information about this package that only applies to an international (export) shipment or return."
+ },
+ "Commodity": {
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "unitPrice": {
+ "$ref": "#/components/schemas/Money"
+ },
+ "additionalMeasures": {
+ "type": "array",
+ "description": "Optional
Contains only additional quantitative information other than weight and quantity to calculate duties and taxes.",
+ "items": {
+ "$ref": "#/components/schemas/AdditionalMeasures"
+ }
+ },
+ "numberOfPieces": {
+ "type": "integer",
+ "description": "Required.
Indicate the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.
Example: 12",
+ "format": "int32",
+ "example": 12
+ },
+ "quantity": {
+ "type": "integer",
+ "description": "Required
Total number of units (using quantityUnits as the unit of measure) of this commodity present in the shipment. Used to estimate duties and taxes.
Example: 125",
+ "format": "int32",
+ "example": 125
+ },
+ "quantityUnits": {
+ "type": "string",
+ "description": "Required
Unit of measure for the above quantity. Used to estimate duties and taxes
Example: Ea",
+ "example": "Ea"
+ },
+ "customsValue": {
+ "$ref": "#/components/schemas/Customs_Money"
+ },
+ "countryOfManufacture": {
+ "type": "string",
+ "description": "Required
Maximum allowed length is 4.
Example: US",
+ "example": "US"
+ },
+ "cIMarksAndNumbers": {
+ "type": "string",
+ "description": "An identifying mark or number used on the packagingof a shipment to help customers identify a particularshipment
Example: 87123",
+ "example": "87123"
+ },
+ "harmonizedCode": {
+ "type": "string",
+ "description": "This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.
Example: 0613
To research the classification for your commodity, use the FedEx Global Trade Manager online at fedex.com/gtm. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination.",
+ "example": "0613"
+ },
+ "description": {
+ "type": "string",
+ "description": "Required
ScrewsMaximum allowed 450 characters.
Example: description",
+ "example": "description"
+ },
+ "name": {
+ "type": "string",
+ "description": "Required
Commodity name
Example: non-threaded rivets",
+ "example": "non-threaded rivets"
+ },
+ "weight": {
+ "$ref": "#/components/schemas/Weight"
+ },
+ "exportLicenseNumber": {
+ "type": "string",
+ "description": "Specifies the export license number for the shipment
Example: 26456",
+ "example": "26456"
+ },
+ "exportLicenseExpirationDate": {
+ "type": "string",
+ "description": "Specifies the export license expiration date for the shipment
Format YYYY-MM-DD
Example : 2009-04-12",
+ "format": "date-time"
+ },
+ "partNumber": {
+ "type": "string",
+ "description": "a part number for the item
Example: 167",
+ "example": "167"
+ },
+ "purpose": {
+ "type": "string",
+ "description": "This field is used for calculation of duties and taxes.
Valid values are : BUSINESS and CONSUMER",
+ "example": "BUSINESS",
+ "enum": [
+ "BUSINESS",
+ "CONSUMER"
+ ]
+ },
+ "usmcaDetail": {
+ "$ref": "#/components/schemas/UsmcaCommodityDetail"
+ },
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "Array of clearance item details including manufacturer info for customs clearance.",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ }
+ }
+ },
+ "Commodity_2": {
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "unitPrice": {
+ "$ref": "#/components/schemas/Money"
+ },
+ "additionalMeasures": {
+ "type": "array",
+ "description": "Optional
Contains only additional quantitative information other than weight and quantity to calculate duties and taxes.",
+ "items": {
+ "$ref": "#/components/schemas/AdditionalMeasures"
+ }
+ },
+ "numberOfPieces": {
+ "type": "integer",
+ "description": "Required.
Indicate the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.
Example: 12",
+ "format": "int32",
+ "example": 12
+ },
+ "quantity": {
+ "type": "integer",
+ "description": "Required
Total number of units (using quantityUnits as the unit of measure) of this commodity present in the shipment. Used to estimate duties and taxes.
Example: 125",
+ "format": "int32",
+ "example": 125
+ },
+ "quantityUnits": {
+ "type": "string",
+ "description": "Required
Unit of measure for the above quantity. Used to estimate duties and taxes
Example: Ea",
+ "example": "Ea"
+ },
+ "customsValue": {
+ "$ref": "#/components/schemas/Customs_Money"
+ },
+ "countryOfManufacture": {
+ "type": "string",
+ "description": "Required
Maximum allowed length is 4.
Example: US",
+ "example": "US"
+ },
+ "cIMarksAndNumbers": {
+ "type": "string",
+ "description": "An identifying mark or number used on the packagingof a shipment to help customers identify a particularshipment
Example: 87123",
+ "example": "87123"
+ },
+ "harmonizedCode": {
+ "type": "string",
+ "description": "This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.
Example: 0613
To research the classification for your commodity, use the FedEx Global Trade Manager online at fedex.com/gtm. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination.",
+ "example": "0613"
+ },
+ "description": {
+ "type": "string",
+ "description": "Required
ScrewsMaximum allowed 450 characters.
Example: description",
+ "example": "description"
+ },
+ "name": {
+ "type": "string",
+ "description": "Required
Commodity name
Example: non-threaded rivets",
+ "example": "non-threaded rivets"
+ },
+ "weight": {
+ "$ref": "#/components/schemas/Weight"
+ },
+ "exportLicenseNumber": {
+ "type": "string",
+ "description": "Specifies the export license number for the shipment
Example: 26456",
+ "example": "26456"
+ },
+ "exportLicenseExpirationDate": {
+ "type": "string",
+ "description": "Specifies the export license expiration date for the shipment
Format YYYY-MM-DD
Example : 2009-04-12",
+ "format": "date-time"
+ },
+ "partNumber": {
+ "type": "string",
+ "description": "a part number for the item
Example: 167",
+ "example": "167"
+ },
+ "purpose": {
+ "type": "string",
+ "description": "This field is used for calculation of duties and taxes.
Valid values are : BUSINESS and CONSUMER",
+ "example": "BUSINESS",
+ "enum": [
+ "BUSINESS",
+ "CONSUMER"
+ ]
+ },
+ "usmcaDetail": {
+ "$ref": "#/components/schemas/UsmcaCommodityDetail"
+ }
+ }
+ },
"ShippingDocumentSpecification": {
"type": "object",
"properties": {
diff --git a/resources/models/ship/v1.json b/resources/models/ship/v1.json
index 6d41d94f..30c34645 100644
--- a/resources/models/ship/v1.json
+++ b/resources/models/ship/v1.json
@@ -889,7 +889,7 @@
"/ship/v1/shipments/tag": {
"post": {
"summary": "Create Tag",
- "description": "FedEx creates and delivers a returnnn shipping label to your customer and collects the item for return. Your customer needs to have the package ready for pickup when the FedEx driver arrives. Use this endpoint to create tag requests for FedEx Express and FedEx Ground shipments.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
+ "description": "FedEx creates and delivers a return shipping label to your customer and collects the item for return. Your customer needs to have the package ready for pickup when the FedEx driver arrives. Use this endpoint to create tag requests for FedEx Express and FedEx Ground shipments.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.",
"operationId": "Create Tag",
"requestBody": {
"content": {
@@ -1395,26 +1395,69 @@
"type": "boolean",
"description": "This flag is used to specify if the shipment is singleshot mps or one Label at a time, piece by piece shipment. Default is false. If true, one label at a time is processed.",
"example": true
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
+ },
+ "processingOptions": {
+ "type": "array",
+ "description": "Array of processing options for the shipment.",
+ "items": {
+ "type": "string",
+ "example": "INCLUDE_PICKUPRATES",
+ "enum": [
+ "INCLUDE_PICKUPRATES"
+ ]
+ }
}
},
"description": "The request elements required to create a shipment."
},
- "Money": {
+ "PickupDetail": {
"type": "object",
"properties": {
- "amount": {
- "type": "number",
- "description": "This is the amount. Maximum limit is 5 digits before decimal.
Example: 12.45",
- "format": "double",
- "example": 12.45
+ "readyDateTime": {
+ "type": "string",
+ "format": "date",
+ "description": "Pickup ready date in YYYY-MM-DD format",
+ "example": "2025-06-17"
},
- "currency": {
+ "latestPickupDateTime": {
"type": "string",
- "description": "This is the currency code for the amount.
Example: USD
Click here to see Currency codes",
- "example": "USD"
+ "format": "date",
+ "description": "Latest pickup date in YYYY-MM-DD format",
+ "example": "2025-06-17"
+ },
+ "courierInstructions": {
+ "type": "string",
+ "description": "Special instructions for the courier",
+ "example": "Leave package at reception"
+ },
+ "requestType": {
+ "$ref": "#/components/schemas/PickupRequestType"
+ },
+ "requestSource": {
+ "$ref": "#/components/schemas/PickupRequestSourceType"
}
- },
- "description": "This customs value is applicable for all items(or units) under the specified commodity"
+ }
+ },
+ "PickupRequestType": {
+ "type": "string",
+ "description": "Type of pickup request",
+ "enum": [
+ "FUTURE_DAY",
+ "SAME_DAY"
+ ],
+ "example": "FUTURE_DAY"
+ },
+ "PickupRequestSourceType": {
+ "type": "string",
+ "description": "Source of the pickup request",
+ "enum": [
+ "AUTOMATION",
+ "CUSTOMER_SERVICE"
+ ],
+ "example": "AUTOMATION"
},
"Customs_Money": {
"type": "object",
@@ -2721,6 +2764,92 @@
"accountNumberCountryCode": "CA"
}
},
+ "ClearanceItemDetail": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "type": "string",
+ "description": "Role in producing or supplying the item/commodity",
+ "example": "MANUFACTURER",
+ "enum": [
+ "MANUFACTURER"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the manufacturer of the commodity.For shipments to United States, refer to U.S. Customs and Border Protection website.",
+ "example": "USGRE98BIR"
+ },
+ "contact": {
+ "type": "object",
+ "properties": {
+ "companyName": {
+ "type": "string",
+ "description": "Legal name of the manufacturer of the commodity.",
+ "example": "THE GREENHOUSE"
+ }
+ }
+ },
+ "address": {
+ "type": "object",
+ "description": "Address of the manufacturer",
+ "properties": {
+ "streetLines": {
+ "type": "array",
+ "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included.98 Royal Crescent",
+ "example": [
+ "98 Royal Crescent"
+ ],
+ "items": {
+ "type": "string"
+ }
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of city, town of the recipient.Example: Birmingham",
+ "example": "Birmingham"
+ },
+ "stateOrProvinceCode": {
+ "type": "string",
+ "description": "It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country. Example: CA.click here to see State or Province Code",
+ "example": "CA"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "The US State and Canada Province codes. The Format and presence of this field may vary depending on the country. Example: 35209click here to see Postal aware countries",
+ "example": "35209"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The two-letter code used to identify a country.Example: USclick here to see Country codes",
+ "example": "US"
+ },
+ "residential": {
+ "type": "boolean",
+ "description": "Indicate whether this address is residential (as opposed to commercial).Valid Values: True or False.",
+ "example": false
+ }
+ }
+ }
+ },
+ "example": {
+ "type": "MANUFACTURER",
+ "id": "USGRE98BIR",
+ "contact": {
+ "companyName": "THE GREENHOUSE"
+ },
+ "address": {
+ "streetLines": [
+ "98 Royal Crescent"
+ ],
+ "city": "Birmingham",
+ "stateOrProvinceCode": "CA",
+ "postalCode": "35209",
+ "countryCode": "US",
+ "residential": false
+ }
+ }
+ },
"AdditionalMeasures": {
"type": "object",
"properties": {
@@ -3878,7 +4007,7 @@
"properties": {
"specialServiceTypes": {
"type": "array",
- "description": "The list of all special services requested for the package.
Click here to see Package Special Service Types
Example:ALCOHOL",
+ "description": "The list of all special services requested for the package.
Click here to see Package Special Service Types
Example:ALCOHOL",
"example": [
"ALCOHOL",
"NON_STANDARD_CONTAINER",
@@ -4173,7 +4302,7 @@
"type": "array",
"description": "These are shipping transaction details, such as master tracking number, service type, and ship date and time.",
"items": {
- "$ref": "#/components/schemas/TransactionShipmentOutputVO"
+ "$ref": "#/components/schemas/TransactionCreateShipmentOutputVO"
}
},
"alerts": {
@@ -4191,6 +4320,132 @@
},
"description": "This is the response received when a shipment is requested."
},
+ "TransactionCreateShipmentOutputVO": {
+ "type": "object",
+ "properties": {
+ "serviceType": {
+ "type": "string",
+ "description": "Indicate the FedEx serviceType used for this shipment. The results will be filtered by the serviceType value indicated.
Example: STANDARD_OVERNIGHT
click here to see Service Types",
+ "example": "STANDARD_OVERNIGHT"
+ },
+ "shipDatestamp": {
+ "type": "string",
+ "description": "This is the shipment date. Default value is current date in case the date is not provided or a past date is provided.
Format [YYYY-MM-DD].
Example: 2019-10-14",
+ "example": "2010-03-04"
+ },
+ "serviceCategory": {
+ "type": "string",
+ "description": "Indicates the Service Category.
Example: EXPRESS",
+ "example": "EXPRESS"
+ },
+ "shipmentDocuments": {
+ "type": "array",
+ "description": "These are shipping document details.",
+ "items": {
+ "$ref": "#/components/schemas/LabelResponseVO"
+ }
+ },
+ "pieceResponses": {
+ "type": "array",
+ "description": "Specifies the information about the pieces, received in the response.",
+ "items": {
+ "$ref": "#/components/schemas/PieceResponse"
+ }
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "This is the service name associated with the shipment.
Example: FedEx Ground",
+ "example": "FedEx 2 Day Freight"
+ },
+ "alerts": {
+ "type": "array",
+ "description": "These are alert details received in the response.",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/Alert_3P"
+ },
+ {
+ "$ref": "#/components/schemas/Alert_3PP"
+ }
+ ],
+ "type": "string"
+ }
+ },
+ "completedShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedCreateShipmentDetail"
+ },
+ "shipmentAdvisoryDetails": {
+ "$ref": "#/components/schemas/ShipmentAdvisoryDetails"
+ },
+ "masterTrackingNumber": {
+ "type": "string",
+ "description": "This is a master tracking number for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provided).
Example: 794953535000",
+ "example": "794953535000"
+ }
+ },
+ "description": "Specifies shipping transaction output details"
+ },
+ "CompletedCreateShipmentDetail": {
+ "type": "object",
+ "properties": {
+ "completedPackageDetails": {
+ "type": "array",
+ "description": "Indicates the completed package details.",
+ "items": {
+ "$ref": "#/components/schemas/CompletedPackageDetail"
+ }
+ },
+ "operationalDetail": {
+ "$ref": "#/components/schemas/ShipmentOperationalDetail"
+ },
+ "carrierCode": {
+ "type": "string",
+ "description": "Specify the four letter code of a FedEx operating company that meets your requirements
Examples of FedEx Operating Companies are:- FDXE - FedEx Express
- FDXG - FedEx Ground
- FXSP - FedEx SmartPost
- FXCC - FedEx Custom Critical.
",
+ "example": "FDXE"
+ },
+ "completedHoldAtLocationDetail": {
+ "$ref": "#/components/schemas/CompletedHoldAtLocationDetail"
+ },
+ "completedEtdDetail": {
+ "$ref": "#/components/schemas/CompletedEtdDetail"
+ },
+ "packagingDescription": {
+ "type": "string",
+ "description": "Specifies packaging description
Example: Customer Packaging",
+ "example": "Customer Packaging"
+ },
+ "masterTrackingId": {
+ "$ref": "#/components/schemas/TrackingId"
+ },
+ "serviceDescription": {
+ "$ref": "#/components/schemas/ServiceDescription"
+ },
+ "usDomestic": {
+ "type": "boolean",
+ "description": "Indicates whether or not this is an intra-U.S. shipment.",
+ "example": true
+ },
+ "hazardousShipmentDetail": {
+ "$ref": "#/components/schemas/CompletedHazardousShipmentDetail"
+ },
+ "shipmentRating": {
+ "$ref": "#/components/schemas/Create_ShipmentRating"
+ },
+ "documentRequirements": {
+ "$ref": "#/components/schemas/DocumentRequirementsDetail"
+ },
+ "exportComplianceStatement": {
+ "type": "string",
+ "description": "For US export shipments requiring an EEI, enter the ITN number received from AES when you filed your shipment or the FTR (Foreign Trade Regulations) exemption number.The proper format for an ITN number is AES XYYYYMMDDNNNNNN where YYYYMMDD is date and NNNNNN are numbers generated by the AES.
Example: AESX20220714987654
Note: The ITN or FTR exemption number you submit in the ship request prints on the international shipping label.
For CA export shipments,it can be Proof of report number(15-32 alphanumeric) , Summary proof of report number(7-32 alphanumeric) or Exemption number(2 digit) based on the selected b13AFilingOption.
Example: 98765432107654321(POR number), 7654321(Summary POR number) and 02(Exemption number).
For FTR exemption number you need provide a predefined value as NO_EEI_30_37_A.",
+ "example": "12345678901234567"
+ },
+ "accessDetail": {
+ "$ref": "#/components/schemas/PendingShipmentAccessDetail"
+ }
+ },
+ "description": "Returns the result of processing the desired package as a single-package shipment."
+ },
"TransactionShipmentOutputVO": {
"type": "object",
"properties": {
@@ -4367,6 +4622,22 @@
},
"description": "Specifies the api alerts."
},
+ "Alert_3PP": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Specifies the api alert code.
Example: RECIPIENTCONTACT.PHONENUMBER.NOTSUPPORTED",
+ "example": "RECIPIENTCONTACT.PHONENUMBER.NOTSUPPORTED"
+ },
+ "message": {
+ "type": "string",
+ "description": "Convenient Delivery Options will not be provided with recipient\u2019s landline number. Moving forward, please provide valid mobile phone number.",
+ "example": "Convenient Delivery Options will not be provided with recipient\u2019s landline number. Moving forward, please provide valid mobile phone number."
+ }
+ },
+ "description": "Specifies the api alerts."
+ },
"PieceResponse": {
"type": "object",
"properties": {
@@ -4808,33 +5079,6 @@
},
"description": "These are package rate details, as calculated per a specific rate type."
},
- "Surcharge": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "number",
- "format": "double",
- "example": "56.22",
- "description": "This is the surcharge amount.
Example: 15.35"
- },
- "surchargeType": {
- "type": "string",
- "description": "This is the surcharge type.
Example: APPOINTMENT_DELIVERY",
- "example": "APPOINTMENT_DELIVERY"
- },
- "level": {
- "type": "string",
- "description": "Specifies if the surcharge applies to the entire shipment, or to an individual package.
Example: PACKAGE",
- "example": "PACKAGE, or SHIPMENT"
- },
- "description": {
- "type": "string",
- "description": "Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services.
Example: Fuel Surcharge",
- "example": "description"
- }
- },
- "description": "These are surcharges details.
click here to see Surcharges"
- },
"CompletedHazardousPackageDetail": {
"type": "object",
"properties": {
@@ -4949,6 +5193,12 @@
"type": "string",
"description": "Indicate the unit of measure.
Example: KG",
"example": "Kg"
+ },
+ "value": {
+ "type": "number",
+ "description": "Weight Value.
Example: 68.25
Click here to see Weight Values.",
+ "format": "double",
+ "example": 68.25
}
},
"description": "Specify the Hazardous commodity quantity details."
@@ -5168,7 +5418,7 @@
},
"stateOrProvinceCode": {
"type": "string",
- "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.
Example: CA
click here to see State or Province Code",
+ "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional.
Example: CA
click here to see State or Province Code",
"example": "GA"
},
"destinationLocationNumber": {
@@ -5431,26 +5681,427 @@
"$ref": "#/components/schemas/ShipmentRateDetail"
}
}
- },
- "description": "All shipment-level rating data for this shipment, which may include data for multiple rate types."
+ }
},
- "ShipmentRateDetail": {
+ "Create_ShipmentRating": {
"type": "object",
"properties": {
- "rateZone": {
- "type": "string",
- "description": "Indicates the rate zone used (based on origin and destination).
Example: US001O",
- "example": "US001O"
- },
- "ratedWeightMethod": {
+ "actualRateType": {
"type": "string",
- "description": "Indicates which weight was used.
Example: ACTUAL",
- "example": "ACTUAL"
+ "description": "This rate type identifies which entry in the following array is considered as presenting the \"actual\" rates for the shipment.
Example: PAYOR_LIST_SHIPMENT",
+ "example": "PAYOR_LIST_SHIPMENT"
},
- "totalDutiesTaxesAndFees": {
- "type": "number",
- "description": "The total of the total duties & taxes and the total ancillary fees & taxes.
Example: 24.56",
- "format": "double",
+ "shipmentRateDetails": {
+ "type": "array",
+ "description": "Each element of this field provides shipment-level rate totals for a specific rate type.",
+ "items": {
+ "$ref": "#/components/schemas/ShipmentRateDetail"
+ }
+ },
+ "totalNetTransportationAndPickupCharge": {
+ "description": "Sum of totalNetCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of pickup.",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "totalNetFedExTransportationAndPickupCharge": {
+ "description": "Sum of totalNetFedExCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of a pickup.",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "pickupRateDetail": {
+ "description": "Charges associated with a scheduled shipment pickup",
+ "type": "object",
+ "properties": {
+ "rateType": {
+ "description": "Type used for this specific set of rate data.",
+ "type": "string",
+ "enum": [
+ "INCENTIVE",
+ "NEGOTIATED",
+ "PAYOR_ACCOUNT_PACKAGE",
+ "PAYOR_ACCOUNT_SHIPMENT",
+ "PAYOR_CUSTOM_PACKAGE",
+ "PAYOR_CUSTOM_SHIPMENT",
+ "PAYOR_LIST_PACKAGE",
+ "PAYOR_LIST_SHIPMENT",
+ "PAYOR_RETAIL_PACKAGE",
+ "PAYOR_RETAIL_SHIPMENT",
+ "PREFERRED_ACCOUNT_PACKAGE",
+ "PREFERRED_ACCOUNT_SHIPMENT",
+ "PREFERRED_CUSTOM_PACKAGE",
+ "PREFERRED_CUSTOM_SHIPMENT",
+ "PREFERRED_INCENTIVE",
+ "PREFERRED_LIST_PACKAGE",
+ "PREFERRED_LIST_SHIPMENT",
+ "PREFERRED_NEGOTIATED",
+ "PREFERRED_RETAIL_PACKAGE",
+ "PREFERRED_RETAIL_SHIPMENT",
+ "RATED_ACCOUNT_PACKAGE",
+ "RATED_ACCOUNT_SHIPMENT",
+ "RATED_CUSTOM_PACKAGE",
+ "RATED_CUSTOM_SHIPMENT",
+ "RATED_LIST_PACKAGE",
+ "RATED_LIST_SHIPMENT",
+ "RATED_RETAIL_PACKAGE",
+ "RATED_RETAIL_SHIPMENT",
+ "UNKNOWN"
+ ],
+ "example": "PAYOR_ACCOUNT_PACKAGE"
+ },
+ "rateScale": {
+ "type": "string",
+ "description": "Indicates the rate scale used.",
+ "example": "*USER IMS20160104 LD067110"
+ },
+ "rateZone": {
+ "description": "Indicates the rate zone used (based on origin and destination).",
+ "type": "string",
+ "example": "CA003O"
+ },
+ "ratingBasis": {
+ "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.
- SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.
- FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.
- PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.
",
+ "type": "string",
+ "enum": [
+ "SHIPMENT_WEIGHT_BASED",
+ "FLAT_RATE_PER_PAK",
+ "PACK_WEIGHT_BASED",
+ "UNKNOWN"
+ ],
+ "example": "SHIPMENT_WEIGHT_BASED"
+ },
+ "pricingCode": {
+ "description": "Identifies the type of pricing used for this shipment.",
+ "type": "string",
+ "enum": [
+ "ACTUAL",
+ "ALTERNATE",
+ "BASE",
+ "HUNDREDWEIGHT",
+ "HUNDREDWEIGHT_ALTERNATE",
+ "INTERNATIONAL_DISTRIBUTION",
+ "INTERNATIONAL_ECONOMY_SERVICE",
+ "LTL_FREIGHT",
+ "PACKAGE",
+ "SHIPMENT",
+ "SHIPMENT_FIVE_POUND_OPTIONAL",
+ "SHIPMENT_OPTIONAL",
+ "SPECIAL",
+ "UNKNOWN"
+ ],
+ "example": "ACTUAL"
+ },
+ "minimumChargeType": {
+ "description": "provides the minimum charge type applicable to the rates.",
+ "type": "string",
+ "enum": [
+ "CUSTOMER",
+ "CUSTOMER_FREIGHT_WEIGHT",
+ "EARNED_DISCOUNT",
+ "MIXED",
+ "RATE_SCALE",
+ "UNKNOWN"
+ ],
+ "example": "EARNED_DISCOUNT"
+ },
+ "currencyExchangeRate": {
+ "$ref": "#/components/schemas/CurrencyExchangeRate"
+ },
+ "specialRatingApplied": {
+ "type": "array",
+ "description": "Indicates which special rating cases applied to this shipment.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "FEDEX_ONE_RATE",
+ "FIXED_FUEL_SURCHARGE",
+ "IMPORT_PRICING"
+ ]
+ },
+ "example": "FEDEX_ONE_RATE"
+ },
+ "fuelSurchargePercent": {
+ "description": "Specify a fuel surcharge percentage.",
+ "format": "double",
+ "type": "number",
+ "example": 121
+ },
+ "pickupBaseChargeDescription": {
+ "description": "Will indicate the pickup charge description of the on call pickup",
+ "type": "string",
+ "enum": [
+ "Regularly Scheduled Pickup Mon-Fri",
+ "Automated Pickup Mon-Fri",
+ "Same Day OC Pickup Mon-Fri (CS)",
+ "Same Day OC Pickup Mon-Fri (Online)",
+ "Fut. Day OC Pickup Mon-Fri (CS)",
+ "Fut. Day OC Pickup Mon-Fri (Online)",
+ "Regularly Scheduled Pickup Sat",
+ "Automated Pickup Sat",
+ "Same Day OC Pickup Sat (CS)",
+ "Same Day OC Pickup Sat (Online)",
+ "Fut. Day OC Pickup Sat (CS)",
+ "Fut. Day OC Pickup Sat (Online)",
+ "Regularly Scheduled Pickup Sun",
+ "Automated Pickup Sun",
+ "Same Day OC Pickup Sun (CS)",
+ "Same Day OC Pickup Sun (Online)",
+ "Fut. Day OC Pickup Sun (CS)",
+ "Fut. Day OC Pickup Sun (Online)",
+ "Residential On-Call Pickup Surcharge",
+ "Pickup Area Surcharge",
+ "Extended Pickup Area Surcharge",
+ "Remote Pickup Area Surcharge",
+ "Fuel Surcharge"
+ ],
+ "example": "Pickup Area Surcharge"
+ },
+ "totalBaseCharge": {
+ "description": "Total base charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalFreightDiscounts": {
+ "description": "The total discounts used in the rate calculation.
Example: 1257.26",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalNetFreight": {
+ "description": "This shipment's totalNetFreight.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalSurcharges": {
+ "description": "The sum of all surcharges on the package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalNetFedExCharge": {
+ "description": "This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalTaxes": {
+ "description": "The sum of all taxes on this package.
Example: 1257.25",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalNetCharge": {
+ "description": "Total net charges for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalRebates": {
+ "description": "The total sum of all rebates applied to this package.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalDutiesAndTaxes": {
+ "description": "The sum of shipment/package Duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalAncillaryFeesAndTaxes": {
+ "description": "Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalDutiesTaxesAndFees": {
+ "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "totalNetChargeWithDutiesAndTaxes": {
+ "description": "Total netChargesWithDutiesAndTaxes for the shipment.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Money_2"
+ }
+ ]
+ },
+ "freightDiscounts": {
+ "description": "All rate discounts that apply to this shipment",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RateDiscount"
+ }
+ },
+ "rebates": {
+ "description": "The all rebates applied to this package.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Rebate"
+ }
+ },
+ "surcharges": {
+ "description": "The amount of surcharges applied to this shipment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Surcharge_2"
+ }
+ },
+ "taxes": {
+ "description": "List of taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Tax"
+ }
+ },
+ "dutiesAndTaxes": {
+ "description": "List of The shipment/package Duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/EdtCommodityTax"
+ }
+ },
+ "ancillaryFeesAndTaxes": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/AncillaryFeeAndTax"
+ }
+ },
+ "variableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges"
+ }
+ ]
+ },
+ "totalVariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VariableHandlingCharges"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "description": "All shipment-level rating data for this shipment, which may include data for multiple rate types."
+ },
+ "EdtCommodityTax": {
+ "description": "The shipment/package Duties and taxes.",
+ "type": "object",
+ "properties": {
+ "harmonizedCode": {
+ "description": "Harmonized code is used by customer to classify the product being shipped and define the duties and taxes to be paid.",
+ "type": "string",
+ "example": "harmonizedCode"
+ },
+ "taxes": {
+ "$ref": "#/components/schemas/EdtTaxDetail"
+ },
+ "total": {
+ "description": "Total of Duties and taxes",
+ "$ref": "#/components/schemas/Money_2"
+ }
+ }
+ },
+ "AncillaryFeeAndTax": {
+ "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "enum": [
+ "CLEARANCE_ENTRY_FEE",
+ "GOODS_AND_SERVICES_TAX",
+ "HARMONIZED_SALES_TAX",
+ "OTHER"
+ ],
+ "example": "CLEARANCE_ENTRY_FEE"
+ },
+ "description": {
+ "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "list of AncillaryFees And Taxes",
+ "$ref": "#/components/schemas/Money_2"
+ }
+ }
+ },
+ "Rebate": {
+ "type": "object",
+ "properties": {
+ "rebateType": {
+ "description": "The type of rebate.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "EARNED",
+ "OTHER"
+ ],
+ "example": "EARNED"
+ },
+ "description": {
+ "description": "The description of the rebate",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "provides the calculated rebate amount based on customer details, transaction information, and applicable rules. ",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "ShipmentRateDetail": {
+ "type": "object",
+ "properties": {
+ "rateZone": {
+ "type": "string",
+ "description": "Indicates the rate zone used (based on origin and destination).
Example: US001O",
+ "example": "US001O"
+ },
+ "ratedWeightMethod": {
+ "type": "string",
+ "description": "Indicates which weight was used.
Example: ACTUAL",
+ "example": "ACTUAL"
+ },
+ "totalDutiesTaxesAndFees": {
+ "type": "number",
+ "description": "The total of the total duties & taxes and the total ancillary fees & taxes.
Example: 24.56",
+ "format": "double",
"example": 24.56
},
"pricingCode": {
@@ -5488,7 +6139,7 @@
"items": {
"type": "object",
"schema": {
- "$ref": "#/components/schemas/Tax"
+ "$ref": "#/components/schemas/Tax_2"
}
}
},
@@ -5558,7 +6209,7 @@
"type": "array",
"description": "Indicates the freight discounts.",
"items": {
- "$ref": "#/components/schemas/RateDiscount"
+ "$ref": "#/components/schemas/RateDiscount_2"
}
},
"rateScale": {
@@ -5592,33 +6243,6 @@
},
"description": "This is a placeholder for shipment total/summary rates details, as calculated per a specific rate type. The totals may differ from the sum of corresponding package data for Multiweight or Express MPS."
},
- "Tax": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "number",
- "description": "Indicates the amount of tax.
Example: 10.0",
- "format": "double",
- "example": 10
- },
- "level": {
- "type": "string",
- "description": "Indicates the Level of Tax.
Example: level",
- "example": "level"
- },
- "description": {
- "type": "string",
- "description": "Placeholder for the tax description.
Example: descrption",
- "example": "description"
- },
- "type": {
- "type": "string",
- "description": "Placeholder for the Type of the Tax.
Example:type",
- "example": "type"
- }
- },
- "description": "Specifies the tax for the shipment."
- },
"CurrencyExchangeRate": {
"type": "object",
"properties": {
@@ -5658,7 +6282,7 @@
"type": "array",
"description": "Specifies the taxes.",
"items": {
- "$ref": "#/components/schemas/Tax"
+ "$ref": "#/components/schemas/Tax_2"
}
},
"totalDimWeight": {
@@ -5768,7 +6392,7 @@
"freightDiscounts": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/RateDiscount"
+ "$ref": "#/components/schemas/RateDiscount_2"
}
},
"rateScale": {
@@ -5796,34 +6420,6 @@
},
"description": "This is a placeholder for single leg of a shipment rates details, as calculated per a specific rate type."
},
- "RateDiscount": {
- "type": "object",
- "properties": {
- "amount": {
- "type": "number",
- "description": "Specifies the amount.
Example: 8.9",
- "format": "double",
- "example": 8.9
- },
- "rateDiscountType": {
- "type": "string",
- "description": "The type of rate discount.
Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.
Example: COUPON",
- "example": "COUPON"
- },
- "percent": {
- "type": "number",
- "description": "Specifies the percentage of Rate discount.
Example: 28.9",
- "format": "double",
- "example": 28.9
- },
- "description": {
- "type": "string",
- "description": "Specifies the description of the discounted rate.
Example: description",
- "example": "description"
- }
- },
- "description": "Specifies discount Rate for Shipment."
- },
"DocumentRequirementsDetail": {
"type": "object",
"properties": {
@@ -6108,6 +6704,9 @@
"type": "string",
"description": "This is an unique number assigned by FedEx to the packages for tracking.
Example: \"794953555571\"",
"example": "794953555571"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
},
"description": "The request elements required to cancel a shipment. "
@@ -6173,6 +6772,9 @@
"type": "string",
"description": "Indicates the job under which the deferred shipment artifacts must be identified in the subsequent retrieval request.
Example: 89sxxxxx233ae24ff31xxxxx",
"example": "89sxxxxx233ae24ff31xxxxx"
+ },
+ "version": {
+ "$ref": "#/components/schemas/Version"
}
}
},
@@ -6429,7 +7031,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Specify contact phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
+ "description": "Specify contact phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890",
"example": "1234567890"
},
"phoneExtension": {
@@ -6660,6 +7262,26 @@
}
}
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "minor": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ },
+ "patch": {
+ "description": "This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
+ "example": "1",
+ "type": "integer"
+ }
+ }
+ },
"Full_Schema_Create_Tag": {
"required": [
"accountNumber",
@@ -6815,7 +7437,7 @@
},
"totalWeight": {
"type": "number",
- "description": "Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
+ "description": "Indicate the shipment total weight in Metric or US.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
"format": "double",
"example": 20.6
},
@@ -6962,7 +7584,7 @@
"type": "array",
"description": "Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment.",
"items": {
- "$ref": "#/components/schemas/Commodity"
+ "$ref": "#/components/schemas/Commodity_2"
}
},
"isDocumentOnly": {
@@ -7371,6 +7993,9 @@
"$ref": "#/components/schemas/RecipientsParty"
}
},
+ "pickupDetail": {
+ "$ref": "#/components/schemas/PickupDetail"
+ },
"soldTo": {
"description": "Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply.",
"$ref": "#/components/schemas/SoldToParty"
@@ -7402,7 +8027,7 @@
},
"totalWeight": {
"type": "number",
- "description": "Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
+ "description": "Indicate the shipment total weight in Metric or US.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
",
"format": "double",
"example": 20.6
},
@@ -7501,7 +8126,7 @@
},
"stateOrProvinceCode": {
"type": "string",
- "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.
Example: CA
click here to see State or Province Code"
+ "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional.
Example: CA
click here to see State or Province Code"
},
"postalCode": {
"type": "string",
@@ -7662,113 +8287,147 @@
}
}
},
- "Commodity": {
- "required": [
- "description"
- ],
+ "DocTabContentZone": {
"type": "object",
"properties": {
- "unitPrice": {
- "description": "This is the unit price.",
- "$ref": "#/components/schemas/Money"
- },
- "additionalMeasures": {
+ "docTabZoneSpecifications": {
"type": "array",
- "description": "This object contains additional quantitative information other than weight and quantity to calculate duties and taxes.",
+ "description": "Indicate the doc tab specifications for the individual doc tab zone on the label.",
"items": {
- "$ref": "#/components/schemas/AdditionalMeasures"
+ "$ref": "#/components/schemas/DocTabZoneSpecification"
}
+ }
+ },
+ "description": "Indicate the doc tab specification for different zones on the label. The specification includes zone number, header and data field to be displayed on the label."
+ },
+ "EdtTaxDetail": {
+ "description": "Estimated duties and taxes detail.",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Estimated taxes type",
+ "type": "string",
+ "enum": [
+ "ADDITIONAL_TAXES",
+ "CONSULAR_INVOICE_FEE",
+ "CUSTOMS_SURCHARGES",
+ "DUTY",
+ "EXCISE_TAX",
+ "FOREIGN_EXCHANGE_TAX",
+ "GENERAL_SALES_TAX",
+ "IMPORT_LICENSE_FEE",
+ "INTERNAL_ADDITIONAL_TAXES",
+ "INTERNAL_SENSITIVE_PRODUCTS_TAX",
+ "OTHER",
+ "SENSITIVE_PRODUCTS_TAX",
+ "STAMP_TAX",
+ "STATISTICAL_TAX",
+ "TRANSPORT_FACILITIES_TAX"
+ ],
+ "example": "INCENTIVE"
},
- "numberOfPieces": {
- "type": "integer",
- "description": "Indicate the number of pieces associated with the commodity. The value can neither be negative nor exceed 9,999.
Example: 12",
- "format": "int32",
- "example": 12
+ "taxcode": {
+ "type": "string",
+ "example": "taxcode"
},
- "quantity": {
- "type": "integer",
- "description": "This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.
Example: 125",
- "format": "int32",
- "example": 125
+ "effectiveDate": {
+ "description": "Estimated duties and taxes effective date. Format [YYYY-MM-DD].",
+ "type": "string",
+ "example": "2019-12-06"
},
- "quantityUnits": {
+ "name": {
+ "description": "The localized name of the surcharge.",
"type": "string",
- "description": "This is the unit of measure for the units quantity. This is used to estimate duties and taxes.
Example: EA
click here to see Commodity Unit Measures",
- "example": "Ea"
+ "example": "VAT"
},
- "customsValue": {
- "description": "This customs value is applicable for all items(or units) under the specified commodity.",
- "$ref": "#/components/schemas/Customs_Money"
+ "taxableValue": {
+ "description": "Estimated duties and taxes taxable Value.",
+ "$ref": "#/components/schemas/Money_2"
},
- "countryOfManufacture": {
+ "description": {
+ "description": "FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible",
"type": "string",
- "description": "This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.
Example: US
click here to see Country codes",
- "example": "US"
+ "example": "Christmas"
},
- "cIMarksAndNumbers": {
+ "formula": {
+ "description": "Indicates the formula.",
"type": "string",
- "description": "This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment
Example: 87123",
- "example": "87123"
+ "example": "VAT Payable = Output VAT \u2013 Input VAT"
},
- "harmonizedCode": {
- "type": "string",
- "description": "This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.
Example: 0613
To research the classification for your commodity, use the FedEx Global Trade Manager online at fedex.com/gtm. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination.",
- "example": "0613"
+ "amount": {
+ "description": "Amount for the estimated duties and taxes type.",
+ "$ref": "#/components/schemas/Money_2"
},
- "description": {
- "type": "string",
- "description": "Required
ScrewsMaximum allowed 450 characters.
Example: description",
- "example": "description"
- },
- "name": {
- "type": "string",
- "description": "This is Commodity name.
Example: Non-Threaded Rivets",
- "example": "non-threaded rivets"
- },
- "weight": {
- "$ref": "#/components/schemas/Weight"
- },
- "exportLicenseNumber": {
- "type": "string",
- "description": "This is the export license number for the shipment.
Example: 26456",
- "example": "26456"
- },
- "exportLicenseExpirationDate": {
- "type": "string",
- "description": "Specify the export license expiration date for the shipment.
Format YYYY-MM-DD
Example : 2009-04-12",
- "format": "date-time"
- },
- "partNumber": {
- "type": "string",
- "description": "This is a part number.
Example: 167",
- "example": "167"
- },
- "purpose": {
- "type": "string",
- "description": "This field is used for calculation of duties and taxes.
Valid values are : BUSINESS and CONSUMER.
Example:BUSINESS",
- "example": "BUSINESS",
- "enum": [
- "BUSINESS",
- "CONSUMER"
- ]
+ "taxRates": {
+ "description": "Estimated duties and taxes taxRates",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "example": null
+ },
+ "currency": {
+ "type": "string",
+ "example": null
+ },
+ "quantity": {
+ "format": "double",
+ "type": "number",
+ "example": null
+ },
+ "unitOfMeasure": {
+ "type": "string",
+ "example": null
+ }
+ }
+ }
},
- "usmcaDetail": {
- "$ref": "#/components/schemas/UsmcaDetail"
+ "appliedPreferentialTradeAgreement": {
+ "description": "provides details about PTA applied between countries for specific product. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "name": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ },
+ "description": {
+ "description": "",
+ "type": "string",
+ "example": "description"
+ }
+ }
}
}
},
- "DocTabContentZone": {
+ "VariableHandlingCharges": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
"type": "object",
"properties": {
- "docTabZoneSpecifications": {
- "type": "array",
- "description": "Indicate the doc tab specifications for the individual doc tab zone on the label.",
- "items": {
- "$ref": "#/components/schemas/DocTabZoneSpecification"
- }
+ "variableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "fixedVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "percentVariableHandlingCharge": {
+ "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "totalCustomerCharge": {
+ "description": "Specifies the total customer assessed handling charges.
Example: 445.54",
+ "$ref": "#/components/schemas/Money_2"
}
- },
- "description": "Indicate the doc tab specification for different zones on the label. The specification includes zone number, header and data field to be displayed on the label."
+ }
},
"CXSError": {
"type": "object",
@@ -7848,12 +8507,52 @@
}
}
},
+ "Money": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "This is the amount. Maximum limit is 5 digits before decimal.
Example: 12.45",
+ "format": "double",
+ "example": 12.45
+ },
+ "currency": {
+ "type": "string",
+ "description": "This is the currency code for the amount.
Example: USD
Click here to see Currency codes",
+ "example": "USD"
+ }
+ },
+ "description": "This customs value is applicable for all items(or units) under the specified commodity"
+ },
+ "Money_2": {
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "currency": {
+ "type": "string",
+ "description": "Three-character currency code (e.g. USD, CAD, EUR, JPY, etc.)
Click here to see Currency Codes",
+ "example": "USD"
+ },
+ "value": {
+ "type": "string",
+ "description": "Specify the value.",
+ "example": "CUSTOMS_VALUE",
+ "enum": [
+ "CUSTOMS_VALUE",
+ "INSURED_VALUE"
+ ]
+ }
+ },
+ "description": "This is commodity value used for Customs declaration."
+ },
"PartyAddress": {
"type": "object",
"properties": {
"streetLines": {
"type": "array",
- "description": "Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Example: [1550 Union Blvd,Suite 302]",
+ "description": "This is the Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.
Note - For FedEx Ground Economy, a maximum of 30 characters will be printed on the label, excess characters will be truncated.
Example: [1550 Union Blvd,Suite 302]",
"example": "1550 Union Blvd, Suite 302",
"items": {
"type": "string"
@@ -7920,7 +8619,7 @@
},
"stateOrProvinceCode": {
"type": "string",
- "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.
Example: CA.
click here to see State or Province Code",
+ "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional.
Example: CA.
click here to see State or Province Code",
"example": "CA"
},
"postalCode": {
@@ -7977,7 +8676,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"companyName": {
@@ -8052,7 +8751,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "Contact person's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
+ "description": "Contact person's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890",
"example": "918xxxxx890"
},
"phoneExtension": {
@@ -8095,7 +8794,7 @@
},
"phoneNumber": {
"type": "string",
- "description": "The shippers phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of 1 or +1.
Example: 918xxxxx890"
+ "description": "The shippers phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of 1 or +1.
Example: 918xxxxx890"
},
"phoneExtension": {
"type": "string",
@@ -8246,7 +8945,7 @@
"$ref": "#/components/schemas/ResponsiblePartyParty"
}
},
- "description": "Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.",
+ "description": "Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY.",
"example": {
"responsibleParty": {
"address": {
@@ -8515,7 +9214,7 @@
"type": "object",
"properties": {
"totalWeight": {
- "description": "Specify total dry ice weight for the shipment.",
+ "description": "This is the total dry ice weight in all packages of this shipment",
"$ref": "#/components/schemas/Weight"
},
"packageCount": {
@@ -8530,6 +9229,494 @@
},
"description": "Specifies the shipment level totals of dry ice data across all packages."
},
+ "Commodity": {
+ "required": [
+ "description"
+ ],
+ "type": "object",
+ "properties": {
+ "clearanceItemDetail": {
+ "type": "array",
+ "description": "These are commodities clearance item detail",
+ "items": {
+ "$ref": "#/components/schemas/ClearanceItemDetail"
+ }
+ },
+ "unitPrice": {
+ "description": "This is the unit price.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "additionalMeasures": {
+ "type": "array",
+ "description": "This object contains additional quantitative information other than weight and quantity to calculate duties and taxes.",
+ "items": {
+ "$ref": "#/components/schemas/AdditionalMeasures"
+ }
+ },
+ "numberOfPieces": {
+ "type": "integer",
+ "description": "Indicate the number of pieces associated with the commodity. The value can neither be negative nor exceed 9,999.
Example: 12",
+ "format": "int32",
+ "example": 12
+ },
+ "quantity": {
+ "type": "integer",
+ "description": "This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.
Example: 125",
+ "format": "int32",
+ "example": 125
+ },
+ "quantityUnits": {
+ "type": "string",
+ "description": "This is the unit of measure for the units quantity. This is used to estimate duties and taxes.
Example: EA
click here to see Commodity Unit Measures",
+ "example": "Ea"
+ },
+ "customsValue": {
+ "description": "This customs value is applicable for all items(or units) under the specified commodity.",
+ "$ref": "#/components/schemas/Customs_Money"
+ },
+ "countryOfManufacture": {
+ "type": "string",
+ "description": "This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.
Example: US
click here to see Country codes",
+ "example": "US"
+ },
+ "cIMarksAndNumbers": {
+ "type": "string",
+ "description": "This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment
Example: 87123",
+ "example": "87123"
+ },
+ "harmonizedCode": {
+ "type": "string",
+ "description": "This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.
Example: 0613
To research the classification for your commodity, use the FedEx Global Trade Manager online at fedex.com/gtm. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination.",
+ "example": "0613"
+ },
+ "description": {
+ "type": "string",
+ "description": "Required
ScrewsMaximum allowed 450 characters.
Example: description",
+ "example": "description"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is Commodity name.
Example: Non-Threaded Rivets",
+ "example": "non-threaded rivets"
+ },
+ "weight": {
+ "$ref": "#/components/schemas/Weight"
+ },
+ "exportLicenseNumber": {
+ "type": "string",
+ "description": "This is the export license number for the shipment.
Example: 26456",
+ "example": "26456"
+ },
+ "exportLicenseExpirationDate": {
+ "type": "string",
+ "description": "Specify the export license expiration date for the shipment.
Format YYYY-MM-DD
Example : 2009-04-12",
+ "format": "date-time"
+ },
+ "partNumber": {
+ "type": "string",
+ "description": "This is a part number.
Example: 167",
+ "example": "167"
+ },
+ "purpose": {
+ "type": "string",
+ "description": "This field is used for calculation of duties and taxes.
Valid values are : BUSINESS and CONSUMER.
Example:BUSINESS",
+ "example": "BUSINESS",
+ "enum": [
+ "BUSINESS",
+ "CONSUMER"
+ ]
+ },
+ "usmcaDetail": {
+ "$ref": "#/components/schemas/UsmcaDetail"
+ }
+ }
+ },
+ "Commodity_2": {
+ "required": [
+ "description"
+ ],
+ "type": "object",
+ "properties": {
+ "unitPrice": {
+ "description": "This is the unit price.",
+ "$ref": "#/components/schemas/Money"
+ },
+ "additionalMeasures": {
+ "type": "array",
+ "description": "This object contains additional quantitative information other than weight and quantity to calculate duties and taxes.",
+ "items": {
+ "$ref": "#/components/schemas/AdditionalMeasures"
+ }
+ },
+ "numberOfPieces": {
+ "type": "integer",
+ "description": "Indicate the number of pieces associated with the commodity. The value can neither be negative nor exceed 9,999.
Example: 12",
+ "format": "int32",
+ "example": 12
+ },
+ "quantity": {
+ "type": "integer",
+ "description": "This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.
Example: 125",
+ "format": "int32",
+ "example": 125
+ },
+ "quantityUnits": {
+ "type": "string",
+ "description": "This is the unit of measure for the units quantity. This is used to estimate duties and taxes.
Example: EA
click here to see Commodity Unit Measures",
+ "example": "Ea"
+ },
+ "customsValue": {
+ "description": "This customs value is applicable for all items(or units) under the specified commodity.",
+ "$ref": "#/components/schemas/Customs_Money"
+ },
+ "countryOfManufacture": {
+ "type": "string",
+ "description": "This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.
Example: US
click here to see Country codes",
+ "example": "US"
+ },
+ "cIMarksAndNumbers": {
+ "type": "string",
+ "description": "This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment
Example: 87123",
+ "example": "87123"
+ },
+ "harmonizedCode": {
+ "type": "string",
+ "description": "This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.
Example: 0613
To research the classification for your commodity, use the FedEx Global Trade Manager online at fedex.com/gtm. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination.",
+ "example": "0613"
+ },
+ "description": {
+ "type": "string",
+ "description": "Required
ScrewsMaximum allowed 450 characters.
Example: description",
+ "example": "description"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is Commodity name.
Example: Non-Threaded Rivets",
+ "example": "non-threaded rivets"
+ },
+ "weight": {
+ "$ref": "#/components/schemas/Weight"
+ },
+ "exportLicenseNumber": {
+ "type": "string",
+ "description": "This is the export license number for the shipment.
Example: 26456",
+ "example": "26456"
+ },
+ "exportLicenseExpirationDate": {
+ "type": "string",
+ "description": "Specify the export license expiration date for the shipment.
Format YYYY-MM-DD
Example : 2009-04-12",
+ "format": "date-time"
+ },
+ "partNumber": {
+ "type": "string",
+ "description": "This is a part number.
Example: 167",
+ "example": "167"
+ },
+ "purpose": {
+ "type": "string",
+ "description": "This field is used for calculation of duties and taxes.
Valid values are : BUSINESS and CONSUMER.
Example:BUSINESS",
+ "example": "BUSINESS",
+ "enum": [
+ "BUSINESS",
+ "CONSUMER"
+ ]
+ },
+ "usmcaDetail": {
+ "$ref": "#/components/schemas/UsmcaDetail"
+ }
+ }
+ },
+ "Surcharge": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "format": "double",
+ "example": "56.22",
+ "description": "This is the surcharge amount.
Example: 15.35"
+ },
+ "surchargeType": {
+ "type": "string",
+ "description": "This is the surcharge type.
Example: APPOINTMENT_DELIVERY",
+ "example": "APPOINTMENT_DELIVERY"
+ },
+ "level": {
+ "type": "string",
+ "description": "Specifies if the surcharge applies to the entire shipment, or to an individual package.
Example: PACKAGE",
+ "example": "PACKAGE, or SHIPMENT"
+ },
+ "description": {
+ "type": "string",
+ "description": "Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services.
Example: Fuel Surcharge",
+ "example": "description"
+ }
+ },
+ "description": "These are surcharges details.
click here to see Surcharges"
+ },
+ "Surcharge_2": {
+ "type": "object",
+ "properties": {
+ "surchargeType": {
+ "description": "The type of surcharge.",
+ "type": "string",
+ "enum": [
+ "ACCOUNT_NUMBER_PROCESSING_FEE",
+ "ADDITIONAL_HANDLING",
+ "ADDRESS_CORRECTION",
+ "ANCILLARY_FEE",
+ "APPOINTMENT_DELIVERY",
+ "BLIND_SHIPMENT",
+ "BROKER_SELECT_OPTION",
+ "CANADIAN_DESTINATION",
+ "CHARGEABLE_PALLET_WEIGHT",
+ "COD",
+ "CUT_FLOWERS",
+ "DANGEROUS_GOODS",
+ "DELIVERY_AREA",
+ "DELIVERY_CONFIRMATION",
+ "DELIVERY_ON_INVOICE_ACCEPTANCE",
+ "DEMAND",
+ "DEMAND_ADDITIONAL_HANDLING",
+ "DEMAND_OVERSIZE",
+ "DEMAND_RESIDENTIAL_DELIVERY",
+ "DETENTION",
+ "DOCUMENTATION_FEE",
+ "DRY_ICE",
+ "EMAIL_LABEL",
+ "ENHANCED_SECURITY",
+ "EUROPE_FIRST",
+ "EXCESS_VALUE",
+ "EXCLUSIVE_USE",
+ "EXHIBITION",
+ "EXPEDITED",
+ "EXPORT",
+ "EXTRA_LABOR",
+ "EXTRA_SURFACE_HANDLING_CHARGE",
+ "EXTREME_LENGTH",
+ "FEDEX_INTRACOUNTRY_FEES",
+ "FEDEX_TAG",
+ "FICE",
+ "FLATBED",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_PICKUP",
+ "FREIGHT_DIRECT_BASIC_DELIVERY",
+ "FREIGHT_DIRECT_BASIC_PICKUP",
+ "FREIGHT_DIRECT_PREMIUM_DELIVERY",
+ "FREIGHT_DIRECT_PREMIUM_PICKUP",
+ "FREIGHT_DIRECT_STANDARD_DELIVERY",
+ "FREIGHT_DIRECT_STANDARD_PICKUP",
+ "FREIGHT_GUARANTEE",
+ "FREIGHT_ON_VALUE",
+ "FREIGHT_TO_COLLECT",
+ "FUEL",
+ "HIGH_COST_SERVICE_AREA_DESTINATION",
+ "HIGH_COST_SERVICE_AREA_ORIGIN",
+ "HIGH_DENSITY",
+ "HOLD_AT_LOCATION",
+ "HOLIDAY_DELIVERY",
+ "HOLIDAY_GUARANTEE",
+ "HOME_DELIVERY_APPOINTMENT",
+ "HOME_DELIVERY_DATE_CERTAIN",
+ "HOME_DELIVERY_EVENING",
+ "INSIDE_DELIVERY",
+ "INSIDE_PICKUP",
+ "INSURED_VALUE",
+ "INTERHAWAII",
+ "LIFTGATE_DELIVERY",
+ "LIFTGATE_PICKUP",
+ "LIMITED_ACCESS_DELIVERY",
+ "LIMITED_ACCESS_PICKUP",
+ "MARKING_OR_TAGGING",
+ "METRO_DELIVERY",
+ "METRO_PICKUP",
+ "MONITORING_AND_INTERVENTION",
+ "NON_BUSINESS_TIME",
+ "NON_MACHINABLE",
+ "OFFSHORE",
+ "ON_CALL_PICKUP",
+ "ON_DEMAND_CARE",
+ "OTHER",
+ "OUT_OF_DELIVERY_AREA",
+ "OUT_OF_PICKUP_AREA",
+ "OVER_DIMENSION",
+ "OVER_LENGTH",
+ "OVERSIZE",
+ "OVERWEIGHT",
+ "PALLET_SHRINKWRAP",
+ "PALLETS_PROVIDED",
+ "PEAK",
+ "PEAK_ADDITIONAL_HANDLING",
+ "PEAK_OVERSIZE",
+ "PEAK_RESIDENTIAL_DELIVERY",
+ "PERMIT",
+ "PIECE_COUNT_VERIFICATION",
+ "PORT",
+ "PRE_DELIVERY_NOTIFICATION",
+ "PRIORITY_ALERT",
+ "PROTECTION_FROM_FREEZING",
+ "REGIONAL_MALL_DELIVERY",
+ "REGIONAL_MALL_PICKUP",
+ "REROUTE",
+ "RESCHEDULE",
+ "RESIDENTIAL_DELIVERY",
+ "RESIDENTIAL_PICKUP",
+ "RETURN_LABEL",
+ "SATURDAY_DELIVERY",
+ "SATURDAY_PICKUP",
+ "SHIPMENT_ASSEMBLY",
+ "SIGNATURE_OPTION",
+ "SINGLE_PIECE",
+ "SORT_AND_SEGREGATE",
+ "SPECIAL_DELIVERY",
+ "SPECIAL_EQUIPMENT",
+ "STORAGE",
+ "SUNDAY_DELIVERY",
+ "TARP",
+ "THIRD_PARTY_BILLING",
+ "THIRD_PARTY_CONSIGNEE",
+ "TRANSMART_SERVICE_FEE",
+ "USPS",
+ "WEIGHING"
+ ],
+ "example": "COD"
+ },
+ "level": {
+ "description": "The level of surcharge.",
+ "type": "string",
+ "enum": [
+ "PACKAGE",
+ "SHIPMENT"
+ ],
+ "example": "PACKAGE"
+ },
+ "description": {
+ "description": "The description of the surcharge.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
+ "$ref": "#/components/schemas/Money_2"
+ }
+ }
+ },
+ "RateDiscount": {
+ "type": "object",
+ "properties": {
+ "rateDiscountType": {
+ "description": "Indicates the type.",
+ "type": "string",
+ "enum": [
+ "BONUS",
+ "COUPON",
+ "EARNED",
+ "INCENTIVE",
+ "OTHER",
+ "VOLUME"
+ ],
+ "example": "INCENTIVE"
+ },
+ "description": {
+ "description": "Indicates the description for the rate discount.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Indicates the amount for the rate discount.",
+ "$ref": "#/components/schemas/Money_2"
+ },
+ "percent": {
+ "format": "double",
+ "type": "number",
+ "example": 0
+ }
+ }
+ },
+ "RateDiscount_2": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "Specifies the amount.
Example: 8.9",
+ "format": "double",
+ "example": 8.9
+ },
+ "rateDiscountType": {
+ "type": "string",
+ "description": "The type of rate discount.
Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.
Example: COUPON",
+ "example": "COUPON"
+ },
+ "percent": {
+ "type": "number",
+ "description": "Specifies the percentage of Rate discount.
Example: 28.9",
+ "format": "double",
+ "example": 28.9
+ },
+ "description": {
+ "type": "string",
+ "description": "Specifies the description of the discounted rate.
Example: description",
+ "example": "description"
+ }
+ },
+ "description": "Specifies discount Rate for Shipment."
+ },
+ "Tax": {
+ "description": "Tax surcharge details",
+ "type": "object",
+ "properties": {
+ "taxType": {
+ "description": "Specifies the type of Surcharge/Tax.",
+ "type": "string",
+ "enum": [
+ "EXPORT",
+ "GST",
+ "HST",
+ "INTRACOUNTRY",
+ "OTHER",
+ "PST",
+ "SST",
+ "VAT"
+ ],
+ "example": "VAT"
+ },
+ "description": {
+ "description": "Specifies the description of the Surcharge/Tax.",
+ "type": "string",
+ "example": "description"
+ },
+ "amount": {
+ "description": "Specifies the list of tax amounts.",
+ "$ref": "#/components/schemas/Money_2"
+ }
+ }
+ },
+ "Tax_2": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "number",
+ "description": "Indicates the amount of tax.
Example: 10.0",
+ "format": "double",
+ "example": 10
+ },
+ "level": {
+ "type": "string",
+ "description": "Indicates the Level of Tax.
Example: level",
+ "example": "level"
+ },
+ "description": {
+ "type": "string",
+ "description": "Placeholder for the tax description.
Example: descrption",
+ "example": "description"
+ },
+ "type": {
+ "type": "string",
+ "description": "Placeholder for the Type of the Tax.
Example:type",
+ "example": "type"
+ }
+ },
+ "description": "Specifies the tax for the shipment."
+ },
"ErrorResponseVO": {
"type": "object",
"properties": {
diff --git a/resources/models/track/v1.json b/resources/models/track/v1.json
index 009de13d..d1c42cb4 100644
--- a/resources/models/track/v1.json
+++ b/resources/models/track/v1.json
@@ -2548,7 +2548,10 @@
"ESTIMATED_PICKUP",
"ESTIMATED_RETURN_TO_STATION",
"SHIP",
- "SHIPMENT_DATA_RECEIVED"
+ "SHIPMENT_DATA_RECEIVED",
+ "TYPICAL",
+ "PROJECTED",
+ "PRE_DELIVERY"
]
}
}
diff --git a/resources/models/trade-documents-upload/v1.json b/resources/models/trade-documents-upload/v1.json
index 77647082..0ef852cc 100644
--- a/resources/models/trade-documents-upload/v1.json
+++ b/resources/models/trade-documents-upload/v1.json
@@ -252,7 +252,7 @@
"name": "x-customer-transaction-id",
"in": "header",
"description": "Identifies the transaction ID of the request.
Example: \"771407-1\"",
- "required": true,
+ "required": false,
"schema": {
"type": "string",
"example": "771407-1"
@@ -1135,11 +1135,9 @@
"example": "090493e181586308"
},
"folderId": {
- "type": "array",
+ "type": "string",
"description": "This is the reference server folder id, where the document is uploaded. ",
- "example": [
- "0b0493e1812f8921"
- ],
+ "example": "0b0493e1812f8921",
"items": {
"type": "string"
}
@@ -1352,7 +1350,7 @@
},
"name": {
"type": "string",
- "description": "Specify file name to be uploaded.
Example: Signature.PNG",
+ "description": "Specify file name to be uploaded.
Example: LH2.PNG",
"example": "FedExImages.PNG"
},
"contentType": {
@@ -1400,7 +1398,7 @@
"example": "D0l5gsn6inat9IiB"
},
"folderId": {
- "type": "array",
+ "type": "string",
"description": "This is the reference server folder id, where the document is uploaded. Note that, this data is returned only for Post-Shipment Upload scenario",
"items": {
"type": "string",
@@ -1469,7 +1467,7 @@
"carrierCode",
"destinationCountryCode",
"metaData",
- "orginCountryCode",
+ "originCountryCode",
"workflowName"
],
"type": "object",
@@ -1492,7 +1490,7 @@
"FDXG"
]
},
- "orginCountryCode": {
+ "originCountryCode": {
"type": "string",
"description": "Provide origin country code for the shipment",
"example": "US"
@@ -1528,7 +1526,7 @@
"carrierCode",
"destinationCountryCode",
"metaData",
- "orginCountryCode",
+ "originCountryCode",
"workflowName"
],
"type": "object",
@@ -1551,7 +1549,7 @@
"FDXG"
]
},
- "orginCountryCode": {
+ "originCountryCode": {
"type": "string",
"description": "Origin country code for the shipment.
Example: US
Click here to see Country Codes",
"example": "US"
diff --git a/src/Api/AddressValidationV1/Requests/ValidateAddress.php b/src/Api/AddressValidationV1/Requests/ValidateAddress.php
index a5365f4d..64877e1b 100644
--- a/src/Api/AddressValidationV1/Requests/ValidateAddress.php
+++ b/src/Api/AddressValidationV1/Requests/ValidateAddress.php
@@ -24,9 +24,9 @@
/**
* Validate Address
*
- * Use this endpointtt to get address resolution details. These details areee the outcome of validation
- * and resolution of the input address. An address is stated as resolved when the input address matches
- * the known reference data.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS)
+ * Use this endpoint to get address resolution details. These details are the outcome of validation and
+ * resolution of the input address. An address is stated as resolved when the input address matches the
+ * known reference data.
Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS)
* mechanism.
*/
class ValidateAddress extends Request implements HasBody
diff --git a/src/Api/ConsolidationV1/Dto/AncillaryFeeAndTax.php b/src/Api/ConsolidationV1/Dto/AncillaryFeeAndTax.php
new file mode 100644
index 00000000..f24c8158
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/AncillaryFeeAndTax.php
@@ -0,0 +1,27 @@
+ For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR
+ * @param ?ClearanceItemDetailContact $contact Contact details of the manufacturer.
+ * @param ?ClearanceItemDetailAddress $address Address of the manufacturer.
+ */
+ public function __construct(
+ public ?string $role = null,
+ public ?string $id = null,
+ public ?ClearanceItemDetailContact $contact = null,
+ public ?ClearanceItemDetailAddress $address = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/ClearanceItemDetailAddress.php b/src/Api/ConsolidationV1/Dto/ClearanceItemDetailAddress.php
new file mode 100644
index 00000000..c0a8a723
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/ClearanceItemDetailAddress.php
@@ -0,0 +1,33 @@
+Example: 98 Royal Crescent
+ * @param ?string $city The name of city, town of the recipient.
Example: Birmingham
+ * @param ?string $stateOrProvinceCode It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA
+ * @param ?string $postalCode The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209
+ * @param ?string $countryCode The two-letter code used to identify a country.
Example: US
+ * @param ?bool $residential Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.
+ */
+ public function __construct(
+ public ?array $streetLines = null,
+ public ?string $city = null,
+ public ?string $stateOrProvinceCode = null,
+ public ?string $postalCode = null,
+ public ?string $countryCode = null,
+ public ?bool $residential = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/ClearanceItemDetailContact.php b/src/Api/ConsolidationV1/Dto/ClearanceItemDetailContact.php
new file mode 100644
index 00000000..48227699
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/ClearanceItemDetailContact.php
@@ -0,0 +1,23 @@
+Example: THE GREENHOUSE
+ */
+ public function __construct(
+ public ?string $companyName = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/Commodity.php b/src/Api/ConsolidationV1/Dto/Commodity.php
index b006eab3..5207d4b8 100644
--- a/src/Api/ConsolidationV1/Dto/Commodity.php
+++ b/src/Api/ConsolidationV1/Dto/Commodity.php
@@ -14,10 +14,15 @@
final class Commodity extends Dto
{
+ protected static array $attributeMap = ['cImarksAndNumbers' => 'cIMarksAndNumbers'];
+
+ protected static array $complexArrayTypes = ['clearanceItemDetail' => ClearanceItemDetail::class];
+
/**
* @param int $numberOfPieces Indicates the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.
* @param string $description This is the commodity description. Maximum allowed 450 characters.
* @param ?string $name Specify the commodity name
+ * @param ?string $cImarksAndNumbers This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment
Example: 125SU212061F7
* @param ?string $countryOfManufacture This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.
* @param ?Weight $weight Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
* @param ?int $quantity This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.
@@ -25,11 +30,13 @@ final class Commodity extends Dto
* @param ?Money2 $unitPrice This is commodity value used for Customs declaration.
* @param ?Money2 $customsValue This is commodity value used for Customs declaration.
* @param ?string $commodityId Value used to identify a commodity description; must be unique within the containing shipment.
+ * @param ClearanceItemDetail[]|null $clearanceItemDetail Array of clearance item details including manufacturer info for customs clearance.
*/
public function __construct(
public int $numberOfPieces,
public string $description,
public ?string $name = null,
+ public ?string $cImarksAndNumbers = null,
public ?string $countryOfManufacture = null,
public ?Weight $weight = null,
public ?int $quantity = null,
@@ -37,5 +44,6 @@ public function __construct(
public ?Money2 $unitPrice = null,
public ?Money2 $customsValue = null,
public ?string $commodityId = null,
+ public ?array $clearanceItemDetail = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/Commodity2.php b/src/Api/ConsolidationV1/Dto/Commodity2.php
new file mode 100644
index 00000000..84eb05be
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/Commodity2.php
@@ -0,0 +1,45 @@
+ ClearanceItemDetail::class];
+
+ /**
+ * @param string $name Specify the commodity name
+ * @param int $numberOfPieces Indicates the number of pieces associated with the commodity. Number of pieces cannot be a negative value or exceed 9,999.
+ * @param string $description This is the commodity description. Maximum allowed 450 characters.
+ * @param ?string $countryOfManufacture This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.
+ * @param ?Weight $weight Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
+ * @param ?int $quantity This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.
+ * @param ?string $quantityUnits This is the unit of measure for the units quantity. This is used to estimate duties and taxes.
+ * @param ?Money2 $unitPrice This is commodity value used for Customs declaration.
+ * @param ?Money2 $customsValue This is commodity value used for Customs declaration.
+ * @param ?string $commodityId Value used to identify a commodity description; must be unique within the containing shipment.
+ * @param ClearanceItemDetail[]|null $clearanceItemDetail Array of clearance item details including manufacturer info for customs clearance.
+ */
+ public function __construct(
+ public string $name,
+ public int $numberOfPieces,
+ public string $description,
+ public ?string $countryOfManufacture = null,
+ public ?Weight $weight = null,
+ public ?int $quantity = null,
+ public ?string $quantityUnits = null,
+ public ?Money2 $unitPrice = null,
+ public ?Money2 $customsValue = null,
+ public ?string $commodityId = null,
+ public ?array $clearanceItemDetail = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/ConsolidationShipmentResultsInputVo.php b/src/Api/ConsolidationV1/Dto/ConsolidationShipmentResultsInputVo.php
index d3e9559c..8af7402f 100644
--- a/src/Api/ConsolidationV1/Dto/ConsolidationShipmentResultsInputVo.php
+++ b/src/Api/ConsolidationV1/Dto/ConsolidationShipmentResultsInputVo.php
@@ -21,5 +21,6 @@ final class ConsolidationShipmentResultsInputVo extends Dto
public function __construct(
public string $jobId,
public PartyAccountNumber $accountNumber,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/CreateConsolidationCompletedShipmentDetail.php b/src/Api/ConsolidationV1/Dto/CreateConsolidationCompletedShipmentDetail.php
new file mode 100644
index 00000000..1f0c4136
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/CreateConsolidationCompletedShipmentDetail.php
@@ -0,0 +1,55 @@
+ CompletedPackageDetail::class];
+
+ /**
+ * @param CompletedPackageDetail[]|null $completedPackageDetails
+ * @param ?ShipmentOperationalDetail $operationalDetail Shipment level operational information.
+ * @param ?string $carrierCode Specify the four letter code of a FedEx operating company that meets your requirements
Examples of FedEx Operating Companies are:- FDXE - FedEx Express
- FDXG - FedEx Ground
- FXSP - FedEx SmartPost
- FXCC - FedEx Custom Critical.
+ * @param ?CompletedHoldAtLocationDetail $completedHoldAtLocationDetail Returns the default holding location information when HOLD_AT_LOCATION special service is requested and the client does not specify the hold location address.
+ * @param ?CompletedEtdDetail $completedEtdDetail These are completed ETD details when ELECTRONIC_TRADE_DOCUMENTS Special service type is requested
+ * @param ?string $packagingDescription Specifies packaging description.
+ * @param ?TrackingId $masterTrackingId The field is present to allow use of preassigned Master Airway Bill tracking number.
+ * @param ?ServiceDescription $serviceDescription Provides Service Description.
+ * @param ?bool $usDomestic Indicates whether or not this is an intra-U.S. shipment.
+ * @param ?CompletedHazardousShipmentDetail $hazardousShipmentDetail Completed shipment level hazardous commodity information.
+ * @param ?ShipmentRating $shipmentRating All shipment-level rating data for this shipment, which may include data for multiple rate types.
+ * @param ?DocumentRequirementsDetail $documentRequirements Provides the document requirements detail.
+ * @param ?string $exportComplianceStatement Specifies export Compliance Statement.
+ * @param ?PendingShipmentAccessDetail $accessDetail This information describes how and when a online email return label shipment may be accessed for completion.
+ * @param ?ShipmentConsolidationDetail $shipmentConsolidationDetail Provides the shipment consolidation details.
+ * @param ?CompletedCodDetail $completedCodDetail Provides the complete collection detail.
+ */
+ public function __construct(
+ public ?array $completedPackageDetails = null,
+ public ?ShipmentOperationalDetail $operationalDetail = null,
+ public ?string $carrierCode = null,
+ public ?CompletedHoldAtLocationDetail $completedHoldAtLocationDetail = null,
+ public ?CompletedEtdDetail $completedEtdDetail = null,
+ public ?string $packagingDescription = null,
+ public ?TrackingId $masterTrackingId = null,
+ public ?ServiceDescription $serviceDescription = null,
+ public ?bool $usDomestic = null,
+ public ?CompletedHazardousShipmentDetail $hazardousShipmentDetail = null,
+ public ?ShipmentRating $shipmentRating = null,
+ public ?DocumentRequirementsDetail $documentRequirements = null,
+ public ?string $exportComplianceStatement = null,
+ public ?PendingShipmentAccessDetail $accessDetail = null,
+ public ?ShipmentConsolidationDetail $shipmentConsolidationDetail = null,
+ public ?CompletedCodDetail $completedCodDetail = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/CreateConsolidationShipmentOutputVoDetails.php b/src/Api/ConsolidationV1/Dto/CreateConsolidationShipmentOutputVoDetails.php
index f55c8336..d59a844f 100644
--- a/src/Api/ConsolidationV1/Dto/CreateConsolidationShipmentOutputVoDetails.php
+++ b/src/Api/ConsolidationV1/Dto/CreateConsolidationShipmentOutputVoDetails.php
@@ -15,11 +15,11 @@
final class CreateConsolidationShipmentOutputVoDetails extends Dto
{
protected static array $complexArrayTypes = [
- 'transactionShipments' => TransactionConsolidationShipmentResultsOutputVo::class,
+ 'transactionShipments' => TransactionCreateConsolidationShipmentResultsOutputVo::class,
];
/**
- * @param TransactionConsolidationShipmentResultsOutputVo[]|null $transactionShipments a list of consolidation shipments within the open shipment
+ * @param TransactionCreateConsolidationShipmentResultsOutputVo[]|null $transactionShipments a list of consolidation shipments within the open shipment
*/
public function __construct(
public ?array $transactionShipments = null,
diff --git a/src/Api/ConsolidationV1/Dto/CustomsClearanceDetail2.php b/src/Api/ConsolidationV1/Dto/CustomsClearanceDetail2.php
index bd1845a2..a64be993 100644
--- a/src/Api/ConsolidationV1/Dto/CustomsClearanceDetail2.php
+++ b/src/Api/ConsolidationV1/Dto/CustomsClearanceDetail2.php
@@ -14,7 +14,7 @@
final class CustomsClearanceDetail2 extends Dto
{
- protected static array $complexArrayTypes = ['commodities' => Commodity::class, 'brokers' => BrokerDetail2::class];
+ protected static array $complexArrayTypes = ['commodities' => Commodity2::class, 'brokers' => BrokerDetail2::class];
/**
* @param ?CustomsOptionDetail $customsOption Customs Option Detail, type must be indicated for each occurrence
@@ -28,7 +28,7 @@ final class CustomsClearanceDetail2 extends Dto
* @param ?ConsolidationCustomsDeclarationStatementDetail $declarationStatementDetail This provides the information necessary to identify the different statements,declarations, acts, and/or certifications that apply to this shipment.
* @param ?CustomsClearanceDetail1CommercialInvoice $commercialInvoice Use this object to provide Commercial Invoice details.
This element is required if a FedEx generated Consolidated Commercial Invoice is requested.
To request a FedEx generated Consolidated Commercial Invoice include "CONSOLIDATED_COMMERCIAL_INVOICE" value in the "consolidationDocumentTypes" array, in the "consolidationDocumentSpecification" object.
Customers are responsible for printing the Consolidated Commercial Invoice.
* @param ?ExportDetail $exportDetail Conditional. Export Detail Used for US or CA exports.
- * @param Commodity[]|null $commodities Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment.
+ * @param Commodity2[]|null $commodities Indicates the details about the dutiable packages. Maximum upto 999 commodities per shipment.
* @param BrokerDetail2[]|null $brokers Conditional.
Specify Broker information only if you are using Broker Select Option for your shipment.To be considered a valid, a country code must be specified in addition to one of the following address items: postal code, city, or location id.
* @param ?string $clearanceBrokerage Specifies the type of brokerage to be applied to a shipment.
* @param ?string $freightOnValue Identifies responsibilities with respect to loss, damage, etc.
diff --git a/src/Api/ConsolidationV1/Dto/DistributionLocations.php b/src/Api/ConsolidationV1/Dto/DistributionLocations.php
index 028020e2..ccef4c78 100644
--- a/src/Api/ConsolidationV1/Dto/DistributionLocations.php
+++ b/src/Api/ConsolidationV1/Dto/DistributionLocations.php
@@ -19,7 +19,7 @@ final class DistributionLocations extends Dto
* @param ?int $locationNumber Specifies the location number.
* @param ?string $id This is a customer-specified or system-assigned identifier that uniquely identifies the specific distibution location within a collection of distribution locations. This is not the same as the FedEx locationId or locationNumber..
Example: 123
* @param ?string $locationId The unique location identifier
Example: YBZA
- * @param ?ContactAndAddress $locationContactAndAddress Idicates the contact and address details of a location.
+ * @param ?ContactAndAddress $locationContactAndAddress Indicate the contact and address details of a location.
* @param ?string $clearanceNumber This specifies the clearance number associated with the distribution location.
Example: 123
* @param ?string[] $inclusionSpecifications Specifies which kinds of shipments will be processed by this distribution location.
*/
diff --git a/src/Api/ConsolidationV1/Dto/EdtCommodityTax.php b/src/Api/ConsolidationV1/Dto/EdtCommodityTax.php
new file mode 100644
index 00000000..85ea91d7
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/EdtCommodityTax.php
@@ -0,0 +1,27 @@
+ TaxRates::class];
+
+ /**
+ * @param ?string $taxType Estimated taxes type
+ * @param ?string $effectiveDate Estimated duties and taxes effective date. Format [YYYY-MM-DD].
+ * @param ?string $name The localized name of the surcharge.
+ * @param ?Money $taxableValue This is commodity value used for Customs declaration.
+ * @param ?string $description FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible
+ * @param ?string $formula Indicates the formula.
+ * @param ?Money $amount This is commodity value used for Customs declaration.
+ * @param TaxRates[]|null $taxRates Estimated duties and taxes taxRates
+ * @param ?AppliedPreferentialTradeAgreement $appliedPreferentialTradeAgreement provides details about PTA applied between countries for specific product.
+ */
+ public function __construct(
+ public ?string $taxType = null,
+ public ?string $taxcode = null,
+ public ?string $effectiveDate = null,
+ public ?string $name = null,
+ public ?Money $taxableValue = null,
+ public ?string $description = null,
+ public ?string $formula = null,
+ public ?Money $amount = null,
+ public ?array $taxRates = null,
+ public ?AppliedPreferentialTradeAgreement $appliedPreferentialTradeAgreement = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidation.php b/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidation.php
index dba9d929..270de48f 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidation.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidation.php
@@ -31,5 +31,6 @@ public function __construct(
public ?string $edtRequestType = null,
public ?string $rateRequestType = null,
public ?ConsolidationDocumentSpec $consolidationDocumentSpecification = null,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidationResults.php b/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidationResults.php
index 37672e22..767c2951 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidationResults.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaConfirmConsolidationResults.php
@@ -21,5 +21,6 @@ final class FullSchemaConfirmConsolidationResults extends Dto
public function __construct(
public PartyAccountNumber $accountNumber,
public string $jobId,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidation.php b/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidation.php
index 7639bac6..7cb367dc 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidation.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidation.php
@@ -23,5 +23,6 @@ public function __construct(
public RequestedConsolidation $requestedConsolidation,
public PartyAccountNumber $accountNumber,
public ?string $consolidationIndex = null,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidationShipment.php b/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidationShipment.php
index 61a2bd08..f7d1765f 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidationShipment.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaCreateConsolidationShipment.php
@@ -22,6 +22,7 @@ final class FullSchemaCreateConsolidationShipment extends Dto
* @param ?string $index This is a unique value for the shipment (must be unique for stand-alone open shipments, or unique within consolidation if consolidation key is provide).
* 'Note: If index is not provided while create Consolidation then the master tracking id of create Consolidation will act as index for the shipment.
* @param ?string $shipAction Indicates the optional actions that can be performed during create consolidation shipment
+ * @param ?string[] $processingOptions Array of processing options for the shipment.
* @param ?string $labelResponseOptions This is to specify whether the encoded bytecode or the Label URL to be returned in the response.Valid values:
- LABEL – Indicates request is for encoded bytecode.
- URL_ONLY – Indicates label URL request.
Note: For asynchronous shipment (More than 40 packages) request only the value LABEL is suported.
Note: With URL_ONLY option, the URL once created will be active for 12 hours.
*/
public function __construct(
@@ -31,6 +32,8 @@ public function __construct(
public ?string $processingOptionType = null,
public ?string $index = null,
public ?string $shipAction = null,
+ public ?array $processingOptions = null,
public ?string $labelResponseOptions = null,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaDeleteConsolidation.php b/src/Api/ConsolidationV1/Dto/FullSchemaDeleteConsolidation.php
index 9e64aa29..acca9d38 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaDeleteConsolidation.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaDeleteConsolidation.php
@@ -23,5 +23,6 @@ public function __construct(
public PartyAccountNumber $accountNumber,
public ConsolidationKey $consolidationKey,
public TrackingIds $trackingId,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaDeleteShipment.php b/src/Api/ConsolidationV1/Dto/FullSchemaDeleteShipment.php
index 5653ef31..195cb0ab 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaDeleteShipment.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaDeleteShipment.php
@@ -25,5 +25,6 @@ public function __construct(
public string $trackingNumber,
public ?string $deletionControl = null,
public ?string $resourceKey = null,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaModifyConsolidation.php b/src/Api/ConsolidationV1/Dto/FullSchemaModifyConsolidation.php
index 896a37a0..43178af3 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaModifyConsolidation.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaModifyConsolidation.php
@@ -23,5 +23,6 @@ public function __construct(
public ConsolidationKey $consolidationKey,
public RequestedConsolidation $requestedConsolidation,
public PartyAccountNumber $accountNumber,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/FullSchemaRetrieveConsolidation.php b/src/Api/ConsolidationV1/Dto/FullSchemaRetrieveConsolidation.php
index 9c23e83a..53a21a77 100644
--- a/src/Api/ConsolidationV1/Dto/FullSchemaRetrieveConsolidation.php
+++ b/src/Api/ConsolidationV1/Dto/FullSchemaRetrieveConsolidation.php
@@ -21,5 +21,6 @@ final class FullSchemaRetrieveConsolidation extends Dto
public function __construct(
public PartyAccountNumber $accountNumber,
public ConsolidationKey $consolidationKey,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/InternationalDistributionDetail.php b/src/Api/ConsolidationV1/Dto/InternationalDistributionDetail.php
index ff930f90..31eb27dd 100644
--- a/src/Api/ConsolidationV1/Dto/InternationalDistributionDetail.php
+++ b/src/Api/ConsolidationV1/Dto/InternationalDistributionDetail.php
@@ -14,9 +14,11 @@
final class InternationalDistributionDetail extends Dto
{
+ protected static array $complexArrayTypes = ['declaredCurrencies' => Money::class];
+
/**
* @param Dimensions $totalDimensions Conditional.
The dimensions of the package; length, width & height. All three dimensions must be indicated.
Note: Dimensions are required with YOUR_PACKAGING package type.
- * @param Money $declaredCurrencies This is commodity value used for Customs declaration.
+ * @param Money[] $declaredCurrencies
* @param string $clearanceFacilityLocationId Specifies the clearance facility location id.
* @param ?string $dropOffType Specifies drop off type.
* @param ?TotalInsuredMoney $totalInsuredValue This is commodity value used for Customs declaration.
@@ -24,7 +26,7 @@ final class InternationalDistributionDetail extends Dto
*/
public function __construct(
public Dimensions $totalDimensions,
- public Money $declaredCurrencies,
+ public array $declaredCurrencies,
public string $clearanceFacilityLocationId,
public ?string $dropOffType = null,
public ?TotalInsuredMoney $totalInsuredValue = null,
diff --git a/src/Api/ConsolidationV1/Dto/LabelSpecification.php b/src/Api/ConsolidationV1/Dto/LabelSpecification.php
index de1d4970..d5d9bf02 100644
--- a/src/Api/ConsolidationV1/Dto/LabelSpecification.php
+++ b/src/Api/ConsolidationV1/Dto/LabelSpecification.php
@@ -17,7 +17,7 @@ final class LabelSpecification extends Dto
protected static array $complexArrayTypes = ['dispositions' => ShippingDocumentDispositionDetail::class];
/**
- * @param ContactAndAddress $printedLabelOrigin Idicates the contact and address details of a location.
+ * @param ContactAndAddress $printedLabelOrigin Indicate the contact and address details of a location.
* @param ?string $labelFormatType Specify the label Format Type.
click here to see label format types
* @param ?string $labelStockType Indicate the label stock type used.
click here to see label format types
* @param ?string $imageType Specify the image format used for a shipping document.
click here to see label format types
diff --git a/src/Api/ConsolidationV1/Dto/PartyContact.php b/src/Api/ConsolidationV1/Dto/PartyContact.php
index f298d812..4b8cfca4 100644
--- a/src/Api/ConsolidationV1/Dto/PartyContact.php
+++ b/src/Api/ConsolidationV1/Dto/PartyContact.php
@@ -15,8 +15,8 @@
final class PartyContact extends Dto
{
/**
- * @param string $phoneNumber The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890
- * @param ?string $personName Specify contact name. Maximum length is 70.
Note: Either the companyName or personName is mandatory.
Example: John Taylor
+ * @param string $phoneNumber The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890
+ * @param ?string $personName Specify contact name. First 35 chars will be printed on the label, excess characters will be truncated.
Note: Either the companyName or personName is mandatory.
Example: John Taylor
* @param ?string $emailAddress Specify contact email address. Maximum length is 80.
Example: sample@company.com
* @param ?string $phoneExtension The shipper's phone extension. Max length is 6.
Example: 91
* @param ?string $companyName Specify contact company name. Maximum length is 35.
Note: Either the companyName or personName is mandatory.
diff --git a/src/Api/ConsolidationV1/Dto/PartyContactSoldTo.php b/src/Api/ConsolidationV1/Dto/PartyContactSoldTo.php
index 14a5fce0..38a80fd8 100644
--- a/src/Api/ConsolidationV1/Dto/PartyContactSoldTo.php
+++ b/src/Api/ConsolidationV1/Dto/PartyContactSoldTo.php
@@ -16,7 +16,7 @@ final class PartyContactSoldTo extends Dto
{
/**
* @param string $personName Identifies the contact person's name. Max Length is 70.
Example: John Taylor
- * @param string $phoneNumber The shipper's phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890
+ * @param string $phoneNumber The shipper's phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.
Example: 918xxxxx890
* @param string $companyName The shipper's company name. Max length is 35.
Example: FedEx
* @param ?string $emailAddress Shipper's email address. Max length is 80.
Example: sample@company.com
* @param ?string $phoneExtension The shipper's phone extension. Max length is 6.
Example: 91
diff --git a/src/Api/ConsolidationV1/Dto/PartyContactSoldTo2.php b/src/Api/ConsolidationV1/Dto/PartyContactSoldTo2.php
index c80f1ca9..2cc36e2e 100644
--- a/src/Api/ConsolidationV1/Dto/PartyContactSoldTo2.php
+++ b/src/Api/ConsolidationV1/Dto/PartyContactSoldTo2.php
@@ -16,7 +16,7 @@ final class PartyContactSoldTo2 extends Dto
{
/**
* @param string $personName Specify contact person name.
Recommended length is 70.
Note: There's no specific validation for the person name.
Example: John Taylor
- * @param string $phoneNumber Specify contact phone number.
Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890
+ * @param string $phoneNumber Specify contact phone number.
Minimum length is 1 and supports maximum of 15 for certain countries using longer phone numbers.
Note: Recommended Maximum length is 15 and there's no specific validation will be done for the phone number.
Example: 918xxxxx890
* @param string $companyName Specify contact company name.
Recommended length is 35.
Note: There's no specific validation for the company name.
* @param ?string $emailAddress Specify contact email address. Maximum length is 80.
Example: sample@company.com
*/
diff --git a/src/Api/ConsolidationV1/Dto/PickupDetail.php b/src/Api/ConsolidationV1/Dto/PickupDetail.php
new file mode 100644
index 00000000..e9ad2cc3
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/PickupDetail.php
@@ -0,0 +1,31 @@
+ RateDiscount::class,
+ 'rebates' => Rebate::class,
+ 'surcharges' => Surcharge2::class,
+ 'taxes' => Tax::class,
+ 'dutiesAndTaxes' => EdtCommodityTax::class,
+ 'ancillaryFeesAndTaxes' => AncillaryFeeAndTax::class,
+ ];
+
+ /**
+ * @param ?string $rateType Type used for this specific set of rate data.
+ * @param ?string $rateScale Indicates the rate scale used.
+ * @param ?string $rateZone Indicates the rate zone used (based on origin and destination).
+ * @param ?string $ratingBasis Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.
- SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.
- FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.
- PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.
+ * @param ?string $pricingCode Identifies the type of pricing used for this shipment.
+ * @param ?string $minimumChargeType provides the minimum charge type applicable to the rates.
+ * @param ?CurrencyExchangeRate $currencyExchangeRate Specifies the currency exchange performed on financial amounts on this rate.
+ * @param ?string[] $specialRatingApplied Indicates which special rating cases applied to this shipment.
+ * @param ?float $fuelSurchargePercent Specify a fuel surcharge percentage.
+ * @param ?string $pickupBaseChargeDescription Will indicate the pickup charge description of the on call pickup
+ * @param ?TotalBaseCharge $totalBaseCharge Total base charges for the shipment.
+ * @param ?TotalFreightDiscounts $totalFreightDiscounts The total discounts used in the rate calculation.
Example: 1257.26
+ * @param ?TotalNetFreight $totalNetFreight This shipment's totalNetFreight.
+ * @param ?TotalSurcharges $totalSurcharges The sum of all surcharges on the package.
+ * @param ?TotalNetFedExCharge $totalNetFedExCharge This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).
+ * @param ?TotalTaxes $totalTaxes The sum of all taxes on this package.
Example: 1257.25
+ * @param ?TotalNetCharge $totalNetCharge Total net charges for the shipment.
+ * @param ?TotalRebates $totalRebates The total sum of all rebates applied to this package.
+ * @param ?TotalDutiesAndTaxes $totalDutiesAndTaxes The sum of shipment/package Duties and taxes.
+ * @param ?TotalAncillaryFeesAndTaxes $totalAncillaryFeesAndTaxes Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.
+ * @param ?TotalDutiesTaxesAndFees $totalDutiesTaxesAndFees The total amount of the duties and taxes plus the total ancillary fees and taxes.
+ * @param ?TotalNetChargeWithDutiesAndTaxes $totalNetChargeWithDutiesAndTaxes Total netChargesWithDutiesAndTaxes for the shipment.
+ * @param RateDiscount[]|null $freightDiscounts All rate discounts that apply to this shipment
+ * @param Rebate[]|null $rebates The all rebates applied to this package.
+ * @param Surcharge2[]|null $surcharges The amount of surcharges applied to this shipment.
+ * @param Tax[]|null $taxes List of taxes.
+ * @param EdtCommodityTax[]|null $dutiesAndTaxes List of The shipment/package Duties and taxes.
+ * @param AncillaryFeeAndTax[]|null $ancillaryFeesAndTaxes Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.
+ * @param ?VariableHandlingCharges $variableHandlingCharges Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.
+ * @param ?TotalVariableHandlingCharges $totalVariableHandlingCharges Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.
+ */
+ public function __construct(
+ public ?string $rateType = null,
+ public ?string $rateScale = null,
+ public ?string $rateZone = null,
+ public ?string $ratingBasis = null,
+ public ?string $pricingCode = null,
+ public ?string $minimumChargeType = null,
+ public ?CurrencyExchangeRate $currencyExchangeRate = null,
+ public ?array $specialRatingApplied = null,
+ public ?float $fuelSurchargePercent = null,
+ public ?string $pickupBaseChargeDescription = null,
+ public ?TotalBaseCharge $totalBaseCharge = null,
+ public ?TotalFreightDiscounts $totalFreightDiscounts = null,
+ public ?TotalNetFreight $totalNetFreight = null,
+ public ?TotalSurcharges $totalSurcharges = null,
+ public ?TotalNetFedExCharge $totalNetFedExCharge = null,
+ public ?TotalTaxes $totalTaxes = null,
+ public ?TotalNetCharge $totalNetCharge = null,
+ public ?TotalRebates $totalRebates = null,
+ public ?TotalDutiesAndTaxes $totalDutiesAndTaxes = null,
+ public ?TotalAncillaryFeesAndTaxes $totalAncillaryFeesAndTaxes = null,
+ public ?TotalDutiesTaxesAndFees $totalDutiesTaxesAndFees = null,
+ public ?TotalNetChargeWithDutiesAndTaxes $totalNetChargeWithDutiesAndTaxes = null,
+ public ?array $freightDiscounts = null,
+ public ?array $rebates = null,
+ public ?array $surcharges = null,
+ public ?array $taxes = null,
+ public ?array $dutiesAndTaxes = null,
+ public ?array $ancillaryFeesAndTaxes = null,
+ public ?VariableHandlingCharges $variableHandlingCharges = null,
+ public ?TotalVariableHandlingCharges $totalVariableHandlingCharges = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/RateDiscount.php b/src/Api/ConsolidationV1/Dto/RateDiscount.php
index cd06eabd..79203e94 100644
--- a/src/Api/ConsolidationV1/Dto/RateDiscount.php
+++ b/src/Api/ConsolidationV1/Dto/RateDiscount.php
@@ -15,15 +15,14 @@
final class RateDiscount extends Dto
{
/**
- * @param ?float $amount Specifies the amount.
- * @param ?string $rateDiscountType The type of rate discount.
Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.
- * @param ?float $percent Specifies the percentage of Rate discount.
- * @param ?string $description Specifies the description of the discounted rate.
+ * @param ?string $rateDiscountType Indicates the type.
+ * @param ?string $description Indicates the description for the rate discount.
+ * @param ?Money $amount This is commodity value used for Customs declaration.
*/
public function __construct(
- public ?float $amount = null,
public ?string $rateDiscountType = null,
- public ?float $percent = null,
public ?string $description = null,
+ public ?Money $amount = null,
+ public ?float $percent = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/RateDiscount2.php b/src/Api/ConsolidationV1/Dto/RateDiscount2.php
new file mode 100644
index 00000000..e692730a
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/RateDiscount2.php
@@ -0,0 +1,29 @@
+ Valid Values are BONUS, COUPON,EARNED,OTHER,VOLUME.
+ * @param ?float $percent Specifies the percentage of Rate discount.
+ * @param ?string $description Specifies the description of the discounted rate.
+ */
+ public function __construct(
+ public ?float $amount = null,
+ public ?string $rateDiscountType = null,
+ public ?float $percent = null,
+ public ?string $description = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/Rebate.php b/src/Api/ConsolidationV1/Dto/Rebate.php
new file mode 100644
index 00000000..5332d808
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/Rebate.php
@@ -0,0 +1,28 @@
+ Example: 2019-10-01
+ * @param ?string $shipDateStamp This is the ship date for the outbound shipment associated with a return shipment. The format is YYYY-MM-DD.
Example: 2019-10-01
* @param ?Origin2 $origin The descriptive information for the customer origin.
* @param ?SoldToParty2 $soldTo Will indicate the party responsible for purchasing the goods shipped from the shipper to the recipient. The sold to party is not necessarily the recipient or the importer of record. The sold to party is relevant when the purchaser, rather than the recipient determines when certain customs regulations apply.
* @param ?string $bookingNumber Specifies the booking number.
@@ -45,7 +45,7 @@ public function __construct(
public ShipperParty2 $shipper,
public InternationalDistributionDetail $internationalDistributionDetail,
public CustomsClearanceDetail2 $customsClearanceDetail,
- public ?string $shipDate = null,
+ public ?string $shipDateStamp = null,
public ?Origin2 $origin = null,
public ?SoldToParty2 $soldTo = null,
public ?string $bookingNumber = null,
diff --git a/src/Api/ConsolidationV1/Dto/RequestedConsolidationShipment.php b/src/Api/ConsolidationV1/Dto/RequestedConsolidationShipment.php
index df714289..139cf06c 100644
--- a/src/Api/ConsolidationV1/Dto/RequestedConsolidationShipment.php
+++ b/src/Api/ConsolidationV1/Dto/RequestedConsolidationShipment.php
@@ -47,6 +47,7 @@ public function __construct(
public ?string $dropOffType = null,
public ?Weight $totalWeight = null,
public ?array $recipients = null,
+ public ?PickupDetail $pickupDetail = null,
public ?RequestedConsolidationShipmentProcessingOption $processingOption = null,
public ?CustomsClearanceDetail $customsClearanceDetail = null,
public ?string $rateRequestTypes = null,
diff --git a/src/Api/ConsolidationV1/Dto/RetrievedConsolidation.php b/src/Api/ConsolidationV1/Dto/RetrievedConsolidation.php
index 004d3977..791ecd73 100644
--- a/src/Api/ConsolidationV1/Dto/RetrievedConsolidation.php
+++ b/src/Api/ConsolidationV1/Dto/RetrievedConsolidation.php
@@ -21,7 +21,7 @@ final class RetrievedConsolidation extends Dto
/**
* @param ?string $consolidationType Specifies the consolidation type.
- * @param ?string $shipDate This field indicates the shipping date of the LTL Shipment
+ * @param ?string $shipDateStamp This field indicates the shipping date of the LTL Shipment
* @param TrackingIds[]|null $trackingIds The field is present to allow use of preassigned Master Airway Bill tracking number.
* @param ?ShipperParty $shipper The descriptive information for the customer shipping the package along with the physical location from where the shipment originates.
* @param ?Origin $origin The descriptive information for the customer origin.
@@ -40,7 +40,7 @@ final class RetrievedConsolidation extends Dto
*/
public function __construct(
public ?string $consolidationType = null,
- public ?string $shipDate = null,
+ public ?string $shipDateStamp = null,
public ?array $trackingIds = null,
public ?ShipperParty $shipper = null,
public ?Origin $origin = null,
diff --git a/src/Api/ConsolidationV1/Dto/ShipmentLegRateDetail.php b/src/Api/ConsolidationV1/Dto/ShipmentLegRateDetail.php
index 0b3eab41..a25cf777 100644
--- a/src/Api/ConsolidationV1/Dto/ShipmentLegRateDetail.php
+++ b/src/Api/ConsolidationV1/Dto/ShipmentLegRateDetail.php
@@ -15,15 +15,15 @@
final class ShipmentLegRateDetail extends Dto
{
protected static array $complexArrayTypes = [
- 'taxes' => Tax::class,
+ 'taxes' => Tax2::class,
'surcharges' => Surcharge::class,
- 'freightDiscounts' => RateDiscount::class,
+ 'freightDiscounts' => RateDiscount2::class,
];
/**
* @param ?string $rateZone Indicates the rate zone used (based on origin and destination).
* @param ?string $pricingCode Specifies the Pricing Code.
- * @param Tax[]|null $taxes Specifies the taxes.
+ * @param Tax2[]|null $taxes Specifies the taxes.
* @param ?Weight $totalDimWeight Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
* @param ?float $totalRebates Specifies the total rebate.
* @param ?float $fuelSurchargePercent Specifies a fuel surcharge percentage.
@@ -43,7 +43,7 @@ final class ShipmentLegRateDetail extends Dto
* @param Surcharge[]|null $surcharges All surcharges that apply to this shipment.
* @param ?float $totalSurcharges The total of all surcharges.
* @param ?Weight $totalBillingWeight Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
- * @param RateDiscount[]|null $freightDiscounts
+ * @param RateDiscount2[]|null $freightDiscounts
* @param ?string $rateScale Indicates the rate scale used.
* @param ?float $totalNetCharge The net charge after applying all discounts and surcharges.
* @param ?float $totalNetChargeWithDutiesAndTaxes Sum of total net charge, total duties and taxes; only provided if estimated duties and taxes were calculated for this shipment and duties, taxes and transportation charges are all paid by the same sender account.
diff --git a/src/Api/ConsolidationV1/Dto/ShipmentRateDetail.php b/src/Api/ConsolidationV1/Dto/ShipmentRateDetail.php
index a3c21373..f5b76b99 100644
--- a/src/Api/ConsolidationV1/Dto/ShipmentRateDetail.php
+++ b/src/Api/ConsolidationV1/Dto/ShipmentRateDetail.php
@@ -17,7 +17,7 @@ final class ShipmentRateDetail extends Dto
protected static array $complexArrayTypes = [
'shipmentLegRateDetails' => ShipmentLegRateDetail::class,
'surcharges' => Surcharge::class,
- 'freightDiscounts' => RateDiscount::class,
+ 'freightDiscounts' => RateDiscount2::class,
];
/**
@@ -41,7 +41,7 @@ final class ShipmentRateDetail extends Dto
* @param Surcharge[]|null $surcharges All surcharges that apply to this shipment.
* @param ?float $totalSurcharges The total amount of all surcharges applied to this shipment.
* @param ?Weight $totalBillingWeight Indicate the shipment total weight in pounds.
Example: 10.6
Note: - This only applies to International shipments and should be used on the first package of a multiple piece shipment.
- This value contains 1 explicit decimal position.
- For one Label at a time shipments, the unit of totalWeight is considered same as the unit of weight provided in requestedPackageLineItem field.
- * @param RateDiscount[]|null $freightDiscounts
+ * @param RateDiscount2[]|null $freightDiscounts
* @param ?string $rateScale Indicates the rate scale used.
* @param ?float $totalNetCharge The net charge after applying all discounts and surcharges.
* @param ?float $totalBaseCharge The total freight charge that was calculated before surcharges, discounts and taxes.
diff --git a/src/Api/ConsolidationV1/Dto/ShipmentRating.php b/src/Api/ConsolidationV1/Dto/ShipmentRating.php
index f707599a..d4833a4c 100644
--- a/src/Api/ConsolidationV1/Dto/ShipmentRating.php
+++ b/src/Api/ConsolidationV1/Dto/ShipmentRating.php
@@ -19,9 +19,15 @@ final class ShipmentRating extends Dto
/**
* @param ?string $actualRateType This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the shipment.
* @param ShipmentRateDetail[]|null $shipmentRateDetails Each element of this field provides shipment-level rate totals for a specific rate type.
+ * @param ?Money $totalNetTransportationAndPickupCharge This is commodity value used for Customs declaration.
+ * @param ?Money $totalNetFedExTransportationAndPickupCharge This is commodity value used for Customs declaration.
+ * @param ?PickupRateDetail $pickupRateDetail Charges associated with a scheduled shipment pickup
*/
public function __construct(
public ?string $actualRateType = null,
public ?array $shipmentRateDetails = null,
+ public ?Money $totalNetTransportationAndPickupCharge = null,
+ public ?Money $totalNetFedExTransportationAndPickupCharge = null,
+ public ?PickupRateDetail $pickupRateDetail = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/Surcharge2.php b/src/Api/ConsolidationV1/Dto/Surcharge2.php
new file mode 100644
index 00000000..39243a21
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/Surcharge2.php
@@ -0,0 +1,29 @@
+Example: descrption
- * @param ?string $type Specifies the type of the tax.
+ * @param ?string $taxType Specifies the type of Surcharge/Tax.
+ * @param ?string $description Specifies the description of the Surcharge/Tax.
+ * @param ?Money $amount This is commodity value used for Customs declaration.
*/
public function __construct(
- public ?float $amount = null,
- public ?string $level = null,
+ public ?string $taxType = null,
public ?string $description = null,
- public ?string $type = null,
+ public ?Money $amount = null,
) {}
}
diff --git a/src/Api/ConsolidationV1/Dto/Tax2.php b/src/Api/ConsolidationV1/Dto/Tax2.php
new file mode 100644
index 00000000..b0e0e03e
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/Tax2.php
@@ -0,0 +1,29 @@
+Example: descrption
+ * @param ?string $type Specifies the type of the tax.
+ */
+ public function __construct(
+ public ?float $amount = null,
+ public ?string $level = null,
+ public ?string $description = null,
+ public ?string $type = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/TaxRates.php b/src/Api/ConsolidationV1/Dto/TaxRates.php
new file mode 100644
index 00000000..7af23350
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/TaxRates.php
@@ -0,0 +1,23 @@
+ LabelResponseVo::class,
+ 'pieceResponses' => PieceResponse::class,
+ ];
+
+ /**
+ * @param ?string $serviceType Identifies the service for this shipment
Example: FEDEX_2_DAY_FREIGHT
Click here to see Service Types
+ * @param ?string $shipDateStamp Specifies shipment date. Format [YYYY-MM-DD]
Example: 2010-03-04
+ * @param ?string $serviceCategory Specifies Service Category.
Example: EXPRESS
+ * @param LabelResponseVo[]|null $shipmentDocuments
+ * @param PieceResponse[]|null $pieceResponses
+ * @param ?string $serviceName Describes the service name for the shipment
Example: FedEx 2 Day Freight
+ * @param ?CreateConsolidationCompletedShipmentDetail $completedShipmentDetail Returns the result of processing the desired package as a single-package shipment.
+ * @param ?ShipmentAdvisoryDetails $shipmentAdvisoryDetails These are shipment advisory details.
+ * @param ?string $masterTrackingNumber Indicates the TrackingNumber for the single or multiple-package shipment
Example: 794953535000
+ */
+ public function __construct(
+ public ?string $serviceType = null,
+ public ?string $shipDateStamp = null,
+ public ?string $serviceCategory = null,
+ public ?array $shipmentDocuments = null,
+ public ?array $pieceResponses = null,
+ public ?string $serviceName = null,
+ public ?CreateConsolidationCompletedShipmentDetail $completedShipmentDetail = null,
+ public ?ShipmentAdvisoryDetails $shipmentAdvisoryDetails = null,
+ public ?string $masterTrackingNumber = null,
+ ) {}
+}
diff --git a/src/Api/ConsolidationV1/Dto/TransborderDistributionDetail1SpecialServicesRequestedTransborderDistributionLtlDetailPayment.php b/src/Api/ConsolidationV1/Dto/TransborderDistributionDetail1SpecialServicesRequestedTransborderDistributionLtlDetailPayment.php
index afe3c055..db7804ed 100644
--- a/src/Api/ConsolidationV1/Dto/TransborderDistributionDetail1SpecialServicesRequestedTransborderDistributionLtlDetailPayment.php
+++ b/src/Api/ConsolidationV1/Dto/TransborderDistributionDetail1SpecialServicesRequestedTransborderDistributionLtlDetailPayment.php
@@ -16,7 +16,7 @@ final class TransborderDistributionDetail1SpecialServicesRequestedTransborderDis
{
/**
* @param ?string $paymentType Payment type for LTL transportation
- * @param ?TransborderDistributionDetail1SpecialServicesRequestedTransborderDistributionLtlDetailPaymentPayor $payor Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.
+ * @param ?TransborderDistributionDetail1SpecialServicesRequestedTransborderDistributionLtlDetailPaymentPayor $payor Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY.
* @param ?TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPaymentEPaymentDetail $ePaymentDetail e-payment detail
* @param ?TransborderDistributionDetail1SpecialServicesRequestedTransborderDistributionLtlDetailPaymentCreditCard $creditCard Credit card details
* @param ?TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPaymentCreditCardTransactionDetail $creditCardTransactionDetail Details for the credit card transaction
diff --git a/src/Api/ConsolidationV1/Dto/TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPayment.php b/src/Api/ConsolidationV1/Dto/TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPayment.php
index 509a5f81..bddcde27 100644
--- a/src/Api/ConsolidationV1/Dto/TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPayment.php
+++ b/src/Api/ConsolidationV1/Dto/TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPayment.php
@@ -16,7 +16,7 @@ final class TransborderDistributionDetailSpecialServicesRequestedTransborderDist
{
/**
* @param ?string $paymentType Payment type for LTL transportation
- * @param ?TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPaymentPayor $payor Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT, THIRD_PARTY or COLLECT.
+ * @param ?TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPaymentPayor $payor Information about the person who is paying for the shipment.
Payor is mandatory when the paymentType is RECIPIENT and THIRD_PARTY.
* @param ?TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPaymentEPaymentDetail $ePaymentDetail e-payment detail
* @param ?TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPaymentCreditCard $creditCard Credit card details
* @param ?TransborderDistributionDetailSpecialServicesRequestedTransborderDistributionLtlDetailPaymentCreditCardTransactionDetail $creditCardTransactionDetail Details for the credit card transaction
diff --git a/src/Api/ConsolidationV1/Dto/VariableHandlingCharges.php b/src/Api/ConsolidationV1/Dto/VariableHandlingCharges.php
new file mode 100644
index 00000000..7a009960
--- /dev/null
+++ b/src/Api/ConsolidationV1/Dto/VariableHandlingCharges.php
@@ -0,0 +1,29 @@
+ Example: 5
* @param ?string $remarks This is a placeholder for any message to be passed to the FedEx pickup. courier.
Example: Please ring bell at loading dock.
* @param ?string $countryRelationships Describes the country relationship among the shipments being picked up.
'DOMESTIC' indicates intra-country shipping; origin and destination country are the same.
'INTERNATIONAL' indicates inter-country shipping; origin and destination countries are different.
Not applicable for FedEx Ground shipments
Example: DOMESTIC
diff --git a/src/Api/FreightLTLV1/Dto/FullSchemaFreightShipment.php b/src/Api/FreightLTLV1/Dto/FullSchemaFreightShipment.php
index a0bbd5f4..7b1f811a 100644
--- a/src/Api/FreightLTLV1/Dto/FullSchemaFreightShipment.php
+++ b/src/Api/FreightLTLV1/Dto/FullSchemaFreightShipment.php
@@ -28,5 +28,6 @@ public function __construct(
public string $labelResponseOptions,
public ShipperAccountNumber $accountNumber,
public ?bool $oneLabelAtAtime = null,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/FreightLTLV1/Dto/Version.php b/src/Api/FreightLTLV1/Dto/Version.php
new file mode 100644
index 00000000..98b40b26
--- /dev/null
+++ b/src/Api/FreightLTLV1/Dto/Version.php
@@ -0,0 +1,27 @@
+Example:KG
+ * @param string $units Specifies the shipment weight unit type.
Example:KG
* @param float $value Weight Value.
Example: 68.25
*/
public function __construct(
diff --git a/src/Api/GlobalTradeV1/Dto/ShipmentRegulatoryDetailsOutputVo.php b/src/Api/GlobalTradeV1/Dto/BaseProcessOutputVo.php
similarity index 92%
rename from src/Api/GlobalTradeV1/Dto/ShipmentRegulatoryDetailsOutputVo.php
rename to src/Api/GlobalTradeV1/Dto/BaseProcessOutputVo.php
index 6b9ff727..06a0eb33 100644
--- a/src/Api/GlobalTradeV1/Dto/ShipmentRegulatoryDetailsOutputVo.php
+++ b/src/Api/GlobalTradeV1/Dto/BaseProcessOutputVo.php
@@ -12,7 +12,7 @@
use ShipStream\FedEx\Dto;
-final class ShipmentRegulatoryDetailsOutputVo extends Dto
+final class BaseProcessOutputVo extends Dto
{
protected static array $complexArrayTypes = ['userMessages' => RegulatoryMessage::class, 'cxsalerts' => CxsAlert::class];
diff --git a/src/Api/GlobalTradeV1/Dto/CommodityComplianceTypeDetail.php b/src/Api/GlobalTradeV1/Dto/CommodityComplianceTypeDetail.php
new file mode 100644
index 00000000..de9cbad3
--- /dev/null
+++ b/src/Api/GlobalTradeV1/Dto/CommodityComplianceTypeDetail.php
@@ -0,0 +1,24 @@
+ RegulatoryComplianceCommodityDetail::class,
+ ];
+
+ /**
+ * @param ?string $countryCode The ISO country code for the country.
+ * @param ?string $category Describes the type of category
+ * @param RegulatoryComplianceCommodityDetail[]|null $regulatoryComplianceCommodityDetails This is an array of nonnegative-Integer identifying the associated commodities.
+ */
+ public function __construct(
+ public ?string $countryCode = null,
+ public ?string $category = null,
+ public ?array $regulatoryComplianceCommodityDetails = null,
+ ) {}
+}
diff --git a/src/Api/GlobalTradeV1/Dto/RegulatoryComplianceTypeDetail.php b/src/Api/GlobalTradeV1/Dto/RegulatoryComplianceTypeDetail.php
new file mode 100644
index 00000000..624d46cd
--- /dev/null
+++ b/src/Api/GlobalTradeV1/Dto/RegulatoryComplianceTypeDetail.php
@@ -0,0 +1,25 @@
+Example: 624deea6-b709-470c-8c39-4b5511281492
* @param ?string $customerTransactionId This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
Example: AnyCo_order123456789
- * @param ?ShipmentRegulatoryDetailsOutputVo $output ShipmentRegulatoryDetailsOutputVO Model
+ * @param ?BaseProcessOutputVo $output ShipmentRegulatoryDetailsOutputVO Model
*/
public function __construct(
public readonly ?string $transactionId = null,
public readonly ?string $customerTransactionId = null,
- public readonly ?ShipmentRegulatoryDetailsOutputVo $output = null,
+ public readonly ?BaseProcessOutputVo $output = null,
) {}
}
diff --git a/src/Api/GroundEODCloseV1/Dto/FullSchemaGeodPut.php b/src/Api/GroundEODCloseV1/Dto/FullSchemaGeodPut.php
index 09045fc1..8ae09495 100644
--- a/src/Api/GroundEODCloseV1/Dto/FullSchemaGeodPut.php
+++ b/src/Api/GroundEODCloseV1/Dto/FullSchemaGeodPut.php
@@ -31,5 +31,6 @@ public function __construct(
public ?string $trackingNumber = null,
public ?string $reprintOption = null,
public ?CloseDocumentSpecification $closeDocumentSpecification = null,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/GroundEODCloseV1/Dto/FullSchemaReprintPost.php b/src/Api/GroundEODCloseV1/Dto/FullSchemaReprintPost.php
index f979d0e3..fd69d094 100644
--- a/src/Api/GroundEODCloseV1/Dto/FullSchemaReprintPost.php
+++ b/src/Api/GroundEODCloseV1/Dto/FullSchemaReprintPost.php
@@ -31,5 +31,6 @@ public function __construct(
public ?string $trackingNumber = null,
public ?string $reprintOption = null,
public ?CloseDocumentSpecification $closeDocumentSpecification = null,
+ public ?Version $version = null,
) {}
}
diff --git a/src/Api/GroundEODCloseV1/Dto/Version.php b/src/Api/GroundEODCloseV1/Dto/Version.php
new file mode 100644
index 00000000..9a4354cc
--- /dev/null
+++ b/src/Api/GroundEODCloseV1/Dto/Version.php
@@ -0,0 +1,27 @@
+Example: FedEx Ground.
* @param ?string[] $carrierCodes Unique code to identify the transporter.
* @param ?bool $getCall Get a call.
Valid values: True, False.
+ * @param ?string $packagingType The FedEx Package Type
+ * @param ?Amounts $totalDeclaredValue The package dimension limits supported at the location.
+ * @param ?Amounts $totalCustomsValue The package dimension limits supported at the location.
+ * @param ?string $paymentType Duties and Taxes Payor Payment Type
*/
public function __construct(
public Location $location,
@@ -59,5 +63,9 @@ public function __construct(
public ?string $dropOffServiceType = null,
public ?array $carrierCodes = null,
public ?bool $getCall = null,
+ public ?string $packagingType = null,
+ public ?Amounts $totalDeclaredValue = null,
+ public ?Amounts $totalCustomsValue = null,
+ public ?string $paymentType = null,
) {}
}
diff --git a/src/Api/LocationsSearchV1/Dto/PackageAttribute.php b/src/Api/LocationsSearchV1/Dto/PackageAttribute.php
index d249036a..b5c7d2b9 100644
--- a/src/Api/LocationsSearchV1/Dto/PackageAttribute.php
+++ b/src/Api/LocationsSearchV1/Dto/PackageAttribute.php
@@ -17,9 +17,11 @@ final class PackageAttribute extends Dto
/**
* @param ?Weight $weight These are the package weight details.
* @param ?Dimensions $dimensions Indicate the dimensions of the package.
Following conditions will apply: - Dimensions are optional but when added, then all three dimensions must be indicated.
- Dimensions are required with YOUR_PACKAGING package type.
Note: The maximum/minimum dimension values varies based on the services and the packaging types.
Refer FedEx Service Guide for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground.
+ * @param ?string[] $serviceOptions Provide all the service Options for this package
*/
public function __construct(
public ?Weight $weight = null,
public ?Dimensions $dimensions = null,
+ public ?array $serviceOptions = null,
) {}
}
diff --git a/src/Api/OpenShipV1/Dto/ClearanceItemDetail.php b/src/Api/OpenShipV1/Dto/ClearanceItemDetail.php
new file mode 100644
index 00000000..9b822c38
--- /dev/null
+++ b/src/Api/OpenShipV1/Dto/ClearanceItemDetail.php
@@ -0,0 +1,29 @@
+ For shipments to United States, refer to U.S. Customs and Border Protection website.
Example: USGRE98BIR
+ * @param ?ClearanceItemDetailContact $contact Contact details of the manufacturer.
+ * @param ?ClearanceItemDetailAddress $address Address of the manufacturer
+ */
+ public function __construct(
+ public ?string $role = null,
+ public ?string $id = null,
+ public ?ClearanceItemDetailContact $contact = null,
+ public ?ClearanceItemDetailAddress $address = null,
+ ) {}
+}
diff --git a/src/Api/OpenShipV1/Dto/ClearanceItemDetailAddress.php b/src/Api/OpenShipV1/Dto/ClearanceItemDetailAddress.php
new file mode 100644
index 00000000..5a7df04e
--- /dev/null
+++ b/src/Api/OpenShipV1/Dto/ClearanceItemDetailAddress.php
@@ -0,0 +1,33 @@
+Example: 98 Royal Crescent
+ * @param ?string $city The name of city, town of the recipient.
Example: Birmingham
+ * @param ?string $stateOrProvinceCode It is used to identify the principal subdivisions (e.g., provinces or states) of countries. The Format and presence of this field may vary depending on the country.
Example: CA
+ * @param ?string $postalCode The US State and Canada Province codes. The Format and presence of this field may vary depending on the country.
Example: 35209
+ * @param ?string $countryCode The two-letter code used to identify a country.
Example: US
+ * @param ?bool $residential Indicate whether this address is Residential (as opposed to Commercial).
Valid Values: True or False.
+ */
+ public function __construct(
+ public ?array $streetLines = null,
+ public ?string $city = null,
+ public ?string $stateOrProvinceCode = null,
+ public ?string $postalCode = null,
+ public ?string $countryCode = null,
+ public ?bool $residential = null,
+ ) {}
+}
diff --git a/src/Api/OpenShipV1/Dto/ClearanceItemDetailContact.php b/src/Api/OpenShipV1/Dto/ClearanceItemDetailContact.php
new file mode 100644
index 00000000..fb558aa5
--- /dev/null
+++ b/src/Api/OpenShipV1/Dto/ClearanceItemDetailContact.php
@@ -0,0 +1,23 @@
+Example: THE GREENHOUSE
+ */
+ public function __construct(
+ public ?string $companyName = null,
+ ) {}
+}
diff --git a/src/Api/OpenShipV1/Dto/Commodity.php b/src/Api/OpenShipV1/Dto/Commodity.php
index f2f34366..310ea3c3 100644
--- a/src/Api/OpenShipV1/Dto/Commodity.php
+++ b/src/Api/OpenShipV1/Dto/Commodity.php
@@ -16,7 +16,10 @@ final class Commodity extends Dto
{
protected static array $attributeMap = ['cImarksAndNumbers' => 'cIMarksAndNumbers'];
- protected static array $complexArrayTypes = ['additionalMeasures' => AdditionalMeasures::class];
+ protected static array $complexArrayTypes = [
+ 'additionalMeasures' => AdditionalMeasures::class,
+ 'clearanceItemDetail' => ClearanceItemDetail::class,
+ ];
/**
* @param string $description This is the commodity description. Maximum allowed 450 characters.
click here to see Vague commodity descriptions
@@ -36,6 +39,7 @@ final class Commodity extends Dto
* @param ?string $partNumber This is a part number.
Example: 167
* @param ?string $purpose This is the purpose of this shipment. This is used for calculation of duties and taxes.
* @param ?UsmcaDetail $usmcaDetail Indicates the USMCA detail
+ * @param ClearanceItemDetail[]|null $clearanceItemDetail Array of clearance item details including manufacturer info for customs clearance.
*/
public function __construct(
public string $description,
@@ -55,5 +59,6 @@ public function __construct(
public ?string $partNumber = null,
public ?string $purpose = null,
public ?UsmcaDetail $usmcaDetail = null,
+ public ?array $clearanceItemDetail = null,
) {}
}
diff --git a/src/Api/OpenShipV1/Dto/FullSchemaAddPackagesToOpenShipment.php b/src/Api/OpenShipV1/Dto/FullSchemaAddPackagesToOpenShipment.php
index c8ce4440..e4efca42 100644
--- a/src/Api/OpenShipV1/Dto/FullSchemaAddPackagesToOpenShipment.php
+++ b/src/Api/OpenShipV1/Dto/FullSchemaAddPackagesToOpenShipment.php
@@ -14,18 +14,20 @@
final class FullSchemaAddPackagesToOpenShipment extends Dto
{
+ protected static array $attributeMap = ['openShipAction' => 'OpenShipAction'];
+
protected static array $complexArrayTypes = ['requestedPackageLineItems' => RequestedPackageLineItem::class];
/**
* @param string $index This is a unique value assigned to the already created Open Shipment. If this isn’t available then provide the master tracking number.
Example: Test1234
* @param PartyAccountNumber $accountNumber This is FedEx Account number details.
* @param RequestedPackageLineItem[] $requestedPackageLineItems These are package line item details in the shipment.
- * @param ?string $shipAction Indicate shipment action for the Shipment.