diff --git a/docs/index.html b/docs/index.html index 0dd89f1d..f3d0935a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -797,7 +797,7 @@ " class="sc-eeDSqt sc-eBMFzZ bSgSrX cWARBq sc-dCFGXG gKOXES">

Not found

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}

PUT Update product in schedule

This endpoint update product that exist in schedule

-
path Parameters
customerId
required
string
productId
required
string
Request Body schema: application/json
required
hideFromProfile
string
hideFromCombine
string
object
object
duration
number
breakTime
number
object (CustomerProductNoticePeriod)
object (CustomerProductBookingPeriod)
Array of objects (CustomerProductLocations)
title
string
description
string
descriptionHtml
string

Responses

Request samples

Content type
application/json
{
  • "hideFromProfile": "string",
  • "hideFromCombine": "string",
  • "price": {
    },
  • "compareAtPrice": {
    },
  • "duration": 0,
  • "breakTime": 0,
  • "noticePeriod": {
    },
  • "bookingPeriod": {
    },
  • "locations": [
    ],
  • "title": "string",
  • "description": "string",
  • "descriptionHtml": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}

DEL destroy product

Request samples

Content type
application/json
{
  • "hideFromProfile": "string",
  • "hideFromCombine": "string",
  • "productType": "string",
  • "price": {
    },
  • "compareAtPrice": {
    },
  • "duration": 0,
  • "breakTime": 0,
  • "noticePeriod": {
    },
  • "bookingPeriod": {
    },
  • "locations": [
    ],
  • "title": "string",
  • "description": "string",
  • "descriptionHtml": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}

DEL destroy product

This endpoint remove product from schedule for customer

path Parameters
customerId
required
string
productId
required
string

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}

POST Add product to schedule

This endpoint add product that does not exist in schedule

-
path Parameters
customerId
required
string
Request Body schema: application/json
required
title
required
string
description
required
string
descriptionHtml
required
string
required
Array of objects (CustomerProductLocations)
scheduleId
required
string
hideFromProfile
required
string
hideFromCombine
required
string
required
object
required
object

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "description": "string",
  • "descriptionHtml": "string",
  • "locations": [
    ],
  • "scheduleId": "string",
  • "hideFromProfile": "string",
  • "hideFromCombine": "string",
  • "price": {
    },
  • "compareAtPrice": {
    }
}

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}

CustomerProductOptions

POST Add product option to product

Request samples

Content type
application/json
{
  • "title": "string",
  • "productType": "string",
  • "description": "string",
  • "descriptionHtml": "string",
  • "locations": [
    ],
  • "scheduleId": "string",
  • "hideFromProfile": "string",
  • "hideFromCombine": "string",
  • "price": {
    },
  • "compareAtPrice": {
    }
}

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}

CustomerProductOptions

POST Add product option to product

This endpoint add product option to product

path Parameters
customerId
required
string
productId
required
string
Request Body schema: application/json
required
cloneId
required
string
title
required
string

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}
+

Request samples

Content type
application/json
{
  • "title": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "payload": {
    }
}