Skip to content

Shippo

With Shippo modules in Ibexa Connect, you can:

  • create, retrieve, and list orders

  • watch, create, retrieve, and search shipments

  • watch, create, retrieve, and search shipping labels

  • watch parcels

To get started with Shippo, create an account at shippo.com.

Connect Shippo to Ibexa Connect using API key

To connect Shippo with Ibexa Connect you need to obtain the Shippo API Key from your Shippo account:

  1. Log in to your Shippo account.

  2. Click Settings > API > Generate Token.

    Shippo_3.png

  3. Copy the API Token to a safe place.

    Shippo_2.png

  4. Log in to your Ibexa Connect account, and add a module from the Shippo app into a Ibexa Connect scenario.

  5. Click Add next to the Connection field.

    Shippo_1.gif

  6. In the Connection name field, enter a name for the connection.

  7. In the API Key field, enter the details copied in step 3, and click Save.

    You have successfully established the connection and can now build scenarios.

Orders

You can create, retrieve, and list orders using the following modules.

Create an Order

Creates an order.

Placed at

Enter (map) the date and time when the order was placed. See the list of supported date and time formats.

This date and time can be different from the date and time of the order object creation on Shippo.

Weight

Enter (map) the total weight of the order.

Weight Unit

Select the unit used for the weight field. For example, kilogram.

To Address

Enter (map) the address details of the recipient/buyer:

Country

Select or map the recipient's country.

Name

Enter (map) the recipient's first and last name.

Company

Enter (map) the recipient's company.

Street 1

Enter (map) the recipient's street name1.

Street No.

Enter (map) the recipient's street number.

Street 2

Enter (map) the recipient's street name2.

Street 3

Enter (map) the recipient's street name3.

City

Enter (map) the recipient's city name.

ZIP

Enter (map) the recipient's postal zip code.

State

Enter (map) the recipient's state name.

Email

Enter (map) the recipient's email address.

Phone

Enter (map) the recipient's phone number.

Is Residential

Select whether the recipient's address is residential.

Validate

Select whether to validate the recipient's address by object ID.

Metadata

Enter (map) the recipient's metadata.

From Address

Enter (map) the address details of the sender/seller.

Country

Select or map the sender's country.

Name

Enter (map) the sender's name.

Company

Enter (map) the sender's company.

Street 1

Enter (map) the sender's street address.

Street No.

Enter (map) the sender's street number.

Street 2

Enter (map) the sender's street address.

Street 3

Enter (map) the sender's street address.

City

Enter (map) the sender's city name.

ZIP

Enter (map) the sender's postal zip code.

State

Enter (map) the sender's state name.

Email

Enter (map) the sender's Email address.

Phone

Enter (map) the sender's phone number.

Is Residential

Select whether the sender's address is residential.

Validate

Select whether to validate the sender's address by object ID.

Metadata

Enter (map) the sender's metadata.

Line Items

Enter (map) the details of line items

Title

Enter (map) the title of the line item.

Currency

Select or map the currency applicable to the order.

Quantity

Enter (map) the number of items in the order.

SKU

Enter (map) the stock keeping unit (SKU) value of this item.

Total Price

Enter (map) the total price paid by the buyer for this item.

Weight

Enter (map) the total weight of this/these item(s).

Instead of specifying the weight of all items, you can also set the total_weight value of the order object.

Weight Unit

Select the unit used for the weight. For example, pound.

Order Number

An alphanumeric identifier for the order used by the seller/buyer.

Order Status

Select the order status. For example, paid.

Shipping Cost

Enter (map) the amount to be paid by the buyer for shipping. This amount can be different from the price the seller will pay for shipping.

Shipping Cost Currency

Select or map the currency of the shipping cost amount.

Shipping Method

Enter (map) the shipping method chosen by the buyer.

Subtotal Price

Enter (map) the subtotal price amount to be paid by the buyer for this order.

Total Price

Enter (map) the total price amount to be paid by the buyer for this order.

Total Tax

Enter (map) the total tax amount paid by the buyer for this order.

Currency

Select or map the currency of the total price and total tax amounts.

Notes

Enter (map) the additional information provided by the buyer or seller about the order.

Get an Order

Retrieves a single order.

Order ID Select or map an Order ID whose details you want to retrieve.

List Orders

Retrieves all orders.

Limit Set the maximum number of orders Ibexa Connect will return during one execution cycle. The default value is 10.

Shipments

You can watch, create, retrieve, and search shipments using the following modules.

Watch Shipments

Triggers if a shipment has been created or updated.

Watch

Select a method:

  • Created Date

  • Updated Date

Limit

Set the maximum number of shipments Ibexa Connect will return during one execution cycle. The default value is 2.

