Every request must include an Authorization header with Basic Auth credentials encoded in base64:
curl -u username:password https://api.procarte.pl/v1/products
If credentials are incorrect, the API returns:
{"error":"Unauthorized"}
/v1/products
Returns a list of products including id, product_code, name, and quantity.
{
"results": [
{
"id": 2343,
"product_code": "01-0090",
"name": "Canadian 575W TOPBiHiKu6 CS6W-575 Silver Frame N-Type bifacial",
"quantity": 1071
}
],
"count": 1
}