Models API
The models module provides data models for the 1WorldSync API responses.
Product
- class oneworldsync.models.Product(data)[source]
Bases:
objectModel representing a product from the 1WorldSync API
- __init__(data)[source]
Initialize a product from API data
- Parameters:
data (dict) – Product data from the API