Skip to main content
GET
/
packages
/
{package_id}
/
export
Export Package as JSON
curl --request GET \
  --url https://api.xplenty.com/{account_id}/api/packages/{package_id}/export \
  --header 'Accept: <accept>' \
  --header 'Authorization: Basic <encoded-value>'
{}

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

200 - application/json

Package JSON export

The response is of type object.

Last modified on April 15, 2026