Skip to content

Shipment rates params type for ShipmentParam.Shipment.AdvancedOptions.BillToAccount appears to be incorrect #230

@kyle-villeneuve

Description

@kyle-villeneuve

get-rates-with-shipment-details/types/public-params.d.ts

declare type BillToAccount = "bill_to_country_code" | "bill_to_party" | "bill_to_postal_code";

In the example request here the following payload is used

"advanced_options": {
      "bill_to_account": "123456789",
      "bill_to_country_code": "US",
      "bill_to_party": "third_party",
      "bill_to_postal_code": "78756"
}

which if the type was accurate I wouldn't expect bill_to_account: "123456789" to be a valid rate request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions