Partial update pay item

patch
https://api.wafeq.com/v1/payslips/{payslip_id}/pay-items/{id}/

Endpoint for partially updating an existing pay item.

Path Params
stringrequired
stringrequired
Query Params
string

Comma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent, cost_center. Nested relations are joined with a dot.

Body Params

A pay item of a payslip, such as a salary component or deduction.

string

The account associated with this pay item.

double

The unit amount for the pay item.

string | null

The cost center associated with this pay item.

string

The line item description for the pay item.

Headers
string

Client-provided UUID to uniquely identify a request

string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

stringenumDefaults to application/json

Generated from available request content types

Allowed:
Response