Professional Documents
Culture Documents
IPOS PublicApiv2Documentation 241222 0118 9496
IPOS PublicApiv2Documentation 241222 0118 9496
Table of Content
Table of Content
Authentication
Using iSeller OAuth Javascript SDK
Using Postman Tools
GetOrders
Parameters
Sample Usage
Response
Order
StoreOrderRefund
StoreOrderFulfilled
Billing / Shipping
OrderDetail
Promotion
Discount
Transaction
InventoryHistory
StoreInventoryModel
StoreInventoryPathModel
RefundDetails
CostOfGoodsSold
MDR
ShippingDetail
GetOrderSummary
Parameters
Sample Usage
Response
OrderSummary
StoreUnitHpp
StoreInventoryModel
StoreInventoryPathModel
GetTransactions
Parameters
Sample Usage
Response
Transaction
GetTransactionSummary
Parameters
Sample Usage
Response
TransactionSummary
CustomTransaction
GetProducts
Parameters
Sample Usage
Response
StoreProduct
ProductInventory
BuyingPriceModel
ProductIngredients
ProductVariants
ProductCombos
GetStoreInfo
Sample Usage
Response
StoreInfo
Outlet
PaymentType
GetRegisterShifts
Parameters
Sample Usage
Response
RegisterShifts
Change Logs
21 December 2022
14 April 2022
9 February 2022
21 December 2021
23 April 2020
22 September 2020
30 July 2020
22 July 2020
19 May 2020
30 April 2020
27 April 2020
3 April 2020
26 March 2020
Add parameter product_modifier_sku in OrderDetails and parameter product_sku in List of Object (InventoryHistory) on
GetOrders's API
26 February 2020
Authentication
To gain access to iSeller Public API you need to obtain access_token and resource_url.
The following steps shows you how to obtain the access_token and resource_url.
This will direct user to a grant page where user will need to grant access request to your app. After the grant process is done, iSeller will
redirects the request to specified APP_REDIRECT_URI for next process that will be handled in your app.
Parameter Type Optional Description
client_id String N A unique string issued by iSeller to you when your app was registered. This value represents your app
identifier. (e.g 81c80552094c44a1ab9afaba06dee032)
redirect_uri String N Redirect url that has been specified on your app. iSeller will redirect the request to this url after grant process is
done. The redirect url must be an absolute uri (e.g https://your.website/oauth/callback)
state String Y An opaque value used by the client to maintain state between the request and callback. iSeller will includes this
value when redirecting the user-agent back to the client. The parameter used for preventing cross-site request
forgery.
code String The issued authorization code. This value will be used to obtain access_token and resource_url in the next step (eg:
45b376b1079b4a598e3bb3ba2e8fad533d06a6caaf964bb89edbed3439bb4917)
state String The exact value that has been passed on previous step. Only exist when state was specified on previous step.
3. Requests an access token by making a post request to https://isellershop.com/oauth/token with the following parameters.
code String N The authorization code retrieved from the call back url (e.g
45b376b1079b4a598e3bb3ba2e8fad533d06a6caaf964bb89edbed3439bb4917)
redirect_uri String N Redirect url that has been specified on your app. The one specified in authroize request. (e.g https://your.website/
oauth/callback)
client_id String N A unique string issue by iSeller to you when your app was registered. (e.g
81c80552094c44a1ab9afaba06dee032)
client_secret String N A unique string issue by iSeller to you when your app was registered. (e.g
secret-CuVuh+4ZBjkVgrqLZVEpAi3c3bpYMEwUL)
This request will return you the access_token and resource_url along with other oauth info as follows.
{
"access_token":
"7YXNsIg5bMjWwLu1C5oLF7WRu4nTm762mRTVDENMnM4w9H8adYq9vHRVKtWC7...",
"token_type": "bearer",
"expires_in": 1209599,
"refresh_token": "qRifojWTvY6E4m-NphFwCjt4_2ejD_ArcXV5_DUF...",
"resource_url": "https://{storename}.isellershop.com"
}
4. You can than use access the iSellerApi from the resource_url, e.g https://storename.isellershop.com/api/v1/version by adding the
access_token to authorization header as follows.
5. If access token has expired, you could get new access token by making a post request to https://isellershop.com/oauth/token with the
following parameters.
refresh_token String N The refresh_token received along with the access_token (e.g
qRifojWTvY6E4m-NphFwCjt4_2ejD_ArcXV5_DUF...)
client_id String N A unique string issue by iSeller to you when your app was registered. (e.g
81c80552094c44a1ab9afaba06dee032)
client_secret String N A unique string issue by iSeller to you when your app was registered. (e.g
secret-CuVuh+4ZBjkVgrqLZVEpAi3c3bpYMEwUL)
This request will return result will be the same as request access token result in step 3.
How to use
Show iSeller's OAuth Grant Dialog that will guide user to grant your application access to his/her store.
clientId String N A unique string issue by iSeller to you when your app was registered. (e.g
81c80552094c44a1ab9afaba06dee032)
clientRedirectUrl String N Redirect url that has been specified on your app.
state String Y An opaque value used by the client to maintain state between the request and callback.
callback String Y Function that will be called when iSeller oauth grant dialog was closed. The first parameter of this function is
data passed when close oauth dialog.
3. After user grant access to your app, iSeller will redirects the request to specified clientRedirectUrl for next process that will be handled in
your app. Please follow the authentication step #2 and so on from the Authentication section above.
4. After the authentication process is done and you got the acces token. You can close the dialog from your clientRedirectUrl using the
following code.
window.parent.iSellerOAuth.Close();
Parameter Type Optional Description
data Any Y Data that will be passed to callback function that is specify on iSellerOAuth.Open.
https://www.getpostman.com/
Callback Redirect url that has been specified on your app. iSeller will redirect the request to this url after grant process is done. The
Url redirect url must be an absolute uri (e.g https://your.website/oauth/callback)
Access https://isellershop.com/oauth/token
Token Url
Client ID A unique string issue by iSeller to you when your app was registered. (e.g 81c80552094c44a1ab9afaba06dee032)
Client A unique string issue by iSeller to you when your app was registered. (e.g
Secret secret-CuVuh+4ZBjkVgrqLZVEpAi3c3bpYMEwUL)
4. Login to the iSeller store using store credential
Use this call to get orders data for particular set of filter. By default it will only retrieve the general info of the orders. If necessary you can also
include details information such as :
OrderDetails
Transactions
PromotionDetails
DiscountDetails
TrackInventory
MDR
ShippingDetail
UnfulfilledItems
Parameters
time_zone Integer N Time zone for the given date and also data date conversion. Note that iSeller data stored in UTC +0 time zone.
created_after DateTime N Limits the returned orders to those created after or on the specified date, given ISO 8601 date format. (e.g.
2017-11-20T10:00:00) without the time zone info
created_before DateTime Y Limits the returned orders to those created before or on the specified date, given ISO 8601 date format without the
time zone info.
modified_date DateTime Y Limits the returned orders to those modified after or on the specified date, given ISO 8601 date format without the
time zone info.
modified_before DateTime Y Limits the returned orders to those modified before or on the specified date, given ISO 8601 date format without the
time zone info.
sort String Y Allows to choose the sorting column. Possible values are CreatedDate and ModifiedDate.
sort_direction String Y Specify the sorting type. Possible values are ASC and DESC.
customer_id Guid Y Limit the returned orders to those belong to specified CustomerId.
outlet_id Guid Y Limit the returned orders to those belong to specified OutletId.
order_id Guid Y Limit the returned order to those belong to specified OrderId.
Sample Usage
Response
{
"count": 1,
"orders": [
{
"order_id": "a5dee2be-17a2-480f-ad52-59b366972678",
"order_reference": "#10-1028",
"channel": "pos",
"order_date": "2017-11-30 09:47:43",
"closed_date": "2017-11-30 09:58:05",
"status": "completed",
"payment_status": "paid",
"fulfillment_status": "fulfilled",
"notes": "",
"processing_method": "checkout",
"cancel_date": null,
"cancel_reason": "",
"outlet_id": "432557e5-305a-4619-a07e-b1a7bcfb6f84",
"outlet_name": "Main Outlet",
"register_id": "f3e49daa-57d9-4ca9-b3f6-feb14857f6e6",
"register_name": "Register #10 - Poslab Ecol-66",
"customer_id": "055f7122-e95c-f515-6b04-7d0a3979046c",
"customer_first_name": "Kevin",
"customer_last_name": "Oliver",
"customer_email": "kevin@intersoftpt.com",
"server_id": "simcardsample@iseller.io",
"server_first_name": "Nancy",
"server_last_name": "Galloway",
"cashier_id": "simcardsample@iseller.io",
"cashier_first_name": "Nancy",
"cashier_last_name": "Galloway",
"currency": "IDR",
"total_order_amount": 115000,
"discount_percentage": 10,
"total_discount_amount": 9675,
"total_promotion_amount": 18250,
"subtotal": 87075,
"total_tax_amount": 8707.5,
"total_additional_final_amount": 4789.125,
"total_additional_subtotal_amount": 0,
"total_additional_order_amount": 0,
"rounding_amount": 0,
"total_amount": 100571.625,
"buying_price": 42000,
"total_shipping_amount": null,
"total_weight": null,
"tax_inclusive": true,
"on_account": true,
"remaining_on_account": 0,
"billing": null,
"shipping": null,
"order_details": [
{
"order_detail_id": "47ecc09e-6852-4c7c-88b7-118aff5a7a8a",
"product_id": "264a9217-4466-462b-a60e-3c021288d954",
"product_name": "Simpati Groovy",
"product_generic_name": "Simpati Groovy",
"product_variant_id": null,
"product_variant_name": "",
"product_modifier_id": null,
"product_modifier_name": "",
"notes": "",
"vendor": "Telkomsel",
"sku": "",
"fulfillment_status": "fulfilled",
"quantity": 1,
"base_price": 15000,
"price_before_tax": 6075,
"price_after_tax": 6682.5,
"discount_amount": 0,
"discount_percentage": null,
"taxable": true,
"tax_percentage": 10,
"tax_amount": 607.5,
"require_shipping": false,
"weight": null,
"type": "standard",
"track_inventory": true,
"modifier_product_type": null,
"modifier_product_id": null,
"modifier_product_sku": null,
"modifier_product_quantity": null,
"modifier_product_composites": [],
"product_composites": null,
"product_combos": null,
"promotions": [
{
"promotion_id": "bfa2d0b7-8195-df9b-3989-16820c6d02c3",
"promotion_name": "buy 1 groovy discount 50%",
"promotion_type": "discount_product",
"promotion_amount": 7500
}
],
"discounts": [],
"units_used": null
},
{
"order_detail_id": "1aec3e42-a8ab-4069-a9f3-96e196f9a3aa",
"product_id": "264a9217-4466-462b-a60e-3c021288d954",
"product_name": "Pulsa 100rb",
"product_generic_name": "Pulsa 100rb",
"product_variant_id": null,
"product_variant_name": "",
"product_modifier_id": "c0817f6f-0357-b088-c05a-3d1eab1c6028",
"product_modifier_name": "Pulsa 100rb",
"notes": "",
"vendor": "Telkomsel",
"sku": "",
"fulfillment_status": "fulfilled",
"quantity": 1,
"base_price": 100000,
"price_before_tax": 81000,
"price_after_tax": 89100,
"discount_amount": 0,
"discount_percentage": null,
"taxable": true,
"tax_percentage": 10,
"tax_amount": 8100,
"require_shipping": false,
"weight": null,
"type": "standard",
"track_inventory": true,
"modifier_product_type": null,
"modifier_product_id": null,
"modifier_product_sku": null,
"modifier_product_quantity": null,
"modifier_product_composites": [],
"product_composites": null,
"product_combos": null,
"promotions": [],
"discounts": [],
"units_used": null
}
],
"promotions": [
{
"promotion_id": "0747ba55-d3ff-50ab-908a-784c0d6a8c4b",
"promotion_name": "get 10 % di atas 10rb",
"promotion_type": "promotion",
"promotion_amount": 10750
}
],
"discounts": [
{
"discount_name": "Discount(diskon 10%)",
"discount_amount": 9675
}
],
"transactions": [
{
"order_reference": null,
"transaction_date": "2017-11-30 09:58:05",
"transaction_id": "794456d4-db9a-4434-9092-a58c67716818",
"channel": "pos",
"type": "sale",
"status": "success",
"gateway": "cash",
"payment_type_id": null,
"payment_type_name": "Cash",
"currency": "IDR",
"amount": 100571.625
}
]
}
],
"refunded_orders": [
{
"order_id": "d8467688-b0d4-4044-b86e-f00a7640ef96",
"order_reference": "#5022-1009",
"channel": "pos",
"order_date": "2018-03-16 11:43:10",
"refund_date": "2018-03-16 11:43:35",
"refund_amount": 0,
"units_returned": [
{
"product_name": "Sambel",
"sku": "",
"stock": 3
}
]
}
],
"fulfillments": [
{
"order_id": "d8467688-b0d4-4044-b86e-f00a7640ef96",
"order_reference": "#5022-1009",
"channel": "pos",
"order_date": "2018-03-16 11:43:10",
"fulfill_date": "2018-03-16 11:43:24",
"units_fulfilled": [
{
"product_name": "Sambel",
"sku": "",
"stock": 1
}
]
},
{
"order_id": "d8467688-b0d4-4044-b86e-f00a7640ef96",
"order_reference": "#5022-1009",
"channel": "pos",
"order_date": "2018-03-16 11:43:10",
"fulfill_date": "2018-03-16 11:43:28",
"units_fulfilled": [
{
"product_name": "Sambel",
"sku": "",
"stock": 2
}
]
}
],
"has_next_item: false,
"error_message": null,
"status": true,
"time": "00:00:08.8982415"
}
refunded_orders List of Object (StoreOrderRefund) List of refunded orders. Available if TrackInventory is included in request parameter.
fulfillments List of Object (StoreOrderFulfilled) List of fulfilled orders. Available if TrackInventory is included in request parameter.
error_message String System error message when error occured during process.
status Boolean Status of the request, false means there's an error during the execution process.
Order
channel String Order channel that indicates from which channel this order is created.
Channel Description
channel_detail String Detail channel for Marketplace and Food Delivery channel.
Value is:
tokopedia
shopee
lazada
grabfood
order_date DateTime Date and time when the order was placed.
closed_date DateTime Date and time when the order was closed.
status String Status of the order.
Status Description
Status Description
Status Description
cancel_date DateTime Date and time when the order is cancelled. Null if the order is never canclled.
customer_first_name String Customer's first name associated to this order. Null if no customer associated to this
order.
customer_last_name String Customer's last name associated to this order. Null if no customer associated to this
order.
customer_email String Customer's email associated to this order. Null if no customer associated to this
order.
server_first_name String Server's first name associated to this order. Null if no server associated to this order.
server_last_name String Server's last name associated to this order. Null if no server associated to this order.
cashier_first_name String Cashier's first name associated to this order. Null if no cashier associated to this
order.
cashier_last_name String Cashier's last name associated to this order. Null if no cashier associated to this
order.
discount_percentage Double Discount percentage value, available if the order has apply percentage base
discount.
total_additional_final_amount Decimal Total additional charges amount placed at before final total.
total_additional_subtotal_amount Decimal Total additional charges amount placed at before sub total.
total_additional_order_amount Decimal Total additional charges amount placed at after total order amount (base price /
gross amount).
order_details List of Object List of order details associated to this order. Available if OrderDetails is
(OrderDetail) included in request parameter.
List of OrderDetail will appear when list is filled with items from the order.
promotions List of Object List of promotions associated to this order. Available if PromotionDetails is
(Promotion) included in request parameter.
discounts List of Object List of discounts associated to this order. Available if DiscountDetails is included in
(Discount) request parameter.
transactions List of Object List of transactions associated to this order. Available if Transactions is included in
(Transaction) request parameter.
StoreOrderRefund
units_returned List of Object (StoreInventoryModel) Units returned for this refunded order
refund_details List of Object (RefundDetails) Refund details for this refunded order
StoreOrderFulfilled
Billing / Shipping
OrderDetail
Name Type Description
product_generic_name String Product generic name that associated to this order detail.
product_variant_id Guid UniqueIdentifier of the product variant schema associated to this order detail.
product_variant_name String Product variant name that associated to this order detail.
product_modifier_id Guid UniqueIdentifier of the product modifier schema associated to this order detail. If this
specified it means that the order detail represents a product modifier.
product_modifier_name String Product modifier name that associated to this order detail.
vendor String Vendor of the product that associated to this order detail.
sku String SKU of the product that associated to this order detail.
Status Description
discount_percentage Double Discount percentage value, available if the order detail has apply percentage base
discount.
taxable Bool A value that indicates whether the product associated to this order detail is taxable.
tax_amount Decimal The total tax amount applied to the product associated to this order detail.
require_shipping Bool A value that indicates whether the product associated to this order does require
shipping.
weight Double Total weight of the product associated to this order detail.
weight_quantity Double Total weight quantity of the product associated to this order detail.
This value will only be useful if you install add on Scale and activate the Capture
weight data as attribute instead of quantity setting.
Example: "weight_quantity": 0.258
promotions List of Object List of promotions associated to this order detail. Available if PromotionDetails is
(Promotion) included in request parameter.
discounts List of Object List of discounts associated to this order. Available if DiscountDetails is included in
(Discount) request parameter.
track_inventory Bool A value that indicates whether the product associated to this order detail has track
inventory enabled when the order is made. Available if TrackInventory is included in
request parameter.
Type Description
Type Description
modifier_product_composites List of Object Detail inventory history per product if the product associated to modifier is a composite
(InventoryHistory) product.
product_composites List of Object Detail inventory history per product if the product associated to this order detail is a
(InventoryHistory) composite product.
product_combos List of Object Detail inventory history per product if the product associated to this order detail is a
(InventoryHistory) comboset product.
units_used List of Object List of units used to this order detail. Available if TrackInventory is included in request
(StoreInventoryModel) parameter.
cogs List of Object List of cost of goods sold to this order detail.
(CostOfGoodsSold)
Promotion
Discount
Transaction
transaction_date DateTime Date and time when the order was created.
channel String Order channel that indicates from which channel this transaction is originated from (e.g pos if created
from Point of Sales and web if created from Online Store).
Type Description
Status Description
success Success
error Error
pending Pending
failure Failure
Gateway
cash
external_debit
external_credit
gift_card
points
account_balance
store_credit
iseller_pay
custom
InventoryHistory
variant_name String Variant name of the product if the product is a product variant.
StoreInventoryModel
StoreInventoryPathModel
RefundDetails
cogs List of Object (CostOfGoodsSold) Cost of goods sold for this refund details
CostOfGoodsSold
MDR
total_amount_after_fee Decimal The total amount after fee for the transaction.
ShippingDetail
shipping_name String The name of the shipment is used for the order
service_code String The service code of the integration shipment is used for the order
If value is null, so order that they used manual shipping
GetOrderSummary
https://storename.isellershop.com/api/v2/GetOrderSummary
Use this call to get orders summary data for particular set of filter grouped per day.
Parameters
time_zone Integer N Time zone for the given date and also data date conversion. Note that iSeller data stored in UTC +0 time zone.
created_after DateTime Y Limits the returned orders to those created after or on the specified date, given ISO 8601 date format. (e.g.
2017-11-20T10:00:00) without the time zone info
created_before DateTime Y Limits the returned orders to those created before or on the specified date, given ISO 8601 date format without the
time zone info.
modified_after DateTime Y Limits the returned orders to those modified after or on the specified date, given ISO 8601 date format without the
time zone info.
modified_before DateTime Y Limits the returned orders to those modified before or on the specified date, given ISO 8601 date format without the
time zone info.
sort String Y Allows to choose the sorting column. Possible values are CreatedDate and ModifiedDate.
sort_direction String Y Specify the sorting type. Possible values are ASC and DESC.
customer_id Guid Y Limit the returned orders to those belong to specified CustomerId.
outlet_id Guid Y Limit the returned orders to those belong to specified OutletId.
Sample Usage
Response
{
"count": 2,
"order_summaries": [
{
"order_date": "2017-11-29 07:00:00",
"currency": "IDR",
"total_order_amount": 38000,
"total_discount_amount": 0,
"total_promotion_amount": 2600,
"subtotal": 35400,
"total_tax_amount": 3540,
"total_additional_final_amount": 1947,
"total_additional_subtotal_amount": 0,
"total_additional_order_amount": 0,
"rounding_amount": 0,
"total_amount": 40887,
"total_shipping_amount": 0,
"total_weight": 0,
"inventories": []
},
{
"order_date": "2017-11-30 07:00:00",
"currency": "IDR",
"total_order_amount": 258000,
"total_discount_amount": 14850,
"total_promotion_amount": 57850,
"subtotal": 185300,
"total_tax_amount": 18530,
"total_additional_final_amount": 10191.5,
"total_additional_subtotal_amount": 0,
"total_additional_order_amount": 0,
"rounding_amount": 0,
"total_amount": 214021.5,
"total_shipping_amount": 0,
"total_weight": 0,
"units_used": [],
"units_returned": [
{
"product_name": "Sambel",
"sku": "",
"stock": 3
}
],
"units_fulfilled": [
{
"product_name": "Sambel",
"sku": "",
"stock": 3
}
],
"units_hpp": [
{
"product_id": "e7e8ca29-9307-40a7-a31f-bedaeed25815",
"product_name": "Sambel",
"sku": "",
"quantity": 3,
"selling_price": 1000,
"buying_price": 400
}
]
},
],
"error_message": null,
"status": true
}
error_message String System error message when error occurred during process
status Bool Status of the request, false means there's an error during the execution process.
OrderSummary
total_order_amount Decimal Sum of total order amount (base price / gross amount).
total_additional_final_amount Decimal Sum of additional charges amount placed at before final total.
total_additional_subtotal_amount Double Sum of additional charges amount placed at before sub total.
total_additional_order_amount Double Sum of additional charges amount placed at after total order amount (base price /
gross amount).
units_used List of object ( List of units used. Available if TrackInventory is included in request parameter.
StoreInventoryModel)
units_returned List of object ( List of units returned. Available if TrackInventory is included in request
parameter.
StoreInventoryModel)
units_fulfilled List of object ( List of units fulfilled. Available if TrackInventory is included in request parameter.
StoreInventoryModel)
units_hpp List of objet List of units hpp. Available if TrackInventory is included in request parameter.
(StoreUnitHpp)
StoreUnitHpp
StoreInventoryModel
StoreInventoryPathModel
GetTransactions
https://storename.isellershop.com/api/v2/GetTransactions
Use this call to get transactions data for particular set of filter.
Parameters
time_zone Integer N Time zone for the given date and also data date conversion. Note that iSeller data stored in UTC +0 time zone.
created_after DateTime Y Limits the returned orders to those created after or on the specified date, given ISO 8601 date format. (e.g.
2017-11-20T10:00:00) without the time zone info
created_before DateTime Y Limits the returned orders to those created before or on the specified date, given ISO 8601 date format without the
time zone info.
modified_after DateTime Y Limits the returned orders to those modified after or on the specified date, given ISO 8601 date format without the
time zone info.
modified_before DateTime Y Limits the returned orders to those modified before or on the specified date, given ISO 8601 date format without the
time zone info.
sort String Y Allows to choose the sorting column. Possible values are CreatedDate and ModifiedDate.
sort_direction String Y Specify the sorting type. Possible values are ASC and DESC.
outlet_id Guid Y Limit the returned orders to those belong to specified OutletId.
Sample Usage
Response
{
"count": 2,
"transactions": [
{
"order_reference": "#10-1028",
"transaction_date": "2017-11-30 09:58:05",
"transaction_id": "794456d4-db9a-4434-9092-a58c67716818",
"channel": "pos",
"type": "sale",
"status": "success",
"gateway": "cash",
"payment_type_id": null,
"payment_type_name": "Cash",
"currency": "IDR",
"amount": 100571.625
},
{
"order_reference": "#10-1029",
"transaction_date": "2017-11-30 10:02:08",
"transaction_id": "d0ce6ac9-b0bf-4c1c-982b-3ac45fd49872",
"channel": "pos",
"type": "sale",
"status": "success",
"gateway": "cash",
"payment_type_id": null,
"payment_type_name": "Cash",
"currency": "IDR",
"amount": 53794.125
},
],
"error_message": null,
"status": true
}
error_message String System error message when error occurred during process.
status Bool Status of the request, false means there's an error during the execution process.
Transaction
transaction_date DateTime Date and time when the transaction was created.
channel String Order channel that indicates from which channel this transaction is originated from (e.g pos if created from
Point of Sales and web if created from Online Store).
type String Transaction type.
Type Description
Status Description
success Success
error Error
pending Pending
failure Failure
Gateway
cash
external_debit
external_credit
gift_card
points
account_balance
store_credit
iseller_pay
custom
GetTransactionSummary
https://storename.isellershop.com/api/v2/GetTransactionSummary
Use this call to get transaction summary data for particular set of filter grouped per day
Parameters
time_zone Integer N Time zone for the given date and also data date conversion. Note that iSeller data stored in UTC +0 time zone.
created_after DateTime Y Limits the returned orders to those created after or on the specified date, given ISO 8601 date format. (e.g.
2017-11-20T10:00:00) without the time zone info
created_before DateTime Y Limits the returned orders to those created before or on the specified date, given ISO 8601 date format without the
time zone info.
modified_after DateTime Y Limits the returned orders to those modified after or on the specified date, given ISO 8601 date format without the
time zone info.
modified_before DateTime Y Limits the returned orders to those modified before or on the specified date, given ISO 8601 date format without the
time zone info.
sort String Y Allows to choose the sorting column. Possible values are CreatedDate and ModifiedDate.
sort_direction String Y Specify the sorting type. Possible values are ASC and DESC.
outlet_id Guid Y Limit the returned orders to those belong to specified OutletId.
Sample Usage
Response
{
"count": 1,
"transaction_summaries": [
{
"order_date": "2017-12-04 07:00:00",
"cash": 423885,
"debit": 51975,
"credit": 138600,
"gift_card": 0,
"iseller_pay": 87300,
"loyalty_points": 5000,
"store_credit": 54800,
"customs": []
},
{
"order_date": "2017-11-30 07:00:00",
"cash": 154365.75,
"debit": 9817.5,
"credit": 11434.5,
"gift_card": 0,
"iseller_pay": 0,
"loyalty_points": 0,
"store_credit": 0,
"customs": [
{
"name": "Groupon",
"amount": 28586.25
},
{
"name": "Piutang Owner",
"amount": 9817.5
}
]
},
],
"error_message": null,
"status": true
}
error_message String System error message when error occurred during process.
status Bool Status of the request, false means there's an error during the execution
process.
TransactionSummary
CustomTransaction
GetProducts
https://storename.isellershop.com/api/v2/GetProducts
Parameters
modified_after String N Limits the returned products to those modified after or on the specified date, given ISO 8601 date format. (e.g
2020-11-20T10:00:00) without the time zone info
Sample Usage
Response
{
"products": [
{
"product_id": "9d518087-9180-437b-8e92-2b779e896e12",
"name": "Kentang Balado",
"type": "composite",
"barcode": "",
"sku": "10112",
"price": 12000,
"taxable": true,
"track_inventory": true,
"allow_negative_stock": false,
"sold_count": 11,
"unit_of_measurement": "pcs",
"buying_prices": null,
"buying_price": 20000,
"inventories": [],
"ingredients": [
{
"product_id": "d9d75558-64fa-401c-8600-be8029a60399",
"name": "Sambal Balado",
"sku": "10111",
"quantity": 1
}
],
"variant_options": [
{
"option": "Level Pedas",
"value": "1"
}
],
"bundles": null,
"modified_date": "2020-08-19 02:46:18"
},
{
"product_id": "2c0ab704-51ad-36a8-27f3-2d1e10f18cca",
"name": "Steak Mesir",
"type": "variant",
"barcode": "",
"sku": "10212",
"price": 10000,
"taxable": true,
"track_inventory": true,
"allow_negative_stock": false,
"sold_count": 0,
"unit_of_measurement": "pcs",
"buying_prices": [
{
"outlet_id": "31b29527-f54c-4004-b483-38b6a241c963",
"buying_price": 102912.9549
},
{
"outlet_id": "457cf82d-a9ce-4c40-b7e5-7246e6920264",
"buying_price": 15000
}
],
"buying_price": 28571.428557142855,
"inventories": [
{
"outlet_id": "31b29527-f54c-4004-b483-38b6a241c963",
"outlet_name": "Main Outlet",
"unit_in_stock": 174
},
{
"outlet_id": "457cf82d-a9ce-4c40-b7e5-7246e6920264",
"outlet_name": "Main Outlet2",
"unit_in_stock": 90
}
],
"variant_options": [],
"bundles": null,
"modified_date": "2020-08-19 02:46:18"
}
],
"error_message": null,
"status": true,
"time": "00:00:01.3728427"
}
error_message String System error message when error occurred during process.
status Bool Status of the request, false means there's an error during the execution process.
StoreProduct
modified_date DateTime Limits the returned products to those modified after or on the specified date, given ISO 8601
date format
without the time zone info.
ProductInventory
Name Type Description
BuyingPriceModel
ProductIngredients
ProductVariants
ProductCombos
variant_name String Variant name of the product combos if the product is a product variant.
GetStoreInfo
https://storename.isellershop.com/api/v2/GetStoreInfo
Sample Usage
Response
{
"store_info": {
"active_outlets": [
{
"outlet_id": "432557e5-305a-4619-a07e-b1a7bcfb6f84",
"outlet_name": "Main Outlet",
"phone": "0892143323",
"address": "Rukan Boulevard Artha Gading blok A6 B28",
"contact_name": "Nancy Galloway",
"email": "simcardsample@iseller.io"
}
],
"active_payments": [
{
"name": "Cash",
"is_active": true,
"gateway": "cash"
},
{
"name": "ISellerPay",
"is_active": false,
"gateway": "iseller_pay"
},
{
"name": "External Credit",
"is_active": true,
"gateway": "external_credit"
},
{
"name": "External Debit",
"is_active": true,
"gateway": "external_debit"
},
{
"name": "Gift Card",
"is_active": false,
"gateway": "gift_card"
},
{
"name": "Loyalty Point",
"is_active": false,
"gateway": "points"
},
{
"name": "On Account",
"is_active": false,
"gateway": "account_balance"
},
{
"name": "Store Credit",
"is_active": true,
"gateway": "store_credit"
},
{
"name": "Custom 2",
"is_active": true,
"gateway": "custom"
},
{
"name": "Piutang Owner",
"is_active": true,
"gateway": "custom"
},
{
"name": "Groupon",
"is_active": true,
"gateway": "custom"
}
],
"store_name": "Simcard",
"phone": "0892143323",
"address": "Rukan Boulevard Artha Gading blok A6 B28",
"email": "simcardsample@iseller.io"
},
"error_message": null,
"status": true
}
error_message String System error message when error occurred during process.
status Bool Status of the request, false means there's an error during the execution process.
StoreInfo
Outlet
PaymentType
GetRegisterShifts
https://storename.isellershop.com/api/v2/getregistershifts
Use this call to get register shifts data for particular set of filter.
Parameters
time_zone Integer N Time zone for the given date and also data date conversion. Note that iSeller data stored in UTC +0 time zone.
created_after DateTime Y Limits the returned register shifts to those created after or on the specified date, given ISO 8601 date format. (e.g.
2017-11-20T10:00:00) without the time zone info
created_before DateTime Y Limits the returned register shifts to those created before or on the specified date, given ISO 8601 date format
without the time zone info.
modified_date DateTime Y Limits the returned register shifts to those modified after or on the specified date, given ISO 8601 date format
without the time zone info.
modified_before DateTime Y Limits the returned register shifts to those modified before or on the specified date, given ISO 8601 date format
without the time zone info.
sort String Y Allows to choose the sorting column. Possible values are CreatedDate and ModifiedDate.
sort_direction String Y Specify the sorting type. Possible values are ASC and DESC.
includes String Y -
register_id Guid Y Limit the returned register shifts to those belong to specified RegisterId.
outlet_id Guid Y Limit the returned register shifts to those belong to specified OutletId.
Sample Usage
Response
{
"count": 6,
"register_shifts": [
"register_id": "0d5e57e1-7451-47c2-8e8f-06ebd80c0e91",
"register_shift_id": "96438b58-cc8e-43f2-a1cc-39c2252e81a0",
"closed_date": null
},
"register_id": "52682441-7e65-4ed4-a1fb-e2dafa4388d3",
"register_shift_id": "ed7182cb-09b9-4cdc-8a6a-a88fa52f0c40",
"closed_date": null
},
"register_id": "dbc4f245-6d19-41c3-84f3-43f8659a8444",
"register_shift_id": "a01bd835-6861-4e2a-809d-382b6bd33ecc",
"closed_date": null
},
"register_id": "3df60548-b900-413c-b3d1-cd1cb8f9ac17",
"register_shift_id": "003c9f8d-9468-4472-946c-3220f7b0ff15",
"closed_date": null
},
"register_id": "5377428c-078b-481b-a1fe-623bb6b4ed20",
"register_shift_id": "2e0c47ee-4dab-4d66-afb8-3ea380acdb45",
"closed_date": null
},
"register_id": "accf3200-a90b-4138-a780-9110d83b501f",
"register_shift_id": "b83017a8-4288-45c4-9305-afe276616952",
"closed_date": null
],
"error_message": null,
"status": true,
"time": "00:00:18.3294018"
error_message String System error message when error occured during process.
status Bool Status of the request, false means there's an error during the execution process.
RegisterShifts