Formulas
Available methods to call
- getInvoiceById
- getOrderById
- patchUpdateOrder
- getProductById
- getProductByAny
- getIssueById
- updateProductField
- getCollectionRecords
- createCollectionRecord
- createProductAttributeValue
- assignAttributeToProduct
- runChatGptQuery
- runDeepLTranslationQuery
Example formula that updates an order custom field
let request = {
customFields: {data: new Date()}
}
const err = API.patchUpdateOrder(data.orderId, request)