Product

Berikut ini adalah list endpoint API untuk mendapatkan informasi tentang Product BANGJEFF.


POST/api/v3/product

Get Product List

Digunakan untuk mendapatkan informasi Product List yang ada di BANGJEFF.

Headers

  • Name
    Authorization
    Type
    Bearer {API_KEY}
    Description

    Api Key dari BANGJEFF.

  • Name
    Content-Type
    Type
    application/json
    Description

    Content type JSON.

Request

POST
/api/v3/product
curl -X POST "https://api.bangjeff.com/api/v3/product" \
  -H "Authorization: Bearer {API_KEY}" \
  -H "Content-Type: application/json"

Response

{
  "error": false,
  "code": 200,
  "message": "string",
  "data": [
    {
      "code": "string",
      "name": "string",
      "isActive": false,
      "inputs": [
        {
          "name": "string",
          "type": "string",
          "title": "string",
          "options": [
            {
              "title": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ]
}

Response Error

Berikut ini adalah list Response error pada endpoint api product.

HTTP CodeError MessageDescription
403Access Token is requiredWrong API Key
403Access Token is not validWrong API Key