Skip to main content

Update a location

PATCH 

/api/locations/:id

  • settings.company: allows to update resources.

Here the dedicated support page.

Request

Path Parameters

    id integerrequired

    The ID of the location to update

Header Parameters

    Wethod-Company stringrequired

    The company you want to interact with

    Wethod-Version stringrequired

    The API version you want to use

Body

    name string

    Possible values: <= 255 characters

    The location name

    default boolean

    Is default location

Responses

Returns the location updated.

Schema

    id integerrequired

    Possible values: >= 1

    created_at date-timerequired
    updated_at date-timerequired
    name stringrequired

    Possible values: <= 255 characters

    The location name

    default booleanrequired

    Is default location

Loading...