@redotech/redo-api-schema 2.2.418 → 2.2.423
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/openapi.d.ts +10 -0
- package/lib/openapi.yaml +7 -1
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -76,6 +76,11 @@ export interface paths {
|
|
|
76
76
|
/**
|
|
77
77
|
* Update Return Status
|
|
78
78
|
* @description Update return status.
|
|
79
|
+
*
|
|
80
|
+
* Certain status transitions trigger additional side effects to maintain data consistency:
|
|
81
|
+
*
|
|
82
|
+
* - Setting status to **complete** will also mark all return items as complete.
|
|
83
|
+
* - Setting status to **open** from **complete** or **rejected** will reopen the return, resetting all processed/rejected items back to open, clearing pending processing info, resetting the expiration date, and marking the return as reopened. **Note:** Reopening a processed return does not reverse any refunds, exchanges, or other actions that were performed during processing.
|
|
79
84
|
*/
|
|
80
85
|
put: operations["Return status update"];
|
|
81
86
|
};
|
|
@@ -1878,6 +1883,11 @@ export interface operations {
|
|
|
1878
1883
|
/**
|
|
1879
1884
|
* Update Return Status
|
|
1880
1885
|
* @description Update return status.
|
|
1886
|
+
*
|
|
1887
|
+
* Certain status transitions trigger additional side effects to maintain data consistency:
|
|
1888
|
+
*
|
|
1889
|
+
* - Setting status to **complete** will also mark all return items as complete.
|
|
1890
|
+
* - Setting status to **open** from **complete** or **rejected** will reopen the return, resetting all processed/rejected items back to open, clearing pending processing info, resetting the expiration date, and marking the return as reopened. **Note:** Reopening a processed return does not reverse any refunds, exchanges, or other actions that were performed during processing.
|
|
1881
1891
|
*/
|
|
1882
1892
|
"Return status update": {
|
|
1883
1893
|
parameters: {
|
package/lib/openapi.yaml
CHANGED
|
@@ -830,7 +830,13 @@ paths:
|
|
|
830
830
|
tags:
|
|
831
831
|
- Returns
|
|
832
832
|
put:
|
|
833
|
-
description:
|
|
833
|
+
description: |
|
|
834
|
+
Update return status.
|
|
835
|
+
|
|
836
|
+
Certain status transitions trigger additional side effects to maintain data consistency:
|
|
837
|
+
|
|
838
|
+
- Setting status to **complete** will also mark all return items as complete.
|
|
839
|
+
- Setting status to **open** from **complete** or **rejected** will reopen the return, resetting all processed/rejected items back to open, clearing pending processing info, resetting the expiration date, and marking the return as reopened. **Note:** Reopening a processed return does not reverse any refunds, exchanges, or other actions that were performed during processing.
|
|
834
840
|
operationId: Return status update
|
|
835
841
|
parameters:
|
|
836
842
|
- $ref: '#/components/parameters/return-id.param'
|
package/package.json
CHANGED