zReports integrates stock control and accounting with data from your restaurant/bar POS system. You can upload data and receive notifications about activity in your account.
Status: Preview |
Tier: Premium |
Version: 1.0 |
Name |
Summary |
Get list of stores |
|
Deletes specified hook |
|
UploadDocument (string brandId, string storeId, file document) |
Upload delivery or invoice document |
Name |
Summary |
NewDispatchAdvice (string brandId, NewDispatchAdviceParameterBody body) |
When a despatch advice is received |
When an invoice is received |
Name |
Summary |
|
|
Document |
|
|
|
|
|
|
Summary: Get list of stores
Description: Get list of stores that one can upload documents to and receive EDI notifications for.
Syntax:
zReports.GetStores ()
Returns:
Type:array of (GetStoresResponseItem)
Summary: Deletes specified hook
Description: Deletes specified hook.
Syntax:
zReports.DeleteHook (string brandId, string hookId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
brandId |
string (Brand ID) |
The brand identifier. |
True |
|
hookId |
string (Hook ID) |
The hook identifier. |
True |
Returns:
Summary: Upload delivery or invoice document
Description: Upload delivery or invoice document.
Syntax:
zReports.UploadDocument (string brandId, string storeId, file document)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
brandId |
string (Brand ID) |
The brand identifier. |
True |
|
storeId |
string (Store ID) |
The store identifier. |
True |
|
document |
(Document) |
The document to be uploaded. |
True |
Returns:
Summary: When a despatch advice is received
Description: When an EDI despatch advice document is received by zReports this notification is triggered.
Syntax:
zReports.NewDispatchAdvice (string brandId, NewDispatchAdviceParameterBody body)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
brandId |
string (Brand ID) |
The brand identifier. |
True |
|
body |
NewDispatchAdviceParameterBody
|
|
True |
Returns:
Type:CreateWebhookResponseBody
Summary: When an invoice is received
Description: When an EDI invoice document is received by zReports this notification is triggered.
Syntax:
zReports.NewInvoice (string brandId, NewInvoiceParameterBody body)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
brandId |
string (Brand ID) |
The brand identifier. |
True |
|
body |
|
|
True |
Returns:
Type:CreateWebhookResponseBody
Summary:
Description:
Properties:
Name |
Type |
Summary |
event |
string
|
|
id |
string
|
|
url |
string
|
The delete hook URL. |
Summary: Document
Description: The document to be uploaded.
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
brandId |
string
|
brandId |
name |
string
|
name |
storeId |
string
|
storeId |
Summary:
Description:
Properties:
Name |
Type |
Summary |
storeIds |
string
|
The optional list of 3-digit store identifiers. |
url |
string
|
The URL to which payloads will be delivered. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
storeIds |
string
|
The optional list of 3-digit store identifiers. |
url |
string
|
The URL to which payloads will be delivered. |