Order simulation for test purpose

Order simulation for test purpose

Order simulation for test purpose

In order to test the web service independently as much as possible, a test order based on a few characteristics, that the customer provides, must be processed fully automatically. The functionality described here is available on CB's test environment, but not on the production environment.

Operation of order simulation web service MediaOrderB2C

The order simulation functionality is built into the order handling and processing. 

Test articles

Articles available for test

ISBN

Titel

DiscountCode

ProductAvailability 

Stock 

YES/NO

9789029511537

MediaOrderB2C Title 1 

A

Reprint/Herdruk

NO

9789029585071

MediaOrderB2C Title 2 

A

Announced/Aangekondigd

NO

9789063055998

MediaOrderB2C Title 3

O

Not available/Uitverkocht

NO

9789045119731

MediaOrderB2C Title 4

S

In stock/Verschenen

YES

9789045119755

MediaOrderB2C Title 5

A

In stock/Verschenen

YES

9789025307349

MediaOrderB2C Title 6

A

In stock/Verschenen

YES

9789025308339

MediaOrderB2C Title 7

A

In stock/Verschenen

YES

9789025309640

MediaOrderB2C Title 8

A

In stock/Verschenen

YES

9789025309954

MediaOrderB2C Title 9

A

In stock/Verschenen

YES

9789029505598

MediaOrderB2C Title 10

A

In stock/Verschenen

YES

9789029506182

MediaOrderB2C Title 11

A

In stock/Verschenen

YES

9789029506335

MediaOrderB2C Title 12

A

In stock/Verschenen

YES

9789029506885

MediaOrderB2C Title 13 

A

In stock/Verschenen

YES

ONIX file with Product records:  

Results for customer

The customer is informed almost immediately when the order status is changed. The diagram below shows which stages are defined and which web service operations are used to communicate or make information available to the customer. 

 

Description:

  • The customer places one or more items in the shopping cart of a shop

  • The webshop submits the order to CB

  • CB checks the order and if accepted, CB sends an order notification with status event “In Progress”

  • CB reserves stock and releases the order (line) for logistics. The order line cannot be cancelled from that moment on. CB sends an order notification with status event “ProductionReady”

  • The webshop can retrieve the status of the order to see which order lines have been released

  • CB performs the order simulation and sends a shipment notification per shipment unit with status event “Processed”

  • The webhop can retrieve the details of each shipment unit and thus inform the customer.