The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties.
Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Development Documents
References
11-Jan-2023
IOM REST API - Remove Stock Reservation
Document Properties
Kbid
277K87
Added to KB
20-Jul-2016
Status
online
Product
  • IOM 1
  • IOM 3
  • IOM 5
Last Modified
11-Jan-2023
Public Access
everyone
Doc Type
References
Product
  • IOM 2
  • IOM 4
Document Link
https://knowledge.intershop.com/kb/277K87

Remove Stock Reservation

URI

servlets/services/reservation/<resvId>

Http Method

DELETE

Short Description

Remove a stock reservation.

Query Parameters

none

Example Requests

http://10.17.0.245:8080/servlets/services/reservation/115

HTTP Status Codes

  • 204 No Content
    Stock reservation suspenseful removed
  • 400 Bad Request
    there is no reservation in the OMS system for parameter resvId

  • 401 Unauthorized

  • 404 Not Found

  • 500 Internal Server Error

Description

Remove Stock Reservation - API

Used by shop systems to delete an existing stock reservation from the IOM system.

Parameters  Path parameter resvId = ID of the stock reservation to be deleted

Authorization

IOM supports "basic http authentication" only. Please configure your clients to use this authentication method. A very simple method to send REST requests on the command line can be realized using wget. The example also shows, how to configure this client to use "basic http authentication" (--auth-no-challenge).


wget -q -O- --auth-no-challenge  --http-user=<user> --http-password='<password>' \
--method=delete http://<hostname>/servlets/services/reservation/115
It is Important that the permission REST_RESERVATION (oms.RightDefDO with ID = 124 and name "Reservation REST service") is assigned to the requesting user. The permission is a part of the class bakery.persistence.dataobject.configuration.common.RightDefDO.
The user also needs the permission for the OMS shop instance which relates to the requested stock reservation.

JSON

Request data format

No Content

Request related java object

n/a

Request data example

n/a

Response data format

No Content

Response related java object

n/a

Response data example

n/a
Response Code204
Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Website, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Home
Knowledge Base
User Manuals
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.