Is there a way to Update Customer info via API?

Hi there

I am checking the documentation but I only see the option to GET customer details but not PUT (update customer details)

Please let me know if I missed this part of the documentation. This feature feels too essential to be missed

Thank you

Hi there, just want to follow up on this matter

There is an API endpoint, but at the moment it is undocumented. You can inspect the network calls when changed are made via the merchant dashboard. That being said, since this endpoint is not documented, it might change in the future without being in the release notes.

Hi, I get an error [ The input was not valid. status 400 ] on my call to the api:

const request1 = await fetch('https://payment.snipcart.com/api/private/custom-payment-gateway/payment', {
    method: "POST",
    headers: {
         Authorization: 'Bearer xxxx', 
         Accept: 'application/json',
    },
    body: body2,
})

Any ideas what im doing wrong?

1 Like