Skip to main content

Update service

PUT 

/api/services/:id

Update service

Request

Path Parameters

    id integerrequired

Header Parameters

    X-Company-Slug stringrequired

Body

    name stringrequired
    description string
    price float
    original_price float
    estimated_time integer
    category_id stringrequired

Responses

Successful response

Schema

    id string
    name string
    slug string
    description stringnullable
    price float
    original_price floatnullable
    estimated_time integer
    category_id string
    created_at date-time
    updated_at date-time
Loading...