Skip to main content

List ShipMyOrders Invoice Nominal Code Mapping Rules

GET 

/api/shipmyorders/invoices/mapping-rules

Lists the nominal-code mapping rules used to code ShipMyOrders invoice lines, in evaluation order.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Rules are evaluated in sort_order order when an invoice is processed; the first rule whose conditions all match a line sets that line's nominal code. Each condition has column, operator and value:

  • description or quantity with =, !=, >, >=, <, <, contains, not contains (case-insensitive), in, not in (value is a comma-separated list)
  • salesorder with exists / not exists — whether the line matched a SKU.io fulfillment (value is ignored, send null) A condition on any other column never matches.

Per rule: id, nominal_code_id, sort_order, conditions, created_at, updated_at. No parameters.

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type