@longvansoftware/storefront-js-client 2.7.1 → 2.7.2
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.
|
@@ -17,5 +17,5 @@ export declare class PortalService extends Service {
|
|
|
17
17
|
shipmentParameter(orderId: string): Promise<any>;
|
|
18
18
|
connectShipment(orderId: string, byUser: string): Promise<any>;
|
|
19
19
|
ffmStage(orderId: string): Promise<any>;
|
|
20
|
-
completeCancelFFMOrder(orderId: string, note: string,
|
|
20
|
+
completeCancelFFMOrder(orderId: string, note: string, reason: string): Promise<any>;
|
|
21
21
|
}
|
|
@@ -204,13 +204,13 @@ class PortalService extends serviceSDK_1.Service {
|
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
completeCancelFFMOrder(orderId, note,
|
|
207
|
+
completeCancelFFMOrder(orderId, note, reason) {
|
|
208
208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
209
209
|
const endpoint = `/fulfillment-api/public/fulfillment/FOX/${orderId}/completeCancelOrder`;
|
|
210
210
|
const method = "PUT";
|
|
211
211
|
const reqData = {
|
|
212
212
|
note: note,
|
|
213
|
-
|
|
213
|
+
reason: reason,
|
|
214
214
|
};
|
|
215
215
|
try {
|
|
216
216
|
const response = yield this.restApiCallWithNoHeader(endpoint, method, reqData);
|