Search for product pricing with given parameters
curl --request POST \
--url https://api.maplebilling.com/api/v1/companies/{company_id}/pricing/find \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pagination": {
"from_key": "<unknown>",
"limit": 20
},
"include_meta": true,
"query": {
"currency": "<unknown>",
"external_name": "<unknown>",
"name": "<unknown>",
"product_id": "<unknown>",
"search": "<unknown>",
"state": "<unknown>",
"tags": "<unknown>",
"type": "<unknown>"
},
"sort_key": "createdAtDesc"
}
'{
"pagination": {
"from_key": "<unknown>",
"limit": 123
},
"results": [
{
"company_id": "<string>",
"computed_entitlements": [
{
"entitlement_id": "<string>",
"id": "<string>",
"inherited_from_id": "<unknown>",
"inherited_from_type": "<unknown>",
"key": "<string>",
"name": "<string>",
"original_value": "<unknown>",
"overridden": "<unknown>",
"type": "<string>",
"value": "<unknown>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"currency": "<string>",
"description": "<string>",
"external_name": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"num_subs": 1,
"override_entitlements": [
{
"entitlement_id": "<string>",
"id": "<string>",
"inherited_from_id": "<unknown>",
"inherited_from_type": "<unknown>",
"key": "<string>",
"name": "<string>",
"original_value": "<unknown>",
"overridden": "<unknown>",
"type": "<string>",
"value": "<unknown>"
}
],
"product_id": "<string>",
"state": "<string>",
"tags": [
"<string>"
],
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The idempotency key that will be used to ensure the request is only performed once
The company ID with the prefix 'cmp_'.
Whether to include additional metadata in the pagination response such the number of total results
The query criteria for the request
Show child attributes
The currency of the product pricing
The externally visible name for the product pricing
The name of the product pricing
The product to which the product pricing belongs
Any search string to match product pricing
The state of the product pricing whether ACTIVE or ARCHIVED
Any of the tags to match against the product pricing
The type of the product pricing whether one-time or recurring
, createdAtDesc, createdAtAsc, updatedAtAsc, updatedAtDesc, aToZ, zToA OK
Show child attributes
The company ID for the product pricing
The final computed features for the product pricing
Show child attributes
The date the product pricing was created
The currency for the product pricing
The description for the product pricing
The externally exposed name for the product pricing used on invoices
The ID of the product pricing in Maple
Any additional data as key-value pairs attached to the product pricing
The name of the product pricing
The number of subscriptions in the company with the product pricing
x >= 0The overridden features for the product pricing
Show child attributes
The product ID that the product pricing is attached to
The state of the product pricing such as ACTIVE or ARCHIVED
Any tags on the product pricing
The type of product pricing such as recurring or one-time
The date the product pricing was last updated
curl --request POST \
--url https://api.maplebilling.com/api/v1/companies/{company_id}/pricing/find \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pagination": {
"from_key": "<unknown>",
"limit": 20
},
"include_meta": true,
"query": {
"currency": "<unknown>",
"external_name": "<unknown>",
"name": "<unknown>",
"product_id": "<unknown>",
"search": "<unknown>",
"state": "<unknown>",
"tags": "<unknown>",
"type": "<unknown>"
},
"sort_key": "createdAtDesc"
}
'{
"pagination": {
"from_key": "<unknown>",
"limit": 123
},
"results": [
{
"company_id": "<string>",
"computed_entitlements": [
{
"entitlement_id": "<string>",
"id": "<string>",
"inherited_from_id": "<unknown>",
"inherited_from_type": "<unknown>",
"key": "<string>",
"name": "<string>",
"original_value": "<unknown>",
"overridden": "<unknown>",
"type": "<string>",
"value": "<unknown>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"currency": "<string>",
"description": "<string>",
"external_name": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"num_subs": 1,
"override_entitlements": [
{
"entitlement_id": "<string>",
"id": "<string>",
"inherited_from_id": "<unknown>",
"inherited_from_type": "<unknown>",
"key": "<string>",
"name": "<string>",
"original_value": "<unknown>",
"overridden": "<unknown>",
"type": "<string>",
"value": "<unknown>"
}
],
"product_id": "<string>",
"state": "<string>",
"tags": [
"<string>"
],
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}