Customers.json endpoint throwing 404

JasdeepJasdeep Member Posts: 11

Hi,

I have created a customer in my store. While fetching the result through postman, the http response code comes as 404. and same is for the products.

Can I have some clarification what can be the reason behind this?

thanks,.

Jasdeep

3 comments

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 137 moderator

    Hi,

    Can you send the request you're making and the full response body (including the error message).

  • JasdeepJasdeep Member Posts: 11
    edited April 26

    Hi,


    I am sending the following GET request : https://{{api_key}}:{{api_secret}}@api.shoplightspeed.com/en/customers.json

    The response body is as follows:

    {

        "error": {

            "code": 404,

            "method": "READ",

            "request": "/en/customers.json",

            "message": "Unknown or inactive language."

        }

    }

    It is throwing even the same error for products as well.

  • JasdeepJasdeep Member Posts: 11

    Hi ,


    Please note I've figured out the issue.

    Thanks for your response.

    Regards,

    Jasdeep

Sign In or Register to comment.