Zettle by PayPal
App · 14 actions
Read POS purchases, stock, finance transactions and payouts, and add, look up or remove products in your Zettle product library.
Actions
| Action | What it does |
|---|---|
| Create product | Add a product with one price to your Zettle product library, so it shows on your point of sale. |
| Delete product | Delete a product from your Zettle product library for good, so it no longer shows on your point of sale. |
| Get finance balance | Get finance balance. |
| Get inventory balance | Get inventory balance. |
| Get inventory by location type | Get inventory by location type. |
| Get location inventory | Get location inventory. |
| Get product | Look up one product in your Zettle product library, with its variants and prices. |
| Get purchase | Get purchase. |
| List finance transactions | List finance transactions. |
| List inventory locations | List inventory locations. |
| List payouts | List payouts. |
| List product categories | List product categories. |
| List products | List every product in your Zettle product library, with each variant's price and SKU. |
| List purchases | List purchases. |
Create product
Add a product with one price to your Zettle product library, so it shows on your point of sale.
Inputs
- Name
nametextRequired - The product's name, such as Scarf.
- Price
pricenumberRequired - Its price in your account's currency, such as 12.50.At least 0.
- Currency
currencytextRequired - Your Zettle account's three-letter currency, such as GBP or EUR.
- VAT rate
vat_percentagetextRequired - The VAT rate, such as 20. It must be one of the rates in your Zettle account settings.
- Description
descriptiontext - Optional description.
- SKU
skutext - Optional SKU (your stock code).
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {
"currency": "example",
"name": "example",
"price": 1,
"uuid": "example",
"variant_uuid": "example"
}
}Delete product
Delete a product from your Zettle product library for good, so it no longer shows on your point of sale.
Inputs
- Product
product_idtextRequired - The product, from List products or Create product.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {
"success": true
}
}Get finance balance
Get finance balance.
Inputs
- Account type group
account_type_grouptextRequired - Account type group.One of:
PRELIMINARY,LIQUID.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {
"currencyId": "example",
"totalBalance": 1
}
}Get inventory balance
Get inventory balance.
Inputs
None.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {}
}Get inventory by location type
Get inventory by location type.
Inputs
- Location type
location_typetextRequired - Location type.One of:
STORE,SOLD,BIN,SUPPLIER.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {}
}Get location inventory
Get location inventory.
Inputs
- Location
location_idtextRequired - Location ID.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {}
}Get product
Look up one product in your Zettle product library, with its variants and prices.
Inputs
- Product
product_idtextRequired - The product, from List products or Create product.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {
"created": "example",
"description": "example",
"name": "example",
"updated": "example",
"uuid": "example",
"variants": [
{
"name": "example",
"price": {
"amount": 1,
"currencyId": "example"
},
"sku": "example",
"uuid": "example"
}
],
"vatPercentage": "example"
}
}Get purchase
Get purchase.
Inputs
- Purchase ID
purchase_idtextRequired - Purchase ID.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {
"amount": 1,
"payments": [
{}
],
"products": [
{}
],
"purchaseUUID": "example",
"timestamp": "example"
}
}List finance transactions
List finance transactions.
Inputs
- Account type group
account_type_grouptextRequired - Account type group.One of:
PRELIMINARY,LIQUID. - Start
startdate and timeRequired - The start time in UTC (inclusive) from when the transactions will be fetched.
- End
enddate and timeRequired - The end time in UTC (exclusive) before when the transactions will be fetched.
- Limit
limitnumber - Limit.
Outputs
datalist- The response from Zettle by PayPal.
Example output
{
"data": [
{
"amount": "example",
"originatorTransactionType": "example",
"originatorTransactionUuid": "example",
"timestamp": "example"
}
]
}List inventory locations
List inventory locations.
Inputs
None.
Outputs
datalist- The response from Zettle by PayPal.
Example output
{
"data": [
{
"name": "example",
"type": "example",
"uuid": "example"
}
]
}List payouts
List payouts.
Inputs
None.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {
"currencyId": "example",
"discountRemaining": 1,
"nextPayoutAmount": 1,
"periodicity": "example",
"totalBalance": 1
}
}List product categories
List product categories.
Inputs
None.
Outputs
datalist- The response from Zettle by PayPal.
Example output
{
"data": [
{
"name": "example",
"uuid": "example"
}
]
}List products
List every product in your Zettle product library, with each variant's price and SKU.
Inputs
None.
Outputs
datalist- The response from Zettle by PayPal.
Example output
{
"data": [
{
"created": "example",
"description": "example",
"name": "example",
"updated": "example",
"uuid": "example",
"variants": [
{
"name": "example",
"price": {
"amount": 1,
"currencyId": "example"
},
"sku": "example",
"uuid": "example"
}
],
"vatPercentage": "example"
}
]
}List purchases
List purchases.
Inputs
- Start date
start_datedate and time - Start date.
- End date
end_datedate and time - End date.
- Limit
limitnumber - Limit.From 1 to 1000.
- Cursor
cursortext - Cursor.
- Descending
descendingtrue/false - Descending.
Outputs
dataobject- The response from Zettle by PayPal.
Example output
{
"data": {
"lastPurchaseHash": "example",
"linkUrls": [
"example"
],
"purchases": [
{
"amount": 1,
"payments": [
{}
],
"products": [
{}
],
"purchaseUUID": "example",
"timestamp": "example"
}
]
}
}