POST /feed/config

Scope

console_rw

Accept

application/sellside.feedconfig-v1+json, application/json

Content-Type

application/sellside.feedconfig-v1+json; charset=utf-8

This URL updates the feed configuration of the current user. The feed configuration object must contain a boolean field enabled. Depending on its value the feed will be activated or disabled. If the feed is being activated, the field feedUrl is mandatory and should contain a valid URL to a feed XML document.

Note

Access to the feed functionality may be granted per user by the Customer Service. Unauthorized user requests to the this endpoint will result in 401 Unauthorized responses.

Errors

Field

Code

Error message

Description

1008

access denied

The user is invalid

feedUrl

2006

invalid url

The value of field ‘feedUrl’ is not a valid url

Example

POST /api/sellside/feed/config
Accept: application/sellside.feedconfig-v1+json, application/json
Content-Type: application/sellside.feedconfig-v1+json; charset=utf-8

{
    "enabled": true,
    "feedUrl": "http://www.ourshop.com/feed.xml"
}