GET - List Net Pricing
Retrieves all net pricing records with computed fields.Response
Unique identifier for the pricing record
Geographic region
Country name
Port name
Container type: LCL, 20’, 40’, or 40’HQ
Currency (USD or EUR)
Base freight net rate
First leg cost (optional)
Computed: freight_net + (first_leg ?? 0) * 50
Computed per m³ rate based on container type
Rebate amount (optional)
Computed: net_m3 + (rebate ?? 0)
Start date of validity
End date of validity
Creation timestamp
Last update timestamp
Request Example
cURL
Response Example
200
401
POST - Create Net Pricing
Creates a new net pricing record. This endpoint requires admin permissions. The server automatically computesnet_container, net_m3, and net_total based on the provided values.
Admin Only: Only users with admin roles (DIRECTOR, GERENTE) can create pricing records.
Computation Logic
The server automatically computes derived fields:net_container = freight_net + (first_leg ?? 0) * 50net_m3depends on container type:- For 20’:
net_container / 50 - 2 - For 40’:
net_container / 50 - 4 - For other types:
net_container / 50
- For 20’:
net_total = net_m3 + (rebate ?? 0)
Request Body
Geographic region
Country name
Port name
Container type: LCL, 20’, 40’, or 40’HQ
Currency (USD or EUR)
Base freight net rate
First leg cost
Rebate amount
Start date of validity (YYYY-MM-DD)
End date of validity (YYYY-MM-DD)
Request Example
cURL
Response Example
201
403
PUT - Update Pricing Neto
Updates an existing pricing neto record by ID. Automatically recalculates derived fields (net_container, net_m3, net_total). This endpoint requires admin permissions.
Path Parameters
The unique identifier of the pricing neto record to update
Request Body
All fields from POST are supported. Theupdated_at timestamp is automatically set to the current time.
Geographic region
Country name
Port name
Container type: LCL, 20’, 40’, or 40’HQ
Currency (USD or EUR)
Base freight net rate
First leg cost
Rebate amount
Start date of validity (YYYY-MM-DD)
End date of validity (YYYY-MM-DD)
Request Example
cURL
Response Example
200
403
DELETE - Delete Pricing Neto
Deletes a pricing neto record by ID. This endpoint requires admin permissions.Path Parameters
The unique identifier of the pricing neto record to delete
Request Example
cURL
Response Example
200
403