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
| Status | Code | Description |
|---|---|---|
| 422 | no_feed | No 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
| Parameter | Type | Required | Description |
|---|---|---|---|
extra_columns | string[] | Yes | Array 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
| Status | Code | Description |
|---|---|---|
| 422 | missing_param | The extra_columns parameter is required. |
| 422 | invalid_column_names | One or more column names are invalid. Names must start with a letter and contain only letters, numbers, and underscores. |
| 422 | no_feed | No feed has been configured for this shop. |