Create a manual customer receipt.
- Method:
POST - Path:
/customers/{customerId}/receipts - Operation ID:
createCustomerReceipt - Tags: Customers
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
customerId | string | Yes |
Header Parameters
| Name | Type | Required | Description |
|---|---|---|---|
x-tl-api-key | string | Yes |
Request Body
application/json
Schema: object
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Receipt display name |
date | string | No | Optional receipt date in UTC |
description | string | No | Optional notes for this receipt |
amount | number | Yes | Receipt amount in venue currency |
orderType | string | No | Order type |
countAsVisit | boolean | No | When true, this receipt contributes to visit count and visit dates |
Responses
201
Updated customer response object.
- Content-Type:
application/json- Schema:
object
- Schema:
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | |
email | string | No | |
phone | string | No | |
birthday | string | No | |
stats | object | No | |
flags | object | No | |
social | object | No | |
marketingOptIn | boolean | No | |
marketingOptInDate | string | No | |
marketingOptInSignature | string | No | |
notes | string | No | |
tags | array<string> | No | |
receipts | array<object> | No | Customer manual receipts |
default
unexpected error
- Content-Type:
application/json- Schema:
object
- Schema:
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | |
errors | array<object> | Yes | |
errorData | object | No |