DEV Community

leves96
leves96

Posted on

How can I write it out? B2B API

Hi, im a simple user and i got a b2b api key with some sample code. I want to list all the products from a company. First to my localhost. Maybe later to my website.. (not webshop)

The Sample Code:

https://api.thisisthesite.com,
POST: {
"apikey": "ihavethekey",
"method": "GetProductsList",
"parameters": [
{
"ShowGroups": "1",
"ShowIndex": "1"
}
]
}

I want to write out: GetProductInfo ; GetProductList ; GetProductsWarranty.

How can i get these? thank you for helping. I have wampserver, js.node and sublime text.

Top comments (2)

Collapse
 
leves96 profile image
leves96

thank you for your answer, so i see but the endpoint is my localhost. and the product list is from an another website. i tried it but doesnt work

From: api.wycena.keno-energy.com/
To: my localhost
API: IHAVETHEKEY

API DOCU: api.wycena.keno-energy.com/Dokumen...