cURL
curl --request GET \ --url https://api.xplenty.com/{account_id}/api/packages/{package_id} \ --header 'Accept: <accept>' \ --header 'Authorization: Basic <encoded-value>'
{ "id": 123, "name": "<string>", "description": "<string>", "variables": {}, "owner_id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "url": "<string>", "html_url": "<string>", "status": "<string>" }
Returns details for the specified package.
Enter your API key as the username. Leave the password field blank. Example: curl -u YOUR_API_KEY: https://api.xplenty.com/...
curl -u YOUR_API_KEY: https://api.xplenty.com/...
API version header — required on all requests
The unique ID of the package
Successful response
Was this page helpful?