Merchants API

Create Merchant

POST /v1.0/merchants

Parameters

Name Description
name Merchant Name
logo Logo URL
is_active Set Merchant to Active
billing_arrangement Billing Arrangement Settings
supports_barcode Whether or not a merchant can scan optical barcodes to redeem offers
redemption_identifier_type Redemption Identifier
primary Primary Contact Information ( pass: name, phone, and email )
secondary Secondary Contact Information ( pass: name, phone, and email )

Request

Headers

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

Route

POST /v1.0/merchants

Body

Response

Headers

Cache-Control: max-age=0, private, must-revalidate
Content-Length: 546
Content-Type: application/json; charset=utf-8
Etag: "1ed74775a53f9e88dbc13cdfda850166"
Location: http://localhost:4000/v1.0/merchants/81
Server: thin 1.5.1 codename Straight Razor
X-Request-Id: fcc98138e9f86e91340f35aebc8666b4
X-Runtime: 0.037547
X-Ua-Compatible: IE=Edge,chrome=1
Date: Tue, 16 Feb 2016 13:36:53 GMT

Status

201 Created

Body