question

torey avatar image
torey asked Jacob Abrams answered

What is orderType.databaseId?

When getting all payments, it's says I can filter based on orderType.databaseId, how do I get that information?

I have the orderType id, but that doesn't work.

REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Jacob Abrams avatar image
Jacob Abrams answered

Looks like a mistake, databaseId is an internal integer that isn't normally exposed via the public API and won't be usable.

Perhaps instead you can query orders, filter by order type and expand payments, for example:

v3/merchants/orders?filter=orderType=<OrderType_UUID>&expand=payments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community