Ordexs API v1 Get an API key

Delivery setup

List routing rules

GEThttps://api.ordexs.com/v1/delivery/routing_rules

Which courier ships an order when the store prices delivery itself (the flat strategy): a product rule first, then a region rule, then a weight rule, else the default courier.

Returns

200 OK · The rules. RoutingRuleList

  • objectstringRequired

    always "list"

  • has_morebooleanRequired
  • next_cursorstring or nullRequired

    Pass as cursor to get the next page. null on the last page.

  • dataarray of RoutingRulesRequired
    11 child fields
    • idstring

      starts with rul_

    • objectstring

      always "routing_rule"

    • courier_idstring
    • typestring

      One of region, product, weight

    • regionsarray of strings
    • product_idsarray of strings
    • weight_min_gramsinteger or null
    • weight_max_gramsinteger or null
    • activeboolean
    • created_atstring

      ISO 8601 date-time, UTC

    • updated_atstring

      ISO 8601 date-time, UTC

Errors

Every error has the same shape. This endpoint can answer with: