OCAPI 23.2 changes since 21.6

The following sections describe all changes made to OCAPI since version 21.6.

Resources added, modified, or removed since 21.6

Resource Name Change Http Method URL Template API Details
Metrics Added GET /metrics/{apitype} Data N/A
Users Added DELETE /users/{login}/access_key/{scope} Data N/A
Users Added GET /users/{login}/access_key/{scope} Data N/A
Users Added PATCH /users/{login}/access_key/{scope} Data N/A
Users Added PUT /users/{login}/access_key/{scope} Data N/A

Documents added, modified, or removed since 21.6

Document Name Change API Details
AccessKeyDetails Added Data API N/A
AccessKeyUpdateRequest Added Data API N/A
Basket Changed Shop API More
Coupon Changed Data API More
GroupedTax Added Shop API N/A
JobExecution Changed Data API More
MetricResponse Added Data API N/A
Order Changed Shop API More
ProductInventoryRecordAllocation Changed Data API More

Details about modified resources

The following requests have been modified since 21.6.

Details about modified documents

The following documents have been modified since 21.6.

Basket

Element Change API 21.6 23.2
Property Added Shop N/A

Name: grouped_tax_items

Type: [GroupedTax]

Description: Tax values that are summed and grouped based on the tax rate. The tax totals of the line items with the same tax rate will be grouped together and summed up. This will not affect calculation in any way.

Constraints:

Property Added Shop N/A

Name: tax_rounded_at_group

Type: boolean

Description: If the tax is rounded at group level then this is set to true, false if the tax is rounded at item or unit level

Constraints:

Coupon

Element Change API 21.6 23.2
Property Added Data N/A

Name: case_insensitive

Type: Boolean

Description: True if a coupon is case insensitive; false otherwise. This attribute on the coupon can not be modified after the coupon has been created. If an attempt was made to modify this the system would return CouponUpdateForbiddenException

Constraints:

Property Added Data N/A

Name: multiple_codes_per_basket

Type: boolean

Description: True if a coupon with multiple codes can have different codes used on the same basket or order. If the coupon type does not support this configuration, this will return false.

Constraints:

JobExecution

Element Change API 21.6 23.2
Property Removed Data

Name: log_file_name

Type: String

Description: Name of the log file, containing execution log.

Constraints:

N/A

Order

Element Change API 21.6 23.2
Property Added Shop N/A

Name: grouped_tax_items

Type: [GroupedTax]

Description: Tax values that are summed and grouped based on the tax rate. The tax totals of the line items with the same tax rate will be grouped together and summed up. This will not affect calculation in any way.

Constraints:

Property Added Shop N/A

Name: guest

Type: boolean

Description: The registration status of the customer.

Constraints:

Property Added Shop N/A

Name: tax_rounded_at_group

Type: boolean

Description: If the tax is rounded at group level then this is set to true, false if the tax is rounded at item or unit level

Constraints:

ProductInventoryRecordAllocation

Element Change API 21.6 23.2
Property Changed Data

Name: amount

Constraints:

Name: amount

Constraints: minNumberValue=0.0

X OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.