Skip to main content

Returns selling rates for a pricelist on a given date

GET 

/sms/portal/selling/{id}/rates-for-date

Returns route rates for the selling pricelist whose date range covers the requested date. The pricelist must be an active selling pricelist owned by the authenticated partner.

If date is omitted, the current time is used and the currently active range is selected. date must be RFC3339 (2006-01-02T15:04:05Z). Future dates are rejected.

Query diff (default false): when true, each row includes the previous range's price and the absolute / percentage difference.

Privilege:

  • bulk-cust-pricelist-own.view

Auditlog Event: pricelist.range.routes.list

Filtering:

  • countryName
  • operator
  • continent

Sorting:

  • countryName
  • operator
  • continent

Search:

  • countryName
  • operator
  • continent

Errors:

  • NOT_AUTHORIZED - Not authorized
  • PRICE_LIST_NOT_FOUND - Pricelist is not an active selling pricelist of the owner
  • PRICE_LIST_RANGE_NOT_DEFINED - No range covers the requested date (or the date is in the future)
  • CUSTOMER_PORTAL_RATES_DATE_WRONG - date is not a valid RFC3339 datetime
  • BULK_RATES_SETTINGS_NOT_FOUND - Bulk rates settings not found for instance
  • INT_APP_ERROR - Unexpected internal error / missing instance context

Request

Responses

Selling rates for the selected date