What value would have an API like Flex if it is agnostic about prices and costs? If you are an LSP and you expose the API to your clients, then you definitely will want to configure prices for each client, for each language and (maybe) for each project. All this is configured inside Wordbee Translator and then available via Flex immediately.

How to get cost when pushing content

Check the optional URL parameter includeCost. When set to true, the result includes the cost of the push.

documents/{id}/contents/push

To configure and activate client costing please see the Prerequisites chapter below.

How to preview cost prior to pushing

Check the optional URL parameter includeCost. When set to true, the result includes the cost of the push. This matches the amount in the created client invoice document:

documents/{id}/contents/push/preview

The API caller can then see the cost and decide to proceed with pushing the content.

To configure and activate client costing please see the Prerequisites chapter below.

Obtain configured unit prices and discounts

Show applicable unit prices and discounts to a client (via API). A client definitely will want to see this information.

See documents/{id}/pricing (GET)

Prerequisites

For the above API methods and features to work properly, please verify the correct setup:

Note that any internal manager-level API 2 user can also use any of the above features. This may also be useful for testing purposes.

Access rights

The following user profiles can obtain cost information:

Any other users will not be able to see cost information.