Advertisement
Guest User

Closet FIlter Algolia

a guest
May 27th, 2015
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. mapping perubahan field integrasi pada Algolia
  2. ========================================================
  3. ==== json result ====
  4. old => new
  5. ======================
  6. "nid" => nid (int)
  7. "sku" => sku (string)
  8. "product_category" => product_category (string)
  9. "brand_name" => brand_name (string)
  10. "country_code" => country_code (string)
  11. "currency_code" => currency_code (currency_code)
  12. "selling_price" => selling_price (int)
  13. "product_image" => product_image (array)
  14. "like_counter" => like_counter (int)
  15. "d6_uid" => uid (int)
  16. "comment_counter" => comment_counter (int)
  17. "Status" => status (string)
  18. "item_title" => item_title (string)
  19. "item_description" => item_description (string)
  20. "picture" => picture (array)
  21. "nickname" => nickname (array)
  22. "liked" => liked (array) // berisi uid user yang sudah like gunakan (in array),
  23. "commented" => commented (array) // berisi uid user yang sudah comment gunakan (in array),
  24.  
  25.  
  26. ========================================================
  27. testing gunakan base_url => http://api.makeoffer.local.makeoffer.ardani.rb.skyshi.com/
  28. API End Point:
  29. brand name : rest/v1/subscriber/brandname-list.json?country_code=SG
  30. category : rest/v1/subscriber/category-list.json?country_code=SG
  31.  
  32. product list : /rest/v1/subscriber/closets/product_list_result.json
  33. parameter :
  34. - page : int
  35. - country_code : string
  36. - sortby : ["price-asc","price-desc","new-in"]
  37. - nid : int // jika ingin menampilkan item bedasarkan nid
  38. - sold : ["0","1"] // 1 : sold tampil , 0 : sold tidak tampil
  39. - product_category : string // separate by |
  40. - brand_name : string // separate by |
  41.  
  42. parameter yang hilang
  43. _uid
  44.  
  45. ==========================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement