This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, we are developing some processes to automatically handle orders creation and all the lifecycle. We kindly need some clarifications about all the order statuses and every possible workflows.
From the OAS documentation:
This is a bit confusing since the first object (response from post order) and the second object (response from the retrieve order) should have the same statuses (the only example for the second object is not in the list of the possible values for first object).
In addition to this, searching in this forum we found this FAQ (https://e2e.ti.com/support/enterprise-automation-integration-group/enterprise-automation-integration/f/enterprise-automation-integration-forum/1159378/faq-ti-api-api-order-status-codes-and-meanings/4358978?tisearch=e2e-sitesearch&keymatch=status%20shipped#4358978) which provides another different set of statuses.
We would like to have a complete and detailed list of all statuses that the fields orderCreateResponse.orderStatus and orderSummary.orderStatus (which we suppose are the same) can have, along with all possible workflows.
Many thanks in advance, every documentation, information, example would be very appreciated.
Hi Siret,
The statuses that are found in the FAQ ( https://e2e.ti.com/support/enterprise-automation-integration-group/enterprise-automation-integration/f/enterprise-automation-integration-forum/1159378/faq-ti-api-api-order-status-codes-and-meanings/4358978?tisearch=e2e-sitesearch&keymatch=status%20shipped#4358978 ) include ORDER PROCESSING and PAYMENT statuses. It is a comprehensive list of all of the statuses and descriptions, but, I need to research and possibly add "Acceptance Required" to the list. Since it is listed as a possible option, please include it in your list of options as well.
Here are the different orderCreateResponse statuses:
The orderStatuses are a subset of the FAQ statuses.
IMPORTANT: Use the syntaxing that is published on the API portal/spec (e.g. "In-Work")
We do not have published workflows, but, we do provide you with a list of all of the possible errors codes and their meanings:
Hope this helps! Let me know if you have any other questions, otherwise, I will close this thread.
Regards,
Faye
Hi Faye,
thanks for the tempestive response, ok so we can assume that the list in the FAQ (+ "Acceptance Required") is the complete and official? I have a couple of other questions:
Many thanks in advance.
Hi Siret,
To follow up on your questions above:
Regards,
Faye
Hi Faye,
first of all thanks for the replay, I'll write a quick recap of every status just to be clearer, can you please confirm or explain these last doubts?
Processing -> is it always the first status? (the one and only status retrieved by the post order test endpoint /store/orders/test, actually the endpoint returns PROCESSING), TI has accepted the order (response code 201) but it is elaborating the payment?
Acceptance Required -> ?
Created -> the order has been accepted and the payment as well, so we can consider the order as confirmed or after this status the order can still end in status Cancelled?
Submitted -> it is always after the status Created? Can we always consider it as a pending status between the creation and the completion of the order?
Cancelled -> this status can appear anytime (for example after the created/submitted/in-work statuses)?
In-Work -> it is always after the status Created? Can we always consider it as a pending status between the creation and the completion of the order?
Complete -> last status? all the invoices are ready to be retrieved from the dedicated API?
These are all the values that the field orderStatus can assume?
Many thanks in advance.
Hi Siret,
Let me provide clearer meanings for this and send it back later today. I want to make sure it's aligned with the system owner(s).
Regards,
Faye
Hi Siret,
I spoke with a peer and we tried to walk through the order processing flows based on the payment method. Note: This is our interpretation, so, we might have made a mistake(s) and reserve the right to make correction. Hopefully this will be sufficient for the purposes that you need.
Once an API order is submitted, the order could display a different status, depending on how quickly the order processes and your payment method (Apruve, Line of Credit, Bank Transfer, etc..). This is a rough summary (based on what we can put together).
Important: ** We reserve the right to be corrected; This is our rough summary of the workflow; **
-------------------------
High-level Order flows, based on payment method:
Apruve or Line of Credit: Created --> Processing* --> In Work --> Shipped --> Complete
Bank Transfer: Submitted --> Payment Pending** --> Approved --> Complete
Statuses that apply to all types of payment methods:
Notes:
================================
Payment statuses:
Options that apply to all payment methods:
Bank Transfer statuses:
Other:
Hope this helps! Let me know if you need anything else.
Faye
**Attention** This is a public forum