Add items

Adds an item sold by a POS system (for example a drink at the bar) to a reservation.

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

Adds an item sold by a POS system (for example a drink at the bar) to a reservation. The reservation total and commission are recalculated after saving. The response is the ID of the new reservation item; keep it if you may need to delete the item.

Header: user_guid only (no b2b_guid needed). See MyRent User API.

Example request body

{
  "user_id": "100",
  "rent_id": "123456",
  "item_id": "77",
  "code": "COLA",
  "name": "Cola",
  "price": 2.50,
  "quantity": 2,
  "vat": 25,
  "discount": 0,
  "note": "Bar"
}

Responses

CodeMeaning
200ID of the new reservation item. null when user_id or rent_id is missing, or the item could not be saved.
401Missing or unknown user_guid header.
403The ID in the URL is not the account of the user_guid header.
500The body is not JSON, or another error. The body holds the message.
Path Params
string
required

MyRent account ID. Must be the account of the user_guid header.

Body Params
string
required

MyRent reservation ID. See Guests check in.

string
Defaults to -1

MyRent item ID, see Items. The item name is taken from it when name is empty.

string

Item code.

string

Item name, for example Cola.

double
Defaults to 0

Net price per unit, without VAT.

double
Defaults to 1

Quantity.

double
Defaults to 0

VAT in percent.

double
Defaults to 0

Extra tax in percent.

double
Defaults to 0

Discount in percent; send 10 for 10 %.

string
Defaults to 1

MyRent currency ID.

double
Defaults to 1

Exchange rate.

string
enum
Defaults to Y

Already paid at the POS.

Allowed:
string

Internal note.

string

Additional text.

string

Additional text.

Headers
string
required

Account key.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain