Skip to content

List pricing splits

Request

Returns the pricing splits your business has declared, sorted by creation date with the most recent split first. Pass price_id to return only the splits declared against one dynamic pricing rule.

Security
JWT
Query
price_idstring

Return only the splits declared against this dynamic pricing rule.

Example:price_id=price_5JU9yv0lGSUP
per_pageinteger

Number of resources per page. Should be between 1 and 100.

Default:20
pageinteger

Page number for pagination. Starts from 1. Get the next page number from the next field in the response.

Default:1
curl -i -X GET \
  'https://api.glomopay.com/api/v1/prices/dynamic-splits?price_id=price_5JU9yv0lGSUP&per_page=20&page=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

List of pricing splits matching the filters

Bodyapplication/json
dataArray of objects(PricingSplit)
page_metaobject(PageMeta)
Response
{ "data": [ { … }, { … } ], "page_meta": { "current": 1, "previous": null, "next": null, "per_page": 20, "pages": 1, "count": 2 } }