The Order IOM Extension REST API works only with the IOM Connector enabled.
This API specification is available for download as an Open API 3.0 YAML file:
The following page lists available REST APIs for ICM 11 and their version dependencies:
This section covers requests for accessing order-related documents provided by the IOM.
The requests require a properly configured and enabled IOM Order History Service.
/orders/{orderKey}/documents
This operation returns a list of all order-related documents provided by the IOM.
public com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentsResource.getAllDocuments()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/creditnotes
This operation returns a list of all credit note documents provided by the IOM.
public com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentsResource.getCreditDocuments()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/delivery
This operation returns a list of all delivery note documents provided by the IOM.
public com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentsResource.getDeliveryDocuments()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/invoicecreditnotes
This operation returns a list of all invoice credit note documents provided by the IOM.
public com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentsResource.getInvoiceCreditDocuments()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/invoices
This operation returns a list of all invoice documents provided by the IOM.
public com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentsResource.getInvoiceDocuments()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/returnlabel
This operation returns a list of all return label documents provided by the IOM.
public com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentsResource.getReturnLabelDocuments()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/returnslip
This operation returns a list of all return slip documents provided by the IOM.
public com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentsResource.getReturnSlipDocuments()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/{OrderDocumentResourceKey}
This operation returns a specific document by its ID.
public com.intershop.adapter.iomconnector.rest.capi.resourceobject.order.document.OrderDocumentRO com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentResource.getDocument()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item | |
in path | OrderDocumentResourceKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
/orders/{orderKey}/documents/{OrderDocumentResourceKey}/download
This operation returns a PDF representation of a specific document by its ID.
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.capi.resource.order.document.OrderDocumentResource.download() throws java.io.IOException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item | |
in path | OrderDocumentResourceKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
This section covers the retrieval of possible return reasons.
Requests in this section require a properly configured and enabled IOM RMA Service.
The requests are forwarded directly to the configured IOM, which must support the IOM RMA API 2.10 or later for all features to be fully available.
/orders/return-reasons
This operation returns a list of the configured return reasons.
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.rma.v1.capi.resource.ReturnReasonResource.getShop2ReturnReasons(java.util.List) throws com.intershop.adapter.iomconnector.rma.internal.client.ApiException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in query | type | array | RET | Returns the return reasons by name of 1..n return types |
200 - OK
400 - Bad Request
404 - Not Found
502 - Bad Gateway
This section covers requests for managing return requests.
This includes retrieving a list of returnable positions, of return requests of an order, of custom attributes as well as the creation of return requests.
Requests in this section require a properly configured and enabled IOM RMA Service.
The requests are forwarded directly to the configured IOM, which must support the IOM RMA API 2.12 or later for all features to be fully available.
If the IOM used only supports RMA API version 2.11 or 2.10, certain resources will not be available and the corresponding request will return the HTTP status 404 (Not Found).
Further details can be found in the description and changelog of the IOM RMA REST API.
/orders/{orderKey}/return-requests
This operation returns a list of return requests created for the given order.
It returns an empty list if no return request has been created yet.
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.rma.v1.capi.resource.ReturnRequestResource.getReturnRequests() throws com.intershop.adapter.iomconnector.rma.internal.client.ApiException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
404 - Not Found
502 - Bad Gateway
This operation creates a new return request for one or more positions of an order.
A return request can only be created if no other return request has been accepted for the same position.
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.rma.v1.capi.resource.ReturnRequestResource.createReturnRequest(com.intershop.adapter.iomconnector.rma.internal.client.model.WriteReturnRequest) throws com.intershop.adapter.iomconnector.rma.internal.client.ApiException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
201 - Created
400 - Bad Request
404 - Not Found
502 - Bad Gateway
/orders/{orderKey}/return-requests/returnables
This operation returns a list of order positions that can be returned.
It returns the data that is necessary to enable a client to prepare the creation of a return request.
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.rma.v1.capi.resource.ReturnablesResource.getReturnableData() throws com.intershop.adapter.iomconnector.rma.internal.client.ApiException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
404 - Not Found
502 - Bad Gateway
/orders/{orderKey}/return-requests/{returnRequestId}/custom-attributes
This operation returns a list of custom attributes for the given return request of the given order.
It returns an empty list in case no custom attributes were added to the return request.
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.rma.v1.capi.resource.ReturnRequestCustomAttributeListResource.getReturnRequestCustomAttributes() throws com.intershop.adapter.iomconnector.rma.internal.client.ApiException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | returnRequestId | integer int64 | Required | ||
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
404 - Not Found
502 - Bad Gateway
/orders/{orderKey}/return-requests/{returnRequestId}/positions
This operation returns a list of return request positions for the given return request of the given order.
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.rma.v1.capi.resource.ReturnRequestPositionListResource.getReturnRequestPositions() throws com.intershop.adapter.iomconnector.rma.internal.client.ApiException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | returnRequestId | integer int64 | Required | ||
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
404 - Not Found
502 - Bad Gateway
/orders/{orderKey}/return-requests/{returnRequestId}/positions/{returnRequestPositionId}/custom-attributes
This operation returns a list of custom attributes of a return request position of the given order.
It returns an empty list in case no custom attributes were added to the return request position.
[Requires IOM RMA API >= 2.12]
public jakarta.ws.rs.core.Response com.intershop.adapter.iomconnector.rest.rma.v1.capi.resource.ReturnRequestPositionListResource.getReturnRequestPositionCustomAttributes(long) throws com.intershop.adapter.iomconnector.rma.internal.client.ApiException
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | returnRequestPositionId | integer int64 | Required | ||
in path | returnRequestId | integer int64 | Required | ||
in path | orderKey | string | ExampleKey | Required | The key or UUID to resolve a single item |
200 - OK
404 - Not Found
502 - Bad Gateway
int32
| Example: 400
Error
objects.Error
VALIDATION_EXCEPTION
Attribute XYZ is mandatory
LinkRO
: A Link pointing to a resourceLink
ResourceAttribute
objects. The list of attributesResourceAttribute
: An attributeResourceAttribute
about
alternate
appendix
archives
author
bookmark
canonical
chapter
collection
contents
copyright
create-form
current
describedby
describes
disclosure
duplicate
edit
edit-form
edit-media
enclosure
first
glossary
help
hosts
hub
icon
index
item
last
latest-version
license
lrdd
monitor
monitor-group
next
next-archive
nofollow
noreferrer
payment
predecessor-version
prefetch
prev
preview
previous
prev-archive
privacy-policy
profile
related
replies
search
section
self
service
start
stylesheet
subsection
successor-version
tag
terms-of-service
type
up
version-history
via
working-copy
working-copy-of
ResourceAttribute
object. An attributeResourceAttribute
date-time
Example Key
Example Value
int64
| Example: 10000
PICKUP
| Possible Values: RETURN
PICKUP
10901095
The battery is draining quickly
int64
| Example: 10000
date-time
| Example: 2018-02-27T07:15:37.562Z
20180303123
Test Shop US DE
20180303321
Test Supplier US DE
CLOSED
| Possible Values: ACCEPTED
CLOSED
DO_APPROVE
DO_CLOSE
INITIAL
REJECTED
ACCEPTED
| Possible Values: ACCEPTED
IN_APPROVAL
READY_TO_APPROVE
REJECTED
UNKNOWN
int32
| Example: 1
20180303123
RET100
int32
| Example: 1
int64
| Example: 10000
test_product_1
20180303123
ReadCustomAttribute
objects.ReadCustomAttribute
: Represents a custom attribute (key/value pair) of a return request from an order of a shop.Example Key
Example Value
int64
| Example: 10000
ReturnableDataPosition
objects. Possible order positions / line items to returnReturnableDataPosition
: Order position / line item to returnint32
| Example: 3
int32
| Example: 1
ReturnableDataItem
objects. Further information for each single productReturnableDataItem
: Further information for a single product667002
ReturnableDataProduct
object. Product of a still returnable order position100-0001
Demo Product
RET010
return of goods / general
RET
PICKUP
| Possible Values: RETURN
PICKUP
10901095
The battery is draining quickly
WriteReturnRequestPosition
objects.WriteReturnRequestPosition
: Represents a return request position of a return request from an order of a shop.int32
| Example: 1
20180303123
RET100
int32
| Example: 1
WriteReturnRequestItem
objects.WriteReturnRequestItem
: Represents a return request item of a return request from an order of a shop.W88401231AX
WriteCustomAttribute
objects.WriteCustomAttribute
: Represents a custom attribute (key/value pair) of a return request from an order of a shop.Example Key
Example Value
WritePickupAddress
object. Represents a pickup address related to the return request from an order of a shop.Intershop Communication AG
John
Doe
Alexstraße
28
12053
Berlin
DEU
Berlin
Finanz
3.Floor
WriteContactPerson
objects.WriteContactPerson
: Represents a contact person of the return request from an order of a shop.Intershop Communication AG
John
Doe
0176 04069077
john.doe@intershop.com
en
WriteCustomAttribute
objects.WriteCustomAttribute
: Represents a custom attribute (key/value pair) of a return request from an order of a shop.Example Key
Example Value