Skip to main content
DELETE
/
packages
/
{package_id}
Delete Package
curl --request DELETE \
  --url https://api.xplenty.com/{account_id}/api/packages/{package_id} \
  --header 'Accept: <accept>' \
  --header 'Authorization: Basic <encoded-value>'
{
  "message": "Item not found."
}

Authorizations

Authorization
string
header
required

Enter your API key as the username. Leave the password field blank. Example: curl -u YOUR_API_KEY: https://api.xplenty.com/...

Headers

Accept
string
default:application/vnd.xplenty+json; version=2
required

API version header — required on all requests

Path Parameters

package_id
integer
required

The unique ID of the package

Response

Package deleted

Last modified on April 15, 2026