Endpoint is in beta and API contract is subject to change.
Retrieves a collection of invoice items that belong to the authenticated user.
Invoice object ID and object owner object ID can be used to filter the result set.
The results are paginated. Please see filtering documentation for more information
on date filtering and pagination.
curl /invoice-items?results=20&page=2 \ -H "Authorization: ShippoToken <API_TOKEN>" \ -H "Content-Type: application/json"
{- "next": "baseurl?page=3&results=10",
- "previous": "baseurl?page=1&results=10",
- "results": [
- {
- "object_id": "ec9f0d3adc9441449c85d315f0997fd5",
- "object_created": "2019-08-24T14:15:22Z",
- "object_updated": "2019-08-24T14:15:22Z",
- "shippo_account": "915d94940ea54c3a80cbfa328722f5a1",
- "type": "LABEL_PAYMENT",
- "description": "monthly subscription plan fee for 2019-08-24",
- "amount": "5.54",
- "currency": "USD",
- "charge_conversion": {
- "rate": "0.89",
- "time": "2019-08-24T14:15:22Z",
- "amount": "4.91",
- "currency": "USD"
}, - "invoice": "011044d8405e43bd8b1efe1c21f967df",
- "transaction": "915d94940ea54c3a80cbfa328722f5a1"
}
]
}