Amazon Buy Shipping / SFP

The API docs state how to get rates using SFP (Amazon Buy Shipping), but not how to get a label. Is buying a label from Amazon Buy Shipping supported in the API?

Hello @CostumeDude

Replace rate in the URL with label, the payload is similar but the following are NOT optional:

"delivery_confirmation"
"shipper_id"
"shipping_method"

I will give it a shot. Thank you!

I finally got back to this, but I’m having some trouble getting rates. I’m following the docs at Ordoro API Documentation, but every response I get back tells me that I’m either missing something or something wasn’t expected. I can keep trying and hopefully will end up with a request that the API is looking for, but it would be great if someone could point me in the right direction for what is actually required. Here are some of the responses I recieved:

{
“error_message”: “The input field ‘ship_date’ was not expected.”,
“param”: null
}

{
“error_message”: “The input field ‘ship_from’ was not expected.”,
“param”: null
}

{
“error_message”: “The input field ‘delivery_confirmation’ was not expected.”,
“param”: null
}

{
“error_message”: “Missing value”,
“param”: “billing_address”
}

and more. Can anyone provide some insight into this?

hi @CostumeDude

The errors you’re receiving are indicative of not sending the content-type as application/json, be sure you’re sending JSON to the API and these errors should clear up.