---
title: "Get Salesforce order lines by ad account id."
method: GET
path: "/ad_accounts/{ad_account_id}/ssio/order_lines"
tags: ["billing"]
---

# Get Salesforce order lines by ad account id.

`GET /ad_accounts/{ad_account_id}/ssio/order_lines`

Get 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](https://help.pinterest.com/en/business/article/share-and-manage-access-to-your-ad-accounts): Admin, Finance, Campaign.

## Path parameters

- `ad_account_id` string, required

## Query parameters

- `pin_order_id` string
- `bookmark` string
- `page_size` integer

## Response `200`

The request has succeeded.

- object
  - `bookmark` string, nullable
  - `items` SSIOOrderLine[], required
    - `accepted_terms_id` string, nullable — The SFDC id for the terms
    - `accepted_terms_time` string, nullable — The UTC timestamp (to the nearest second) when terms were accepted.
    - `ads_manager_order_line_id` string, nullable — Ads manager order line id
    - `agency_link` string, nullable — Agency link
    - `bill_to_company_name` string, nullable — Bill-to company name
    - `billing_contact_email` string, nullable — Billing contact email
    - `billing_contact_firstname` string, nullable — Billing contact first name
    - `billing_contact_lastname` string, nullable — Billing contact last name
    - `budget_amount` number, nullable — If budget order line, the budget amount.
    - `currency_info` 'UNK' | 'USD' | 'GBP' | 'CAD' | 'EUR' | 'AUD' | 'NZD' | 'SEK' | 'ILS' | 'CHF' | 'HKD' | 'JPY' | 'SGD' | 'KRW' | 'NOK' | 'DKK' | 'PLN' | 'RON' | 'HUF' | 'CZK' | 'BRL' | 'MXN' | 'ARS' | 'CLP' | 'COP' | 'INR' | 'TRY' — Currency Codes from ISO 4217
    - `end_date` string, date, nullable — End date of the order line.
    - `estimated_monthly_spend` number, nullable — If ongoing (perpetual) order line, the estimated monthly spend.
    - `last_modified_date_time` string, nullable — Last modified date.
    - `media_contact_email` string, nullable — Billing media email
    - `media_contact_firstname` string, nullable — Billing media contact first name
    - `media_contact_lastname` string, nullable — Billing media contact last name
    - `order_name` string, nullable — The order name
    - `pin_order_id` string, nullable — The pin order id associated with the order line in SFDC
    - `pmp_name` string, nullable — The Pinterest marketing partner name
    - `po_number` string, nullable — The PO number
    - `salesforce_order_line_id` string, nullable — Order line id in SFDC
    - `start_date` string, date, nullable — Start date of the order line.

## Other responses

- `400` — The request could not be understood by the server due to unexpected data.
- `401` — Authentication is required and has either failed or not been provided.
- `403` — The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.
- `404` — The requested resource could not be found on this server.
- `429` — The user has sent too many requests in a given amount of time and is being rate limited.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/pinterest/apis/pinterest-rest-api.md) · [All operations](https://skmtc.net/pinterest/apis/pinterest-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinterest/pinterest-rest-api/revisions/b698c180678a/schema)
