Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fulfillment Inbound v2024-03-20 GenerateTransportationOptions readyToShipWindow is meaningless #4634

Open
brandondev1 opened this issue Feb 21, 2025 · 0 comments

Comments

@brandondev1
Copy link

When submitting a GenerateTransporationOptions request with a readyToShipWindow.start doesn't have any effect on the transportation options returned by ListTransporationOptions. I get many options returned that have a carrierAppointment.startTime before the readyToShipWindow.start submitted. I would assume if we say our shipment isn't going to be ready until 2025-03-07, we shouldn't get hundreds of options returned with carrierAppointment.startTime before that date. I get hundreds of meaningless options.

An example with readyToShipWindow.start set to 2025-03-07
GenerateTrasnportationOptions:

{
  "placementOptionId": "pl1464c185-ce57-4901-92c0-15aec6170839",
  "shipmentTransportationConfigurations": [
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "sh34e3e353-5203-4e69-a97d-70626586bff3",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 74
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "sh5aba2785-7a93-4c77-be30-094b7a4f5afb",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 196
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "sh5bd4e863-9674-4656-a402-429ba574f8a4",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 319
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "sh7ebef9bf-25a0-4a75-ae3f-bd1dafabe77c",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 466
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "sh9e02c530-884f-40d5-82db-a1605a6d2283",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 588
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "sha102df9d-763d-48e4-84e6-3dcc61c7ee56",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 662
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "sha61f48cf-31fb-4b97-a2f4-aebf7e0cdf3f",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 809
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "shcf4c6200-2e03-4584-9d68-ccd77696ce54",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 907
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    },
    {
      "readyToShipWindow": {
        "start": "2025-03-07T00:00:00.000Z"
      },
      "shipmentId": "shd4deca1b-ee67-4e02-b383-796ec7b5b848",
      "contactInformation": {
        "phoneNumber": "813-333-2233",
        "email": "[email protected]",
        "name": "Sam Iam"
      },
      "pallets": [
        {
          "quantity": 1,
          "stackability": "NON_STACKABLE",
          "weight": {
            "unit": "LB",
            "value": 980
          },
          "dimensions": {
            "unitOfMeasurement": "IN",
            "length": 48,
            "width": 40,
            "height": 40
          }
        }
      ],
      "freightInformation": {
        "freightClass": "FC_50",
        "declaredValue": {
          "code": "USD",
          "amount": 1000
        }
      }
    }
  ]
}

One of the hundred of meaningless options returned by ListTransportationOptions:

{
    "carrier": {
      "name": "Tforce Freight",
      "alphaCode": "TFIN"
    },
    "carrierAppointment": {
      "startTime": "2025-02-26T00:00Z",
      "endTime": "2025-02-26T23:59Z"
    },
    "quote": {
      "cost": {
        "amount": 192.1,
        "code": "USD"
      },
      "expiration": "2025-02-21T18:26Z"
    },
    "preconditions": [],
    "shipmentId": "sh34e3e353-5203-4e69-a97d-70626586bff3",
    "shippingMode": "FREIGHT_LTL",
    "transportationOptionId": "to3c048f1b-5eea-4263-9ab1-ce1d52bef480",
    "shippingSolution": "AMAZON_PARTNERED_CARRIER"
  }

Why would we need an option with a carrierAppointment time a full week before our shipment will even be ready for pickup? This wouldn't be a major issue, but in the example above we get 1377 options returned which takes a ridiculous amount of time to page through 69 pages of responses with a page size of 20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant