PHP Code to Create Goshippo Shipment Using API

Goshippo is the popular shipping company which will take care of you all shipments, So you can focus on your Business. They have official API mentioned with full API documentation. You can do any third party integration with Goshippo Shipping API.

In this article we are going to explain How to Create Goshippo Shipment using PHP. First you need to get API token from Shippo API settings page. Goshippo API require HTTP Authentication method with token. You can put Authorization: ShippoToken in your header request.

Creating Goshippo Shipment API Call Using PHP

To create a new shipment inside Goshippo, need to create shipment object as send in api request.

API Resource URL:

Goshippo Create Shipment PHP Code:

Check below PHP sample code to send shipment api request. Create a request object for address_from, address_to and parcel.

You can easily integrate this Goshippo Shipment API php code with any third party software. This will automate the shipment process. In our next post we will explain you How to Print Goshippo Shipping Label using PHP.

Leave a Comment