---
title: "Update commerce integration"
method: PATCH
path: "/integrations/commerce/{external_business_id}"
tags: ["integrations"]
---

# Update commerce integration

`PATCH /integrations/commerce/{external_business_id}`

Update commerce integration metadata for the given external business ID. Note: If you're interested in joining the beta, please reach out to your Pinterest account manager.

## Path parameters

- `external_business_id` string, required

## Request body

- IntegrationMetadataUpdate — Resource create or update operation model.
  - `additional_id_1` string
  - `connected_advertiser_id` string
  - `connected_lba_id` string
  - `connected_merchant_id` string
  - `connected_tag_id` string
  - `partner_access_token` string
  - `partner_access_token_expiry` number
  - `partner_metadata` string
  - `partner_primary_email` string
  - `partner_refresh_token` string
  - `partner_refresh_token_expiry` number
  - `scopes` string

## Response `200`

The request has succeeded.

- IntegrationMetadata — Integration metadata
  - `additional_id_1` string
  - `connected_advertiser_id` string
  - `connected_lba_id` string
  - `connected_merchant_id` string
  - `connected_tag_id` string
  - `connected_user_id` string
  - `created_timestamp` number
  - `external_business_id` string — External business ID for the integration.
  - `id` string
  - `partner_access_token_expiry` number
  - `partner_metadata` string
  - `partner_refresh_token_expiry` number
  - `scopes` string
  - `updated_timestamp` number

## 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/versions/b698c180678a/schema)
