Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The customer decides to cancel the order at the shop
  • The shop forwards the cancel request per orderline to CB with the operation cancelOrderLine.The operation confirms a successful cancellation
  • The shop confirms the cancellation to the customer
  • CB informs the shop that the complete order is cancelled with the operation notifyOrder and status event Cancelled

Alternative Flow 4 – partial customer cancellation

The customer orders multiple products, but decides to cancel at least one of the orderlines but not all shortly after ordering.

...

The customer orders one or more products, but decides to cancel the order during the service window.

Image RemovedImage Added

Flow description:

  • The customer puts multiple products in the shopping basket
  • The shop forwards the order to CB with the operation placeOrder. The operation confirms acceptance of the order
  • CB verifies the order, the shop is notified with the operation notifyOrder and status event In Progress


  • The customer decides to cancel the order in the shop
  • The shop forwards the cancel request per orderline to CB with the operation cancelOrderLine. The operation confirms receipt of the cancellation request during the service window


  • CB confirms a successful cancellation of the order after the service window ended to the shop with the operation notifyOrder and status event Cancelled
  • The shop confirms the cancellation to the customer

Webservice operations

This chapter describes the operations including some special remarks. Webservices are defined in the English language, available values in enumerations are also in human readable English (if possible).

Responses

The operations reply with a http response code as indication of the result. Regular http codes 200 and 204 indicate a successful request, codes like 400 and 404 indicate a failure.


Error messages

When the request is not successful the response includes an error message to identify the reason. Error codes are grouped into:

  • WXX The request does not comply with the yaml definition;
  • WMS Authorization failures;
  • WMO The request encountered a mapping error, mainly due to incorrect shipment date(s);
  • WSP No body supplied;
  • OMS A supplied value encountered a functional error, like unknown SKU.