https://api.shipbob.com/2025-07
Sandbox URL:
https://sandbox-api.shipbob.com/2025-07
Authentication:All requests must include one of the following:
- Personal Access Token (PAT):
Authorization: Bearer <TOKEN>
- OAuth2 Access Token
Get Invoices
Endpoint:GET /invoices
API Reference ↗ Retrieve a paginated list of billing invoices.
Query Parameters
Name | Type | Description |
---|---|---|
limit | int | Number of invoices per page (default is 100) |
offset | int | Offset used for pagination |
invoiceTypes | array | Filter by invoice type: AdditionalFee , Inbound Fee , Shipping , Payment , WarehouseStorage |
Example Request
Example Response
Get Transactions by Invoice ID
Endpoint:GET /invoices/{invoiceId}/transactions
API Reference ↗ Get all transactions tied to a specific invoice.
Path Parameters
Name | Type | Description |
---|---|---|
invoiceId | int | The ID of the invoice |
Example Request
Example Response
Search Transactions
Endpoint:POST /transactions:query
API Reference ↗ Search billing transactions using filters like invoice ID, transaction type, or reference ID.
Body Parameters
Name | Type | Description |
---|---|---|
invoice_ids | array | Filter by one or more invoice IDs |
transaction_types | array | Filter by type: Charge , Refund , etc. |
start_date | string | Start date in ISO 8601 (e.g. 2024-06-01T00:00:00Z ) |
end_date | string | End date in ISO 8601 format |
reference_ids | array | Filter by reference IDs |
Example Request
Example Response
Get Transaction Fees
Endpoint:GET /transaction-fees
API Reference ↗ Returns a list of all transaction fees that may be used in billing.
Example Request
Example Response
Authentication
Add one of the following headers to all requests:- Personal Access Token:
- OAuth2 Access Token:
Notes
- All dates and times are in UTC and follow ISO 8601 format.
- For paginated endpoints, use
limit
andoffset
to navigate through results.