Products | Rentals

Create rental products of a given source product

post/api/Rentals/CreateRentalProducts

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/Rentals/CreateRentalProducts
  • Auth: API key in header Authorization

Request body

sourceProductIdstring required

Product to use for new rental products

storeIdstring required

A store for which the rental product will be associated

countinteger required

How many rental products to create

warehouseCodestring nullable

If set, will reduce stock of the source product from this warehouse

Response

Rental products successfully created

isSuccessfulboolean

Whether the rental products were successfully created

errorMessagestring nullable

Possible error message

inventoryReducedinteger

The quantity of stock removed from inventory

Changes

No recorded changes to this operation across all 1 revision of this API.