Dokumentasi

Dokumentasi Fit Advisor

Dokumentasi endpoint rekomendasi ukuran untuk topwear dan nomor celana.

Base URL
https://core.keepbelanja.com
Autentikasi

Header `Key`

Endpoint fit advisor wajib memakai header `Key`, body `application/x-www-form-urlencoded`, dan koneksi HTTPS.
HeaderKey: your_api_key_here
Bodyapplication/x-www-form-urlencoded
Tipesuit, tshirt, shirt, pants, jacket
Styleslim, standar, standard, oversize
Request

Field wajib

MethodPOST
Bodytype, height, weight, age, style
Fit Advisor

Nilai yang valid

Tipe
suit, tshirt, shirt, pants, jacket
Style
slim, standar, standard, oversize
Contoh

Contoh request dan response

Contoh topwear
Contoh untuk `shirt`, `jacket`, `suit`, atau `tshirt`.
curl --location 'https://core.keepbelanja.com/api/fit-advisor' \
--header 'Key: YOUR_API_KEY' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'type=shirt' \
--data-urlencode 'height=170' \
--data-urlencode 'weight=70' \
--data-urlencode 'age=29' \
--data-urlencode 'style=slim'
Contoh pants
Contoh output nomor celana untuk type `pants`.
curl --location 'https://core.keepbelanja.com/api/fit-advisor' \
--header 'Key: YOUR_API_KEY' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'type=pants' \
--data-urlencode 'height=170' \
--data-urlencode 'weight=70' \
--data-urlencode 'age=29' \
--data-urlencode 'style=slim'
Referensi

Referensi request body

Endpoint Method Body Catatan
https://core.keepbelanja.com/api/fit-advisorPOSTtype, height, weight, age, styleReferensi field request untuk endpoint fit advisor.