MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / getOrderDetail

Function getOrderDetail

scripts/tiki_totalSpendMoney.js:94–99  ·  view source on GitHub ↗
(orderId)

Source from the content-addressed store, hash-verified

92 }
93
94 async function getOrderDetail(orderId) {
95 let res = await fetch(
96 `https://tiki.vn/api/v2/me/orders/${orderId}?include=items`
97 );
98 return await res.json();
99 }
100
101 let { closeLoading, setLoadingText } = showLoading("Đang chuẩn bị...");
102 try {

Callers 1

getStatisticsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected