Skip to content

List order types

GET
/listings/order_types
curl --request GET \
--url 'https://acme.mykreezalid.com/api/partners/v1/listings/order_types?page=1&limit=25' \
--header 'Authorization: Basic <credentials>'

Lists the marketplace’s order types, which define how a listing is ordered. Use an order type’s id as order_type_id, or its url_token as order_type_url_token, when you create or update a listing.

page
integer
default: 1 >= 1

Page to return, starting at 1. Pages hold 25 results by default; keep requesting the next page until one comes back with fewer results than limit.

limit
integer
default: 25 >= 1 <= 100

Number of results per page, at most 100.

The marketplace’s order types.

Media typeapplication/json
object
orderTypes
Array<object>
object
id
integer
url_token

Token to send as order_type_url_token.

string
title
string
transaction_type

Kind of transaction this order type handles.

string

Example

{
"orderTypes": [
{
"id": 2,
"title": "Sale"
}
]
}

Missing or wrong API credentials.