Shopify
Project Connectors/E-commerce/ShopifyDataSource/. ShopifyDataSource : WebAPIDataSource. Namespace TheTechIdea.Beep.Connectors.Ecommerce.Shopify (models in …Shopify.Models). DataSourceType.Shopify, DatasourceCategory.Connector.
API surface
Admin REST patterns for products, orders, customers, and related resources are mapped into entities and commands. Exact routes and versioning follow Shopify’s Admin API conventions implemented in the datasource.
Source & IDataSource
Implementation: Connectors/E-commerce/ShopifyDataSource/ShopifyDataSource.cs — ShopifyDataSource : WebAPIDataSource. Admin REST resources are exposed as entities; strongly typed commands attach the datasource to returned models for follow-up calls.
Command methods (CommandAttribute)
Name | Method | Returns | ObjectType |
|---|---|---|---|
| GetProducts | GetProducts(List<AppFilter>? filters = null) | Task<IEnumerable<Product>> | Product |
| GetOrders | GetOrders(List<AppFilter>? filters = null) | Task<IEnumerable<Order>> | Order |
| GetCustomers | GetCustomers(List<AppFilter>? filters = null) | Task<IEnumerable<Customer>> | Customer |
| GetInventoryItems | GetInventoryItems(List<AppFilter>? filters = null) | Task<IEnumerable<InventoryItem>> | InventoryItem |
| GetLocations | GetLocations(List<AppFilter>? filters = null) | Task<IEnumerable<Location>> | Location |
| GetCustomCollections | GetCustomCollections(List<AppFilter>? filters = null) | Task<IEnumerable<CustomCollection>> | CustomCollection |
| GetSmartCollections | GetSmartCollections(List<AppFilter>? filters = null) | Task<IEnumerable<SmartCollection>> | SmartCollection |
| CreateProduct | CreateProductAsync(Product product) | Task<IEnumerable<Product>> | Product |
| UpdateProduct | UpdateProductAsync(Product product) | Task<IEnumerable<Product>> | Product |
| CreateOrder | CreateOrderAsync(Order order) | Task<IEnumerable<Order>> | Order |
| UpdateOrder | UpdateOrderAsync(Order order) | Task<IEnumerable<Order>> | Order |
| CreateCustomer | CreateCustomerAsync(Customer customer) | Task<IEnumerable<Customer>> | Customer |
| UpdateCustomer | UpdateCustomerAsync(Customer customer) | Task<IEnumerable<Customer>> | Customer |
| CreateInventoryItem | CreateInventoryItemAsync(InventoryItem inventoryItem) | Task<IEnumerable<InventoryItem>> | InventoryItem |
| UpdateInventoryItem | UpdateInventoryItemAsync(InventoryItem inventoryItem) | Task<IEnumerable<InventoryItem>> | InventoryItem |
| CreateLocation | CreateLocationAsync(Location location) | Task<IEnumerable<Location>> | Location |
| UpdateLocation | UpdateLocationAsync(Location location) | Task<IEnumerable<Location>> | Location |
| CreateCustomCollection | CreateCustomCollectionAsync(CustomCollection customCollection) | Task<IEnumerable<CustomCollection>> | CustomCollection |
| UpdateCustomCollection | UpdateCustomCollectionAsync(CustomCollection customCollection) | Task<IEnumerable<CustomCollection>> | CustomCollection |
| CreateSmartCollection | CreateSmartCollectionAsync(SmartCollection smartCollection) | Task<IEnumerable<SmartCollection>> | SmartCollection |
| UpdateSmartCollection | UpdateSmartCollectionAsync(SmartCollection smartCollection) | Task<IEnumerable<SmartCollection>> | SmartCollection |
Model types
TheTechIdea.Beep.Connectors.Ecommerce.Shopify.Models — Product, Order, Customer, InventoryItem, Location, CustomCollection, SmartCollection, and nested types in the Shopify connector project.
Connection
Shop domain and access token (private app or OAuth) map through WebAPIConnectionProperties. Rate limits and API version headers are Shopify-specific.