username required | string username is needed
@@ -459,7 +471,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/user/{username}/products Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } ] } GET Get products for user https://booking-shopify-api.azurewebsites.net/api/user/{username}/products Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } ] } GET Get products for user This endpoint is intended to be used when we need to fetch related products from the same schedule and same location.
path Parametersusername required | string username is needed
@@ -475,7 +487,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/user/{username}/product/{productId}/location/{locationId} Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" } } ] } GET Get products for user https://booking-shopify-api.azurewebsites.net/api/user/{username}/product/{productId}/location/{locationId} Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" } } ] } GET Get products for user This endpoint get products in productsId from one schedule by location
path Parametersusername required | string username is needed
@@ -489,7 +501,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/user/{username}/products/location/{locationId} Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" } } ] } GET Get user schedule https://booking-shopify-api.azurewebsites.net/api/user/{username}/products/location/{locationId} Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" } } ] } GET Get user schedule This endpoint should retrieve a schedule and locations belonging to a specific productId, along with the product.
path Parametersusername required | string username
@@ -505,7 +517,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/user/{username}/schedule/get-by-product-id/{productId} Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "product": {"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, } } } GET Get schedules for user https://booking-shopify-api.azurewebsites.net/api/user/{username}/schedule/get-by-product-id/{productId} Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "product": {"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, } } } GET Get schedules for user This endpoint should return all locations present in all schedules for specific user
path Parametersusername required | string username is needed
@@ -517,7 +529,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/user/{username}/schedules/locations Response samples Content typeapplication/json {"success": true, "payload": [{"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], } ] } GET Get user schedule https://booking-shopify-api.azurewebsites.net/api/user/{username}/schedules/locations Response samples Content typeapplication/json {"success": true, "payload": [{"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], } ] } GET Get user schedule This endpoint should retrieve a schedule with products that only belong to a specific locationId.
path Parametersusername required | string username
@@ -535,7 +547,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/user/{username}/schedule/{scheduleId}/location/{locationId} Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, } ] } } GET Get one location from user https://booking-shopify-api.azurewebsites.net/api/user/{username}/schedule/{scheduleId}/location/{locationId} Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, } ] } } GET Get one location from user This endpoint get one location for user
path Parametersusername required | | locationId required | |
Responseshttps://booking-shopify-api.azurewebsites.net/api/user/{username}/location/{locationId} Response samples Content typeapplication/json POST generate availabilty for user https://booking-shopify-api.azurewebsites.net/api/user/{username}/location/{locationId} Response samples Content typeapplication/json POST generate availabilty for user This endpoint generate availabilty for user
path Parametersusername required | string This field for username
@@ -561,7 +573,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/user/{username}/availability/{locationId}/generate Request samples Content typeapplication/json {"fromDate": "string", "shippingId": "string" } Response samples Content typeapplication/json {"success": true, "payload": [{"date": "string", "customer": {"customerId": "string", "fullname": "string" }, "shipping": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "_id": "string", "location": "string", "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } }, "slots": [{"from": "string", "to": "string", "products": [{"price": {"amount": "string", "currencyCode": "string" }, "productId": 0, "variantId": 0, "from": "string", "to": "string", "breakTime": 0, "duration": 0 } ] } ] } ] } POST get single availabilty for user https://booking-shopify-api.azurewebsites.net/api/user/{username}/availability/{locationId}/generate Request samples Content typeapplication/json {"fromDate": "string", "shippingId": "string" } Response samples Content typeapplication/json {"success": true, "payload": [{"date": "string", "customer": {"customerId": "string", "fullname": "string" }, "shipping": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "_id": "string", "location": "string", "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } }, "slots": [{"from": "string", "to": "string", "products": [{"price": {"amount": "string", "currencyCode": "string" }, "productId": 0, "variantId": 0, "from": "string", "to": "string", "breakTime": 0, "duration": 0 } ] } ] } ] } POST get single availabilty for user This endpoint get's one single availabilty for user
path Parametersusername required | string This field for username
@@ -575,7 +587,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/user/{username}/availability/{locationId}/get Request samples Content typeapplication/json {"fromDate": "string", "toDate": "string", "shippingId": "string" } Response samples Content typeapplication/json {"success": true, "payload": {"date": "string", "customer": {"customerId": "string", "fullname": "string" }, "shipping": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "_id": "string", "location": "string", "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } }, "slot": {"from": "string", "to": "string", "products": [{"price": {"amount": "string", "currencyCode": "string" }, "productId": 0, "variantId": 0, "from": "string", "to": "string", "breakTime": 0, "duration": 0 } ] } } } PUT Create or Update user (restricted fields) https://booking-shopify-api.azurewebsites.net/api/user/{username}/availability/{locationId}/get Request samples Content typeapplication/json {"fromDate": "string", "toDate": "string", "shippingId": "string" } Response samples Content typeapplication/json {"success": true, "payload": {"date": "string", "customer": {"customerId": "string", "fullname": "string" }, "shipping": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "_id": "string", "location": "string", "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } }, "slot": {"from": "string", "to": "string", "products": [{"price": {"amount": "string", "currencyCode": "string" }, "productId": 0, "variantId": 0, "from": "string", "to": "string", "breakTime": 0, "duration": 0 } ] } } } PUT Create or Update user (restricted fields) This endpoint creates new or updates user
Request Body schema: application/jsonrequired required | Array of strings or string | required | Array of strings or string | username required | | aboutMe required | | shortDescription required | | | | | Array of strings or string |
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId} Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } } GET Get customer https://booking-shopify-api.azurewebsites.net/api/customer/{customerId} Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } } GET Get customer This endpoint gets customer object
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId} Response samples Content typeapplication/json {"success": true, "payload": {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } } GET Get customer status https://booking-shopify-api.azurewebsites.net/api/customer/{customerId} Response samples Content typeapplication/json {"success": true, "payload": {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } } GET Get customer status This endpoint gets customer status
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/status Response samples Content typeapplication/json {"success": true, "payload": {"profile": true, "locations": true, "schedules": true, "services": true, "profileImage": true } } PUT Create or Update user (all fields allowed) https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/status Response samples Content typeapplication/json {"success": true, "payload": {"profile": true, "locations": true, "schedules": true, "services": true, "profileImage": true } } PUT Create or Update user (all fields allowed) This endpoint creates new or updates user
path ParameterscustomerId required | string must be customerId
@@ -621,7 +633,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/update Request samples Content typeapplication/json {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } Response samples Content typeapplication/json {"success": true, "payload": {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } } GET Get customer is business https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/update Request samples Content typeapplication/json {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } Response samples Content typeapplication/json {"success": true, "payload": {"customerId": 0, "yearsExperience": "string", "username": "string", "aboutMe": "string", "shortDescription": "string", "gender": "string", "social": {"youtube": "string", "twitter": "string", "instagram": "string" }, "fullname": "string", "active": true, "email": "user@example.com", "phone": "string" } } GET Get customer is business This endpoint return if customer is business or not
path ParameterscustomerId required | string CustomerId from shopify
@@ -635,7 +647,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/isBusiness Response samples Content typeapplication/json GET Get products for customer https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/isBusiness Response samples Content typeapplication/json GET Get products for customer This endpoint get products for customer
path ParameterscustomerId required | string customerId is needed
@@ -647,7 +659,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/products Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } ] } GET Get product ids for customer https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/products Response samples Content typeapplication/json {"success": true, "payload": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } ] } GET Get product ids for customer This endpoint get product ids for customer
path ParameterscustomerId required | string customerId is needed
@@ -659,7 +671,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/products/ids Response samples Content typeapplication/json GET Get product that exist in one of the schedules for customer https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/products/ids Response samples Content typeapplication/json GET Get product that exist in one of the schedules for customer This endpoint get product for customer
path ParameterscustomerId required | | productId required | |
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/product/{productId} Response samples Content typeapplication/json {"success": true, "payload": {"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } } PUT Upsert product to schedule https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/product/{productId} Response samples Content typeapplication/json {"success": true, "payload": {"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } } PUT Upsert product to schedule This endpoint update product that exist in schedule
path ParameterscustomerId required | | productId required | |
Request Body schema: application/jsonrequired scheduleId required | | variantId required | | required | | required | | | | duration required | | breakTime required | | required | object (CustomerProductNoticePeriod) | required | object (CustomerProductBookingPeriod) | required | Array of objects (CustomerProductLocations) |
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/product/{productId} Request samples Content typeapplication/json {"scheduleId": "string", "variantId": 0, "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } Response samples Content typeapplication/json {"success": true, "payload": {"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } } DEL destroy product https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/product/{productId} Request samples Content typeapplication/json {"scheduleId": "string", "variantId": 0, "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } Response samples Content typeapplication/json {"success": true, "payload": {"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ], "scheduleId": "string", "scheduleName": "string" } } DEL destroy product This endpoint remove product from schedule for customer
path ParameterscustomerId required | | productId required | |
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/product/{productId} Response samples Content typeapplication/json {"success": true, "payload": {"matchedCount": 0, "modifiedCount": 0, "upsertedCount": 0 } } GET Get booking https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/product/{productId} Response samples Content typeapplication/json {"success": true, "payload": {"matchedCount": 0, "modifiedCount": 0, "upsertedCount": 0 } } GET Get booking This endpoint gets booking object
path ParameterscustomerId required | string customerId for the customer
@@ -713,7 +725,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/booking/{orderId} Response samples Content typeapplication/json GET Get all bookings for customer https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/booking/{orderId} Response samples Content typeapplication/json GET Get all bookings for customer This endpoint get all bookings
path ParameterscustomerId required | string customerId for the customer
@@ -729,7 +741,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/bookings Response samples Content typeapplication/json POST Create schedule https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/bookings Response samples Content typeapplication/json POST Create schedule This endpoint create new schedule
path ParameterscustomerId required | string The ID of the customerId
@@ -743,7 +755,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } } GET Get all schedule for customer https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } } GET Get all schedule for customer This endpoint get all schedule for customer
path ParameterscustomerId required | string The ID of the customerId
@@ -755,7 +767,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedules Response samples Content typeapplication/json {"success": true, "payload": [{"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } ] } GET Get schedule for customer https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedules Response samples Content typeapplication/json {"success": true, "payload": [{"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } ] } GET Get schedule for customer This endpoint get schedule for customer
path ParameterscustomerId required | string The ID of the customerId
@@ -771,7 +783,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule/{scheduleId} Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } } PUT Update schedule https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule/{scheduleId} Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } } PUT Update schedule This endpoint update schedule
path ParameterscustomerId required | string The ID of the customerId
@@ -787,7 +799,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule/{scheduleId} Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } } DEL destroy schedule https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule/{scheduleId} Request samples Content typeapplication/json Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } } DEL destroy schedule This endpoint destroy schedule for customer
path ParameterscustomerId required | string The ID of the customerId
@@ -801,7 +813,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule/{scheduleId} Response samples Content typeapplication/json {"success": true, "payload": {"deletedCount": 0, "acknowledged": true } } PUT Update schedule slot https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule/{scheduleId} Response samples Content typeapplication/json {"success": true, "payload": {"deletedCount": 0, "acknowledged": true } } PUT Update schedule slot This endpoint update schedule slot
path ParameterscustomerId required | string The ID of the customerId
@@ -817,7 +829,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/schedule/{scheduleId}/slots Request samples Content typeapplication/json {"slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ] } Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "name": "string", "customerId": 0, "slots": [{"day": "monday", "intervals": [{"from": "string", "to": "string" } ] } ], "products": [{"productId": 0, "variantId": 0, "description": "string", "selectedOptions": {"name": "string", "value": "string" }, "price": {"amount": "string", "currencyCode": "string" }, "compareAtPrice": {"amount": "string", "currencyCode": "string" }, "duration": 0, "breakTime": 0, "noticePeriod": {"value": 0, "unit": "hours" }, "bookingPeriod": {"value": 0, "unit": "weeks" }, "locations": [{"location": "string", "locationType": "origin" } ] } ] } } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|