|
1 | 1 | --- |
2 | 2 | name: Craft CMS Skills |
3 | | -description: Complete skill suite for managing Craft CMS content including sections, entry types, fields, entries, drafts, field layouts, and sites. |
| 3 | +description: Complete skill suite for managing Craft CMS content including users, addresses, sections, entry types, fields, entries, drafts, field layouts, sites, and Commerce products, variants, and orders. |
4 | 4 | --- |
5 | 5 |
|
6 | 6 | ## Important: Use this plugin, Not YAML Files |
@@ -80,5 +80,58 @@ All API endpoints: |
80 | 80 | - [delete_asset](delete_asset.md) - `DELETE /api/assets/<id>` - Delete asset and file |
81 | 81 | - [get_volumes](get_volumes.md) - `GET /api/volumes` - List asset volumes with IDs/URLs |
82 | 82 |
|
| 83 | +## Addresses |
| 84 | +- [get_addresses](get_addresses.md) - `GET /api/addresses` - List/search addresses by owner, field, and location |
| 85 | +- [get_address](get_address.md) - `GET /api/addresses/<id>` - Retrieve address details with owner and field context |
| 86 | +- [create_address](create_address.md) - `POST /api/addresses` - Create generic owner-backed addresses for users or custom address fields |
| 87 | +- [update_address](update_address.md) - `PUT /api/addresses/<id>` - Update address attributes and custom fields |
| 88 | +- [delete_address](delete_address.md) - `DELETE /api/addresses/<id>` - Delete address (soft/permanent) |
| 89 | +- [get_address_field_layout](get_address_field_layout.md) - `GET /api/addresses/field-layout` - Retrieve the single global address field layout |
| 90 | + |
| 91 | +## Users |
| 92 | +- [get_users](get_users.md) - `GET /api/users` - List/search users by query, identity fields, status, and optionally group |
| 93 | +- [get_user](get_user.md) - `GET /api/users/<id>` - Retrieve a user by ID, email, or username |
| 94 | +- [create_user](create_user.md) - `POST /api/users` - Create a user with native attributes and custom fields |
| 95 | +- [get_available_permissions](get_available_permissions.md) - `GET /api/users/permissions` - List all known permissions plus custom stored permission names |
| 96 | +- [update_user](update_user.md) - `PUT /api/users/<id>` - Update a user by ID, email, or username |
| 97 | +- [delete_user](delete_user.md) - `DELETE /api/users/<id>` - Delete a user by ID, email, or username |
| 98 | +- [get_user_field_layout](get_user_field_layout.md) - `GET /api/users/field-layout` - Retrieve the single global user field layout |
| 99 | + |
| 100 | +## User Groups |
| 101 | +- [get_user_groups](get_user_groups.md) - `GET /api/user-groups` - List user groups and their permissions |
| 102 | +- [get_user_group](get_user_group.md) - `GET /api/user-groups/<id>` - Retrieve a user group by ID or handle |
| 103 | +- [create_user_group](create_user_group.md) - `POST /api/user-groups` - Create a user group and set permissions |
| 104 | +- [update_user_group](update_user_group.md) - `PUT /api/user-groups/<id>` - Update a user group and its permissions |
| 105 | +- [delete_user_group](delete_user_group.md) - `DELETE /api/user-groups/<id>` - Delete a user group by ID or handle |
| 106 | + |
83 | 107 | ## System |
84 | 108 | - [health](health.md) - `GET /api/health` - Health check endpoint to verify plugin installation and API availability |
| 109 | + |
| 110 | +## Commerce: Products |
| 111 | +- [create_product](create_product.md) - `POST /api/products` - Create product with type, title, SKU, price, and custom fields |
| 112 | +- [get_product](get_product.md) - `GET /api/products/<id>` - Retrieve product with variants, pricing, and custom fields |
| 113 | +- [get_products](get_products.md) - `GET /api/products/search` - Search/filter products by type/status/query |
| 114 | +- [update_product](update_product.md) - `PUT /api/products/<id>` - Update product attributes and custom fields |
| 115 | +- [delete_product](delete_product.md) - `DELETE /api/products/<id>` - Delete product (soft/permanent) |
| 116 | +- [get_product_types](get_product_types.md) - `GET /api/product-types` - List available Commerce product types |
| 117 | +- [get_product_type](get_product_type.md) - `GET /api/product-types/<id>` - Retrieve product type with field layouts and site settings |
| 118 | +- [create_product_type](create_product_type.md) - `POST /api/product-types` - Create product type with title, variant, layout, and site settings |
| 119 | +- [update_product_type](update_product_type.md) - `PUT /api/product-types/<id>` - Update product type configuration and site settings |
| 120 | +- [delete_product_type](delete_product_type.md) - `DELETE /api/product-types/<id>` - Delete product type with impact analysis and force protection |
| 121 | + |
| 122 | +## Commerce: Variants |
| 123 | +- [create_variant](create_variant.md) - `POST /api/variants` - Add variant to existing product with SKU, price, and attributes |
| 124 | +- [get_variant](get_variant.md) - `GET /api/variants/<id>` - Retrieve variant with pricing, inventory, and dimensions |
| 125 | +- [update_variant](update_variant.md) - `PUT /api/variants/<id>` - Update variant pricing, SKU, stock, and fields |
| 126 | +- [delete_variant](delete_variant.md) - `DELETE /api/variants/<id>` - Delete variant (soft/permanent) |
| 127 | + |
| 128 | +## Commerce: Orders |
| 129 | +- [get_order](get_order.md) - `GET /api/orders/<id>` - Retrieve order with line items, totals, and addresses |
| 130 | +- [search_orders](search_orders.md) - `GET /api/orders/search` - Search/filter orders by email/status/date/payment |
| 131 | +- [update_order](update_order.md) - `PUT /api/orders/<id>` - Update order status or message |
| 132 | +- [get_order_statuses](get_order_statuses.md) - `GET /api/order-statuses` - List all order statuses with IDs/handles/colors |
| 133 | + |
| 134 | +## Commerce: Stores |
| 135 | +- [get_stores](get_stores.md) - `GET /api/stores` - List all stores with checkout/payment/tax configuration |
| 136 | +- [get_store](get_store.md) - `GET /api/stores/<id>` - Retrieve store with full configuration details |
| 137 | +- [update_store](update_store.md) - `PUT /api/stores/<id>` - Update store checkout, payment, and pricing settings |
0 commit comments