How to edit the data of a created client (ex: Name, Address, ...) [closed]

-3

I'm using the Jasmin API to send automatic invoices for online payments, I've looked, but I'm not seeing how I can edit a customer's information, I can create through the endpoint:

api/{tenantKey}/{orgKey}/salesCore/customerParties

But I do not see an endpoint for editing the Name and Address fields, for example.

UPDATE:

I have already found the documentation for the client edition (Thank you Sérgio Sereno): link

But here I have a problem, I'm doing the request:

https://my.jasminsoftware.com/api/{{AccountKey}}/{{SubscriptionKey}}/businessCore/parties/ALCAD/country

With the body:

{
   "partyKey": "ALCAD",
   "value": "GB"
}

And returns:

{
   "validations": [
       {
           "propertyName": "value",
           "errorMessage": "Unexpected character encountered while parsing value: {. Path '', line 1, position 1."
       }
   ]
}
    
asked by anonymous 06.12.2018 / 00:34

2 answers

1

Hello, I highly recommend reading Base Entities and Extensions and from this What are the Web API endpoints to know about how as jasmin treats entities.

In reality for jasmin there is the concept of base entity where the common properties (address, name, contacts ...) and then each module adds the characteristics, for example the sales module adds the characteristics of the client, the purchasing module, characteristics of the supplier etc, etc. So the base entity is in the business core module, and for this you have to use the route below.

{{baseurl}}/api/{{AccountKey}}/{{SubscriptionKey}}/businesscore/parties/{key}/name

Documentation for business core module

    
06.12.2018 / 12:13
1

The problem is with the body you are creating for the request:

https://my.jasminsoftware.com/api/{{AccountKey}}/{{SubscriptionKey}}/businessCore/parties/ALCAD/country

You have to pass in the body only "GB"

    
06.12.2018 / 15:33