TAG LINE
TAG LINE
SMALL TITLE

Rounding / Method / Type

(API Version v5)


System defined options for price rounding such as round up or round half up.


What can you do with RoundingMethodType?


Properties

Property Details
identity
READ-ONLY
"identity": 25
Type: Number
This is the unique numeric identifier for the RoundingMethodType
name
READ-ONLY
"name": "Round up"
Type: String
System defined name for the Rounding Method Type.


End Points

GETRoundingMethodType/
Retrieve all of the RoundingMethodType objects.
Retrieve all of the RoundingMethodType objects.
GET RoundingMethodType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Round up"
        }
    ]
}
GETRoundingMethodType/Paged
Retrieve all of the RoundingMethodType 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 RoundingMethodType objects in a paged fashion.
GET RoundingMethodType/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": "Round up"
            }
        ]
    }
}
GETRoundingMethodType/{id}
Retrieve an instance of the RoundingMethodType object by its ID.
{id}Unique identifier for the RoundingMethodType object.
Retrieve an instance of the RoundingMethodType object by its ID.
GET RoundingMethodType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Round up"
    }
}