Add a new Surcharge

Add a new Surcharge

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

Surcharge object that needs to be added

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 created.

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.

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!