Below are the written steps to take to complete the test cases in the API.
Test Case Summary (see further below for the steps to take for each test):
- Test Case 1 - Singe Line PO
- The purpose of this test is to process a single line PO by accepting, shipping and invoicing the item ordered, using the shipping method requested.
- Test Case 2 - Multiple Line PO
- The purpose of this test is to accept/ship/invoice multiple items while specifying which items go in several boxes.
- The purpose of this test is to accept/ship/invoice multiple items while specifying which items go in several boxes.
- Test Case 3 - Multiple Line PO Cancellation/Discontinued:
- The purpose of this test is to cancel the the items of the order, and to discontinue (aka NLA or Obsolete) one of the items
- Test Case 4 - Multiple Line PO - Backorder
- The purpose of this test is to backorder the first line, ship/invoice the 2nd line, update the backorder date on the 1st line, then ship/invoice the 1st line. This test is optional if the vendor does not support backorders.
- Test Case 5 - Multiple Line PO - Multiple Invoices
- The purpose of this test is to acknowledge the whole order, partially ship/invoice the two lines separately, and provide a substitution. There are two test options, depending on whether you can process a substitution or not. You only do one of the following:
- Test Case 5 - Multiple Line PO - Multiple Invoices: Acknowledge, ship and invoice the various lines separately OR
- Test Case 5A - Multiple Line PO - Substitution/Multiple Invoices: Acknowledge, ship and invoice the various lines separately while substituting line 2.
- The purpose of this test is to acknowledge the whole order, partially ship/invoice the two lines separately, and provide a substitution. There are two test options, depending on whether you can process a substitution or not. You only do one of the following:
Test Case 1 - Single Line PO
Step |
Document |
Description |
API |
1 |
Order |
Logicbroker will send order and will contain one line item. |
1. Call Endpoint GET /api/v1/Orders to get list of orders in status Submitted (100); Logicbroker Keys will be provided in response.
2. Use the Logicbroker Keys to get the order details from endpoint GET /api/v1/Orders/{LogicbrokerKey}
3. For each order successfully picked up, the status should be updated to Ready to Ship (500) using endpoint PUT /api/v1/Orders/{LogicbrokerKey}/Status/{Status} |
2 |
Acknowledgement |
Acknowledgement should contain all items with all quantities being accepted. |
Acknowledgement can be submitted through the following endpoint POST /api/v1/Acknowledgements |
3 |
Shipment |
Shipment will only need to contain one package and tracking number. All information required will be validated upon submission through the portal. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
5 |
Invoice |
Invoice will be for all items on the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
Test Case 2 - Multiple Line PO
Step |
Document |
Description |
API |
1 |
Order |
Logicbroker will send order and will contain three lines of items. |
1. Call Endpoint GET /api/v1/Orders to get list of orders in status Submitted (100); Logicbroker Keys will be provided in response.
2. Use the Logicbroker Keys to get the order details from endpoint GET /api/v1/Orders/{LogicbrokerKey}
3. For each order successfully picked up, the status should be updated to Ready to Ship (500) using endpoint PUT /api/v1/Orders/{LogicbrokerKey}/Status/{Status} |
2 |
Acknowledgement |
Acknowledgement should contain all items with all quantities being accepted. |
Acknowledgement can be submitted through the following endpoint POST /api/v1/Acknowledgements |
3 |
Shipment |
Shipment will use SOPI structure – Multiple packages specifying products in each container. All information required will be validated upon submission through the portal.
You will need to make sure to ship the order in 3 different boxes (3 different tracking numbers). In the first box Line Items #1 and 2 will be shipped. In the second box a quantity of 2 for line item #3, and a quantity of 1 of line item #3 in the last box. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
5 |
Invoice |
Invoice will be for all items on the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
Test Case 3 - Multiple Line PO - Cancellation/Discontinued
Step |
Document |
Description |
API |
1 |
Order |
Logicbroker will send order and will contain two line items. |
1. Call Endpoint GET /api/v1/Orders to get list of orders in status Submitted (100); Logicbroker Keys will be provided in response.
2. Use the Logicbroker Keys to get the order details from endpoint GET /api/v1/Orders/{LogicbrokerKey}
3. For each order successfully picked up, the status should be updated to Ready to Ship (500) using endpoint PUT /api/v1/Orders/{LogicbrokerKey}/Status/{Status} |
2 |
Acknowledgement |
Acknowledgement should be submitted to cancel all items. The second line item should be cancelled but also discontinued. QP is the code used to delineate a discontinued item for the Change Reason. This is the only way to list an item as discontinued. It also communicates to Sears Home Services to stop sending future orders for that item.
|
Acknowledgement can be submitted through the following endpoint POST /api/v1/Acknowledgements |
Test Case 4 - Multiple Line PO - Backorder
Step |
Document |
Description |
API |
1 |
Order |
Logicbroker will send order and will contain two line items. |
1. Call Endpoint GET /api/v1/Orders to get list of orders in status Submitted (100); Logicbroker Keys will be provided in response.
2. Use the Logicbroker Keys to get the order details from endpoint GET /api/v1/Orders/{LogicbrokerKey}
3. For each order successfully picked up, the status should be updated to Ready to Ship (500) using endpoint PUT /api/v1/Orders/{LogicbrokerKey}/Status/{Status} |
2 |
Acknowledgement #1 |
The acknowledgement should be submitted as a backorder for the first line item (quantity 2) and a regular acceptance acknowledgement for the second line item. The estimated ship date must be included. |
Acknowledgement can be submitted through the following endpoint POST /api/v1/Acknowledgements |
3 |
Shipment #1 |
Shipment will use SOPI structure – Multiple packages specifying remainder products in each container. All information required will be validated upon submission through the portal. In this first shipment, ship the 2nd line item only. Remember that the 1st line item is on backorder. Be sure to use the same shipping method as requested on the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
5 |
Invoice #1 |
There will be two invoices for the order, one for each shipment created. In this first invoice, you will invoice the 2nd line item. Remember that the 1st line item is on backorder. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
6 |
Acknowledgement #2 |
You are now going to update the backorder date for the 1st line item to a NEW backorder date from the date you original chose. The purpose of this step is to walk you through how to update the backorder date when there is a change in the date. |
Acknowledgement can be submitted through the following endpoint POST /api/v1/Acknowledgements |
7 |
Shipment #2 |
In this second shipment, ship the 1st line item. While you've updated the backorder date on this line item twice now (original date and an updated date), we're going through the shipping/invoicing steps to complete the test order. Be sure to use the same shipping method as requested on the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
8 |
Invoice #2 |
There will be two invoices for the order, one for each shipment created. In this second invoice, you will invoice the 1st line item. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
Test Case 5 - Multiple Line PO - Multiple Invoices
IMPORTANT: You only need to do Test Case 5 OR Test Case 5A, not both. If you are able to do substitutions, proceed to Test Case 5A further below.
Step |
Document |
Description |
API |
1 |
Order |
Logicbroker will send order and will contain two line items. |
1. Call Endpoint GET /api/v1/Orders to get list of orders in status Submitted (100); Logicbroker Keys will be provided in response.
2. Use the Logicbroker Keys to get the order details from endpoint GET /api/v1/Orders/{LogicbrokerKey}
3. For each order successfully picked up, the status should be updated to Ready to Ship (500) using endpoint PUT /api/v1/Orders/{LogicbrokerKey}/Status/{Status} |
2 |
Acknowledgement |
The acknowledgement should contain all items with all quantities being accepted. The estimated ship date should be included. |
Acknowledgement can be submitted through the following endpoint POST /api/v1/Acknowledgements |
3 |
Shipment #1 |
Shipment will use SOPI structure – Multiple packages specifying remainder products in each container. All information required will be validated upon submission through the portal.
You will need to make sure to ship the order in 2 different shipments (2 different tracking numbers). In the first shipment, the first line item will be shipped with only a quantity 2 and the second line item will be shipped with a quantity 1. Be sure to use the same shipping method as requested on the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
5 |
Invoice #1 |
There will be two invoices for the order, one for each shipment created. In this first invoice, you will invoice the items shipped (Line 1, quantity 2 and Line 2, quantity 1). |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
6 |
Shipment #2 |
In the second shipment, the remaining quantity of 1 from the first line item should be shipped. Be sure to use the same shipping method as requested on the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
7 |
Invoice #2 |
In this 2nd invoice, you will invoice the item shipped, Line 1, quantity 1. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
Test Case 5A - Multiple Line PO - Substitution/Multiple Invoices
IMPORTANT: You only need to do Test Case 5 OR Test Case 5A, not both. If you are NOT able to do substitutions, proceed to Test Case 5 above.
Step |
Document |
Description |
API |
1 |
Order |
Logicbroker will send order and will contain two line items. |
1. Call Endpoint GET /api/v1/Orders to get list of orders in status Submitted (100); Logicbroker Keys will be provided in response.
2. Use the Logicbroker Keys to get the order details from endpoint GET /api/v1/Orders/{LogicbrokerKey}
3. For each order successfully picked up, the status should be updated to Ready to Ship (500) using endpoint PUT /api/v1/Orders/{LogicbrokerKey}/Status/{Status} |
2 |
Acknowledgement |
The acknowledgement should contain all items with all quantities being accepted. The estimated ship date should be included.
NOTE: For the substitution, use the field labeled "SubstitutePartNumber" to put in the NEW SKU that in the place of the originally ordered SKU. |
Acknowledgement can be submitted through the following endpoint POST /api/v1/Acknowledgements |
3 |
Shipment #1 |
Shipment will use SOPI structure – Multiple packages specifying remainder products in each container. All information required will be validated upon submission through the portal.
You will need to make sure to ship the order in 2 different shipments (2 different tracking numbers). In the first shipment, the first line item will be shipped with only a quantity 2 and the second line item will be shipped with a quantity 1. Be sure to use the same shipping method as requested on the order.
|
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
5 |
Invoice #1 |
There will be two invoices for the order, one for each shipment created. You will need to make sure to ship the order in 2 different invoices (2 different tracking numbers) NOTE: For the substitution, use the field labeled "SubstitutePartNumber" to put in the NEW SKU that in the place of the originally ordered SKU for the 2nd line of the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
6 |
Shipment #2 |
In the second shipment, the remaining quantity of 1 from the first line item should be shipped. Be sure to use the same shipping method as requested on the order. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Shipments |
7 |
Invoice #2 |
In the second invoice, the remaining quantity of 1 from the first line item should be shipped. |
Submit the shipment through endpoint POST /api/v1/Orders/{LogicbrokerKey}/Invoices |
Comments
0 comments
Article is closed for comments.