Create a Shipment

Creates a new shipment.

Address from

Enter (map) the details of the sender's address:

Country

Select or map the sender's country.

Name

Enter (map) the sender's first and last name.

Street 1

Enter (map) the sender's street address 1.

Street 2

Enter (map) the sender's street address 2.

City

Enter (map) the sender's city name.

State

Enter (map) the sender's state name.

ZIP

Enter (map) the sender's postal zip code.

Phone

Enter (map) the sender's phone number.

Email

Enter (map) the sender's email address.

Address to

Enter (map) the details of the recipient's address:

Country

Select or map the recipient's country.

Name

Enter (map) the recipient's first and last name.

Street 1

Enter (map) the recipient's street address.

Street 2

Enter (map) the recipient's street address.

City

Enter (map) the recipient's city name.

State

Enter (map) the recipient's state name.

ZIP

Enter (map) the recipient's postal zip code.

Phone

Enter (map) the recipient's phone number.

Email

Enter (map) the recipient's email address.

Parcels

Enter (map) the details of shipped parcel objects:

Weight

Enter (map) the weight of the package, in units as selected in the distance unit attribute.

Length

Enter (map) the length of the package, in units as selected in the distance unit attribute.

Width

Enter (map) the width of the package, in units as selected in the distance unit attribute.

Height

Enter (map) the height of the package, in units as selected in the mass unit attribute.

Distance Unit

Select the distance unit. For example, inches.

Mass Unit

Select the mass unit. For example, pound.

Asynchronous

Select whether to enable asynchronous mode.

Get a Shipment

Retrieves a single shipment.

Shipment ID Select or map the Shipment ID whose details you want to retrieve.

Search Shipments

Retrieves all shipment objects.

Object Created Greater Enter (map) the date and time to retrieve the object(s) created after the provided date and time. See the list of supported date and time formats.
Object Created Greater or Equal Enter (map) the date and time to retrieve the object(s) created after or on the provided date and time. See the list of supported date and time formats.
Object Created Less Enter (map) the date and time to retrieve the object(s) created before the provided date and time. See the list of supported date and time formats.
Object Created Less or Equal Enter (map) the date and time to retrieve object(s) created before or on the provided date and time. See the list of supported date and time formats.
Limit Set the maximum number of shipments Ibexa Connect will return during one execution cycle. The default value is 10.

Shipping Labels

You can watch, create, retrieve, and search the shipping labels.

Watch Shipping Labels

Triggers if a shipping label has been created or updated.

Watch

Select a method to watch the shipping labels:

  • Created Date

  • Updated Date

Limit

Set the maximum number of shipping labels Ibexa Connect should return during one execution cycle. The default value is 2.

Create Label by Rate

Creates a shipping label based on a rate object.

Shipment ID Select or map the Shipment ID whose label you want to create.
Rate ID Select or map the Rate ID object for which you want to obtain a label.
Metadata Enter (map) any additional information you want to attach to the object.
Label File Type Select or map the label file type. For example, PDF.
Asynchronous Select whether to create the rates asynchronously.

Get a Shipping Label

Retrieves a single shipping label.

Shipping Label ID Select or map the Shipping Label ID whose details you want to retrieve.

Search Shipping Labels

Retrieves all shipping labels.

Object Created Greater Enter (map) the date and time to retrieve the object(s) created after the provided date and time. See the list of supported date and time formats.
Object Created Greater or Equal Enter (map) the date and time to retrieve the object(s) created after or on the provided date and time. See the list of supported date and time formats.
Object Created Less Enter (map) the date and time to retrieve the object(s) created before the provided date and time. See the list of supported date and time formats.
Object Created Less or Equal Enter (map) the date and time to retrieve object(s) created before or on the provided date and time. See the list of supported date and time formats.
Limit Set the maximum number of shipping labels Ibexa Connect will return during one execution cycle. The default value is 10.

Parcels

You can watch the parcels using the following module.

Watch Parcels

Triggers if a parcel has been created or updated.

Watch

Select a method to watch the parcels:

  • Created Date

  • Updated Date

Limit

Set the maximum number of parcels Ibexa Connect will return during one execution cycle. The default value is 10.

Other

You can call APIs using the following module.

Make an API Call

Performs an arbitrary authorized API call.

Note

For the list of available endpoints, refer to the Shippo API documentation.

URL

Enter a path relative to https://api.goshippo.com. For example, /addresses.

Method

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of use - List Orders

The following API call returns all the orders from your Shippo account.

URL:

/orders

Method:

GET

Shippo_4.png

Matches of the search can be found in the module's Output under Bundle > Body > results.

In this example, 20 orders were returned:

Shippo_5.png