Productfeed - Heyloyalty/api GitHub Wiki

List productfeeds

Lists productfeeds.

GET /integrations/productfeed

Response

Status: 200 OK

 {
    "id": "5",
    "name": "Heyloyalty",
    "url": "http://heyloyalty.com/feed",
    "latest_fetch": 17673828,
    "created_at": "2015-02-18 10:49:15",
    "updated_at": "2015-02-18 10:49:15"
  }

Create an productfeed

Adds a new productfeed

POST /integrations/productfeed

Parameters

Name Description Type Required
name productfeed name string x
url prodcutfeed url string x

Response

Returns the id of the newly created productfeed.

Status: 201 Created

{"id":"5"}

Edit an productfeed

Updates an productfeed

PUT /integrations/productfeed/{id}

Parameters

The same parameters as Create productfeed applies.

Response

Status: 204 No Content

The method does not return anything on success.

Delete an productfeed

Deletes a member.

DELETE /integrations/productfeed/{id}

Parameters

The method takes no parameters.

Response

Status: 204 No Content

The method does not return anything on success.