Predefined email list for orders - celdotro/marketplace GitHub Wiki

About

Returns a list of IDs and names of predefined emails for actions related to an order

Class

use celmarket\Email\EmailOrder

Method

getOrderEmailList

API

  • method: email
  • action: getOrderEmailList

Parameters

(no parameter)

Response

An object with the following attributes

  • (attribute)
    • (attribute's name) = message's ID
    • (attribute's value) = message's name

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Email/1.getOrderEmailList.php

Example - JSON

{
  "request": {
    
  },
  
  "response": {
    "1": "X"
  }
}
⚠️ **GitHub.com Fallback** ⚠️