Merchant details
curl --request POST \
--url https://api.aisa.one/apis/v1/affiliate-com/merchants/get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "102458"
}'import requests
url = "https://api.aisa.one/apis/v1/affiliate-com/merchants/get"
payload = { "id": "102458" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '102458'})
};
fetch('https://api.aisa.one/apis/v1/affiliate-com/merchants/get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/affiliate-com/merchants/get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '102458'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/affiliate-com/merchants/get"
payload := strings.NewReader("{\n \"id\": \"102458\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/affiliate-com/merchants/get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"102458\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/affiliate-com/merchants/get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"102458\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"canonical": {
"domain_canonical_id": "mer_01kkjt853h7vdvq7bvn73dsvj2",
"domains": {
"walmart.ca": "mer_01kkjsyz2qqnwc84t9tdhnnbcq",
"walmart.com": "mer_01kkjt853h7vdvq7bvn73dsvj2"
},
"icon_url": null,
"id": "mer_01kkk5eqt22cdgre41nfw42p4k",
"links": {
"domain_canonical": "https://api.affiliate.com/v1/merchants/mer_01kkjt853h7vdvq7bvn73dsvj2?extended=1",
"self": "https://api.affiliate.com/v1/merchants/mer_01kkk5eqt22cdgre41nfw42p4k?extended=1"
},
"logo_url": null,
"name": "Walmart",
"site_url": "https://walmart.com",
"slug": "mer_nfw42p4k"
},
"categories": [],
"cookie_duration": null,
"countries": [
"US",
"US"
],
"currencies": [],
"description": "Earn by referring customers to Walmart.com",
"domains": [
"https://walmart.com",
"https://www.walmart.com"
],
"home_url": "https://walmart.com",
"icon_url": "https://img.affiliate.com/logos/merchants/102458/logo.png",
"id": 102458,
"logo_url": "https://img.affiliate.com/logos/merchants/102458/logo.png",
"name": "Walmart",
"network": {
"canonical_id": "net_01kkgbymywvbf5qjdcdwchxdhm",
"icon_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"id": 335,
"links": {
"canonical": "https://api.affiliate.com/v1/networks/net_01kkgbymywvbf5qjdcdwchxdhm?extended=1",
"self": "https://api.affiliate.com/v1/networks/rnet_01kkgbyq82ve56ywbmhm7pn95t?extended=1"
},
"logo_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"name": "Impact",
"region": "US",
"slug": "rnet_hm7pn95t",
"url": "https://www.impact.com"
},
"object_id": "nmer_01khfn0gjh5z32n9bgav0000sn",
"origin_id": "9383",
"product_count": 525667,
"providers": [
{
"approval": null,
"deeplink": null,
"outclick": null,
"provider": "network",
"status": null,
"status_changed_at": null,
"supports_deeplinking": true,
"template": "https://goto.walmart.com/c/{AFF_ID}/565706/9383?veh=aff&sourceid=imp_000011112222333344&u=https%3A%2F%2Fwww.walmart.com",
"url": null
},
{
"approval": null,
"deeplink": {
"domain": "walmart.com",
"template": "https://r.v2i8b.com/api/v1/bid/redirect?url={target_url}&campaign_id={AFF_ID}&source={SUB_ID}"
},
"outclick": null,
"provider": "shopnomix",
"status": null,
"status_changed_at": null,
"supports_deeplinking": true,
"template": "https://r.v2i8b.com/api/v1/bid/redirect?url=https%3A%2F%2Fwalmart.com&campaign_id={AFF_ID}&source={SUB_ID}",
"url": null
}
],
"slug": "nmer_av0000sn",
"supports": {
"products": true,
"promotions": false,
"services": false
},
"supports_deeplinking": true
},
"meta": {
"trace_id": "01a13a8b-3124-7362-9f63-77b7f1fa1e17"
}
}Affiliate.com
Merchant details
Read one merchant’s full profile, network, canonical record and link templates by an ID from merchants/search.
POST
https://api.aisa.one
/
apis
/
v1
/
affiliate-com
/
merchants
/
get
Merchant details
curl --request POST \
--url https://api.aisa.one/apis/v1/affiliate-com/merchants/get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "102458"
}'import requests
url = "https://api.aisa.one/apis/v1/affiliate-com/merchants/get"
payload = { "id": "102458" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '102458'})
};
fetch('https://api.aisa.one/apis/v1/affiliate-com/merchants/get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/affiliate-com/merchants/get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '102458'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/affiliate-com/merchants/get"
payload := strings.NewReader("{\n \"id\": \"102458\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/affiliate-com/merchants/get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"102458\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/affiliate-com/merchants/get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"102458\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"canonical": {
"domain_canonical_id": "mer_01kkjt853h7vdvq7bvn73dsvj2",
"domains": {
"walmart.ca": "mer_01kkjsyz2qqnwc84t9tdhnnbcq",
"walmart.com": "mer_01kkjt853h7vdvq7bvn73dsvj2"
},
"icon_url": null,
"id": "mer_01kkk5eqt22cdgre41nfw42p4k",
"links": {
"domain_canonical": "https://api.affiliate.com/v1/merchants/mer_01kkjt853h7vdvq7bvn73dsvj2?extended=1",
"self": "https://api.affiliate.com/v1/merchants/mer_01kkk5eqt22cdgre41nfw42p4k?extended=1"
},
"logo_url": null,
"name": "Walmart",
"site_url": "https://walmart.com",
"slug": "mer_nfw42p4k"
},
"categories": [],
"cookie_duration": null,
"countries": [
"US",
"US"
],
"currencies": [],
"description": "Earn by referring customers to Walmart.com",
"domains": [
"https://walmart.com",
"https://www.walmart.com"
],
"home_url": "https://walmart.com",
"icon_url": "https://img.affiliate.com/logos/merchants/102458/logo.png",
"id": 102458,
"logo_url": "https://img.affiliate.com/logos/merchants/102458/logo.png",
"name": "Walmart",
"network": {
"canonical_id": "net_01kkgbymywvbf5qjdcdwchxdhm",
"icon_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"id": 335,
"links": {
"canonical": "https://api.affiliate.com/v1/networks/net_01kkgbymywvbf5qjdcdwchxdhm?extended=1",
"self": "https://api.affiliate.com/v1/networks/rnet_01kkgbyq82ve56ywbmhm7pn95t?extended=1"
},
"logo_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"name": "Impact",
"region": "US",
"slug": "rnet_hm7pn95t",
"url": "https://www.impact.com"
},
"object_id": "nmer_01khfn0gjh5z32n9bgav0000sn",
"origin_id": "9383",
"product_count": 525667,
"providers": [
{
"approval": null,
"deeplink": null,
"outclick": null,
"provider": "network",
"status": null,
"status_changed_at": null,
"supports_deeplinking": true,
"template": "https://goto.walmart.com/c/{AFF_ID}/565706/9383?veh=aff&sourceid=imp_000011112222333344&u=https%3A%2F%2Fwww.walmart.com",
"url": null
},
{
"approval": null,
"deeplink": {
"domain": "walmart.com",
"template": "https://r.v2i8b.com/api/v1/bid/redirect?url={target_url}&campaign_id={AFF_ID}&source={SUB_ID}"
},
"outclick": null,
"provider": "shopnomix",
"status": null,
"status_changed_at": null,
"supports_deeplinking": true,
"template": "https://r.v2i8b.com/api/v1/bid/redirect?url=https%3A%2F%2Fwalmart.com&campaign_id={AFF_ID}&source={SUB_ID}",
"url": null
}
],
"slug": "nmer_av0000sn",
"supports": {
"products": true,
"promotions": false,
"services": false
},
"supports_deeplinking": true
},
"meta": {
"trace_id": "01a13a8b-3124-7362-9f63-77b7f1fa1e17"
}
}请求规范
- 方法与路径: POST /apis/v1/affiliate-com/merchants/get
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/affiliate-com/merchants/get
{
"operationId": "affiliate-com.merchants.get",
"method": "POST",
"path": "/apis/v1/affiliate-com/merchants/get",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"id": "102458"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"id": {
"description": "Merchant ID from merchants/search: numeric id, `nmer_` object_id, `mer_` canonical ID or slug.",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0025 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json
响应
One extended merchant under data. The reference page shows a one-element list; the live API answers a single object. A mer_ canonical ID resolves to the canonical merchant.
The response contains the tool result directly.
The provider identifies data as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
id | number | Numeric merchant ID (legacy); merchants/get accepts it. |
object_id | string | Stable nmer_ ID of this merchant on one network. |
slug | string | |
origin_id | string | The merchant's ID on its source network; may be null. |
name | string | |
description | string | May be null. |
domains | string[] | Merchant site URLs. |
home_url | string | Merchant homepage; may be null. |
icon_url | string | |
logo_url | string | |
product_count | number | |
promotion_count | number | |
has_content | boolean | |
cookie_duration | string | ISO 8601 duration such as P1M2D; null when not reported. |
supports_deeplinking | boolean | Null when unknown. |
categories | object[] | id, breadcrumb, name, shopify_id, google_id. |
countries | string[] | |
currencies | string[] | |
supports | object | products, services, promotions booleans. |
providers | object[] | One entry per way to earn on the merchant (network or shopnomix): status, url, template, outclick, supports_deeplinking, deeplink, approval. template holds {AFF_ID}/{SUB_ID} slots for the caller's own publisher and sub-IDs. status, url and outclick describe the Exchange's shared affiliate.com account, which has no network credentials, so they are normally null; credential_id is removed. |
network | object | id, slug, name, region, url, logo_url, icon_url, canonical_id, links. |
canonical | object | Deduplicated canonical merchant (mer_ id, name, site_url, domains map); null when none. |
merchant_types | string[] | standard or asn. |
link_services | object | Third-party link services and their mode; null when none. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.