TAG LINE
TAG LINE
SMALL TITLE

Discount Type

(API Version v7)


This system defined entity represents a list of different types of discounts. For example percentage or fixed.


What can you do with DiscountType?


Properties

Property Details
identity
READ-ONLY
"identity": 2
Type: Number
This is the unique numeric identifier for the DiscountType
name
READ-ONLY
"name": "Percentage"
Type: String
The system defined Discount Type.
sortOrder
READ-ONLY
"sortOrder": 19
Type: Number
Unused


End Points

GETDiscountType/
Retrieve all of the DiscountType objects.
Retrieve all of the DiscountType objects.
GET DiscountType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Percentage",
            "sortOrder": 24
        }
    ]
}
GETDiscountType/
Retrieve all of the DiscountType objects.
Retrieve all of the DiscountType objects.
GET DiscountType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Percentage",
            "sortOrder": 12
        }
    ]
}
GETDiscountType/
Retrieve all of the DiscountType objects.
Retrieve all of the DiscountType objects.
GET DiscountType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Percentage",
            "sortOrder": 8
        }
    ]
}
GETDiscountType/
Retrieve all of the DiscountType objects.
Retrieve all of the DiscountType objects.
GET DiscountType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Percentage",
            "sortOrder": 18
        }
    ]
}
GETDiscountType/
Retrieve all of the DiscountType objects.
Retrieve all of the DiscountType objects.
GET DiscountType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Percentage",
            "sortOrder": 6
        }
    ]
}
GETDiscountType/Metadata
Retrieve all of the DiscountType objects.
Retrieve all of the DiscountType objects.
GET DiscountType/Metadata
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Percentage",
            "sortOrder": 15
        }
    ]
}
GETDiscountType/Metadata/sql
Retrieve all of the DiscountType objects.
Retrieve all of the DiscountType objects.
GET DiscountType/Metadata/sql
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Percentage",
            "sortOrder": 15
        }
    ]
}
GETDiscountType/Paged
Retrieve all of the DiscountType objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the DiscountType objects in a paged fashion.
GET DiscountType/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Percentage",
                "sortOrder": 7
            }
        ]
    }
}
GETDiscountType/Paged
Retrieve all of the DiscountType objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the DiscountType objects in a paged fashion.
GET DiscountType/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Percentage",
                "sortOrder": 20
            }
        ]
    }
}
GETDiscountType/Paged
Retrieve all of the DiscountType objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the DiscountType objects in a paged fashion.
GET DiscountType/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Percentage",
                "sortOrder": 9
            }
        ]
    }
}
GETDiscountType/Paged
Retrieve all of the DiscountType objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the DiscountType objects in a paged fashion.
GET DiscountType/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Percentage",
                "sortOrder": 27
            }
        ]
    }
}
GETDiscountType/Paged
Retrieve all of the DiscountType objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the DiscountType objects in a paged fashion.
GET DiscountType/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Percentage",
                "sortOrder": 10
            }
        ]
    }
}
GETDiscountType/{id}
Retrieve an instance of the DiscountType object by its ID.
{id}Unique identifier for the DiscountType object.
Retrieve an instance of the DiscountType object by its ID.
GET DiscountType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Percentage",
        "sortOrder": 24
    }
}
GETDiscountType/{id}
Retrieve an instance of the DiscountType object by its ID.
{id}Unique identifier for the DiscountType object.
Retrieve an instance of the DiscountType object by its ID.
GET DiscountType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Percentage",
        "sortOrder": 0
    }
}
GETDiscountType/{id}
Retrieve an instance of the DiscountType object by its ID.
{id}Unique identifier for the DiscountType object.
Retrieve an instance of the DiscountType object by its ID.
GET DiscountType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Percentage",
        "sortOrder": 24
    }
}
GETDiscountType/{id}
Retrieve an instance of the DiscountType object by its ID.
{id}Unique identifier for the DiscountType object.
Retrieve an instance of the DiscountType object by its ID.
GET DiscountType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Percentage",
        "sortOrder": 3
    }
}
GETDiscountType/{id}
Retrieve an instance of the DiscountType object by its ID.
{id}Unique identifier for the DiscountType object.
Retrieve an instance of the DiscountType object by its ID.
GET DiscountType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Percentage",
        "sortOrder": 15
    }
}