Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a product attribute by its ID.
curl 'http://localhost:9000/vendor/product-attributes/pattr_01HXYZ' \ -H 'Authorization: Bearer <token>' \ -H 'x-seller-id: <seller_id>'
const { product_attribute } = await client.vendor.productAttributes.$id.query({ $id: "pattr_01HXYZ", })
{ "product_attribute": { "id": "pattr_01HXYZ", "name": "Color", "handle": "color", "type": "multi_select", "is_variant_axis": true, "values": [ { "id": "pattrval_01HXYZ", "name": "Red", "rank": 0 }, { "id": "pattrval_01HABC", "name": "Blue", "rank": 1 } ] } }
404
+
-
Show properties
single_select
multi_select
unit
toggle
text
id
name
handle
rank