/billing_new
/billing_new/rate_sheets

Replaces an active rate sheet's fields and rules; orders priced later use the new rules. | authz: allowed_org_types=[provider], min_org_role=operator | (RateSheetUpdateReq) -> (RateSheet1)

put/billing_new/rate_sheets/update/v1/{rate_sheet_id}

Request

Path parameters

rate_sheet_idstring required

Request body

expected_revisioninteger required

Example request

{
  "rate_sheet": {
    "effective_time_zone_name": "America/New_York"
  }
}

Response

Successful Response

schema_version1 required
namestring required
invoice_type'accounts_receivable' | 'accounts_payable' required
currency_code'USD' | 'CAD' | 'EUR' | 'GBP' | 'MXN' | 'AUD' | 'JPY' | 'CNY' | 'CHF' | 'INR' required
counterparty_org_idstring nullable

Must be a string starting with org_

counterparty_off_chrt_org_data_idstring nullable
counterparty_driver_idstring nullable
task_group_type'chrt_ground_provider' | 'cargo_on_flight' | 'cargo_on_vessel' | 'onboard_courier' required
applies_to_service_linesServiceLineEnum[]
effective_time_zone_namestring

IANA time zone name (e.g. America/New_York).

effective_starts_at_timestampstring date-time nullable
effective_ends_at_timestampstring date-time nullable
_idstring required
revisioninteger
owned_by_org_idstring required

Must be a string starting with org_

created_by_user_idstring required

Must be a string starting with user_

created_at_timestampstring date-time required
last_edited_by_user_idstring required

Must be a string starting with user_

last_edited_at_timestampstring date-time required
archived_by_user_idstring nullable

Must be a string starting with user_

archived_at_timestampstring date-time nullable

Example response

{
  "effective_time_zone_name": "America/New_York"
}

Changes