curl --request GET \
--url https://api.apostra.com/api/v2/storefront/account-mappings/export \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apostra.com/api/v2/storefront/account-mappings/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apostra.com/api/v2/storefront/account-mappings/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"templateCsv": "<string>",
"currentBindingsCsv": "<string>",
"sourceAccountsCsv": "<string>",
"bindingCount": 4503599627370495,
"sourceAccountCount": 4503599627370495,
"truncated": true
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Export buyer account mappings
Export the normalized source-mapping template, current healthy mappings, and active source-account choices as formula-safe, byte-bounded CSV documents.
curl --request GET \
--url https://api.apostra.com/api/v2/storefront/account-mappings/export \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apostra.com/api/v2/storefront/account-mappings/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apostra.com/api/v2/storefront/account-mappings/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"templateCsv": "<string>",
"currentBindingsCsv": "<string>",
"sourceAccountsCsv": "<string>",
"bindingCount": 4503599627370495,
"sourceAccountCount": 4503599627370495,
"truncated": true
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Response
Export buyer account mappings
Mode-versioned source-account binding snapshot. Legacy mode retains its dedicated-only v1 contract; complete AccountKey mode uses v2, carries binding_mode in every row, and rejects ambiguous legacy shared defaults rather than converting them.
Empty source-account binding template for the active mapping mode. Complete AccountKey mode exports schema_version 2 rows with explicit binding_mode.
Spreadsheet-safe snapshot of current bindings. Complete AccountKey mode uses schema_version 2 and preserves dedicated versus shared_default with a reversible formula-safe encoding for opaque identifiers.
0 <= x <= 90071992547409910 <= x <= 9007199254740991