Invoice Report API
Invoice Report API (0.1.0)
Download OpenAPI description
Languages
Servers
https://api.goshippo.com
- https://api.goshippo.com/v2/reports/invoices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.goshippo.com/v2/reports/invoices?page=MTA=' \
-H 'Authorization: ShippoToken <API_TOKEN>'Response
application/json
{ "page_info": { "next": "MjA=", "prev": "MA==" }, "resources": [ { … } ] }
Request
Returns a redirect URL to download the invoice file content.
A successful response returns a 302 status code. Your client should automatically follow the redirected link to download the file. Some clients, such as Swagger UI, can include the authorization header when following the redirected link. This will cause the request to fail with a 400 Bad Request response. To avoid this issue, ensure that the authorization header is removed when the client follows the redirected URL.
Security
Shippo_Token
- https://api.goshippo.com/v2/reports/invoices/{file_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.goshippo.com/v2/reports/invoices/4e43e2df-3e35-4985-b718-2d21e5078175' \
-H 'Authorization: ShippoToken <API_TOKEN>'Successful Response: Redirect to download file
Response
No content