Skip to content

Commit

Permalink
Merge pull request #13 from Checkfront/update-webhook-response
Browse files Browse the repository at this point in the history
Update webhook response
  • Loading branch information
brandonellis committed Apr 10, 2018
2 parents 82b62f5 + e925a1a commit 558653e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.rst-content .highlight>pre {
line-height: 1.5em;
}
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,8 @@
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer
lexers['php'] = PhpLexer(startinline=True)


# Add custom CSS support
def setup(app):
app.add_stylesheet('css/custom.css')
10 changes: 9 additions & 1 deletion docs/ref/webhook/booking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ booking.customer
+---------------------------+------------------+----------------------------------------------------------------------------+
| Field | Type | Description |
+===========================+==================+============================================================================+
| **code** | *string* | The customer's unique account code |
+---------------------------+------------------+----------------------------------------------------------------------------+
| **name** | *string* | The customer's full name |
+---------------------------+------------------+----------------------------------------------------------------------------+
| **email** | *string* | The customer's email address |
Expand All @@ -64,6 +66,12 @@ booking.customer
| **phone** | *string* | The customer's phone number |
+---------------------------+------------------+----------------------------------------------------------------------------+

.. _note-booking-fields:

booking.fields
~~~~~~~~~~~~~~
Contains each of the form fields associated with a booking.

.. _note-booking-order:

booking.order
Expand Down Expand Up @@ -93,7 +101,7 @@ booking.order

booking.order.items.item
~~~~~~~~~~~~~~~~~~~~~~~~
An entry for *each* item in the booking exists will contain following fields:
An entry for *each* item in the booking will contain following fields:

+---------------------------+------------------+------------------------------------------------------------------------+
| Field | Type | Description |
Expand Down

0 comments on commit 558653e

Please sign in to comment.