Update Surcharge by ID

Updates a single Surcharge 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

Surcharge data that needs to be changed

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
201

Resource successfully updated.

301

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

400

Invalid input - please run the request body through a JSON validator.

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 - 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!