Skip to main content

Update tax by id

PATCH 

/v2/taxes/:id

Update tax by id

Request

Path Parameters

    id stringrequired

    Tax id

Body

required

Update tax input

    shopId integer

    Shop identifier for the tax to apply to... If not provided the default will be inferred from the channel

    code stringnullable

    Possible values: [H, L, N]

    Tax code

    zone string

    Possible values: <= 2 characters

    Tax zone

    percentage decimalnullable

    Default value: 0

    Tax percentage

    exportCode stringnullable

    Possible values: <= 10 characters

    Tax export code

Responses

Tax updated

Schema

    id uuidrequired

    Possible values: >= 36 characters and <= 36 characters

    Tax primary identifier

    shopId integerrequired

    Shop identifier for the tax to apply to

    code stringnullable

    Possible values: [H, L, N]

    Tax code

    zone stringrequired

    Possible values: <= 2 characters

    Tax zone

    percentage decimalnullable

    Default value: 0

    Tax percentage

    exportCode stringnullable

    Possible values: <= 10 characters

    Tax export code

    createdAt date-timerequired

    Default value: CURRENT_TIMESTAMP

    Tax initial creation timestamp

    createdBy integernullable

    Reference to the user that created the tax initially

    lastModifiedAt date-timerequired

    Default value: CURRENT_TIMESTAMP

    Tax last update timestamp

    lastModifiedBy integernullable

    Reference to the user that last modified the tax

Loading...