https://api.nexscope.ai/woocommerce/productAttributeDetailRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/woocommerce/productAttributeDetail |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
storeUrl | string | required | Public HTTPS store root or WordPress installation path. Example: https://example.com |
attributeId | string | required | Store-scoped attribute ID. Example: 1 |
Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {
"attribute": {
"hasArchives": false,
"id": "1",
"name": "Color",
"order": "menu_order",
"taxonomy": "pa_color",
"type": "select"
},
"cacheHit": false,
"fetchedAt": "1792972800000",
"storeUrl": "https://example.com"
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
data | any | required | Data value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds. |
Any of option 1 — requires storeUrl, fetchedAt, cacheHit, attribute
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.attribute | object | required | Normalized public data. Missing optional values are null or empty strings. Example: {} |
data.attribute.hasArchives | any | optional | Has archives value used by this API operation. |
data.attribute.id | string | required | Store-scoped ID string. Example: 1 |
data.attribute.name | string | required | Plain text name. Example: Color |
data.attribute.order | string | required | Public attribute metadata. Example: menu_order |
data.attribute.taxonomy | string | required | Public attribute metadata. Example: pa_color |
data.attribute.type | string | required | Public attribute metadata. Example: select |
data.cacheHit | boolean | required | Whether the response was served from the anonymous 60-second cache. Example: false |
data.fetchedAt | string | required | Fetch time in epoch milliseconds; preserved on cache hits. Example: 1792972800000 |
data.storeUrl | string | required | Normalized store identity. Example: https://example.com |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.attribute.hasArchives | boolean | optional | Whether public archives are enabled; null when unavailable. Example: false |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.attribute.hasArchives | null | optional | Has archives value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Responses
| Code | Description |
|---|---|
| 200 | Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result. |
| 429 | Execution admission rate limit; honor Retry-After when present. |
| 503 | Execution admission is temporarily unavailable; honor Retry-After when present. |
| Opt-in | X-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing API key (code 11209), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses. |
Data source, freshness, and limitations
Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.