API Reference
Update market/language pairs for a domain
X-API-Key<token>
API Key for programmatic access
In: header
Path Parameters
domainId*string
The ID of the domain
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/api/domains/string/market-language-pairs" \ -H "Content-Type: application/json" \ -d '{ "marketLanguageCodePairs": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "market": "US", "languageCode": "en" } ] }'{ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "displayName": "Nike", "name": "Nike", "website": "nike.com", "url": "nike.com", "industry": "Athletic Apparel", "market": "US", "primaryLanguageCode": "en", "shortDescription": "A global leader in athletic footwear, apparel, and equipment.", "fullDescription": "Nike, Inc. designs, develops, and markets athletic footwear, apparel, equipment, and accessories worldwide under the Nike, Jordan, and Converse brands.", "longDescription": "Nike, Inc. designs, develops, and markets athletic footwear, apparel, equipment, and accessories worldwide under the Nike, Jordan, and Converse brands.", "objectives": "Increase brand visibility in performance running and grow direct-to-consumer sales.", "alignmentPrompts": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "market": "US", "languageCode": "en", "prompts": [ { "id": "5c1f2e90-1a2b-4c3d-9e8f-0a1b2c3d4e5f", "attribute": "innovative", "prompt": "How innovative is Nike compared to competitors?", "isActive": true, "createdAt": "2026-05-25T10:30:00.000Z", "updatedAt": "2026-05-25T10:30:00.000Z" } ] } ], "globalAlignmentPrompts": [ { "id": "7b2c3d4e-5f6a-4b8c-9d0e-1f2a3b4c5d6e", "market": "US", "languageCode": "en", "prompts": [ { "id": "8c3d4e5f-6a7b-4c9d-8e0f-2a3b4c5d6e7f", "prompt": "Does Nike align with sustainability values?", "isActive": true, "createdAt": "2026-05-25T10:30:00.000Z", "updatedAt": "2026-05-25T10:30:00.000Z" } ] } ], "scrapedKeywords": [ "running shoes", "sneakers", "athletic wear" ], "transactionalKeywords": [ "buy nike air max", "best running shoes for marathon" ], "personas": [ "Marathon runner", "Casual sneaker collector" ], "aliases": [ "Nike Inc.", "Nike Sportswear" ], "competitors": [ "Adidas", "Puma" ], "competitorDetails": [ { "name": "Adidas", "website": "adidas.com" }, { "name": "Puma", "website": "puma.com" } ], "logo": "https://nike.com/logo.png", "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2026-05-25T10:30:00.000Z", "updatedAt": "2026-05-25T10:30:00.000Z", "nextManualAnalysisAllowedAt": "2026-05-26T10:30:00.000Z", "lastReportDate": "2026-05-25T10:30:00.000Z", "sentimentPrompts": [ { "id": "9d4e5f6a-7b8c-4d0e-9f1a-3b4c5d6e7f8a", "market": "US", "languageCode": "en", "prompts": [ { "id": "ae5f6a7b-8c9d-4e1f-8a2b-4c5d6e7f8a9b", "prompt": "What do customers think about Nike?", "isActive": true, "createdAt": "2026-05-25T10:30:00.000Z", "updatedAt": "2026-05-25T10:30:00.000Z" } ] } ], "marketLanguageCodePairs": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "market": "US", "languageCode": "en" } ], "enabledFeatures": { "sentiment": true, "alignment": true }}