Skip to content

Commit

Permalink
Update webhook response (#16)
Browse files Browse the repository at this point in the history
* Update example payloads

* Update customer docs to reflect updated payloads

* Revert change to the booking.customer examples
  • Loading branch information
brettgoss committed Apr 10, 2018
1 parent 42e631d commit 3b79d7a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions docs/examples/response/webhook-booking.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"end_date": "1394128800",
"customer": {
"code": "BT5-386-579",
"customer_name": "Your Customer",
"customer_email": "support@checkfront.com",
"customer_region": "BC",
"customer_address": "170-422 Richards Street",
"customer_city": "Vancouver",
"customer_country": "CA",
"customer_phone": "1 (800) 559-0985",
"customer_postal_zip": "V6B 2Z4"
"name": "Your Customer",
"email": "support@checkfront.com",
"region": "BC",
"address": "170-422 Richards Street",
"city": "Vancouver",
"country": "CA",
"phone": "1 (800) 559-0985",
"postal_zip": "V6B 2Z4"
},
"fields": {
"customer_name": "Your Customer",
Expand Down
16 changes: 8 additions & 8 deletions docs/examples/response/webhook-booking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<end_date>1394128800</end_date>
<customer>
<code>BT5-386-579</code>
<customer_name>Your Customer</customer_name>
<customer_email>support@checkfront.com</customer_email>
<customer_region>BC</customer_region>
<customer_address>170-422 Richards Street</customer_address>
<customer_city>Vancouver</customer_city>
<customer_country>CA</customer_country>
<customer_phone>1 (800) 559-0985</customer_phone>
<customer_postal_zip>V6B 2Z4</customer_postal_zip>
<name>Your Customer</name>
<email>support@checkfront.com</email>
<region>BC</region>
<address>170-422 Richards Street</address>
<city>Vancouver</city>
<country>CA</country>
<phone>1 (800) 559-0985</phone>
<postal_zip>V6B 2Z4</postal_zip>
</customer>
<fields>
<customer_name>Your Customer</customer_name>
Expand Down

0 comments on commit 3b79d7a

Please sign in to comment.