username required | string username is needed
@@ -543,7 +543,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" } ] } ], "locations": [{"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } ] } ] } GET Get user schedule This endpoint should retrieve a schedule with products that only belong to a specific locationId.
path Parametersusername required | string username
@@ -561,7 +561,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" } ] } ], } } 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" } ] } ], "locations": [{"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } ], } } 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 {"success": true, "payload": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } } POST generate availabilty for user This endpoint generate availabilty for user
path Parametersusername required | string This field for username
@@ -587,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}/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 }, "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 }, "_id": "string", "location": "string", "origin": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 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
@@ -601,7 +601,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 } ] } } } GET Get customer upload resource url 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 }, "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 }, "_id": "string", "location": "string", "origin": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } }, "slot": {"from": "string", "to": "string", "products": [{"price": {"amount": "string", "currencyCode": "string" }, "productId": 0, "variantId": 0, "from": "string", "to": "string", "breakTime": 0, "duration": 0 } ] } } } GET Get customer upload resource url This endpoint gets customer upload resource url, so customer can upload image
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/lineItem/{lineItemId} Response samples Content typeapplication/json {"success": true, "payload": {"order": {"id": 0, "order_number": 0, "admin_graphql_api_id": "string", "buyer_accepts_marketing": true, "cancel_reason": "string", "cancelled_at": "string", "client_details": {"accept_language": "string", "browser_height": 0, "browser_ip": "string", "browser_width": 0, "session_hash": "string", "user_agent": "string" }, "closed_at": "string", "confirmed": true, "contact_email": "string", "created_at": "string", "currency": "string", "current_subtotal_price": "string", "current_subtotal_price_set": {}, "current_total_additional_fees_set": {}, "current_total_discounts": "string", "current_total_discounts_set": {}, "current_total_duties_set": {}, "current_total_price": "string", "current_total_price_set": {}, "current_total_tax": "string", "current_total_tax_set": {}, "customer": {"id": 0, "email": "string", "accepts_marketing": true, "created_at": "string", "updated_at": "string", "first_name": "string", "last_name": "string", "state": "string", "note": "string", "verified_email": true, "multipass_identifier": "string", "tax_exempt": true, "phone": "string", "email_marketing_consent": true, "sms_marketing_consent": {"state": "string", "opt_in_level": "string", "consent_updated_at": "string", "consent_collected_from": "string" }, "tags": "string", "currency": "string", "accepts_marketing_updated_at": "string", "marketing_opt_in_level": "string", "admin_graphql_api_id": "string", "default_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true } }, "fulfillments": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "location_id": 0, "name": "string", "order_id": 0, "service": "string", "shipment_status": "string", "status": "string", "tracking_company": "string", "tracking_number": "string", "tracking_url": "string", "updated_at": "string", } ], "refunds": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "note": "string", "order_id": 0, "processed_at": "string", "restock": true, "user_id": 0, } ], "shipping_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true }, "shipping_lines": [{"id": 0, "carrier_identifier": "string", "code": "string", "discounted_price": "string", "discounted_price_set": {}, "phone": "string", "price": "string", "requested_fulfillment_service_id": "string", "source": "string", "title": "string" } ], "start": "string", "end": "string", "title": "string", "line_items": {"id": 0, "admin_graphql_api_id": "string", "fulfillable_quantity": 0, "fulfillment_service": "string", "fulfillment_status": "string", "gift_card": true, "grams": 0, "name": "string", "price": "string", "product_exists": true, "product_id": 0, "properties": {"customer_id": 0, "from": "string", "to": "string", "locationId": "string", "shippingId": "string" }, "quantity": 0, "requires_shipping": true, "sku": "string", "taxable": true, "title": "string", "total_discount": "string", "total_discount_set": {}, "variant_id": 0, "variant_inventory_management": "string", "variant_title": "string", "vendor": "string" } }, "product": {"selectedOptions": {"name": "string", "value": "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 } } } } GET Get order with lineItems array https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/lineItem/{lineItemId} Response samples Content typeapplication/json {"success": true, "payload": {"id": 0, "order_number": 0, "admin_graphql_api_id": "string", "buyer_accepts_marketing": true, "cancel_reason": "string", "cancelled_at": "string", "client_details": {"accept_language": "string", "browser_height": 0, "browser_ip": "string", "browser_width": 0, "session_hash": "string", "user_agent": "string" }, "closed_at": "string", "confirmed": true, "contact_email": "string", "created_at": "string", "currency": "string", "current_subtotal_price": "string", "current_subtotal_price_set": {}, "current_total_additional_fees_set": {}, "current_total_discounts": "string", "current_total_discounts_set": {}, "current_total_duties_set": {}, "current_total_price": "string", "current_total_price_set": {}, "current_total_tax": "string", "current_total_tax_set": {}, "customer": {"id": 0, "email": "string", "accepts_marketing": true, "created_at": "string", "updated_at": "string", "first_name": "string", "last_name": "string", "state": "string", "note": "string", "verified_email": true, "multipass_identifier": "string", "tax_exempt": true, "phone": "string", "email_marketing_consent": true, "sms_marketing_consent": {"state": "string", "opt_in_level": "string", "consent_updated_at": "string", "consent_collected_from": "string" }, "tags": "string", "currency": "string", "accepts_marketing_updated_at": "string", "marketing_opt_in_level": "string", "admin_graphql_api_id": "string", "default_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true } }, "fulfillments": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "location_id": 0, "name": "string", "order_id": 0, "service": "string", "shipment_status": "string", "status": "string", "tracking_company": "string", "tracking_number": "string", "tracking_url": "string", "updated_at": "string", } ], "refunds": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "note": "string", "order_id": 0, "processed_at": "string", "restock": true, "user_id": 0, } ], "shipping_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true }, "shipping_lines": [{"id": 0, "carrier_identifier": "string", "code": "string", "discounted_price": "string", "discounted_price_set": {}, "phone": "string", "price": "string", "requested_fulfillment_service_id": "string", "source": "string", "title": "string" } ], "start": "string", "end": "string", "title": "string", "line_items": {"id": 0, "admin_graphql_api_id": "string", "fulfillable_quantity": 0, "fulfillment_service": "string", "fulfillment_status": "string", "gift_card": true, "grams": 0, "name": "string", "price": "string", "product_exists": true, "product_id": 0, "properties": {"customer_id": 0, "from": "string", "to": "string", "locationId": "string", "shippingId": "string" }, "quantity": 0, "requires_shipping": true, "sku": "string", "taxable": true, "title": "string", "total_discount": "string", "total_discount_set": {}, "variant_id": 0, "variant_inventory_management": "string", "variant_title": "string", "vendor": "string", "shipping": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } }, } } } GET Get order with lineItems array This endpoint gets order with lineItems array of objects
path ParameterscustomerId required | string customerId for the customer
@@ -815,7 +815,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/orders/{orderId} Response samples Content typeapplication/json {"success": true, "payload": {"id": 0, "order_number": 0, "admin_graphql_api_id": "string", "buyer_accepts_marketing": true, "cancel_reason": "string", "cancelled_at": "string", "client_details": {"accept_language": "string", "browser_height": 0, "browser_ip": "string", "browser_width": 0, "session_hash": "string", "user_agent": "string" }, "closed_at": "string", "confirmed": true, "contact_email": "string", "created_at": "string", "currency": "string", "current_subtotal_price": "string", "current_subtotal_price_set": {}, "current_total_additional_fees_set": {}, "current_total_discounts": "string", "current_total_discounts_set": {}, "current_total_duties_set": {}, "current_total_price": "string", "current_total_price_set": {}, "current_total_tax": "string", "current_total_tax_set": {}, "customer": {"id": 0, "email": "string", "accepts_marketing": true, "created_at": "string", "updated_at": "string", "first_name": "string", "last_name": "string", "state": "string", "note": "string", "verified_email": true, "multipass_identifier": "string", "tax_exempt": true, "phone": "string", "email_marketing_consent": true, "sms_marketing_consent": {"state": "string", "opt_in_level": "string", "consent_updated_at": "string", "consent_collected_from": "string" }, "tags": "string", "currency": "string", "accepts_marketing_updated_at": "string", "marketing_opt_in_level": "string", "admin_graphql_api_id": "string", "default_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true } }, "fulfillments": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "location_id": 0, "name": "string", "order_id": 0, "service": "string", "shipment_status": "string", "status": "string", "tracking_company": "string", "tracking_number": "string", "tracking_url": "string", "updated_at": "string", } ], "refunds": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "note": "string", "order_id": 0, "processed_at": "string", "restock": true, "user_id": 0, } ], "shipping_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true }, "shipping_lines": [{"id": 0, "carrier_identifier": "string", "code": "string", "discounted_price": "string", "discounted_price_set": {}, "phone": "string", "price": "string", "requested_fulfillment_service_id": "string", "source": "string", "title": "string" } ], "start": "string", "end": "string", "title": "string", "line_items": [{"id": 0, "admin_graphql_api_id": "string", "fulfillable_quantity": 0, "fulfillment_service": "string", "fulfillment_status": "string", "gift_card": true, "grams": 0, "name": "string", "price": "string", "product_exists": true, "product_id": 0, "properties": {"customer_id": 0, "from": "string", "to": "string", "locationId": "string", "shippingId": "string" }, "quantity": 0, "requires_shipping": true, "sku": "string", "taxable": true, "title": "string", "total_discount": "string", "total_discount_set": {}, "variant_id": 0, "variant_inventory_management": "string", "variant_title": "string", "vendor": "string" } ] } } POST Create schedule https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/orders/{orderId} Response samples Content typeapplication/json {"success": true, "payload": {"id": 0, "order_number": 0, "admin_graphql_api_id": "string", "buyer_accepts_marketing": true, "cancel_reason": "string", "cancelled_at": "string", "client_details": {"accept_language": "string", "browser_height": 0, "browser_ip": "string", "browser_width": 0, "session_hash": "string", "user_agent": "string" }, "closed_at": "string", "confirmed": true, "contact_email": "string", "created_at": "string", "currency": "string", "current_subtotal_price": "string", "current_subtotal_price_set": {}, "current_total_additional_fees_set": {}, "current_total_discounts": "string", "current_total_discounts_set": {}, "current_total_duties_set": {}, "current_total_price": "string", "current_total_price_set": {}, "current_total_tax": "string", "current_total_tax_set": {}, "customer": {"id": 0, "email": "string", "accepts_marketing": true, "created_at": "string", "updated_at": "string", "first_name": "string", "last_name": "string", "state": "string", "note": "string", "verified_email": true, "multipass_identifier": "string", "tax_exempt": true, "phone": "string", "email_marketing_consent": true, "sms_marketing_consent": {"state": "string", "opt_in_level": "string", "consent_updated_at": "string", "consent_collected_from": "string" }, "tags": "string", "currency": "string", "accepts_marketing_updated_at": "string", "marketing_opt_in_level": "string", "admin_graphql_api_id": "string", "default_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true } }, "fulfillments": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "location_id": 0, "name": "string", "order_id": 0, "service": "string", "shipment_status": "string", "status": "string", "tracking_company": "string", "tracking_number": "string", "tracking_url": "string", "updated_at": "string", } ], "refunds": [{"id": 0, "admin_graphql_api_id": "string", "created_at": "string", "note": "string", "order_id": 0, "processed_at": "string", "restock": true, "user_id": 0, } ], "shipping_address": {"customer_id": 0, "first_name": "string", "address1": "string", "phone": "string", "city": "string", "zip": "string", "province": "string", "country": "string", "last_name": "string", "address2": "string", "company": "string", "latitude": 0, "longitude": 0, "name": "string", "country_code": "string", "country_name": "string", "province_code": "string", "default": true }, "shipping_lines": [{"id": 0, "carrier_identifier": "string", "code": "string", "discounted_price": "string", "discounted_price_set": {}, "phone": "string", "price": "string", "requested_fulfillment_service_id": "string", "source": "string", "title": "string" } ], "start": "string", "end": "string", "title": "string", "line_items": [{"id": 0, "admin_graphql_api_id": "string", "fulfillable_quantity": 0, "fulfillment_service": "string", "fulfillment_status": "string", "gift_card": true, "grams": 0, "name": "string", "price": "string", "product_exists": true, "product_id": 0, "properties": {"customer_id": 0, "from": "string", "to": "string", "locationId": "string", "shippingId": "string" }, "quantity": 0, "requires_shipping": true, "sku": "string", "taxable": true, "title": "string", "total_discount": "string", "total_discount_set": {}, "variant_id": 0, "variant_inventory_management": "string", "variant_title": "string", "vendor": "string", "shipping": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } } } ] } } POST Create schedule This endpoint create new schedule
path ParameterscustomerId required | string The ID of the customerId
@@ -939,7 +939,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/locations/get-all-origins Response samples Content typeapplication/json POST Set new default location for user https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/locations/get-all-origins Response samples Content typeapplication/json {"success": true, "payload": [{"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } ] } POST Set new default location for user This endpoint set new default location for user
path ParameterscustomerId required | | locationId required | |
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/location/{locationId} Response samples Content typeapplication/json POST Remove location from user https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/location/{locationId} Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0, "isDefault": true } } POST Remove location from user This endpoint remove location but does not delete location from db
path ParameterscustomerId required | | locationId required | |
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/location/{locationId} Request samples Content typeapplication/json {"name": "string", "fullAddress": "string", "originType": "home", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } Response samples Content typeapplication/json POST Create location origin or destination https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/location/{locationId} Request samples Content typeapplication/json {"name": "string", "fullAddress": "string", "originType": "home", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } } POST Create location origin or destination This endpoint creates new location
Request Body schema: application/jsonrequired name required | | fullAddress required | | originType required | string Enum: "home" "commercial" | distanceForFree required | | distanceHourlyRate required | | fixedRatePerKm required | | minDriveDistance required | | maxDriveDistance required | | startFee required | | locationType required | string Enum: "origin" "destination" |
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/locations Request samples Content typeapplication/json {"name": "string", "fullAddress": "string", "originType": "home", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0, "locationType": "origin" } Response samples Content typeapplication/json GET Get all locations for user https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/locations Request samples Content typeapplication/json {"name": "string", "fullAddress": "string", "originType": "home", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0, "locationType": "origin" } Response samples Content typeapplication/json {"success": true, "payload": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } } GET Get all locations for user This endpoint get all locations for user
Responseshttps://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/locations Response samples Content typeapplication/json GET location coordinates https://booking-shopify-api.azurewebsites.net/api/customer/{customerId}/locations Response samples Content typeapplication/json {"success": true, "payload": [{"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0, "isDefault": true } ] } GET location coordinates This endpoint get coordinates object
Responseshttps://booking-shopify-api.azurewebsites.net/api/shipping/create Request samples Content typeapplication/json {"customerId": 0, "locationId": "string", "destination": {"name": "string", "fullAddress": "string" } } Response samples Content typeapplication/json {"success": true, "payload": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "_id": "string", "location": "string", "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } } } POST get shipping calculate Request Body schema: application/jsonrequired customerId | | locationId required | | required | |
ResponsesPOST get shipping calculate Request Body schema: application/jsonrequired customerId | | locationId required | | destination required | |
Responses400 Bad Request
@@ -1065,7 +1065,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Unauthorized
post/shipping/calculatehttps://booking-shopify-api.azurewebsites.net/api/shipping/calculate Request samples Content typeapplication/json Copy Expand all Collapse all {"customerId": 0, "locationId": "string", "destination": {"name": "string", "fullAddress": "string" } } Response samples Content typeapplication/json Copy Expand all Collapse all {"success": true, "payload": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "_id": "string", "location": "string", "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } } } GET Get shipping post/shipping/calculatehttps://booking-shopify-api.azurewebsites.net/api/shipping/calculate Request samples Content typeapplication/json Copy Expand all Collapse all {"customerId": 0, "locationId": "string", "destination": {"name": "string", "fullAddress": "string" } } Response samples Content typeapplication/json Copy Expand all Collapse all {"success": true, "payload": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 }, "_id": "string", "location": "string", "origin": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } } } GET Get shipping This endpoint gets shipping object
Responses200 Response with payload
@@ -1077,7 +1077,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
get/shipping/{shippingId}https://booking-shopify-api.azurewebsites.net/api/shipping/{shippingId} Response samples Content typeapplication/json Copy Expand all Collapse all {"success": true, "payload": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "_id": "string", "location": "string", "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 } } } POST Upload new customer image get/shipping/{shippingId}https://booking-shopify-api.azurewebsites.net/api/shipping/{shippingId} Response samples Content typeapplication/json Copy Expand all Collapse all {"success": true, "payload": {"duration": {"text": "string", "value": 0 }, "distance": {"text": "string", "value": 0 }, "destination": {"name": "string", "fullAddress": "string" }, "cost": {"currency": "string", "value": 0 }, "_id": "string", "location": "string", "origin": {"_id": "string", "distanceForFree": 0, "distanceHourlyRate": 0, "fixedRatePerKm": 0, "minDriveDistance": 0, "maxDriveDistance": 0, "startFee": 0 } } } POST Upload new customer image This endpoint is used to upload new image for customer
Request Body schema: application/jsonrequired customerId required | | resourceUrl required | |
Responses200 Response
@@ -1089,7 +1089,7 @@
" class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW"> Forbidden
post/orchestrators/uploadhttps://booking-shopify-api.azurewebsites.net/api/orchestrators/upload Request samples Content typeapplication/json {"customerId": 0, "resourceUrl": "string" } Response samples Content typeapplication/json {"id": "string", "statusQueryGetUri": "string", "sendEventPostUri": "string", "terminatePostUri": "string", "rewindPostUri": "string", "purgeHistoryDeleteUri": "string", "restartPostUri": "string", "suspendPostUri": "string", "resumePostUri": "string" }
|
|
|
|
|
|