Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default all Maileon transactions follow the the structure outlined by https://dev.maileon.com/api/implementation-guideline/implementation-guidelines-transactions/implementation-guidelines-order-confirmation

...

Property

...

Description

...

Example

...

order.id

...

The WooCommerce order id

...

“1234”

...

order.date

...

The time the transaction was sent at

...

“2020-06-26 15:43:00”

...

order.status

...

The order status

...

“completed”

...

order.fees

...

A JSON array of order fees

...

See below

...

order.total_fees

...

The sum of the fees

...

12.5

...

order.total_no_shipping

...

The order total without shipping

...

22.5

...

order.total_tax

...

The tax total for the order

...

0.5

...

order.refunds

...

An array of refunds associated with the order

...

See below

...

order.total

...

The order total

...

23.0

...

order.product_ids

...

A comma separated list of product ids

...

“15,14,32”

...

order.currency

...

The currency of the order

...

“EUR”

...

order.categories

...

A comma separated list of product category IDs

...

“12,3”

...

order.items

...

An array of products

...

See below

...

discount.total

...

The total discounted sum

...

0.0

...

discount.rules

...

A JSON array of applied discount rules

...

See below

...

customer.firstname

...

The billing first name for the order

...

“Max”

...

customer.lastname

...

The billing last name for the order

...

“Mustermann”

...

customer.id

...

The customer id

...

“1”

...

customer.fullname

...

The full name of the customer

...

“Max Mustermann”

...

billing.address.zip

...

The ZIP code for the billing address

...

“1234”

...

billing.address.country

...

The country code for the billing address

...

“HU”

...

billing.address.firstname

...

The billing first name for the order

...

“Max”

...

billing.address.lastname

...

The billing last name for the order

...

“Mustermann”

...

billing.address.fullname

...

The full name of the customer

...

“Max Mustermann”

...

billing.address.city

...

The billing address city

...

“Budapest”

...

billing.address.region

...

The billing address region

...

“BU”

...

billing.address.street

...

The billing address street

...

See Transaction Attributes Overview for details.

Initial permission level

The initial permission level for Maileon Contacts created through this plugin. If you have a DOI process enabled leave this on None as the DOI confirmation will set the appropriate permission after the contact has confirmed their address.

...