Offers API

List Offers

GET /v1.0/offers

Parameters

Name Description
merchant_id Scope the returned offers to a specific merchant based on ID
sort_by Sort offers by 1 of their attributes ( name, start_running_at, status )
order Order the result ( asc or desc )

Request

Headers

Accept: application/json
Content-Type: application/json
X-Auth-Token: a7414497091cedbc03d43d656b2bfeff5482fe6401314890c0d493cb8f6f2ed7

Route

GET /v1.0/offers

Response

Headers

Cache-Control: max-age=0, private, must-revalidate
Content-Length: 2706
Content-Type: application/json; charset=utf-8
Etag: "375223951898a87f68018b62f1306728"
Server: thin 1.5.1 codename Straight Razor
X-Request-Id: 0884dbe624f604fd668adfa8c83b4a77
X-Runtime: 0.051623
X-Ua-Compatible: IE=Edge,chrome=1
Date: Tue, 16 Feb 2016 13:37:02 GMT

Status

200 OK

Body