Get Salesforce order lines by ad account id.
Changed onGet Salesforce order lines for account id ad_account_id.
- The token's user_account must either be the owner of the specified ad account, or have one of the necessary roles granted via Business Access: Admin, Finance, Campaign.
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier of an ad account.
Query parameters
The pin order id associated with the SSIO insertion order
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.
Response
The request has succeeded.
Example response
{
"items": [
{
"accepted_terms_time": "2020-10-06T13:07:04.000Z",
"bill_to_company_name": "Home Depot Inc.",
"billing_contact_email": "mail@test.com",
"billing_contact_firstname": "Mary",
"billing_contact_lastname": "Smith",
"budget_amount": 5000000,
"last_modified_date_time": "2020-10-06T13:07:04.000Z",
"media_contact_email": "mail@test.com",
"media_contact_firstname": "John",
"media_contact_lastname": "Doe"
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - 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
- warning
added the new
INRenum value to the///response property for the response status - warning
added the new
TRYenum value to the///response property for the response status
- warning