Manila Stack Affiliate Boxes for Southeast Asia helps bloggers and review sites in the Philippines, Malaysia, Thailand, Vietnam, Indonesia, and Singapore show clean, fast product boxes with buy buttons for the shops their readers actually use.
This plugin is not affiliated with, endorsed by, or sponsored by Shopee, Lazada, or TikTok. Shop names are used only to describe links you paste in yourself.
Features
[sea_box id="123"]. Both use the same server-side template. The block picker searches your boxes (it does not stop at 100) and can list draft, pending, and private boxes when your account is allowed to edit them. Each non-public box is labelled.150,000₫, 150,000Rp).rel="sponsored nofollow noopener" and opens in a new tab.Cache-Control: no-store and X-Robots-Tag: noindex.Lazada and TikTok Shop links are pasted manually (for example a deeplink from your affiliate network). The plugin never scrapes shop pages.
The Shopee request format below is covered by unit tests and a local mock. It has not been verified against a live Shopee Affiliate account.
This plugin connects to the Shopee Affiliate Open API only if you save your own App ID and Secret, and only when a logged-in user who can edit posts clicks “Fetch from Shopee” on a box. Visitors never trigger it.
Endpoints (one host per country, POST /graphql):
https://open-api.affiliate.shopee.ph/graphqlhttps://open-api.affiliate.shopee.com.my/graphqlhttps://open-api.affiliate.shopee.co.th/graphqlhttps://open-api.affiliate.shopee.vn/graphqlhttps://open-api.affiliate.shopee.co.id/graphqlhttps://open-api.affiliate.shopee.sg/graphqlThe plugin chooses the host from the product URL. It does not fall back to the Philippines when the URL is a Shopee country this list does not include.
SHA256 Credential={App ID}, Timestamp={unix}, Signature={sha256}. If Shopee returns a bare signature error (code 10020) and no data, the plugin retries once with Signature before Timestamp, the same body, and a new timestamp. A product query that is rejected for priceMin / priceMax (or code 10010) is retried once asking for price instead. A short-link validation error other than 10020, 10030, or 10035 is retried once with the mutation inlined and no variables object. Code 10030 is not retried.s.shopee.ph/...), the plugin sends a HEAD request to that Shopee host to find the full product URL. It does not follow the redirect off Shopee.cf.shopee.ph (and the same pattern on other country domains) or *.img.susercontent.com. Any other https host is allowed. The plugin itself does not call those image hosts.edit_posts by default. Only a user with manage_options can override Sub IDs on the request. The Secret never leaves the server.No shop data is sent when visitors view your pages. When a visitor clicks a buy button they leave your site for the URL saved on that box.
Service provider: Shopee (Shopee Affiliate Program / Shopee Affiliate Open API). The endpoints are defined in includes/functions.php and called from includes/class-seabox-shopee-client.php (product lookup and short link) and includes/class-seabox-rest.php (short-link HEAD request).
These are the Philippine documents. Shopee Malaysia, Thailand, Vietnam, Indonesia, and Singapore publish their own terms and privacy policy in that country’s Shopee Help Center; the one for the country of the product URL applies to that request.
Lazada and TikTok Shop are not contacted by this plugin. Buttons for those shops are ordinary links you paste in.
The block editor script in build/ is compiled from the unminified source in src/ (included in this plugin) with @wordpress/scripts: run npm install and npm run build.