Overwrite an existing Surcharge

Overwrites a specific Surcharge API object

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of Surcharge to update

Body Params

new Surcharge object

boolean
Defaults to true

Flag. If set to False, the surcharge will no longer be usable.

string
required

Surcharge name. Will be used to represent the surcharge in the reports and the POS.

uri
required

URI of the User API object that created this resource.

date-time
required

ISO8601 timestamp of the time the resource was created

uri
required

URI of the User API object that last made changes to this resource.

date-time
required

ISO8601 timestamp of the last time the resource was updated.

Responses
204

Resource successfully updated

301

Invalid request URL - make sure that the URL ends with a trailing slash.

400

Provided JSON body is either invalid or empty

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

404

Surcharge not found

445

Message: Integrity Error - either a required field is missing from the request body or an invalid value was provided for one of the fields.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!