TAG LINE
SMALL TITLE

Discount Type

(API Version v1)


What can you do with DiscountType?


Properties

Property Details
id
"id": 5
Type: Number
This is the unique numeric identifier for the DiscountType
name
"name": "Hello World"
Type: String
sortOrder
"sortOrder": 9
Type: Number


Update Request Filters

When updating an object you use the update request header with the list of properties to update. Then you need only supply the new values in the body of your request. Please note, this header can only be used with PUT or PATCH requests.

Field List:

  • name
  • sortOrder

DataFlow PATCH objects:


End Points

GETapi/v1/DiscountType
Retrieve all of the DiscountType objects.
GETapi/v1/DiscountType/Paged
Retreive all of the DiscountType objects in a paged fashion.
GETapi/v1/DiscountType/{id:int}
Retrieve an instance of the DiscountType object by it's ID.
{id:int}Unique identifier for the DiscountType object.