Questions tagged [easypost]

EasyPost is an API that lets you add shipping to any application.

EasyPost is an API that lets you add shipping to any application. The API supports shipping with USPS, UPS, FedEx, DHL, and more. With EasyPost you can:

  • Create shipping labels
  • Get realtime shipping rates
  • Track packages
  • Verify addresses
  • Generate customs forms
  • Create batches of shipping labels
  • And much much more
56 questions
3
votes
1 answer

Calling Easypost API from browser client javascript

I am trying to call Easypost APIs from javascript/jquery (yes, I know it is a "bad" idea because the JS code contains the cleartext account key, but this JS and HTML are in a secure section of our web site available only to specifically authorized…
user3191192
  • 169
  • 13
3
votes
2 answers

Defining shipping method or rate in EasyPost

Okay so I have the following code in one file. This is only partial code from EasyPost the easy shipping api $created_rates = \EasyPost\Rate::create($shipment); $availableRates = array(); foreach($created_rates as $rate){ $fedexR =…
Mitch Evans
  • 641
  • 3
  • 10
  • 25
2
votes
5 answers

Circular reference between projects when adding at gradle

I am adding a Easypost library to my Android peoject and from my understanding I need to reference it at both settings.gradle and build.gradle. But when I do that, I get the error: Error:Circular reference between projects:…
JasSy
  • 583
  • 5
  • 17
2
votes
1 answer

How to add EasyPost Library to Android Studio Project

I have downloaded the library which is a folder containing several files from: https://github.com/EasyPost/easypost-java/archive/master.zip I have added my own folder named myLibs and added the unzipped project folder to it (folder named…
JasSy
  • 583
  • 5
  • 17
2
votes
1 answer

EasyPost API - print_custom_1 option won't print on label

This has been driving me batty for over an hour. I'm new to EasyPost and I'm trying to put some custom text on my label (in my particular case, it is which SKU to put in the package), but it just never seemed to work. I'm using the official nuget…
viggity
  • 15,039
  • 7
  • 88
  • 96
1
vote
3 answers

How would I go about developing a program that automatically sends an email with the tracking number to a customer using EasyPost API?

I'm a fairly new web developer and I have an ecommerce website that integrates EasyPost to create and print shipping labels. EasyPost has an API. Also, in each shipping label, I see a JavaScript object (I think) that displays buyer_address...…
Jedd Soh
  • 11
  • 1
1
vote
2 answers

Django easypost buy returns malformed syntax when using test api key but insufficient funds with production

Using the easypost python library I call the buy function passing in the rate like the documentation says but it returns an error. Can you use your test api key with buy for easypost or not? I didn't see anything in the documentation with it. It…
Trax Bagley
  • 101
  • 4
1
vote
1 answer

Unable to manifest shipment for dhl ecommerce through Easypost

Using dhl ecommerce carrier of easypost.Using their official php sdk. Not able to create manifest as I cannot buy the shipment without rate. Type: EasyPost\Error Message: No rates found. Filename:…
1
vote
2 answers

Expected a string but was BEGIN_OBJECT at line 1 column 123 path $.options in easypost shipment

I am integrating the shipment in my application using easy post API when I use shipment.create(shipmentMap, EASYPOSTAPIKEY) it's throwing an error Expected a string but was BEGIN_OBJECT at line 1 column 123 path $.options. Map
1
vote
1 answer

EasyPost USPS - How to buy Media Mail shipment?

I am able to buy Shipment for Priority using shipment.Buy(shipment.LowestRate(includeCarriers: new List { "USPS" }, includeServices: new List() { "Priority" })); How can I buy Media Mail instead of Priority? I tried…
Manjay_TBAG
  • 2,176
  • 3
  • 23
  • 43
1
vote
1 answer

C# DateTimeInvalidLocalFormat - How to set timezone to UTC

I'm working in a EasyPost integration making a class library to make the use of their API simpler and I'm getting this error: Managed Debugging Assistant 'DateTimeInvalidLocalFormat' has detected a problem in…
André Luiz
  • 6,642
  • 9
  • 55
  • 105
1
vote
1 answer

How retrieve dimensions of predefined packages of USPS using easypost API?

I am going to use easypost API for USPS shipping, and to use its pre-defined packages for example "SmallFlatRateBox" but I need to know its dimensions to count the package boxes of order items. But I can't find any method to get dimensions of…
Mian Majid
  • 814
  • 2
  • 8
  • 22
1
vote
1 answer

Usage of asynchronous validation within an allow hook

I am trying to validate on an allow hook in Meteor. The following is what I do. let EasyPost = Npm.require('node-easypost')(process.env.EASYPOST_KEY); Addresses.allow({ insert(userId, document) { check(document, Addresses.simpleSchema()); …
corvid
  • 10,733
  • 11
  • 61
  • 130
1
vote
1 answer

Getting a 401 when making a HTTP POST request using CORS in Dart

I am trying to build a small web app in Dart. The app calls the EasyPost web service, as illustrated with this curl call: $ curl -X POST https://myuserid@api.easypost.com/v2/trackers -d 'tracker[tracking_code]=EZ1000000001' -d…
miksen
  • 13
  • 2
1
vote
1 answer

How to handle errors on Meteor.wrapAsync?

I have a meteor method where I am using the easy post api. Below is some asyncronous code which I expect to give an error from the EasyPost api (because it is an invalid address). EasyPost = Easypost("
corvid
  • 10,733
  • 11
  • 61
  • 130
1
2 3 4