Skip to main content

nShift Delivery Help Center

Price

Price enquiry and price review.

POST /prices

Fetches price information about a shipment.

Huomaa

You can add surcharges in amount, percentage or both.

If you enter both amount and percentage, the amount is added first and then the percentage is calculated.

You write percentage as an integer, for example, '10' means '10 %'

For description of properties, please refer to the Property reference guide.

For schema and testing, please refer to https://api.unifaun.com/rs-docs/ and navigate to /prices POST.

POST /prices/history

Fetches price information about a printed shipments.

Huomaa

Max. 100 prices are returned per call. If more prices are available the done value in the result will be "false" and you should make another call to fetch the remaining prices.

If calls are made too fast the minDelay value in the result will return how many milliseconds you have to wait before calling again. To avoid an uneven call rate, max. one (1) call per five (5) minutes is recommended.

Query parameters

fetchId

string

The ID of the next batch of events to fetch. Save the fetchId returned by a previous call and use it as parameter value for the next call.

If a fetchId is not available, use the value -1 to make a call that will return a fetchId to use in a subsequent call.

Optional

For description of properties, please refer to the Property reference guide.

For schema and testing, please refer to https://api.unifaun.com/rs-docs/ and navigate to /prices/history POST.