This endpoint creates new user
customerId required | number |
fullname required | string |
username required | string >= 3 items ^[a-zA-Z0-9\-_]*$ |
gender required | string |
speaks required | Array of strings non-empty |
{- "customerId": 0,
- "fullname": "string",
- "username": "string",
- "gender": "string",
- "speaks": [
- "string"
]
}
{- "success": true,
- "payload": {
- "collectionMetaobjectId": "string",
- "userMetaobjectId": "string",
- "customerId": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "username": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "x": "string",
- "instagram": "string",
- "facebook": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}, - "active": true,
- "isBusiness": true
}
}
This endpoint update user
customerId required | string |
fullname | string |
string <email> | |
phone | string |
yearsExperience | string <number> |
professions | Array of strings |
specialties | Array of strings |
aboutMe | string |
aboutMeHtml | string |
shortDescription | string |
gender | string |
object | |
speaks | Array of strings |
object |
{- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "facebook": "string",
- "instagram": "string",
- "x": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}
}
{- "success": true,
- "payload": {
- "collectionMetaobjectId": "string",
- "userMetaobjectId": "string",
- "customerId": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "username": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "x": "string",
- "instagram": "string",
- "facebook": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}, - "active": true,
- "isBusiness": true
}
}
This endpoint gets customer object
customerId required | string |
{- "success": true,
- "payload": {
- "collectionMetaobjectId": "string",
- "userMetaobjectId": "string",
- "customerId": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "username": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "x": "string",
- "instagram": "string",
- "facebook": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}, - "active": true,
- "isBusiness": true
}
}
This endpoint gets customer upload resource url, so customer can upload image
customerId required | string |
{- "success": true,
- "payload": {
- "resourceUrl": "string",
- "url": "string",
- "parameters": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
This endpoint create new blocked
customerId required | string The ID of the customerId |
title required | string |
start required | string |
end required | string |
{- "title": "string",
- "start": "string",
- "end": "string"
}
{- "success": true,
- "payload": {
- "_id": "string",
- "customerId": 0,
- "start": "string",
- "end": "string",
- "title": "string",
- "type": "string"
}
}
This endpoint destroy blocked for customer
customerId required | string The ID of the customerId |
blockedId required | string The ID of the blockedId to be destroyed |
{- "success": true,
- "payload": {
- "deletedCount": 0,
- "acknowledged": true
}
}
This endpoint get all blocked documents for customer
customerId required | string The ID of the customerId |
nextCursor | string paginate |
limit | string limit counts of documents |
{- "success": true,
- "payload": {
- "nextCursor": "string",
- "totalCount": 0,
- "results": [
- {
- "_id": "string",
- "customerId": 0,
- "start": "string",
- "end": "string",
- "title": "string",
- "type": "string"
}
]
}
}
This endpoint get all blocked documents
customerId required | string customerId for the customer |
start required | string start of date |
end required | string end of date |
{- "success": true,
- "payload": [
- {
- "_id": "string",
- "customerId": 0,
- "start": "string",
- "end": "string",
- "title": "string",
- "type": "string"
}
]
}
This endpoint gets order with lineItems array of objects specific for groupId
customerId required | string customerId for the customer |
orderId required | string orderId for the order |
groupId required | string groupId for the order |
{- "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": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_additional_fees_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_discounts": "string",
- "current_total_discounts_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_duties_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_price": "string",
- "current_total_price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_tax": "string",
- "current_total_tax_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "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",
- "tax_exemptions": [
- "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_numbers": [
- "string"
], - "tracking_url": "string",
- "tracking_urls": [
- "string"
], - "updated_at": "string",
- "line_items": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "refunds": [
- {
- "id": 0,
- "admin_graphql_api_id": "string",
- "created_at": "string",
- "note": "string",
- "order_id": 0,
- "processed_at": "string",
- "restock": true,
- "total_duties_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "user_id": 0,
- "refund_line_items": [
- {
- "id": 0,
- "line_item_id": 0,
- "location_id": 0,
- "quantity": 0,
- "restock_type": "string",
- "subtotal": "string",
- "subtotal_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "total_tax": "string",
- "total_tax_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "line_item": {
- "id": 0,
- "name": "string"
}
}
]
}
], - "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": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "phone": "string",
- "price": "string",
- "price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "requested_fulfillment_service_id": "string",
- "source": "string",
- "title": "string"
}
], - "start": "string",
- "end": "string",
- "title": "string",
- "groupId": "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}, - "user": {
- "customerId": 0,
- "fullname": "string",
- "username": "string",
- "shortDescription": "string",
}, - "location": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "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",
- "price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "product_exists": true,
- "product_id": 0,
- "properties": {
- "customer_id": 0,
- "from": "string",
- "to": "string",
- "locationId": "string",
- "groupId": "string",
- "shippingId": "string"
}, - "quantity": 0,
- "requires_shipping": true,
- "sku": "string",
- "taxable": true,
- "title": "string",
- "total_discount": "string",
- "total_discount_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "variant_id": 0,
- "variant_inventory_management": "string",
- "variant_title": "string",
- "vendor": "string"
}
]
}
}
This endpoint get all bookings from orders
customerId required | string customerId for the customer |
start required | string start of date |
end required | string end of date |
{- "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": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_additional_fees_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_discounts": "string",
- "current_total_discounts_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_duties_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_price": "string",
- "current_total_price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_tax": "string",
- "current_total_tax_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "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",
- "tax_exemptions": [
- "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_numbers": [
- "string"
], - "tracking_url": "string",
- "tracking_urls": [
- "string"
], - "updated_at": "string",
- "line_items": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "refunds": [
- {
- "id": 0,
- "admin_graphql_api_id": "string",
- "created_at": "string",
- "note": "string",
- "order_id": 0,
- "processed_at": "string",
- "restock": true,
- "total_duties_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "user_id": 0,
- "refund_line_items": [
- {
- "id": 0,
- "line_item_id": 0,
- "location_id": 0,
- "quantity": 0,
- "restock_type": "string",
- "subtotal": "string",
- "subtotal_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "total_tax": "string",
- "total_tax_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "line_item": {
- "id": 0,
- "name": "string"
}
}
]
}
], - "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": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "phone": "string",
- "price": "string",
- "price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "requested_fulfillment_service_id": "string",
- "source": "string",
- "title": "string"
}
], - "start": "string",
- "end": "string",
- "title": "string",
- "groupId": "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}, - "user": {
- "customerId": 0,
- "fullname": "string",
- "username": "string",
- "shortDescription": "string",
}, - "location": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "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",
- "price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "product_exists": true,
- "product_id": 0,
- "properties": {
- "customer_id": 0,
- "from": "string",
- "to": "string",
- "locationId": "string",
- "groupId": "string",
- "shippingId": "string"
}, - "quantity": 0,
- "requires_shipping": true,
- "sku": "string",
- "taxable": true,
- "title": "string",
- "total_discount": "string",
- "total_discount_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "variant_id": 0,
- "variant_inventory_management": "string",
- "variant_title": "string",
- "vendor": "string"
}
]
}
]
}
This endpoint get one location for user
customerId required | string |
locationId required | string |
{- "success": true,
- "payload": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0,
- "isDefault": true
}
}
This endpoint remove location but does not delete location from db
customerId required | string |
locationId required | string |
{- "success": true,
- "payload": {
- "collectionMetaobjectId": "string",
- "userMetaobjectId": "string",
- "customerId": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "username": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "x": "string",
- "instagram": "string",
- "facebook": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}, - "active": true,
- "isBusiness": true
}
}
This endpoint update existing location
customerId required | string |
locationId required | string |
name required | string |
fullAddress required | string |
distanceForFree required | number |
distanceHourlyRate required | number |
fixedRatePerKm required | number |
minDriveDistance required | number |
maxDriveDistance required | number |
startFee required | number |
{- "name": "string",
- "fullAddress": "string",
- "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
{- "success": true,
- "payload": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
}
This endpoint get products belonging to the user
customerId required | string |
locationId required | string |
{- "success": true,
- "payload": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
]
}
]
}
This endpoint set new default location for user
customerId required | string |
locationId required | string |
{- "success": true,
- "payload": {
- "collectionMetaobjectId": "string",
- "userMetaobjectId": "string",
- "customerId": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "username": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "x": "string",
- "instagram": "string",
- "facebook": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}, - "active": true,
- "isBusiness": true
}
}
This endpoint creates new location
customerId required | string |
name required | string |
fullAddress required | string |
distanceForFree required | number |
distanceHourlyRate required | number |
fixedRatePerKm required | number |
minDriveDistance required | number |
maxDriveDistance required | number |
startFee required | number |
locationType required | string Enum: "home" "commercial" "destination" "virtual" |
{- "name": "string",
- "fullAddress": "string",
- "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0,
- "locationType": "home"
}
{- "success": true,
- "payload": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
}
This endpoint get all locations for user
customerId required | string |
{- "success": true,
- "payload": [
- {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0,
- "isDefault": true
}
]
}
This endpoint gets order with lineItems array of objects
customerId required | string customerId for the customer |
orderId required | string orderId for the order |
{- "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": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_additional_fees_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_discounts": "string",
- "current_total_discounts_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_duties_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_price": "string",
- "current_total_price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "current_total_tax": "string",
- "current_total_tax_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "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",
- "tax_exemptions": [
- "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_numbers": [
- "string"
], - "tracking_url": "string",
- "tracking_urls": [
- "string"
], - "updated_at": "string",
- "line_items": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "refunds": [
- {
- "id": 0,
- "admin_graphql_api_id": "string",
- "created_at": "string",
- "note": "string",
- "order_id": 0,
- "processed_at": "string",
- "restock": true,
- "total_duties_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "user_id": 0,
- "refund_line_items": [
- {
- "id": 0,
- "line_item_id": 0,
- "location_id": 0,
- "quantity": 0,
- "restock_type": "string",
- "subtotal": "string",
- "subtotal_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "total_tax": "string",
- "total_tax_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "line_item": {
- "id": 0,
- "name": "string"
}
}
]
}
], - "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": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "phone": "string",
- "price": "string",
- "price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "requested_fulfillment_service_id": "string",
- "source": "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",
- "price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "product_exists": true,
- "product_id": 0,
- "properties": {
- "customer_id": 0,
- "from": "string",
- "to": "string",
- "locationId": "string",
- "groupId": "string",
- "shippingId": "string"
}, - "quantity": 0,
- "requires_shipping": true,
- "sku": "string",
- "taxable": true,
- "title": "string",
- "total_discount": "string",
- "total_discount_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "variant_id": 0,
- "variant_inventory_management": "string",
- "variant_title": "string",
- "vendor": "string",
- "user": {
- "customerId": 0,
- "fullname": "string",
- "username": "string",
- "shortDescription": "string",
}, - "location": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
]
}
}
This endpoint get all payouts
customerId required | string The ID of the customerId |
page required | string The page number |
sortOrder | string The sort order either asc eller desc = default desc |
limit | string The limit = default to 10 |
{- "success": true,
- "payload": {
- "results": [
- {
- "_id": "string",
- "date": "string",
- "amount": 0.1,
- "currencyCode": "DKK",
- "status": "Pending",
- "payoutType": "MOBILE_PAY",
- "payoutDetails": {
- "phoneNumber": "string"
}
}
], - "currentPage": 0,
- "totalPages": 0,
- "hasNextPage": true,
- "totalCount": 0
}
}
This endpoint get payout
customerId required | string The ID of the customerId |
payoutId required | string The ID of the payoudId |
{- "success": true,
- "payload": {
- "_id": "string",
- "date": "string",
- "amount": 0.1,
- "currencyCode": "DKK",
- "status": "Pending",
- "payoutType": "MOBILE_PAY",
- "payoutDetails": {
- "phoneNumber": "string"
}
}
}
This endpoint create payout
customerId required | string The ID of the customerId |
{- "success": true,
- "payload": {
- "_id": "string",
- "date": "string",
- "amount": 0.1,
- "currencyCode": "DKK",
- "status": "Pending",
- "payoutType": "MOBILE_PAY",
- "payoutDetails": {
- "phoneNumber": "string"
}
}
}
This endpoint get all payout logs for specific payout
customerId required | string The ID of the customerId |
payoutId required | string The ID of the payoutId |
page required | string The page number |
sortOrder | string The sort order either asc eller desc = default desc |
limit | string The limit = default to 10 |
{- "success": true,
- "payload": {
- "results": [
- {
- "_id": "string",
- "customerId": 0,
- "orderId": 0,
- "orderCreatedAt": "string",
- "referenceType": "Shipping",
- "referenceId": "string",
- "payout": "string",
- "createdAt": "string",
- "referenceDocument": {
- "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",
- "price_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "product_exists": true,
- "product_id": 0,
- "properties": {
- "customer_id": 0,
- "from": "string",
- "to": "string",
- "locationId": "string",
- "groupId": "string",
- "shippingId": "string"
}, - "quantity": 0,
- "requires_shipping": true,
- "sku": "string",
- "taxable": true,
- "title": "string",
- "total_discount": "string",
- "total_discount_set": {
- "shop_money": {
- "amount": "string",
- "currency_code": "string"
}, - "presentment_money": {
- "amount": "string",
- "currency_code": "string"
}
}, - "variant_id": 0,
- "variant_inventory_management": "string",
- "variant_title": "string",
- "vendor": "string"
}
}
], - "currentPage": 0,
- "totalPages": 0,
- "hasNextPage": true,
- "totalCount": 0
}
}
This endpoint create new payout account
customerId required | string The ID of the customerId |
payoutType required | string (CustomerPayoutAccountType) Enum: "MOBILE_PAY" "BANK_ACCOUNT" |
required | CustomerPayoutMobilePay (object) or CustomerPayoutBankAccount (object) |
{- "payoutType": "MOBILE_PAY",
- "payoutDetails": {
- "phoneNumber": "string"
}
}
{- "success": true,
- "payload": {
- "customerId": "string",
- "payoutType": "MOBILE_PAY",
- "payoutDetails": {
- "phoneNumber": "string"
}
}
}
This endpoint get payout account
customerId required | string The ID of the customerId |
{- "success": true,
- "payload": {
- "customerId": "string",
- "payoutType": "MOBILE_PAY",
- "payoutDetails": {
- "phoneNumber": "string"
}
}
}
This endpoint get products for customer
customerId required | string customerId is needed |
{- "success": true,
- "payload": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
], - "scheduleId": "string",
- "scheduleName": "string"
}
]
}
This endpoint get product for customer
customerId required | string |
productId required | string |
{- "success": true,
- "payload": {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
], - "scheduleId": "string",
- "scheduleName": "string"
}
}
This endpoint update product that exist in schedule
customerId required | string |
productId required | string |
hideFromProfile | string |
hideFromCombine | string |
productType | string |
object | |
object | |
duration | number |
breakTime | number |
object (CustomerProductNoticePeriod) | |
object (CustomerProductBookingPeriod) | |
Array of objects (CustomerProductLocations) | |
title | string |
description | string |
descriptionHtml | string |
{- "hideFromProfile": "string",
- "hideFromCombine": "string",
- "productType": "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": "home"
}
], - "title": "string",
- "description": "string",
- "descriptionHtml": "string"
}
{- "success": true,
- "payload": {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
], - "scheduleId": "string",
- "scheduleName": "string"
}
}
This endpoint add product that does not exist in schedule
customerId required | string |
title required | string |
productType 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 |
{- "title": "string",
- "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "locations": [
- {
- "location": "string",
- "locationType": "home"
}
], - "scheduleId": "string",
- "hideFromProfile": "string",
- "hideFromCombine": "string",
- "price": {
- "amount": "string",
- "currencyCode": "string"
}, - "compareAtPrice": {
- "amount": "string",
- "currencyCode": "string"
}
}
{- "success": true,
- "payload": {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
], - "scheduleId": "string",
- "scheduleName": "string"
}
}
This endpoint add product option to product
customerId required | string |
productId required | string |
cloneId required | string |
title required | string |
{- "cloneId": "string",
- "title": "string"
}
{- "success": true,
- "payload": {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
}
This endpoint get product options for product
customerId required | string |
productId required | string |
{- "success": true,
- "payload": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
]
}
This endpoint update product option that exist in product
customerId required | string |
productId required | string |
optionProductId required | string |
required | Array of objects |
{- "variants": [
- {
- "id": "string",
- "price": "string",
- "duration": "string"
}
]
}
{- "success": true,
- "payload": {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
}
This endpoint remove product option from product for schedule
customerId required | string |
productId required | string |
optionProductId required | string |
{- "success": true,
- "payload": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
]
}
This endpoint create new schedule
customerId required | string The ID of the customerId |
name required | string |
{- "name": "string"
}
{- "success": true,
- "payload": {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "products": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
]
}
]
}
}
This endpoint get all schedule for customer
customerId required | string The ID of the customerId |
{- "success": true,
- "payload": [
- {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "products": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": null,
- "metafieldId": null
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
]
}
]
}
]
}
This endpoint get schedule for customer
customerId required | string The ID of the customerId |
scheduleId required | string The ID of the scheduleId |
{- "success": true,
- "payload": {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "products": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
]
}
]
}
}
This endpoint update schedule
customerId required | string The ID of the customerId |
scheduleId required | string The ID of the scheduleId |
name required | string |
{- "name": "string"
}
{- "success": true,
- "payload": {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "products": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
]
}
]
}
}
This endpoint destroy schedule for customer
customerId required | string The ID of the customerId |
scheduleId required | string The ID of the scheduleId |
{- "success": true,
- "payload": {
- "deletedCount": 0,
- "acknowledged": true
}
}
This endpoint update schedule slot
customerId required | string The ID of the customerId |
scheduleId required | string The ID of the scheduleId |
required | Array of objects (CustomerScheduleSlot) |
{- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
]
}
{- "success": true,
- "payload": {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "products": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
]
}
]
}
}
This endpoint is used to upload new image for customer
required | number or string |
resourceUrl required | string |
{- "customerId": 0,
- "resourceUrl": "string"
}
{- "id": "string",
- "statusQueryGetUri": "string",
- "sendEventPostUri": "string",
- "terminatePostUri": "string",
- "rewindPostUri": "string",
- "purgeHistoryDeleteUri": "string",
- "restartPostUri": "string",
- "suspendPostUri": "string",
- "resumePostUri": "string"
}
This endpoint respond with users images
productIds required | Array of strings |
{- "productIds": [
- "string"
]
}
{- "success": true,
- "payload": [
- {
- "productId": 0,
- "totalUsers": 0,
- "users": [
- {
- "customerId": 0,
- "username": "string",
- "fullname": "string"
}
]
}
]
}
This endpoint get all users for specific productId and variantId
productId required | string product Id |
variantId | string variant Id |
nextCursor | string nextCursor |
limit | string limit items (default 5) |
{- "success": true,
- "payload": {
- "productId": 0,
- "totalUsers": 0,
- "nextCursor": "string",
- "result": [
- {
- "customerId": 0,
- "username": "string",
- "shortDescription": "string",
- "fullname": "string",
- "variantId": 0
}
]
}
}
customerId | number |
locationId required | string |
required | object |
{- "customerId": 0,
- "locationId": "string",
- "destination": {
- "name": "string",
- "fullAddress": "string"
}
}
{- "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
customerId | number |
locationId required | string |
required | object |
{- "customerId": 0,
- "locationId": "string",
- "destination": {
- "name": "string",
- "fullAddress": "string"
}
}
{- "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
This endpoint gets shipping object
shippingId required | string |
{- "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
This endpoint generate availabilty for user
username required | string This field for username |
locationId required | string This field for locationId |
fromDate required | string |
productIds required | Array of strings |
object | |
shippingId | string |
{- "fromDate": "string",
- "productIds": [
- "string"
], - "optionIds": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "shippingId": "string"
}
{- "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}, - "slots": [
- {
- "from": "string",
- "to": "string",
- "products": [
- {
- "productId": 0,
- "variantId": 0,
- "from": "string",
- "to": "string",
- "breakTime": 0,
- "duration": 0
}
]
}
]
}
]
}
This endpoint get's one single availabilty for user
username required | string This field for username |
locationId required | string This field for locationId |
fromDate required | string |
toDate required | string |
object | |
productIds required | Array of strings |
shippingId | string |
{- "fromDate": "string",
- "toDate": "string",
- "optionIds": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "productIds": [
- "string"
], - "shippingId": "string"
}
{- "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": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}, - "created_at": "string",
- "updated_at": "string"
}, - "slot": {
- "from": "string",
- "to": "string",
- "products": [
- {
- "productId": 0,
- "variantId": 0,
- "from": "string",
- "to": "string",
- "breakTime": 0,
- "duration": 0
}
]
}
}
}
This endpoint get one location for user
username required | string |
locationId required | string |
{- "success": true,
- "payload": {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
}
This endpoint gets user object
username required | string username |
{- "success": true,
- "payload": {
- "collectionMetaobjectId": "string",
- "userMetaobjectId": "string",
- "customerId": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "username": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "x": "string",
- "instagram": "string",
- "facebook": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}, - "active": true,
- "isBusiness": true
}
}
This endpoint get products for user (across all schedules or one scheduleId)
username required | string username is needed |
scheduleId | string scheduleId is optional |
{- "success": true,
- "payload": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
], - "scheduleId": "string",
- "scheduleName": "string"
}
]
}
This endpoint get product for customer
username required | string |
productHandle required | string |
{- "success": true,
- "payload": {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": "home"
}
], - "scheduleId": "string",
- "scheduleName": "string"
}
}
This endpoint get products from one schedule by location
username required | string username is needed |
locationId required | string locationId is nedded |
productHandlers required | Array of strings |
{- "productHandlers": [
- "string"
]
}
{- "success": true,
- "payload": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "price": {
- "amount": "string",
- "currencyCode": "string"
}, - "compareAtPrice": {
- "amount": "string",
- "currencyCode": "string"
}, - "duration": 0,
- "breakTime": 0,
- "noticePeriod": {
- "value": 0,
- "unit": "hours"
}, - "bookingPeriod": {
- "value": 0,
- "unit": "weeks"
}
}
]
}
This endpoint is intended to be used when we need to fetch related products from the same schedule and same location.
username required | string username is needed |
productHandle required | string productHandle is nedded |
locationId required | string locationId is nedded |
{- "success": true,
- "payload": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "price": {
- "amount": "string",
- "currencyCode": "string"
}, - "compareAtPrice": {
- "amount": "string",
- "currencyCode": "string"
}, - "duration": 0,
- "breakTime": 0,
- "noticePeriod": {
- "value": 0,
- "unit": "hours"
}, - "bookingPeriod": {
- "value": 0,
- "unit": "weeks"
}
}
]
}
This endpoint should retrieve a schedule and locations belonging to a specific productHandle, along with the product.
username required | string username |
productHandle required | string productHandle |
{- "success": true,
- "payload": {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "locations": [
- {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
], - "product": {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": [
- {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
]
}
}
}
This endpoint should retrieve a schedule with products that only belong to a specific locationId.
username required | string username |
scheduleId required | string schedule Id |
locationId required | string location id |
{- "success": true,
- "payload": {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "locations": [
- {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
], - "products": [
- {
- "title": "string",
- "options": [
- {
- "productId": 0,
- "title": "string",
- "variants": [
- {
- "variantId": 0,
- "title": "string",
- "price": "string",
- "duration": {
- "value": 0,
- "metafieldId": 0
}
}
]
}
], - "productType": "string",
- "description": "string",
- "descriptionHtml": "string",
- "productHandle": "string",
- "productId": 0,
- "variantId": 0,
- "hideFromProfile": true,
- "hideFromCombine": true,
- "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": [
- {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
]
}
]
}
}
This endpoint should return all locations present in all schedules for specific user
username required | string username is needed |
{- "success": true,
- "payload": [
- {
- "_id": "string",
- "name": "string",
- "customerId": 0,
- "slots": [
- {
- "day": "monday",
- "intervals": [
- {
- "from": "string",
- "to": "string"
}
]
}
], - "locations": [
- {
- "metafieldId": "string",
- "locationType": "home",
- "customerId": "string",
- "name": "string",
- "fullAddress": "string",
- "city": "string",
- "country": "string",
- "_id": "string",
- "geoLocation": {
- "type": "Point",
- "coordinates": [
- 0
]
}, - "distanceForFree": 0,
- "distanceHourlyRate": 0,
- "fixedRatePerKm": 0,
- "minDriveDistance": 0,
- "maxDriveDistance": 0,
- "startFee": 0
}
]
}
]
}
This endpoint get all users-filters
profession | string profession |
{- "success": true,
- "payload": {
- "locations": [
- {
- "city": "string",
- "locationType": "home",
- "count": 0
}
], - "availableDays": [
- {
- "day": "string",
- "count": 0
}
], - "productDetails": [
- {
- "productHandle": "string",
- "productId": "string",
- "count": 0
}
], - "specialties": [
- {
- "speciality": "string",
- "count": 0
}
]
}
}
This endpoint search for users
nextCursor | string nextCursor |
limit | string Default: 10 limit items (default 10) |
sortOrder | string Enum: "asc" "desc" asc or desc |
keyword | string |
profession | string |
specialties | string |
object | |
days | Array of strings |
{- "keyword": "string",
- "profession": "string",
- "specialties": "string",
- "location": {
- "city": "string",
- "locationType": "home"
}, - "days": [
- "string"
]
}
{- "success": true,
- "payload": {
- "nextCursor": "string",
- "results": [
- {
- "collectionMetaobjectId": "string",
- "userMetaobjectId": "string",
- "customerId": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "username": "string",
- "yearsExperience": "string",
- "professions": [
- "string"
], - "specialties": [
- "string"
], - "aboutMe": "string",
- "aboutMeHtml": "string",
- "shortDescription": "string",
- "gender": "string",
- "social": {
- "youtube": "string",
- "x": "string",
- "instagram": "string",
- "facebook": "string"
}, - "speaks": [
- "string"
], - "theme": {
- "color": "string"
}, - "active": true,
- "isBusiness": true
}
], - "totalCount": 0
}
}
This endpoint get all users group by professions
limit | string limit items (default 5) |
page | string page |
{- "success": true,
- "payload": [
- {
- "totalUsers": "string",
- "profession": "string",
- "users": [
- {
- "customerId": 0,
- "username": "string",
- "fullname": "string",
- "aboutMe": "string",
- "shortDescription": "string",
- "professions": "string",
}
]
}
]
}
This endpoint correct any grammatical errors in title and description
title required | string |
description | string |
{- "title": "string",
- "description": "string"
}
{- "success": true,
- "payload": {
- "collection": {
- "id": "string",
- "title": "string"
}, - "title": "string",
- "description": "string",
- "price": "string"
}
}
This endpoint autofill profile forms
professions required | Array of strings |
skills required | Array of strings |
user required | object |
products required | Array of objects |
{- "professions": [
- "string"
], - "skills": [
- "string"
], - "user": { },
- "products": [
- { }
]
}
{- "success": true,
- "payload": {
- "professions": [
- "string"
], - "skills": [
- "string"
], - "aboutMe": "string",
- "shortDescription": "string"
}
}