Create feed

POST {{baseUrl}}/catalogs/feeds?ad_account_id=47

Create a new feed owned by the operation user_account. - By default, the operation user_account is the token user_account.

Please, be aware that default_country and default_locale are not required in the spec for forward compatibility but for now the API will not accept requests without those fields.

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.

Learn more

Request Params

KeyDatatypeRequiredDescription
ad_account_idnumberUnique identifier of an ad account.

Request Body

{"format"=>"XML", "location"=>"ftp://", "name"=>"<string>", "default_country"=>"MK", "default_availability"=>"OUT_OF_STOCK", "default_currency"=>"BAM", "default_locale"=>"en-IN", "credentials"=>{"username"=>"<string>", "password"=>"<string>"}, "preferred_processing_schedule"=>{"time"=>"05:28", "timezone"=>"America/Maceio"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;credentials&quot;:{&quot;username&quot;:&quot;\u003cstring\u003e&quot;,&quot;password&quot;:&quot;\u003cstring\u003e&quot;},&quot;default_availability&quot;:&quot;OUT_OF_STOCK&quot;,&quot;default_country&quot;:&quot;HU&quot;,&quot;default_currency&quot;:&quot;ISK&quot;,&quot;default_locale&quot;:&quot;\u003cstring\u003e&quot;,&quot;format&quot;:&quot;TSV&quot;,&quot;location&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;preferred_processing_schedule&quot;:{&quot;time&quot;:&quot;07:45&quot;,&quot;timezone&quot;:&quot;America/Jamaica&quot;},&quot;status&quot;:&quot;ACTIVE&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cdateTime\u003e&quot;}