This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Website API List
desaimansi edited this page May 22, 2018
·
3 revisions
Product Detail :
GET : https://api.flowzdigital.com/pdmnew/pdm/US
headers{ "vid" : "2cacd060-6366-4c00-a923-6763eff8b29b"}
Search Listing :
GET : https://349d6e5f56299a9f7b9ff68ccd099977.us-west-2.aws.found.io:9243/pdm1/_search
Pass in headers basic auth
basic Auth => username : 2cacd060-6366-4c00-a923-6763eff8b29b ,
password : 8bd3a530-5996-11e8-b20d-09ad731637cf
project-configuration:
GET : https://api.flowzdigital.com/serverapi/project-configuration/26e8d2efc8734b56ac9ba21696444222
Login :
POST : https://api.flowzdigital.com/auth/api/login
data : {"password":'123456' ,"email":"[email protected]"}
UserInfo :
GET : https://api.flowzdigital.com/auth/api/userdetails
'headers': {"Authorization": authtoken}
pass user auth token of user to get userdetail from login response
Get user Info by Id :
GET :https://api.flowzdigital.com/user/getuserdetails/59a9427ce4900900285ac278
'headers': {"Authorization": authtoken}
pass user auth token of user to get userdetail from login response
shoppingCart :
For cart :
GET : https://api.flowzdigital.com/serverapi/shoppingCart?type=2&user_id=5a599dc32377870015f2d235&website_id=e16a18b3-5163-4576-b238-c200c311a5ad
POST : https://api.flowzdigital.com/serverapi/shoppingCart
data : {"color":{"Purple":"100","Red":"150"},"createdAt":"2018-05-18T10:49:39.041Z","id":"4246874d-39f6-4931-87ee-9111829c12ad","imprint":[{"imprint_method_name":"Silk","imprint_position_name":"BARREL","no_of_color":"1","upload_artwork_typeset":{"art_text_email":"1"}}],"order_type":"decorative","product_id":"10feeea0-2908-11e8-b659-f99a25f5b785-2","shipping_method":{"shipping_detail":[{"color_quantity":{"Purple":"100","Red":"150"},"selected_address_id":"5dddc06a-7b1b-42f2-81d4-6ee3dfae2999","shipping_address":"","shipping_detail":{"on_hand_date":"05/18/2018","ship_date":"","ship_transittime":"","shipping_carrier":"ups","shipping_charge":"","shipping_method":""},"shipping_from":"shipping_book"}],"shipping_type":"standard"},"special_instruction":"test","total_qty":"250","type":"2","unit_price":"0.68","user_id":"5ad43d868a2ebf00158ed5ad","website_id":"26e8d2efc8734b56ac9ba21696444222"}
For compare product :
GET : https://api.flowzdigital.com/serverapi/shoppingCart?type=3&user_id=5ad43d868a2ebf00158ed5ad&website_id=26e8d2efc8734b56ac9ba21696444222
For Wishlist :
GET : https://api.flowzdigital.com/serverapi/shoppingCart?type=1&user_id=5ad43d868a2ebf00158ed5ad&website_id=26e8d2efc8734b56ac9ba21696444222
POST : https://api.flowzdigital.com/serverapi/shoppingCart
Data : {"type":"1" , "product_id":"10feeea0-2908-11e8-b659-f99a25f5b785-2" , "user_id":"5ad43d868a2ebf00158ed5ad" , "website_id":"26e8d2efc8734b56ac9ba21696444222"}
request-info :
GET : https://api.flowzdigital.com/serverapi/request-info
POST : https://api.flowzdigital.com/serverapi/request-info
comment-request :
GET : https://api.flowzdigital.com/serverapi/comment-request?RequestId=50fa69c3-040e-4127-a940-862f00095e3d
POST : https://api.flowzdigital.com/serverapi/comment-request
data : {"RequestId":"50fa69c3-040e-4127-a940-862f00095e3d","Module":"request-info","message":"Test"}
color-table:
GET : https://api.flowzdigital.com/serverapi/color-table?vid=2cacd060-6366-4c00-a923-6763eff8b29b&websiteid=26e8d2efc8734b56ac9ba21696444222&attribute_name=color&colorname[]=Blue&colorname[]=Green&colorname[]=Silver&colorname[]=Red&colorname[]=Black
POST : https://api.flowzdigital.com/serverapi/color-table
data : {"attribute_name":"color","colorname":"Green","hexcode":"#008000","subscriptionId":"02c43734-241b-4eb5-b1bc-9e93be41a587","vid":"2cacd060-6366-4c00-a923-6763eff8b29b","websiteid":"26e8d2efc8734b56ac9ba21696444222","websitename":"flowzdigital"}
city-state-country-list :
GET : City : https://api.flowzdigital.com/serverapi/city-state-country-list?id=192442&type=3
State : https://api.flowzdigital.com/serverapi/city-state-country-list?id=51&type=2
Country : https://api.flowzdigital.com/serverapi/city-state-country-list?id=233&type=1
address-book :
GET : https://api.flowzdigital.com/serverapi/address-book?user_id=5ad43d868a2ebf00158ed5ad&is_address=1&website_id=26e8d2efc8734b56ac9ba21696444222&deleted_at=false
POST : https://api.flowzdigital.com/serverapi/address-book
data : {"address_type":["shipping","billing"],"city":"192442","country":"233","culture":"en_us","email":"[email protected]","is_address":"1","is_office":"1","mobile":"654-654-6464","name":"Mansi Desai","owner_id":"5afc0a5f21c6d40015383616","phone":"654-546-5897","postalcode":"75980","state":"51","street1":"ABC","street2":"","user_id":"5ad43d868a2ebf00158ed5ad","websiteName":"flowzdigital","website_id":"26e8d2efc8734b56ac9ba21696444222"}
emailSubscribers:
POST : https://api.flowzdigital.com/serverapi/emailSubscribers
data : {"email": "[email protected]" }
Attributes Color & Imprint Colors :
GET : https://api.flowzdigital.com/pdmnew/filters/colors
headers{ "vid" : "2cacd060-6366-4c00-a923-6763eff8b29b", "Authorization": authtoken }
shipping-estimator :
POST : https://api.flowzdigital.com/serverapi/shipping-estimator
data : {"shipping_estimator_key":"shippo_test_3be31f8493f2ad8630b07fdd688dc2324054d1bb","carrier_account":"17bd3f6701a44108b5487370fb93224d","carrier":"ups","addressFrom":{"name":"Akron","street1":"7045 Cedar St","city":"Akron","state":"NY","zip":"14001","country":"US"},"addressTo":{"name":"Mansi Desai","street1":"ABC","city":"Zavalla","state":"Texas","zip":"75980","country":"United States"},"total_qty":300,"shipping_details":{"_id":"d0e37e80-2907-11e8-9bcc-61f8c8bd343b","product_id":"","sku":"15840","free_on_board":"NY 14001 US","fob_city":"Akron","fob_state_code":"NY","fob_country_code":"US","fob_zip_code":"14001","shipping_qty_per_carton":100,"carton_length":"","carton_width":"","carton_height":"","carton_weight":"","product_length":"","product_width":"","product_height":"","product_weight":"0.1","carton_size_unit":"inches","carton_weight_unit":"LBS","product_size_unit":"inches","product_weight_unit":"LBS","import-tracker_id":"d34a7087-b028-4ac6-a86c-cf3a2321b026","shipping_range":[{"qty":{"gte":100,"lte":2503}}]}}
myOrders :
GET : https://api.flowzdigital.com/serverapi/myOrders?user_id=5ad43d868a2ebf00158ed5ad&website_id=26e8d2efc8734b56ac9ba21696444222
request-quote :
GET : https://api.flowzdigital.com/serverapi/request-quote?user_id=5ad43d868a2ebf00158ed5ad&website_id=26e8d2efc8734b56ac9ba21696444222
bannertype :
GET : https://api.flowzdigital.com/serverapi/bannertype
POST : https://api.flowzdigital.com/serverapi/bannertype
data : {"website_id":"26e8d2efc8734b56ac9ba21696444222","bt_name":"Test","bt_category":"","status":true,"createdAt":"2018-05-21T05:24:53.483Z","userId":"5ad43d868a2ebf00158ed5ad"}
banners :
GET : https://api.flowzdigital.com/serverapi/banners
POST : https://api.flowzdigital.com/serverapi/banners
data : [{"banner_name":"slide5","banner_img":"https://res.cloudinary.com/dw8lkdwuo/image/upload/v1526880638/wurxawao6l7gf0zxhksq.jpg","banner_linkurl":"","banner_type":"8518346b-c6ab-4e9b-a26a-3c1f60cc1ebe","banner_status":true,"linkurl_target":"_blank","createdAt":"2018-05-21T05:30:42.975Z","userId":"5ad43d868a2ebf00158ed5ad"}]
website-users :
GET : https://api.flowzdigital.com/serverapi/website-users
POST : https://api.flowzdigital.com/serverapi/website-users
data : {"userEmail": "[email protected]", "userRole": "registered", "websiteId": "26e8d2efc8734b56ac9ba21696444222"}
crm invoice :
POST : https://api.flowzdigital.com/crm/invoice
data : { "settingId" : "da1d92de-23c9-40b7-8078-ac48d4160a65" ,"user" : "[email protected]","Name": "Mansi Desai","EmailAddress" : "[email protected]", "products" : [{"additional_charges":45,"amount":"5.5","description":"<ul><li>Push-on, clear acrylic, sip through lid</li><li>Opening on lid is wide enough to accommodate a straw</li><li>Stainless steel outside with colored plastic liner</li><li>Hand wash only</li></ul><p> </p>","qty":"250","shipping_charges":93.29,"sku":"68420","tax":0,"title":"20 oz. Ares Tumbler"}]}
crm – payment :
POST : https://api.flowzdigital.com/crm/payment
data : {"settingId":"da1d92de-23c9-40b7-8078-ac48d4160a65","gateway":"paypal","id":"bd66dc69-d965-4776-ac66-d887606f84c6","amount":"1513.29","Name":"Mansi Desai","type":"Visa","cardNumber":"4242424242424242","expMonth":"01","expYear":"20","cvc":"123"}