0. Returned Order Flow Process
Seller Pays
flowchart LR
A["Returns that are in **WaitingInAction** status are approved (putApproveClaimLineItems)"]
B{"Returned order is going to be approved?"}
C["Customer creates a return request"]
D["Returned orders are retrieved from get Returned Orders Service (getClaims)"]
E["The customer's return reason is checked via the '**customerClaimItemReason**' field. (Return Reasons)"]
G["**claimIssueReasonId** is retrieved from Claim Issue Reasons service (getClaimIssueReasons)"]
H["Return reject request is sent for the returns that are in the **WaitingInAction** status (postCreateClaimIssue)"]
I["The status of return orders with a rejection request is checked via the Returned Order service (getClaims)"]
J["Orders with approved return rejection requests are shipped back to the customer (putUpdateTrackingNumber)"]
C --> D
D --> E
E --> B
G --> H
B -->|Yes| A
B -->|No| G
H --> I
I --> J
classDef style0 fill:#ffe6cc,stroke:#d79b00,stroke-width:2px
classDef style1 fill:#d5e8d4,stroke:#82b366,stroke-width:2px
classDef style2 fill:#f8cecc,stroke:#b85450,stroke-width:2px
class A,C,D,E,G,H,I,J style0
class B style1
class F style2Trendyol Pays
flowchart LR
A["Returns that are in **WaitingInAction** status are approved (putApproveClaimLineItems)"]
B{"Returned order is going to be approved?"}
C["Customer creates a return request"]
D["Returned orders are retrieved from get Returned Orders Service (getClaims)"]
E["The customer's return reason is checked via the '**customerClaimItemReason**' field. (Return Reasons)"]
G["**claimIssueReasonId** is retrieved from Claim Issue Reasons service (getClaimIssueReasons)"]
H["Return reject request is sent for the returns that are in the **WaitingInAction** status (postCreateClaimIssue)"]
I["The status of return orders with a rejection request is checked via the Returned Order service (getClaims)"]
J["Orders with approved return rejection requests are shipped back to the customer"]
C --> D
D --> E
E --> B
G --> H
B -->|Yes| A
B -->|No| G
H --> I
I --> J
classDef style0 fill:#ffe6cc,stroke:#d79b00,stroke-width:2px
classDef style1 fill:#d5e8d4,stroke:#82b366,stroke-width:2px
classDef style2 fill:#f8cecc,stroke:#b85450,stroke-width:2px
class A,C,D,E,G,H,I,J style0
class B style1
class F style2Updated 5 days ago