Create product feed

Create a new product feed

Creates a new product feed configuration.

Requires authentication.

Request

POST /productfeed

Headers

HeaderValue
AuthorizationBearer <token>
Content-Typeapplication/json

Request Body

FieldTypeRequiredDescription
namestringYesFeed name. Must be unique. Special characters are replaced with underscores in URLs.
streamnumberYesStream ID that defines which products are included in this feed.
contentTypestringYesOutput format (e.g. csv, xml, json).
separatorstringNoField separator for CSV feeds.
wrappingstringNoField wrapping character for CSV feeds.
tokenstringNoAuthentication token required to access the generated feed URL.
parentsbooleanNoInclude parent product groups.
childrenbooleanNoInclude child variants.
parentsSingleOnlybooleanNoOnly include parent groups with a single variant.
innerStreamnumberNoSecondary stream for inner-loop product filtering.
headerstringNoHeader template for the feed output.
footerstringNoFooter template for the feed output.
lineSeparatorstringNoLine separator between feed entries.
contentstringNoRow template for each product in the feed.

Example Request

{
  "name": "Google Shopping Feed",
  "stream": 1,
  "contentType": "csv",
  "separator": ",",
  "wrapping": "\"",
  "children": true
}

Response

Returns the created product feed object.

Body Params
string
number
string
string
string
string
boolean
boolean
boolean
number
string
string
string
string
Headers
string
required

Makaira Instance ID

Response
200

OK

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!