const  host = 'https://hosunsin.com/'

const api = {
  getAllProducts: host+'wp-json/es/v1/products',
  getcategories: host+'wp-json/es/v1/categories',
  banner: host+'wp-json/es/v1/banners',
  login: host+'wp-json/es/v1/login',
  smsVerify:host+'wp-json/es/v1/sms_verify_start',
  check: host+'wp-json/es/v1/check',
  signup: host+'wp-json/es/v1/reg',
  creditCard: host+'wp-json/es/v1/creditcards/',
  editAddress: host+'wp-json/es/v1/customers/me/',
  tag: host+'wp-json/es/v1/products/tags',
  getShippingMethods:
    host+'wp-json/wc/v3/shipping/zones/1/methods',
  getCoupons: host+'wp-json/es/v1/coupons',
  favourite: host+'wp-json/es/v1/fav/',
  shoppingCart: host+'wp-json/es/v1/cart/',
  review: host+'wp-json/es/v1/products/reviews/',
  order: host+'wp-json/es/v1/orders/',
  forgotPassword: host+'wp-json/es/v1/forgot/',
  points: host+'wp-json/es/v1/points/me',
  fcmToken: host+'wp-json/es/v1/token/',
  thirdPartyLogin: host+'wp-json/es/v1/3rd-party-oauth',
  checkVersion: host+'wp-json/es/v1/versions',
  signInWithApple: host+'wp-json/es/v1/sign-in-with-apple',
  bindMobile: host+'wp-json/es/v1/bind-mobile',
};

export default api;
