Discount Type

What can you do with DiscountType?


Properties

Property Details
id
"id": 119
Type: Number
This is the unique numeric identifier for the DiscountType
name
"name": "Hello World"
Type: String
sortOrder
"sortOrder": 769
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/Metadata
Retrieve all of the meta data details of the DiscountType object.
GETapi/v1/DiscountType/Metadata/{option}
Retrieve all the meta data details of the DiscountType object based on provided options.
{option}Metadata options for the DiscountType object.
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.