外掛標籤
開發者團隊
原文外掛簡介
Official Website: https://baro.ir/
Who should use this plugin?
Only businesses approved as Baro B2B clients.
To use this plugin, you MUST get credentials from Baro support:
1) Visit https://baro.ir/
2) Request B2B API/WordPress integration
3) Provide your server IP(s) for whitelist
4) Receive B2B username/password and permissions
5) Wait for B2B client activation by Baro team
After activation, plugin works with your credentials.
First setup checklist
Credentials received from Baro support
IP whitelist done
Required permissions enabled on your B2B client
Features
JWT login + auto refresh token
Track order
Create/cancel order
Add B2B support comments to owned orders
Estimate price
Discount validate/apply
Wallet balance/pay order/pay batch
Batch endpoints (estimate/create/validate/compatible cities)
Cities and pickup slots
WooCommerce integration
Persian tracking shortcode: [baro_track_order]
API schema notes
payment_type must be PREPAID or POSTPAID.
COD is sent as the separate boolean field cod.
create-order and estimate-price use the full order schema, including province/city, optional terminal IDs, sender/receiver, package value, optional custom dimensions, and package flags.
create-order may return order_id/order_code at the top level; this plugin also supports older nested response shapes.
pickup-slots supports origin_city, destination_city, origin_terminal_id, warehouse_id, service_type, and max_slots.
comment-order accepts order_id or order_code plus comment text.
cancel-order, discount/apply, and wallet/pay-order require the order UUID (order_id), not the public tracking code.
Troubleshooting
401: invalid credential, contact Baro support
403: IP not whitelisted
Permission denied: missing permission in B2B client profile
External Services
This plugin connects to the Baro Logistics B2B API to create and manage shipment requests and retrieve logistics-related information.
It sends store order data, shipment details, authentication credentials, and related customer information to the Baro Logistics API whenever logistics operations are performed by the site administrator or customer.
This service is provided by Baro Logistics:
– Terms of Service: https://baro.ir/terms
– Privacy Policy: https://baro.ir/terms#privacy
The plugin also connects to the Ipify API to detect the outbound public IP address of the server during API configuration and diagnostics.
No personal user data is intentionally sent to Ipify. The request only retrieves the server’s public IP address.
This service is provided by Ipify:
– Terms of Service: https://www.ipify.org/
– Privacy Policy: https://www.ipify.org/
Support
Website: https://baro.ir/
For credential issuance, whitelist changes, and permissions, contact support via website.
