These docs are for v1.1. Click to read the latest docs for v1.2.

Partner sessions

Example Payload

{
  "session": {
    "email": "[email protected]",
    "name": "Acme Inc.",
    "first_name": "John",
    "last_name": "Doe",
    "external_identifier": "3781876",
    "lifetime_in_seconds": 5,
    "single_use": true
  }
}
FieldDescription
emailThe email address of the customer.
nameThe company name of the customer for whom you are generating a session
external_identifierThe unique ID of the customer in your system. This ID will be used when reconciling shipping label purchases.
lifetime_in_secondsInteger

Length of time in seconds that the session token will stay active. The default is 900 seconds (15 minutes). Must be a value between 5 and 1800 seconds.
single_useBoolean

Default is false. When set to true the session token is expired immediately after its first use.
first_nameFirst name of the merchant or customer for whom you are generating a session.

This field is required if you want EasyShip to offer an option for insuring the shipment.
last_nameLast name of the merchant or customer for whom you are generating a session.

This field is required if you want EasyShip to offer an option for insuring the shipment.
webhook_urloptional

Typically your webhook URL is configured on your partner account and is static. However, if you have a need for dynamic webhook URL's that vary based on your customer, you may specify an override that will only be used for the shipment associated with this session token.

Signing requests

All ShippingEasy Partner API requests must be signed using a public API key and private API secret. Read more here: http://shippingeasy.readme.io/docs/authentication-signing-requests.

Language