Skip to main content

Update Fee Mapping

PUT 

/api/shipbob/:instance/fee-mappings/:mapping

Re-point one ShipBob fee. Saving bumps the mapping version and, when billing is enabled and the fee has transactions, queues re-attribution of that fee's transactions. Returns the saved mapping plus how many transactions (and how much) the change touches.

Not yet available to API tokens

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

Authentication: Requires Bearer token.

Request Body:

  • treatment (string, required) — order_freight, order_fee, return_fee, product_storage, po_receiving, unattributed or exclude.
  • financial_line_type_id (integer, optional, nullable) — a COST financial line type.
  • cost_entry_type_name (string, optional, nullable, max 100) — monthly cost entry type for storage fees.

Request​

Responses​

OK

Response Headers
    Content-Type