Discount total usage GET

URI

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

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: this includes all usages associated with specific contacts as well as all anonymous usages. To get the total number of usages for single contact, use the discount contact usage resource.

Example

Requesting total discount usages

Request URI

/discount/1/total-usage

Response

{
	"response": {
		"usages": 10
	}
}