Offers API

Search for Offer by Name

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?name=super

Query Parameters

name: super

Response

Headers

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

Status

200 OK

Body