Discussions

Ask a Question
Back to All

Unable to buy label using v2/shipments

I am using those shipping_settings as part of the API call (production). I was able to create the order and display it through the Easyship dashboard but the purchase has not been made even if the buy_label and buy_label_synchronous were set to true.

I was expecting once I make the API call to purchase a label using buy_label_synchronous:true would return me the label in the response (in this case the URL format). Please let me know why this behaviour is not happening even if using test keys works.

shipping_settings: {
buy_label: true,
buy_label_synchronous: true,
printing_options: {
format: "url",
label: "4x6",
commercial_invoice: "A4",
packing_slip: "4x6",
}
}