Extra Columns

Manage custom extra columns added to your product feed beyond the standard Google Merchant fields.

Get extra columns

GET /v1/extra_columns

Returns the list of custom extra columns configured for your feed.

Required scope: read_settings

Request

curl https://app.simpleproductfeeds.com/v1/extra_columns \
  -H "Authorization: Bearer spf_live_sk_your_key_here"

Response

{
  "data": {
    "object": "extra_columns",
    "extra_columns": ["custom_label_0", "custom_label_1", "promotion_id"]
  }
}

Errors

StatusCodeDescription
422no_feedNo feed has been configured for this shop.

Update extra columns

PATCH /v1/extra_columns

Replaces the list of extra columns. Column names must start with a letter and contain only letters, numbers, and underscores.

Required scope: write_settings

Parameters

ParameterTypeRequiredDescription
extra_columnsstring[]YesArray of column names. Pass an empty array to remove all extra columns.

Request

curl -X PATCH https://app.simpleproductfeeds.com/v1/extra_columns \
  -H "Authorization: Bearer spf_live_sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"extra_columns": ["custom_label_0", "custom_label_1", "promotion_id"]}'

Response

Returns the updated extra columns object.

Errors

StatusCodeDescription
422missing_paramThe extra_columns parameter is required.
422invalid_column_namesOne or more column names are invalid. Names must start with a letter and contain only letters, numbers, and underscores.
422no_feedNo feed has been configured for this shop.