Discount contact usage GET

URI

https://{DATACENTER}.brightpearlconnect.com/public-api/{ACCOUNT}
/product-service/discount/{ID}/contact-usage/{ID}

Refer to our documentation on URI syntax for more information on how to construct URIs.

Description

Use this message to get the total number of usages for a discount by a specific contact. To get the total number of usages for all contacts, use the discount total usage resource.

Example

Requesting contact discount usages for discount 1 and contact 200

Request URI

/discount/1/contact-usage/200

Response

{
	"response": [
		{
			"contactId": 200,
			"usages": 10
		}
	]
}