Get billing invoices
Changed onGet billing invoices in the advertiser account.
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:read, billing:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier of an ad account.
Query parameters
Cursor used to fetch the next page of items
Maximum number of items to include in a single page. See documentation on Pagination for more information.
The order in which to sort the items returned: "ASCENDING" or "DESCENDING" by ID. Note that higher-value IDs are associated with more-recently added items.
Field by which to sort billing invoices.
Field of which to sort billing invoices
The status of a billing invoice.
Status of billing invoices to filter by
The type of a billing invoice document.
Document type of billing invoices to filter by
Starting point for due dates when searching for invoices. Format: YYYY-MM-DD
Ending point for due dates when searching for invoices. Format: YYYY-MM-DD
Response
The request has succeeded.
Example response
{
"items": [
{
"payment_terms": "NET 30"
}
]
}Changes
- breaking
for the
queryrequest parameterorder, default valueASCENDINGwas added - breaking
the response's body type changed from no type to
objectfor status - info
removed the pattern
^(\d{4})-(\d{2})-(\d{2})$from thequeryrequest parameterend_due_date - info
removed the pattern
^(\d{4})-(\d{2})-(\d{2})$from thequeryrequest parameterstart_due_date - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info