Purchase Shipping Labels

Hi Veeqo team,

I’m trying to integrate with the “Purchase Shipping Labels” API:
POST https://api.veeqo.com/shipping/shipments

I can successfully retrieve shipping quotes via the Shipping Quotes endpoints (including amazon_shipping_v2 rates with remote_shipment_id and shipping_service_options), but whenever I POST to /shipping/shipments with a valid payload and API key, the API always responds with:

{ "status": 404, "error": "Not Found" }  

From the developer forum post “How can I purchase shipping labels with Veeqo API?” I can see that some users are able to use this endpoint (they receive error_messages such as :rate_code parameter is missing when the payload is incomplete, and they resolved it by adding rate_code and shipping_service_options).

Could you please confirm whether the “Purchase Shipping Labels / Buy Shipping Label” endpoint is enabled for my account?
If it is currently restricted to whitelisted accounts, could you help enable it for my account or let me know the requirements to get access?

Many thanks!

Hi @Ayan,

A 404 Not Found suggests that the Allocation ID was not found or an invalid shipping rate was provided. I would check that your allocation ID is correct and that you have retrieving the latest rates for the order.

I’ve also noticed that you are using the old endpoint for retrieving rates. We’ve updated our documentation which may or may not be contributing to this issue. I would suggest reviewing the new documentation for retrieving rates to update your integration as well.

In order to debug further, Veeqo Support would need the payload of your request. You can contact Veeqo Support via the support messenger in the Veeqo app or contacting helpme@support.veeqo.com.

Hope this helps,
Alex - Veeqo

Hi team, I’ll send you my code; please help me debug it. I’m getting the information from /shipping/rates/ and then sending the data to /shipping/shipments again, but I keep getting 500 or 404 error codes.

(Attachment veeqoLabels.zip is missing)

Did you get this figured out? I’m happy to help if you want to DM me your code.