Campaigns .: Get Merchant ID

API Reference / v14

Get Merchant IDs for a Campaign

The endpoint returns a paginated array of merchant IDs associated with the given campaign.

Request Endpoint

GET /v14/campaigns/:id/merchants

No Authorization Required

Request Parameters

Param Type Required Description
id Integer Yes The ID of the campaign.

cURL Example

curl -X GET -H Accept:application/json -H Content-Type:application/json https://api.thelevelup.com/v14/campaigns/3/merchants

Example Response

[1, 2742]

Errors

HTTP/1.1 204 No content