JerrysMaroc Posted January 20, 2021 Share Posted January 20, 2021 It would be nice to be able to delete a costumer completely. Not just soft deletion: https://developer.loyverse.com/docs/#tag/Customers/paths/~1customers~1{customer_id}/delete Why? When developing and testing "Create customer" it would be nice to be able to use the same parameters, and not having to create a new user for every call to the API. I would just like to hard-delete the customer i just created, and then test again with same parameters. Link to comment Share on other sites More sharing options...
Featured Comment Jay Rock Posted January 21, 2021 Featured Comment Share Posted January 21, 2021 (edited) Loyverse support hard customers deletion, after soft deletion, hard deletion will be automatically processed after 24 hours Edited January 21, 2021 by Jay Rock Link to comment Share on other sites More sharing options...
Jay Rock Posted January 21, 2021 Share Posted January 21, 2021 Customers with deletion mark, used nowhere. I'm don't see why you cannot create customer, delete this customer and create again. Can you give me an example, why you cannot do this? Link to comment Share on other sites More sharing options...
JerrysMaroc Posted January 23, 2021 Author Share Posted January 23, 2021 Hi there, When I delete a customer (using API call: https://developer.loyverse.com/docs/#tag/Customers/paths/~1customers~1{customer_id}/delete). And want to create the same customer again. I get this response: { "errors": [ { "code": "INVALID_VALUE", "details": "Customer with customer_code '123456789' already exists.", "field": "object.email" } ] } Link to comment Share on other sites More sharing options...
Jay Rock Posted January 23, 2021 Share Posted January 23, 2021 Please try again one more time. Link to comment Share on other sites More sharing options...
JerrysMaroc Posted January 23, 2021 Author Share Posted January 23, 2021 Yup! Works now. And BTW... Great work with the API. I love it. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Posted by Jay Rock,
0 reactions
Go to this post