Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mapping perubahan field integrasi pada Algolia
- ========================================================
- ==== json result ====
- old => new
- ======================
- "nid" => nid (int)
- "sku" => sku (string)
- "product_category" => product_category (string)
- "brand_name" => brand_name (string)
- "country_code" => country_code (string)
- "currency_code" => currency_code (currency_code)
- "selling_price" => selling_price (int)
- "product_image" => product_image (array)
- "like_counter" => like_counter (int)
- "d6_uid" => uid (int)
- "comment_counter" => comment_counter (int)
- "Status" => status (string)
- "item_title" => item_title (string)
- "item_description" => item_description (string)
- "picture" => picture (array)
- "nickname" => nickname (array)
- "liked" => liked (array) // berisi uid user yang sudah like gunakan (in array),
- "commented" => commented (array) // berisi uid user yang sudah comment gunakan (in array),
- ========================================================
- testing gunakan base_url => http://api.makeoffer.local.makeoffer.ardani.rb.skyshi.com/
- API End Point:
- brand name : rest/v1/subscriber/brandname-list.json?country_code=SG
- category : rest/v1/subscriber/category-list.json?country_code=SG
- product list : /rest/v1/subscriber/closets/product_list_result.json
- parameter :
- - page : int
- - country_code : string
- - sortby : ["price-asc","price-desc","new-in"]
- - nid : int // jika ingin menampilkan item bedasarkan nid
- - sold : ["0","1"] // 1 : sold tampil , 0 : sold tidak tampil
- - product_category : string // separate by |
- - brand_name : string // separate by |
- parameter yang hilang
- _uid
- ==========================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement