catalog_supplemental
Delete local stores
Changed onDelete multiple local stores for a catalog owned by the "operation user_account".
- By default, the "operation user_account" is the token user_account.
- Supports optional filtering by store codes.
Optional: Business Access: Specify an ad_account_id (obtained via List ad accounts) to use the owner of that ad_account as the "operation user_account". In order to do this, the token user_account must have one of the following Business Access roles on the ad_account: Owner, Admin, Catalogs Manager.
Learn more
delete/catalogs/{catalog_id}/local_stores
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopescatalogs:write
- TypeScripthttps://skmtc.dev/pinterest/apis/pinterest-rest-api/docs/catalogs/:catalog_id/local_stores/delete.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
catalog_idstring required
Unique identifier of a catalog.
Query parameters
idsLocal Store Id[] required
List of local store IDs to filter by.
ad_account_idstring
Unique identifier of an ad account.
Response
The request has succeeded.
Example response
[
{
"id": "1234567890",
"status": {
"code": 2,
"message": "AdAccount not found."
}
}
]Changes
- info
endpoint added
- info