Operations related to authentication tokens
Channel Tagging system. (ex: Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards compatibility with property request "SalesType".
Promotion Coupon Code. Balance will be deducted. Discount must exist in request PAYLOAD according to the discount value.
Delivery Status. Backwards compatibility with property "Delivery". Default: Sent, Unsent.
The number of points to redeem (when redeemed points is > 0, DiscountAmount will be auto calculated by the system based on RedeemPointValue configuration).
Number associated with a specific invoice issued to a customer from the marketplace channel. Backwards compatibility with property PurchaseOrderNumber.
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'UpdateCustomer: false' \
-H 'WriteOff: false' \
-d '{
"Outlet": "Outlet1",
"Number": "20.05.00001",
"Date": "2020-05-27",
"SalesPerson": "Sales 1",
"Tag": "Tokopedia",
"TaxType": "No Tax",
"Register": "Outlet1",
"Discount1": 0,
"Discount2": 0,
"DiscountAmount": 0,
"Coupon": 887799,
"Fulfillment": "Sent",
"LogisticServiceCode": "JNE-R",
"Note": "Invoice Note",
"PointUsed": 5,
"ReferenceNumber": "TKP001",
"Customer": {
"Name": "Hendry Wijaya",
"Email": "Hendry@dealpos.com",
"Mobile": 81514515156,
"Code": "HW021",
"Address": "Muara Karang no.88"
},
"Variants": [
{
"Code": 200535,
"Quantity": 20,
"Price": 50000,
"Discount": 0,
"Note": "Item 1"
},
{
"Code": "1315L",
"Quantity": 10,
"Price": 50000,
"Discount": 0,
"Note": "Item 2"
}
],
"Payments": [
{
"Amount": 145000,
"Method": "Cash",
"Code": "C001",
"Note": "Complete payment"
}
]
}'
{ "ID": "bc85c04d-8e6d-4592-bc8d-85f3d854b156", "Number": "18.10.00009" }
Channel Tagging system. (ex: Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards compatibility with property request "SalesType".
Promotion Coupon Code. Balance will be deducted. Discount must exist in request PAYLOAD according to the discount value.
Delivery Status. Backwards compatibility with property "Delivery". Default: Sent, Unsent.
The number of points to redeem (when redeemed points is > 0, DiscountAmount will be auto calculated by the system based on RedeemPointValue configuration).
Where fulfillment is done from a different Outlet. When this property is null or not specified, it will get data from property "Outlet".
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "20.05.00001",
"Date": "2020-05-27",
"SalesPerson": "Sales 1",
"Tag": "Tokopedia",
"TaxType": "No Tax",
"Discount1": 0,
"Discount2": 0,
"DiscountAmount": 0,
"Fulfillment": "Sent",
"PurchaseOrderNumber": "TKP001",
"Customer": {
"Name": "Hendry Wijaya",
"Email": "Hendry@dealpos.com",
"Phone": "02165498468",
"Mobile": "081514515156",
"Code": "HW021"
},
"Variants": [
{
"Code": "200535",
"Quantity": "10",
"Price": "50000",
"Discount": 0,
"Note": "Item 1"
},
{
"Code": "1315L",
"Quantity": "10",
"Price": "50000",
"Discount": 0,
"Note": "Item 2"
}
],
"Payments": [
{
"Amount": "100000",
"Method": "Cash",
"Code": null,
"Note": null
}
]
}'
{ "ID": "e9e1edbd-3e37-4845-b243-e680fbd4b30c" }
Request can be send with payload Outlet+Number / OutletID + Number /InvoiceID only
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "LM3002"
}'
"Invoice has been delete!{}"
Also available as HTTP POST with the same endpoint
Get Invoice List by Multiple Outlet
Outlet name. (Only for access outlet Read/Write that given to the user)
Channel Tagging system.(ex: Tokopedia, Shopee)
Payment status / progress of the invoice
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Invoice/MultipleOutlet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"PageNumber": 1,
"PageSize": 20,
"Outlet": [
"Outlet1",
"Outlet2"
],
"Tag": [
"Tokopedia",
"Shopee"
],
"PaymentState": "Paid",
"Fulfillment": "Sent",
"Email": "johndoe@email.com",
"Mobile": "08112345",
"Bin": false,
"Note": "Invoice Note"
}'