Update feed
PATCH {{baseUrl}}/catalogs/feeds/:feed_id?ad_account_id=15266090296
Update a feed owned by the operation user_account
.
- By default, the operation user_account
is the token user_account.
Optional: Business Access: Specify an adaccountid
(obtained via List ad accounts) to use the owner of that adaccount as the "operation useraccount. In order to do this, the token user_account must have one of the following https://help.pinterest.com/en/business/article/share-and-manage-access-to-your-ad-accounts">Business Access roles on the ad_account: Owner, Admin, Catalogs Manager.
For Retail partners, refer to Before you get started with Catalogs. For Hotel parterns, refer to Pinterest API for shopping.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ad_account_id | number | Unique identifier of an ad account. |
Request Body
{"catalog_type"=>"HOTEL", "default_currency"=>"EGP", "name"=>"<string>", "format"=>"CSV", "credentials"=>{"username"=>"<string>", "password"=>"<string>"}, "location"=>"ftp://", "preferred_processing_schedule"=>{"time"=>"19:53", "timezone"=>"Pacific/Guadalcanal"}, "status"=>"INACTIVE", "default_availability"=>"PREORDER"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"credentials":{"username":"\u003cstring\u003e","password":"\u003cstring\u003e"},"default_availability":"IN_STOCK","default_country":"LS","default_currency":"BHD","default_locale":"\u003cstring\u003e","format":"CSV","location":"\u003cstring\u003e","name":"\u003cstring\u003e","preferred_processing_schedule":{"time":"04:07","timezone":"Asia/Kuching"},"status":"INACTIVE","catalog_type":"HOTEL","created_at":"\u003cdateTime\u003e","id":"\u003cstring\u003e","updated_at":"\u003cdateTime\u003e"}