DELETE
Delete a route leg cost
Company space Cannot be undone For: Stock keeper, Manager · Permission: transfer_route_leg_costs.delete Conditions
  • The transfer must be visible to the current company (owned by it, or not a draft and with a step at a location the company can use).
  • The leg must be accessible to the current company: one of its two steps must be at a location group holding a location linked to the company.
  • Only the company that recorded the cost can delete it, even when it owns the transfer.
  • The transfer must be draft or running.
  • A cost that has already been allocated to the goods cannot be deleted.
What else happens
  • The cost row is deleted for good.
Part of Transport legs, vehicles and costs.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transfer
string
required

Identifier of the transfer.

route_leg
string
required

Identifier of the route leg, which must belong to the transfer.

cost
string
required

Identifier of the route leg cost, which must belong to the leg.

Response

204

No content