镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Shipping to Virgin Islands #66

Open

Description

@abrchaves

Rate request issue with the combination of "service_codes" and "ups_worldwide_saver" service. Please refer to the details of Zendesk ticket 3710055 with ShipEngine Support.

Our QA team can't finish end to end testing and we need to do that to go live.

Thanks for your help.

Activity

  1. KaseyCantu commented on Aug 14, 2023

    @KaseyCantu
    Contributor

    Hello @abrchaves 👋🏽 - from the looks of it you are attempting to make use of the /v1/rates ShipEngine API endpoint. It seems that you are attempting to pass "service_codes": "ups_worldwide_saver" which is incorrect according to our ShipEngine Open API Schema.

    You can see here that the service_codes field is typed as an array of strings:

    screenshot

    This means the correct usage is:

    "service_codes": [
        "ups_worldwide_saver"
    ],

    Instead of this:

    "service_codes": "ups_worldwide_saver"

    I hope this helps, please let us know if there is anything else we can do to help you get shipping! 🚀

  2. abrchaves commented on Aug 14, 2023

    @abrchaves
    Author

    Hello @KaseyCantu

    Thanks for answer, I was using the SDK to create a shipping and get a rate value to IV from NJ with "ups_worldwide_saver" as a service code.

    I think the SDK builds the request in the way that you told me as a correct usage.

    Share a screenshot:

    image

    And JSON Request:

    {
    "ShipmentId": null,
    "Shipment": {
    "ValidateAddress": "no_validation",
    "CarrierId": "se-2264604",
    "ServiceCode": null,
    "ExternalOrderId": null,
    "Items": null,
    "TaxIdentifiers": null,
    "ExternalShipmentId": "d6c43169-3441-4a87-ba85-bf537f471a6a",
    "ShipDate": "2023-08-15T00:00:00Z",
    "ShipTo": {
    "Name": "TEST VIRGIN ISLANDS",
    "Phone": "",
    "CompanyName": "",
    "AddressLine1": "394-144 HIDDEN VLY",
    "AddressLine2": "",
    "AddressLine3": null,
    "CityLocality": "ST THOMAS",
    "StateProvince": "VI",
    "PostalCode": "00802",
    "CountryCode": "VI",
    "AddressResidentialIndicator": "yes"
    },
    "ShipFrom": null,
    "WarehouseId": "se-6555950",
    "ReturnTo": null,
    "Confirmation": "None",
    "Customs": {
    "Contents": "Merchandise",
    "NonDelivery": "return_to_sender",
    "CustomsItems": [
    {
    "Description": "Vitamins/Books/Mags",
    "Quantity": 1,
    "Value": {
    "Currency": "USD",
    "Amount": 6
    },
    "HarmonizedTariffCode": "",
    "CountryOfOrigin": "US",
    "UnitOfMeasure": null,
    "Sku": "01788",
    "SkuDescription": "Melatonin 6 Hr Timed Release, "
    }
    ]
    },
    "AdvancedOptions": null,
    "OriginType": 0,
    "InsuranceProvider": "None",
    "Tags": null,
    "OrderSourceCode": "amazon_ca",
    "Packages": [
    {
    "ContentDescription": "Vitamins/Books/Mags",
    "PackageCode": "custom_Box1",
    "Weight": {
    "Value": 0.09,
    "Unit": "Pound"
    },
    "Dimensions": null,
    "InsuredValue": null,
    "LabelMessages": null,
    "ExternalPackageId": null
    }
    ],
    "Weight": null
    },
    "RateOptions": {
    "CarrierIds": [
    "se-2264604"
    ],
    "PackageTypes": [
    "package"
    ],
    "ServiceCodes": [
    "ups_worldwide_saver"
    ],
    "CalculateTaxAmount": false,
    "PreferredCurrency": "USD"
    }
    }

    So, I don't know why I didn't get a rate, let me know if you have any comments.

    Regards.

  3. abrchaves commented on Aug 15, 2023

    @abrchaves
    Author

    Hello @KaseyCantu

    If you have any comments, please let me know.

    Thanks

  4. abrchaves commented on Aug 17, 2023

    @abrchaves
    Author

    Hello team

    Any updates related with this issue?

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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