Skip to content

Haravan — Shop ​

Get shop — haravan.get_shop ​

Shop name, domain, contact details, currency and timezone.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyescom.read_shop

Input

No input.

Extra fields: ignored.

Output

FieldTypeDescription
shopobjectThe shop.
shop.idintegerShop id.
shop.namestringShop name.
shop.shop_ownerstringUsername of the shop owner.
shop.emailstringContact email of the shop.
shop.customer_emailstringEmail shown to customers.
shop.phonestring | nullContact phone number.
shop.domainstringShop domain, as a URL.
shop.myharavan_domainstringThe shop's myharavan.com domain, as a URL.
shop.address1stringStreet address.
shop.citystring | nullCity.
shop.provincestringProvince or city name.
shop.province_codestringProvince code.
shop.countrystringCountry code.
shop.country_codestringTwo-letter country code.
shop.country_namestringCountry name.
shop.zipstringPostal code.
shop.latitudenumberLatitude.
shop.longitudenumberLongitude.
shop.currencystringCurrency code, e.g. VND.
shop.money_formatstringHow amounts are formatted without a currency.
shop.money_with_currency_formatstringHow amounts are formatted with a currency.
shop.timezonestringShop timezone, e.g. (GMT+07:00) Hanoi.
shop.primary_localestringPrimary locale.
shop.created_atstringWhen the shop was created (ISO 8601).
shop.plan_namestring | nullHaravan plan name.
shop.display_plan_namestring | nullHaravan plan display name.
shop.shop_plan_idintegerHaravan plan id.
shop.password_enabledbooleanWhether storefront password protection is on.
shop.has_storefrontbooleanWhether the shop has a web storefront.
shop.tax_shippingbooleanWhether shipping is taxed.
shop.taxes_includedboolean | nullWhether tax is included in prices.
shop.county_taxesboolean | nullWhether taxes apply per county.
shop.sourcestring | nullPartner that referred the merchant.
shop.google_apps_domainstring | nullGoogle Apps domain, if set.
shop.google_apps_login_enabledboolean | nullWhether Google Apps login is on.
shop.inventory_methodstringInventory method of the shop.
shop.fullname_checkout_behaviorstringFull name field at checkout: required, optional or disabled.
shop.email_checkout_behaviorstringEmail field at checkout: required, optional or disabled.
shop.phone_checkout_behaviorstringPhone field at checkout: required, optional or disabled.
shop.address_checkout_behaviorstringAddress field at checkout: required, optional or disabled.
shop.district_checkout_behaviorstringDistrict or ward field at checkout: required, optional or disabled.
shop.ward_checkout_behaviorstringWard field at checkout: required, optional or disabled.

List locations — haravan.list_locations ​

Stores and warehouses of the shop, with their ids.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyescom.read_shop

Input

No input.

Extra fields: ignored.

Output

FieldTypeDescription
locationsarray of objectStores and warehouses.
locations[].idintegerLocation id.
locations[].namestringLocation name.
locations[].typestring | nulldefault for the main warehouse, ontheroad for transit.
locations[].location_typestring | nullSame as type; null on some shops.
locations[].is_primarybooleanTrue for the primary location.
locations[].is_unavailable_quantitybooleanTrue when stock here is not sellable.
locations[].emailstring | nullContact email.
locations[].phonestring | nullPhone number.
locations[].address1string | nullStreet address.
locations[].address2string | nullSecond address line.
locations[].zipstring | nullPostal code.
locations[].citystring | nullCity.
locations[].provincestring | nullProvince or city name.
locations[].province_codestring | nullProvince code.
locations[].districtstring | nullWard name (two-level model).
locations[].district_codestring | nullWard code (two-level model).
locations[].wardstring | nullWard name (three-level model).
locations[].ward_codestring | nullWard code (three-level model).
locations[].countrystring | nullCountry.
locations[].country_namestring | nullCountry name.
locations[].country_codestring | nullTwo-letter country code.
locations[].created_atstringWhen it was created (ISO 8601).
locations[].updated_atstringWhen it was last updated (ISO 8601).

List staff — haravan.list_staff ​

Staff accounts of the shop, with their ids.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyescom.read_shop

Input

No input.

Extra fields: ignored.

Output

FieldTypeDescription
usersarray of objectStaff accounts.
users[].idintegerStaff account id.
users[].first_namestringFirst name.
users[].last_namestringLast name.
users[].emailstringEmail.
users[].phonestring | nullPhone number.
users[].imstring | nullInstant-messaging address.
users[].biostring | nullSelf-written description.
users[].urlstring | nullPersonal URL.
users[].account_ownerbooleanTrue for the owner of the shop account.
users[].user_typestringKind of account, e.g. invited.
users[].receive_announcementsinteger1 when the user gets announcements.
users[].permissionsarray of stringPermissions: full or limited, with the areas a limited user can reach (orders, products, customers...).

List shop activity — haravan.list_activity_events ​

Recent activity across the shop, e.g. created or deleted products and orders.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyescom.read_shop

Input

FieldTypeRequiredDescription
filterstringnoResource type, e.g. Product or Order.
verbstringnoAction, e.g. create, update, destroy.
since_idintegernoOnly events after this id. Min 1.
pageintegernoPage number, from 1. Min 1.
limitintegernoItems per page (1-50, default 50). Min 1. Max 50.

Extra fields: ignored.

Output

FieldTypeDescription
eventsarray of objectRecent activity of the shop.
events[].idintegerEvent id.
events[].subject_idintegerId of the resource that produced the event.
events[].subject_typestringType of that resource: Article, Blog, Collection, Comment, Order, Page or Product.
events[].verbstringWhat happened, e.g. create, update, destroy or confirmed.
events[].messagestringHuman-readable text of the event; may contain HTML links.
events[].descriptionstring | nullPlain-text description.
events[].bodystring | nullExtra text about the event.
events[].argumentsarray of stringValues the message was built from.
events[].authorstringWho caused the event.
events[].pathstring | nullRelative admin URL of the resource.
events[].created_atstringWhen it happened (ISO 8601).

List Vietnam provinces — haravan.list_provinces ​

Vietnam provinces and cities with their codes, for addresses.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyescom.read_shop

Input

No input.

Extra fields: ignored.

Output

FieldTypeDescription
provincesarray of objectProvinces and cities of Vietnam.
provinces[].idintegerProvince id; use as province_id.
provinces[].codestringProvince code; use as province_code in an address.
provinces[].namestringProvince or city name.
provinces[].country_idintegerCountry id, 704 for Vietnam.
provinces[].taxnumber | nullSales tax rate.
provinces[].tax_namestring | nullTax name.
provinces[].tax_typestring | nullTax type.
provinces[].tax_percentagestring | nullTax in percent format.

List wards of a province — haravan.list_wards ​

Wards of a province (two-level model since 2025). Put the ward code in district_code of an address.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyescom.read_shop

Input

FieldTypeRequiredDescription
province_idintegeryesProvince id from list_provinces. Min 1.

Extra fields: ignored.

Output

FieldTypeDescription
districtsarray of objectWards of the province.
districts[].idintegerWard id.
districts[].codestringWard code; use as district_code in an address.
districts[].namestringWard name.
districts[].province_idintegerProvince the ward belongs to.