This API specification is available for download as an Open API 3.0 YAML file:
This section covers operations for managing Punchout standards. This includes retrieving a list of available standards, details for a specific standard or available options for a chosen standard.
/customers/{CustomerKey}/punchouts
This operation returns details on supported Punchout standards. Punchout standards are defined in the punchoutconfiguration.properties and for REST API explicitly. The authenticated user requires the permission APP_B2B_VIEW_PUNCHOUT or APP_B2B_SEND_OCI_BASKET. The returned resource collection contains objects of type LinkRO with all available Punchout standards.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.resource.PunchoutListResourceV2.getAvailablePunchouts_V2()
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
200 - OK
401 - Unauthorized
403 - Forbidden
404 - Not Found
This section covers operations for managing OCI Punchout configurations. This includes retrieving customer-specific configurations as well as updating an existing configuration.
/customers/{CustomerKey}/punchouts/oci5/configurations
This operation returns the customer-specific configuration for the OCI Punchout standard. The authenticated user must have the permission APP_B2B_MANAGE_PUNCHOUT.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutConfigurationListResource.getPunchoutConfiguration()
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
200 - OK
401 - Unauthorized
403 - Forbidden
404 - Not Found
This operation updates existing OCI Punchout configurations. A configuration can be updated entirely or partially. The fields that are not provided remain untouched, e.g.: NEW_ITEM-CONTRACT. The authenticated user requires the permission APP_B2B_MANAGE_PUNCHOUT.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutConfigurationListResource.updatePunchoutConfiguration(com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutConfigurationRO)
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
200 - OK
401 - Unauthorized
403 - Forbidden
404 - Not Found
This section covers operations for managing OCI Punchout. This includes retrieving details of OCI standard or available options.
/customers/{CustomerKey}/punchouts/oci5
This operation returns details of the OCI Punchout standard. The authenticated user requires the permission APP_B2B_VIEW_PUNCHOUT or APP_B2B_SEND_OCI_BASKET. An optional parameter basketId
can be provided to get a list of OCI Punchout fields for the Basket with the given ID.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutItemResource.getPunchoutItemDetails(java.lang.String)
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
in query | basketId | string | Returns the basket line item data according to OCI Punchout configuration |
200 - OK
401 - Unauthorized
403 - Forbidden
404 - Not Found
This operation returns all available configuration options for the OCI Punchout standard. The authenticated user requires the permission APP_B2B_VIEW_PUNCHOUT or the permission APP_B2B_SEND_OCI_BASKET.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutItemResource.getPunchoutConfigurationOptions()
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
200 - OK
401 - Unauthorized
403 - Forbidden
404 - Not Found
/customers/{CustomerKey}/punchouts/oci5/background-search
This operation provides a background search functionality for products that can be utilized for cross-catalog searches of external systems like procurement systems.
For every found product matching the given search string a product record in the OCI Punchout format is returned. A record is a list of key-value pairs including all necessary transformations. Multiple records are concatinated and indexed. The fields have to be posted by the client to the external system.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutFunctionBackgroundSearchResource.searchProducs(java.lang.String)
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
in query | searchString | string | Required | The search string to search products for | Example: Acer |
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
/customers/{CustomerKey}/punchouts/oci5/transfer
This operation triggers the transfer of the OCI Punchout basket back to the external system e.g. procurement system. The following steps are performed during this process:
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutTransferResource.transferBasket(java.lang.String)
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
in query | basketId | string | Required | The ID of the OCI Punchout basket to be transfered |
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
/customers/{CustomerKey}/punchouts/oci5/validate
The operation allows to retrieve up-to-date information for a specific product with a given quantity from the Intershop Commerce System. A possible use-case is the update of product data in external systems (e.g. procurement system).
If the product was found a single product record in the OCI Punchout format is returned. The record is a list of key-value pairs including all necessary transformations. The fields have to be posted by the client to the external system.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutFunctionValidateResource.validateProduct(java.lang.String,java.lang.String)
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
in query | productId | string | Required | The id of the product (SKU) | Example: 6855851 |
in query | quantity | string | The requested quantity. If field is not set, then default "1" is used. | Example: 3 |
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
This section covers operations for managing OCI Punchout users. This includes retrieving information on users, creating a new user, updating user data as well as deleting specific users.
/customers/{CustomerKey}/punchouts/oci5/users
This operation returns all users for the OCI Punchout standard. The authenticated user requires the permission APP_B2B_MANAGE_PUNCHOUT. The response is of type ResourceCollectionRO and contains objects of type LinkRO.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutUserListResource.getPunchoutUsers()
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
200 - OK
401 - Unauthorized
403 - Forbidden
404 - Not Found
This operation creates a new OCI Punchout user. The ID property of Punchout user will be created automatically. The authenticated user must have the permission APP_B2B_MANAGE_PUNCHOUT.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutUserListResource.createPunchoutUser(com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutUserRO)
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
/customers/{CustomerKey}/punchouts/oci5/users/{OCIPunchoutUserKey}
This operation returns information on the given OCI Punchout user. The authenticated user requires the permission APP_B2B_MANAGE_PUNCHOUT.
public com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutUserRO com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutUserItemResource.getUserDetails()
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
in path | OCIPunchoutUserKey | string | Required | The key or UUID to resolve a single item | Example: ExampleKey |
200 - OK
401 - Unauthorized
403 - Forbidden
404 - Not Found
This operation updates the information of an OCI Punchout user. The authenticated user requires the permission APP_B2B_MANAGE_PUNCHOUT.
The following user attributes can be updated:
email
- notifications for the OCI Punchout user are send to this email address
password
- the configured password for the OCI Punchout user
active
- flag to enable/disable the OCI Punchout user
All attributes are optional, see request code examples below.
public com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutUserRO com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutUserItemResource.updatePunchoutUser(com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutUserRO)
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
in path | OCIPunchoutUserKey | string | Required | The key or UUID to resolve a single item | Example: ExampleKey |
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
This operation deletes a OCI Punchout user of a customer. The executing user must be authenticated and requires the permission APP_B2B_MANAGE_PUNCHOUT.
public javax.ws.rs.core.Response com.intershop.sellside.rest.b2b.punchout.v2.capi.oci.resource.OCIPunchoutUserItemResource.deletePunchoutUser()
Location | Name | Format | Description |
---|---|---|---|
in path | CustomerKey | string | Required | The customer ID | Example: OilCorp |
in path | OCIPunchoutUserKey | string | Required | The key or UUID to resolve a single item | Example: ExampleKey |
204 - No Content
401 - Unauthorized
403 - Forbidden
404 - Not Found
Link
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
int32
int32
int32
LinkRO
objects. The list of elementsLinkRO
: 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
string
literals. The keys to sort forShow available configurations for OCI Punchout
PunchoutAvailableFormatterRO
objects. The available formatters for the configuration as collection of PunchoutAvailableFormatterROsPunchoutAvailableFormatterRO
: This resource holds the available formatters for the configuration as a collection of PunchoutAvailableFormatterROs.PunchoutAvailableFormatter
Trim
PunchoutAvailablePlaceholderRO
objects. The available placeholders for the configuration as collection of PunchoutAvailablePlaceholderROsPunchoutAvailablePlaceholderRO
: This resource holds the available placeholders for the configuration as collection of PunchoutAvailablePlaceholderROs.PunchoutAvailablePlaceholder
Currency
PunchoutConfigurationItemRO
objects. The configuration items as collection of PunchoutConfigurationItemROsPunchoutConfigurationItemRO
: This resource holds the configuration items as Collection of PunchoutConfigurationItemROs.NEW_ITEM-MATGROUP
{ManufacturerName}
UpperCase
PunchoutConfigurationItemMappingRO
objects. The configuration item mappings as collection of PunchoutConfigurationItemMappingROsPunchoutConfigurationItemMappingRO
: This resource holds the configuration item mappings as a collection of PunchoutConfigurationItemMappingROs.PunchoutConfigurationItemMapping
meter
m
oci
ver5
PunchoutDataRO
object. This resource holds the Punchout data as PunchoutDataRO.PunchoutData
PunchoutDataItemRO
objects.PunchoutDataItemRO
: This resource holds the Punchout data as a collection of PunchoutDataItemROs.PunchoutDataItem
PunchoutDataItemFieldRO
objects. The data item fields as a collection of PunchoutDataItemFieldROsPunchoutDataItemFieldRO
: PunchoutDataItemField
0.0
PunchoutDataItemFieldRO
objects.PunchoutDataItemFieldRO
: PunchoutDataItemField
0.0
PunchoutDataItemRO
objects. The Punchout data as a collection of PunchoutDataItemROsPunchoutDataItemRO
: This resource holds the Punchout data as a collection of PunchoutDataItemROs.PunchoutDataItem
PunchoutDataItemFieldRO
objects. The data item fields as a collection of PunchoutDataItemFieldROsPunchoutDataItemFieldRO
: PunchoutDataItemField
0.0
PunchoutDataItemFieldRO
objects.PunchoutDataItemFieldRO
: PunchoutDataItemField
0.0
PunchoutTransferDataItemFieldRO
objects. The core data of the response object.PunchoutTransferDataItemFieldRO
: The core data of the response object.FeedbackRO_v1
objects. List of errors that occurred in relation to the request.FeedbackRO_v1
: An error or information representation regarding the current request.FeedbackCauseRO_v1
objects. A collection of errors/infos that caused this feedback.FeedbackCauseRO_v1
: A representation for the common feedback informations.invoiceToAddress.address.postalcode.invalid
The specified postal code is invalid. Valid values are numbers 10000 to 99999.
string
literals. A collection of JSON paths to the associated entities. If not otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPathinvoiceToAddress.address.postalcode.invalid
The specified postal code is invalid. Valid values are numbers 10000 to 99999.
string
literals. A collection of JSON paths to the associated entities. If not otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath400
FeedbackRO_v1
objects. List of informations regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or information representation regarding the current request.FeedbackCauseRO_v1
objects. A collection of errors/infos that caused this feedback.FeedbackCauseRO_v1
: A representation for the common feedback informations.invoiceToAddress.address.postalcode.invalid
The specified postal code is invalid. Valid values are numbers 10000 to 99999.
string
literals. A collection of JSON paths to the associated entities. If not otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPathinvoiceToAddress.address.postalcode.invalid
The specified postal code is invalid. Valid values are numbers 10000 to 99999.
string
literals. A collection of JSON paths to the associated entities. If not otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath400
PunchoutUser
oci1
ociuser1
ocitester@test.intershop.de
!InterShop00!
true
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 Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.