Forum

REST API broken?

Posted in CategoryDevelopment
  • Lennart Behr    ( User ) 5 days ago
    Hello there,

    Whenever I try to retrieve data from the API I get empty data sets. I created two customers for testing and when I GET @ index.php/api/customers with valid authorization the response contains an empty data array. Also, I can't create customers using the API @ index.php/api/customers with the request body looking like this:

    {
    "email": "[email protected]",
    "name": "test test",
    "currency_code": "EUR"
    }

    What am I missing?

    Regards,
    L. Behr
  • Lennart Behr    ( User ) 5 days ago
    Note:
    When I try to create a customer the response contains this:

    […] "message": "The given data failed to pass validation.",
    "status_code": 500, […]

Please login or register to leave a response.