Site Logo

🎉 ShipEngine is becoming ShipStation API 🎉

Over the next few months you'll notice the ShipEngine website, documentation portal, and dashboard being rebranded as ShipStation API. For our ShipEngine customers, you don't need to take any action or change any of your integrations in any way. All endpoints will remain the same and continue to function as they always have.

To learn more about what's coming, review our New ShipStation API page.

Update Custom Package

You can update the individual properties of your custom packages using the PUT method with the /v1/packages endpoint and the package_id.

Requirements

  • You'll need the package_id of the custom package to update.
  • You'll need to include all the same properties in the request body as when you defined the custom package, with any new values for the properties you'd like to update.

Example Request & Response

PUT /v1/packages/:package_id

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
GET /v1/packages/se-100896 HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__
Content-Type: application/json
{
"package_code": "custom_laptop_box",
"name": "laptop_box",
"dimensions": {
"unit": "inch",
"length": 15,
"width": 22,
"height": 5
},
"description": "Packaging for laptops."
}

If successful, you'll receive an HTTP Status 204, (No Content) response.