inttegro.product

Models, requests, and enums for the Inttegro product resource.

The primary returned object is inttegro.product.Product. Related request types, nested response shapes, and string-backed enums are exported from this singular namespace. Public members load lazily, so importing one resource does not eagerly import the entire SDK.

  1"""Models, requests, and enums for the Inttegro product resource.
  2
  3The primary returned object is ``inttegro.product.Product``. Related request types, nested response shapes, and string-backed enums are exported from this singular namespace. Public members load lazily, so importing one resource does not eagerly import the entire SDK."""
  4
  5from importlib import import_module
  6from typing import TYPE_CHECKING, Any
  7
  8if TYPE_CHECKING:
  9    from .action_request import ActionRequest as ActionRequest
 10    from .add_price_request import AddPriceRequest as AddPriceRequest
 11    from .add_price_response import AddPriceResponse as AddPriceResponse
 12    from .attribute import Attribute as Attribute
 13    from .attribute_input import AttributeInput as AttributeInput
 14    from .catalog_with_price_data_input import CatalogWithPriceDataInput as CatalogWithPriceDataInput
 15    from .catalog_with_price_reference_input import CatalogWithPriceReferenceInput as CatalogWithPriceReferenceInput
 16    from .catalog_with_customer_selected_price_input import CatalogWithCustomerSelectedPriceInput as CatalogWithCustomerSelectedPriceInput
 17    from .customer_selected_price_input import CustomerSelectedPriceInput as CustomerSelectedPriceInput
 18    from .create_request import CreateRequest as CreateRequest
 19    from .delivery import Delivery as Delivery
 20    from .details_input import DetailsInput as DetailsInput
 21    from .dimensions import Dimensions as Dimensions
 22    from .dimensions_custom import DimensionsCustom as DimensionsCustom
 23    from .dimensions_digital import DimensionsDigital as DimensionsDigital
 24    from .dimensions_input import DimensionsInput as DimensionsInput
 25    from .dimensions_input_custom import DimensionsInputCustom as DimensionsInputCustom
 26    from .dimensions_input_digital import DimensionsInputDigital as DimensionsInputDigital
 27    from .dimensions_input_physical import DimensionsInputPhysical as DimensionsInputPhysical
 28    from .dimensions_physical import DimensionsPhysical as DimensionsPhysical
 29    from .download import Download as Download
 30    from .inline_details_input import InlineDetailsInput as InlineDetailsInput
 31    from .line_item_input import LineItemInput as LineItemInput
 32    from .lookup_request import LookupRequest as LookupRequest
 33    from .media import Media as Media
 34    from .media_input import MediaInput as MediaInput
 35    from .page import Page as Page
 36    from .page_request import PageRequest as PageRequest
 37    from .page_response import PageResponse as PageResponse
 38    from .price_summary import PriceSummary as PriceSummary
 39    from .product import Product as Product
 40    from .render import Render as Render
 41    from .response import Response as Response
 42    from .service import Service as Service
 43    from .shipment import Shipment as Shipment
 44    from .shipment_input import ShipmentInput as ShipmentInput
 45    from .shipment_input_type import ShipmentInputType as ShipmentInputType
 46    from .shipment_type import ShipmentType as ShipmentType
 47    from .stream import Stream as Stream
 48    from .type import Type as Type
 49    from .update_request import UpdateRequest as UpdateRequest
 50    from .update_response import UpdateResponse as UpdateResponse
 51    from .updated import Updated as Updated
 52
 53
 54_EXPORTS: dict[str, tuple[str, str]] = {
 55    "ActionRequest": ("inttegro.product.action_request", "ActionRequest"),
 56    "AddPriceRequest": ("inttegro.product.add_price_request", "AddPriceRequest"),
 57    "AddPriceResponse": ("inttegro.product.add_price_response", "AddPriceResponse"),
 58    "Attribute": ("inttegro.product.attribute", "Attribute"),
 59    "AttributeInput": ("inttegro.product.attribute_input", "AttributeInput"),
 60    "CatalogWithPriceDataInput": ("inttegro.product.catalog_with_price_data_input", "CatalogWithPriceDataInput"),
 61    "CatalogWithPriceReferenceInput": ("inttegro.product.catalog_with_price_reference_input", "CatalogWithPriceReferenceInput"),
 62    "CatalogWithCustomerSelectedPriceInput": ("inttegro.product.catalog_with_customer_selected_price_input", "CatalogWithCustomerSelectedPriceInput"),
 63    "CustomerSelectedPriceInput": ("inttegro.product.customer_selected_price_input", "CustomerSelectedPriceInput"),
 64    "CreateRequest": ("inttegro.product.create_request", "CreateRequest"),
 65    "Delivery": ("inttegro.product.delivery", "Delivery"),
 66    "DetailsInput": ("inttegro.product.details_input", "DetailsInput"),
 67    "Dimensions": ("inttegro.product.dimensions", "Dimensions"),
 68    "DimensionsCustom": ("inttegro.product.dimensions_custom", "DimensionsCustom"),
 69    "DimensionsDigital": ("inttegro.product.dimensions_digital", "DimensionsDigital"),
 70    "DimensionsInput": ("inttegro.product.dimensions_input", "DimensionsInput"),
 71    "DimensionsInputCustom": ("inttegro.product.dimensions_input_custom", "DimensionsInputCustom"),
 72    "DimensionsInputDigital": ("inttegro.product.dimensions_input_digital", "DimensionsInputDigital"),
 73    "DimensionsInputPhysical": ("inttegro.product.dimensions_input_physical", "DimensionsInputPhysical"),
 74    "DimensionsPhysical": ("inttegro.product.dimensions_physical", "DimensionsPhysical"),
 75    "Download": ("inttegro.product.download", "Download"),
 76    "InlineDetailsInput": ("inttegro.product.inline_details_input", "InlineDetailsInput"),
 77    "LineItemInput": ("inttegro.product.line_item_input", "LineItemInput"),
 78    "LookupRequest": ("inttegro.product.lookup_request", "LookupRequest"),
 79    "Media": ("inttegro.product.media", "Media"),
 80    "MediaInput": ("inttegro.product.media_input", "MediaInput"),
 81    "Page": ("inttegro.product.page", "Page"),
 82    "PageRequest": ("inttegro.product.page_request", "PageRequest"),
 83    "PageResponse": ("inttegro.product.page_response", "PageResponse"),
 84    "PriceSummary": ("inttegro.product.price_summary", "PriceSummary"),
 85    "Product": ("inttegro.product.product", "Product"),
 86    "Render": ("inttegro.product.render", "Render"),
 87    "Response": ("inttegro.product.response", "Response"),
 88    "Service": ("inttegro.product.service", "Service"),
 89    "Shipment": ("inttegro.product.shipment", "Shipment"),
 90    "ShipmentInput": ("inttegro.product.shipment_input", "ShipmentInput"),
 91    "ShipmentInputType": ("inttegro.product.shipment_input_type", "ShipmentInputType"),
 92    "ShipmentType": ("inttegro.product.shipment_type", "ShipmentType"),
 93    "Stream": ("inttegro.product.stream", "Stream"),
 94    "Type": ("inttegro.product.type", "Type"),
 95    "UpdateRequest": ("inttegro.product.update_request", "UpdateRequest"),
 96    "UpdateResponse": ("inttegro.product.update_response", "UpdateResponse"),
 97    "Updated": ("inttegro.product.updated", "Updated"),
 98}
 99
100__all__ = [
101    "ActionRequest",
102    "AddPriceRequest",
103    "AddPriceResponse",
104    "Attribute",
105    "AttributeInput",
106    "CatalogWithPriceDataInput",
107    "CatalogWithPriceReferenceInput",
108    "CatalogWithCustomerSelectedPriceInput",
109    "CustomerSelectedPriceInput",
110    "CreateRequest",
111    "Delivery",
112    "DetailsInput",
113    "Dimensions",
114    "DimensionsCustom",
115    "DimensionsDigital",
116    "DimensionsInput",
117    "DimensionsInputCustom",
118    "DimensionsInputDigital",
119    "DimensionsInputPhysical",
120    "DimensionsPhysical",
121    "Download",
122    "InlineDetailsInput",
123    "LineItemInput",
124    "LookupRequest",
125    "Media",
126    "MediaInput",
127    "Page",
128    "PageRequest",
129    "PageResponse",
130    "PriceSummary",
131    "Product",
132    "Render",
133    "Response",
134    "Service",
135    "Shipment",
136    "ShipmentInput",
137    "ShipmentInputType",
138    "ShipmentType",
139    "Stream",
140    "Type",
141    "UpdateRequest",
142    "UpdateResponse",
143    "Updated",
144]
145
146
147def __getattr__(name: str) -> Any:
148    """Load a public resource type on first access."""
149    try:
150        module_name, attribute_name = _EXPORTS[name]
151    except KeyError:
152        raise AttributeError(f"module {__name__!r} has no attribute {name!r}") from None
153    value = getattr(import_module(module_name), attribute_name)
154    globals()[name] = value
155    return value
@dataclass(frozen=True, slots=True, kw_only=True)
class ActionRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class ActionRequest(ApiRequest):
14    """Parameters accepted by the action request operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``ProductActionRequest``.
21    """
22    product_id: str
23    """Product ID to perform action on. Required. Python type: ``str``; wire name: ``product_id``; JSON type: string"""

Parameters accepted by the action request operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductActionRequest.

ActionRequest(*, product_id: str)
product_id: str

Product ID to perform action on. Required. Python type: str; wire name: product_id; JSON type: string

@dataclass(frozen=True, slots=True, kw_only=True)
class AddPriceRequest(inttegro._request_base.ApiRequest):
15@dataclass(frozen=True, slots=True, kw_only=True)
16class AddPriceRequest(ApiRequest):
17    """Parameters accepted by the add price request operation.
18
19    This is an immutable, keyword-only request object. ``to_dict()`` uses
20    the documented wire names, omits fields left as ``UNSET``, serializes
21    string-backed enums by value, and requires timezone-aware datetimes.
22
23    API contract schema: ``AddProductPriceRequest``.
24    """
25    label: str | UnsetType = field(default=UNSET)
26    """Optional short label for the new price. Optional. Python type: ``str``; wire name: ``label``; JSON type: string. Constraints: maximum length 100"""
27    about: str | UnsetType = field(default=UNSET)
28    """Optional internal description for the new price. Optional. Python type: ``str``; wire name: ``about``; JSON type: string. Constraints: maximum length 500"""
29    product_id: str
30    """Product ID to attach the new price to. Required. Python type: ``str``; wire name: ``product_id``; JSON type: string"""
31    type: PriceType | UnsetType = field(default=UNSET)
32    """Price definition discriminator. Required by the tagged definition. Python type: ``PriceType``; wire name: ``type``; JSON type: string (PriceType)"""
33    fixed_amount: AmountParams | UnsetType = field(default=UNSET)
34    """Fixed price amount. Required when ``type`` is ``fixed_amount``. Python type: ``AmountParams``; wire name: ``fixed_amount``; JSON type: object (AmountParams)"""
35    customer_selected_amount: CustomerSelectedAmountParams | UnsetType = field(default=UNSET)
36    """Customer-selected price policy. Required when ``type`` is ``customer_selected_amount``. Python type: ``CustomerSelectedAmountParams``; wire name: ``customer_selected_amount``; JSON type: object (CustomerSelectedAmountParams)"""
37
38    def __post_init__(self) -> None:
39        fixed = (
40            self.type == PriceType.FIXED_AMOUNT
41            and self.fixed_amount is not UNSET
42            and self.customer_selected_amount is UNSET
43        )
44        selected = (
45            self.type == PriceType.CUSTOMER_SELECTED_AMOUNT
46            and self.customer_selected_amount is not UNSET
47            and self.fixed_amount is UNSET
48        )
49        if sum((fixed, selected)) != 1:
50            raise ValueError("provide exactly one valid product price definition")

Parameters accepted by the add price request operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: AddProductPriceRequest.

AddPriceRequest( *, label: str | inttegro._request_base.UnsetType = UNSET, about: str | inttegro._request_base.UnsetType = UNSET, product_id: str, type: Type | inttegro._request_base.UnsetType = UNSET, fixed_amount: inttegro.money.AmountParams | inttegro._request_base.UnsetType = UNSET, customer_selected_amount: inttegro.price.CustomerSelectedAmountParams | inttegro._request_base.UnsetType = UNSET)
label: str | inttegro._request_base.UnsetType

Optional short label for the new price. Optional. Python type: str; wire name: label; JSON type: string. Constraints: maximum length 100

about: str | inttegro._request_base.UnsetType

Optional internal description for the new price. Optional. Python type: str; wire name: about; JSON type: string. Constraints: maximum length 500

product_id: str

Product ID to attach the new price to. Required. Python type: str; wire name: product_id; JSON type: string

type: Type | inttegro._request_base.UnsetType

Price definition discriminator. Required by the tagged definition. Python type: PriceType; wire name: type; JSON type: string (PriceType)

fixed_amount: inttegro.money.AmountParams | inttegro._request_base.UnsetType

Fixed price amount. Required when type is fixed_amount. Python type: AmountParams; wire name: fixed_amount; JSON type: object (AmountParams)

customer_selected_amount: inttegro.price.CustomerSelectedAmountParams | inttegro._request_base.UnsetType

Customer-selected price policy. Required when type is customer_selected_amount. Python type: CustomerSelectedAmountParams; wire name: customer_selected_amount; JSON type: object (CustomerSelectedAmountParams)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class AddPriceResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class AddPriceResponse(ApiModel):
14    """Typed response returned by the add price operation.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``AddProductPriceResponse``.
23    """
24    price: CatalogPrice | None = field(init=False)
25    """The price associated with this add price response. Optional; nullable. Python type: ``CatalogPrice | None``; wire name: ``price``; JSON type: object (CatalogPrice)"""
26    error: Error | None = field(init=False)
27    """Standard error response structure returned by all API endpoints. Provides machine-readable codes, human-readable messages, and actionable guidance for resolution. Optional; nullable. Python type: ``Error | None``; wire name: ``error``; JSON type: object (Error)"""

Typed response returned by the add price operation.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: AddProductPriceResponse.

price: inttegro.price.Price | None

The price associated with this add price response. Optional; nullable. Python type: CatalogPrice | None; wire name: price; JSON type: object (CatalogPrice)

error: inttegro.shared.Error | None

Standard error response structure returned by all API endpoints. Provides machine-readable codes, human-readable messages, and actionable guidance for resolution. Optional; nullable. Python type: Error | None; wire name: error; JSON type: object (Error)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Attribute(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Attribute(ApiModel):
14    """Typed attribute data in the product resource namespace.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductAttribute``.
23    """
24    name: str = field(init=False)
25    """Human-readable name of the attribute. Required. Python type: ``str``; wire name: ``name``; JSON type: string. Constraints: maximum length 100"""
26    value: str = field(init=False)
27    """The value associated with this attribute. Required. Python type: ``str``; wire name: ``value``; JSON type: string. Constraints: maximum length 500"""

Typed attribute data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductAttribute.

name: str

Human-readable name of the attribute. Required. Python type: str; wire name: name; JSON type: string. Constraints: maximum length 100

value: str

The value associated with this attribute. Required. Python type: str; wire name: value; JSON type: string. Constraints: maximum length 500

@dataclass(frozen=True, slots=True, kw_only=True)
class AttributeInput(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class AttributeInput(ApiRequest):
14    """Parameters accepted by the attribute input operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``ProductAttributeInput``.
21    """
22    name: str
23    """Human-readable name of the attribute input. Required. Python type: ``str``; wire name: ``name``; JSON type: string. Constraints: maximum length 100"""
24    value: str
25    """The value associated with this attribute input. Required. Python type: ``str``; wire name: ``value``; JSON type: string. Constraints: maximum length 500"""

Parameters accepted by the attribute input operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductAttributeInput.

AttributeInput(*, name: str, value: str)
name: str

Human-readable name of the attribute input. Required. Python type: str; wire name: name; JSON type: string. Constraints: maximum length 100

value: str

The value associated with this attribute input. Required. Python type: str; wire name: value; JSON type: string. Constraints: maximum length 500

@dataclass(frozen=True, slots=True, kw_only=True)
class CatalogWithPriceDataInput(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class CatalogWithPriceDataInput(ApiRequest):
15    """Parameters accepted by the catalog with price data input operation.
16
17    This is an immutable, keyword-only request object. ``to_dict()`` uses
18    the documented wire names, omits fields left as ``UNSET``, serializes
19    string-backed enums by value, and requires timezone-aware datetimes.
20
21    API contract schema: ``CatalogProductWithPriceDataInput``.
22    """
23    price: PriceParams
24    """An inline price supplied in a request. Required. Python type: ``PriceParams``; wire name: ``price``; JSON type: object (PriceParams)"""
25    product_id: str
26    """Existing catalog product ID to snapshot onto the order line item. Required. Python type: ``str``; wire name: ``product_id``; JSON type: string"""
27    quantity: int
28    """How many units of the catalog product the customer is purchasing. Required. Python type: ``int``; wire name: ``quantity``; JSON type: integer. Constraints: minimum 1"""

Parameters accepted by the catalog with price data input operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: CatalogProductWithPriceDataInput.

CatalogWithPriceDataInput( *, price: inttegro.price.InlineParams, product_id: str, quantity: int)

An inline price supplied in a request. Required. Python type: PriceParams; wire name: price; JSON type: object (PriceParams)

product_id: str

Existing catalog product ID to snapshot onto the order line item. Required. Python type: str; wire name: product_id; JSON type: string

quantity: int

How many units of the catalog product the customer is purchasing. Required. Python type: int; wire name: quantity; JSON type: integer. Constraints: minimum 1

@dataclass(frozen=True, slots=True, kw_only=True)
class CatalogWithPriceReferenceInput(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class CatalogWithPriceReferenceInput(ApiRequest):
14    """Parameters accepted by the catalog with price reference input operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``CatalogProductWithPriceReferenceInput``.
21    """
22    price_id: str
23    """Existing product price to snapshot onto the order line item. It must belong to the same application and product. Required. Python type: ``str``; wire name: ``price_id``; JSON type: string"""
24    product_id: str
25    """Existing catalog product ID to snapshot onto the order line item. Required. Python type: ``str``; wire name: ``product_id``; JSON type: string"""
26    quantity: int
27    """How many units of the catalog product the customer is purchasing. Required. Python type: ``int``; wire name: ``quantity``; JSON type: integer. Constraints: minimum 1"""

Parameters accepted by the catalog with price reference input operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: CatalogProductWithPriceReferenceInput.

CatalogWithPriceReferenceInput(*, price_id: str, product_id: str, quantity: int)
price_id: str

Existing product price to snapshot onto the order line item. It must belong to the same application and product. Required. Python type: str; wire name: price_id; JSON type: string

product_id: str

Existing catalog product ID to snapshot onto the order line item. Required. Python type: str; wire name: product_id; JSON type: string

quantity: int

How many units of the catalog product the customer is purchasing. Required. Python type: int; wire name: quantity; JSON type: integer. Constraints: minimum 1

@dataclass(frozen=True, slots=True, kw_only=True)
class CatalogWithCustomerSelectedPriceInput(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class CatalogWithCustomerSelectedPriceInput(ApiRequest):
14    """A catalog product using a selected amount from one saved price."""
15
16    product_id: str
17    customer_selected_price: CustomerSelectedPriceInput
18    quantity: int

A catalog product using a selected amount from one saved price.

CatalogWithCustomerSelectedPriceInput( *, product_id: str, customer_selected_price: CustomerSelectedPriceInput, quantity: int)
product_id: str
customer_selected_price: CustomerSelectedPriceInput
quantity: int
@dataclass(frozen=True, slots=True, kw_only=True)
class CustomerSelectedPriceInput(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class CustomerSelectedPriceInput(ApiRequest):
14    """Couples a saved price policy with the concrete selected amount."""
15
16    price_id: str
17    selected_amount: AmountParams

Couples a saved price policy with the concrete selected amount.

CustomerSelectedPriceInput(*, price_id: str, selected_amount: inttegro.money.AmountParams)
price_id: str
selected_amount: inttegro.money.AmountParams
@dataclass(frozen=True, slots=True, kw_only=True)
class CreateRequest(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class CreateRequest(ApiRequest):
15    """Parameters accepted by the create request operation.
16
17    This is an immutable, keyword-only request object. ``to_dict()`` uses
18    the documented wire names, omits fields left as ``UNSET``, serializes
19    string-backed enums by value, and requires timezone-aware datetimes.
20
21    API contract schema: ``CreateProductRequest``.
22    """
23    reference: str | UnsetType = field(default=UNSET)
24    """External reference or SKU from your system. Optional. Python type: ``str``; wire name: ``reference``; JSON type: string. Constraints: minimum length 1; maximum length 100"""
25    description: str | UnsetType = field(default=UNSET)
26    """Short product description or tagline. Optional. Python type: ``str``; wire name: ``description``; JSON type: string. Constraints: maximum length 200"""
27    about: str | UnsetType = field(default=UNSET)
28    """Full product description with details and features. Optional. Python type: ``str``; wire name: ``about``; JSON type: string. Constraints: maximum length 5000"""
29    tax_code: str | UnsetType = field(default=UNSET)
30    """Tax classification code for tax calculations. Optional. Python type: ``str``; wire name: ``tax_code``; JSON type: string. Constraints: maximum length 50"""
31    category: str | UnsetType = field(default=UNSET)
32    """Product category for organization. Optional. Python type: ``str``; wire name: ``category``; JSON type: string. Constraints: maximum length 100"""
33    shipment: ProductShipmentInput | UnsetType = field(default=UNSET)
34    """The shipment associated with this create request. Optional. Python type: ``ProductShipmentInput``; wire name: ``shipment``; JSON type: object (ProductShipmentInput)"""
35    dimensions: ProductDimensionsInput | UnsetType = field(default=UNSET)
36    """At most one of `physical`, `digital`, or `custom`. Optional. Python type: ``ProductDimensionsInput``; wire name: ``dimensions``; JSON type: object (ProductDimensions)"""
37    unit_dimension: str | UnsetType = field(default=UNSET)
38    """The unit dimension associated with this create request. Optional. Python type: ``str``; wire name: ``unit_dimension``; JSON type: string. Constraints: maximum length 20"""
39    media: ProductMediaInput | UnsetType = field(default=UNSET)
40    """The media associated with this create request. Optional. Python type: ``ProductMediaInput``; wire name: ``media``; JSON type: object (ProductMedia)"""
41    attributes: list[ProductAttributeInput] | UnsetType = field(default=UNSET)
42    """Product attributes (size, color, material, etc.). Optional. Python type: ``list[ProductAttributeInput]``; wire name: ``attributes``; JSON type: array of object (ProductAttribute) values"""
43    publish: bool | UnsetType = field(default=UNSET)
44    """Whether to publish the product immediately. Optional. Python type: ``bool``; wire name: ``publish``; JSON type: boolean"""
45    custom_data: CustomData | UnsetType = field(default=UNSET)
46    """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: ``CustomData``; wire name: ``custom_data``; JSON type: object (CustomData)"""
47    type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]
48    """Product type - determines fulfillment requirements. Required. Python type: ``Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``physical``, ``digital``, ``service``, ``voucher``, ``custom``, ``cause``"""
49    name: str
50    """Customer-facing product name. Required. Python type: ``str``; wire name: ``name``; JSON type: string. Constraints: minimum length 1; maximum length 100"""

Parameters accepted by the create request operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: CreateProductRequest.

CreateRequest( *, reference: str | inttegro._request_base.UnsetType = UNSET, description: str | inttegro._request_base.UnsetType = UNSET, about: str | inttegro._request_base.UnsetType = UNSET, tax_code: str | inttegro._request_base.UnsetType = UNSET, category: str | inttegro._request_base.UnsetType = UNSET, shipment: ShipmentInput | inttegro._request_base.UnsetType = UNSET, dimensions: DimensionsInput | inttegro._request_base.UnsetType = UNSET, unit_dimension: str | inttegro._request_base.UnsetType = UNSET, media: MediaInput | inttegro._request_base.UnsetType = UNSET, attributes: list[AttributeInput] | inttegro._request_base.UnsetType = UNSET, publish: bool | inttegro._request_base.UnsetType = UNSET, custom_data: inttegro.CustomData | inttegro._request_base.UnsetType = UNSET, type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', <Type.PHYSICAL: 'physical'>, <Type.DIGITAL: 'digital'>, <Type.SERVICE: 'service'>, <Type.VOUCHER: 'voucher'>, <Type.CUSTOM: 'custom'>, <Type.CAUSE: 'cause'>], name: str)
reference: str | inttegro._request_base.UnsetType

External reference or SKU from your system. Optional. Python type: str; wire name: reference; JSON type: string. Constraints: minimum length 1; maximum length 100

description: str | inttegro._request_base.UnsetType

Short product description or tagline. Optional. Python type: str; wire name: description; JSON type: string. Constraints: maximum length 200

about: str | inttegro._request_base.UnsetType

Full product description with details and features. Optional. Python type: str; wire name: about; JSON type: string. Constraints: maximum length 5000

tax_code: str | inttegro._request_base.UnsetType

Tax classification code for tax calculations. Optional. Python type: str; wire name: tax_code; JSON type: string. Constraints: maximum length 50

category: str | inttegro._request_base.UnsetType

Product category for organization. Optional. Python type: str; wire name: category; JSON type: string. Constraints: maximum length 100

shipment: ShipmentInput | inttegro._request_base.UnsetType

The shipment associated with this create request. Optional. Python type: ProductShipmentInput; wire name: shipment; JSON type: object (ProductShipmentInput)

dimensions: DimensionsInput | inttegro._request_base.UnsetType

At most one of physical, digital, or custom. Optional. Python type: ProductDimensionsInput; wire name: dimensions; JSON type: object (ProductDimensions)

unit_dimension: str | inttegro._request_base.UnsetType

The unit dimension associated with this create request. Optional. Python type: str; wire name: unit_dimension; JSON type: string. Constraints: maximum length 20

media: MediaInput | inttegro._request_base.UnsetType

The media associated with this create request. Optional. Python type: ProductMediaInput; wire name: media; JSON type: object (ProductMedia)

attributes: list[AttributeInput] | inttegro._request_base.UnsetType

Product attributes (size, color, material, etc.). Optional. Python type: list[ProductAttributeInput]; wire name: attributes; JSON type: array of object (ProductAttribute) values

publish: bool | inttegro._request_base.UnsetType

Whether to publish the product immediately. Optional. Python type: bool; wire name: publish; JSON type: boolean

custom_data: inttegro.CustomData | inttegro._request_base.UnsetType

Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: CustomData; wire name: custom_data; JSON type: object (CustomData)

type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', <Type.PHYSICAL: 'physical'>, <Type.DIGITAL: 'digital'>, <Type.SERVICE: 'service'>, <Type.VOUCHER: 'voucher'>, <Type.CUSTOM: 'custom'>, <Type.CAUSE: 'cause'>]

Product type - determines fulfillment requirements. Required. Python type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]; wire name: type; JSON type: string. Constraints: allowed values physical, digital, service, voucher, custom, cause

name: str

Customer-facing product name. Required. Python type: str; wire name: name; JSON type: string. Constraints: minimum length 1; maximum length 100

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Delivery(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Delivery(ApiModel):
14    """Delivery fulfillment marker.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductDelivery``.
23    """
24    pass

Delivery fulfillment marker.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductDelivery.

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Dimensions(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Dimensions(ApiModel):
14    """At most one of `physical`, `digital`, or `custom`.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductDimensions``.
23    """
24    physical: ProductDimensionsPhysical | None = field(init=False)
25    """The physical associated with this dimension. Optional; nullable. Python type: ``ProductDimensionsPhysical | None``; wire name: ``physical``; JSON type: object"""
26    digital: ProductDimensionsDigital | None = field(init=False)
27    """The digital associated with this dimension. Optional; nullable. Python type: ``ProductDimensionsDigital | None``; wire name: ``digital``; JSON type: object"""
28    custom: ProductDimensionsCustom | None = field(init=False)
29    """The custom associated with this dimension. Optional; nullable. Python type: ``ProductDimensionsCustom | None``; wire name: ``custom``; JSON type: object"""

At most one of physical, digital, or custom.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductDimensions.

physical: DimensionsPhysical | None

The physical associated with this dimension. Optional; nullable. Python type: ProductDimensionsPhysical | None; wire name: physical; JSON type: object

digital: DimensionsDigital | None

The digital associated with this dimension. Optional; nullable. Python type: ProductDimensionsDigital | None; wire name: digital; JSON type: object

custom: DimensionsCustom | None

The custom associated with this dimension. Optional; nullable. Python type: ProductDimensionsCustom | None; wire name: custom; JSON type: object

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class DimensionsCustom(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class DimensionsCustom(ApiModel):
14    """Typed dimensions custom data in the product resource namespace.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductDimensionsCustom``.
23    """
24    size_unit: str | None = field(init=False)
25    """The size unit associated with this dimensions custom. Optional; nullable. Python type: ``str | None``; wire name: ``size_unit``; JSON type: string"""
26    size: float | None = field(init=False)
27    """Numeric size used by this operation. Optional; nullable. Python type: ``float | None``; wire name: ``size``; JSON type: number. Constraints: minimum 0"""
28    details: dict[str, str] | None = field(init=False)
29    """Named string measurements or descriptors for a product dimension. Optional; nullable. Python type: ``dict[str, str] | None``; wire name: ``details``; JSON type: object (ProductDimensionDetails)"""

Typed dimensions custom data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductDimensionsCustom.

size_unit: str | None

The size unit associated with this dimensions custom. Optional; nullable. Python type: str | None; wire name: size_unit; JSON type: string

size: float | None

Numeric size used by this operation. Optional; nullable. Python type: float | None; wire name: size; JSON type: number. Constraints: minimum 0

details: dict[str, str] | None

Named string measurements or descriptors for a product dimension. Optional; nullable. Python type: dict[str, str] | None; wire name: details; JSON type: object (ProductDimensionDetails)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class DimensionsDigital(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class DimensionsDigital(ApiModel):
14    """Typed dimensions digital data in the product resource namespace.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductDimensionsDigital``.
23    """
24    bytes: float | None = field(init=False)
25    """The bytes associated with this dimensions digital. Optional; nullable. Python type: ``float | None``; wire name: ``bytes``; JSON type: number. Constraints: minimum 0"""
26    size_unit: str | None = field(init=False)
27    """The size unit associated with this dimensions digital. Optional; nullable. Python type: ``str | None``; wire name: ``size_unit``; JSON type: string"""
28    size: float | None = field(init=False)
29    """Numeric size used by this operation. Optional; nullable. Python type: ``float | None``; wire name: ``size``; JSON type: number. Constraints: minimum 0"""

Typed dimensions digital data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductDimensionsDigital.

bytes: float | None

The bytes associated with this dimensions digital. Optional; nullable. Python type: float | None; wire name: bytes; JSON type: number. Constraints: minimum 0

size_unit: str | None

The size unit associated with this dimensions digital. Optional; nullable. Python type: str | None; wire name: size_unit; JSON type: string

size: float | None

Numeric size used by this operation. Optional; nullable. Python type: float | None; wire name: size; JSON type: number. Constraints: minimum 0

@dataclass(frozen=True, slots=True, kw_only=True)
class DimensionsInput(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class DimensionsInput(ApiRequest):
14    """At most one of `physical`, `digital`, or `custom`.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``ProductDimensionsInput``.
21    """
22    physical: ProductDimensionsInputPhysical | UnsetType = field(default=UNSET)
23    """The physical associated with this dimensions input. Optional. Python type: ``ProductDimensionsInputPhysical``; wire name: ``physical``; JSON type: object"""
24    digital: ProductDimensionsInputDigital | UnsetType = field(default=UNSET)
25    """The digital associated with this dimensions input. Optional. Python type: ``ProductDimensionsInputDigital``; wire name: ``digital``; JSON type: object"""
26    custom: ProductDimensionsInputCustom | UnsetType = field(default=UNSET)
27    """The custom associated with this dimensions input. Optional. Python type: ``ProductDimensionsInputCustom``; wire name: ``custom``; JSON type: object"""

At most one of physical, digital, or custom.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductDimensionsInput.

DimensionsInput( *, physical: DimensionsInputPhysical | inttegro._request_base.UnsetType = UNSET, digital: DimensionsInputDigital | inttegro._request_base.UnsetType = UNSET, custom: DimensionsInputCustom | inttegro._request_base.UnsetType = UNSET)
physical: DimensionsInputPhysical | inttegro._request_base.UnsetType

The physical associated with this dimensions input. Optional. Python type: ProductDimensionsInputPhysical; wire name: physical; JSON type: object

digital: DimensionsInputDigital | inttegro._request_base.UnsetType

The digital associated with this dimensions input. Optional. Python type: ProductDimensionsInputDigital; wire name: digital; JSON type: object

custom: DimensionsInputCustom | inttegro._request_base.UnsetType

The custom associated with this dimensions input. Optional. Python type: ProductDimensionsInputCustom; wire name: custom; JSON type: object

@dataclass(frozen=True, slots=True, kw_only=True)
class DimensionsInputCustom(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class DimensionsInputCustom(ApiRequest):
14    """Parameters accepted by the dimensions input custom operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``ProductDimensionsInputCustom``.
21    """
22    size_unit: str | UnsetType = field(default=UNSET)
23    """The size unit associated with this dimensions input custom. Optional. Python type: ``str``; wire name: ``size_unit``; JSON type: string"""
24    size: float | UnsetType = field(default=UNSET)
25    """Numeric size used by this operation. Optional. Python type: ``float``; wire name: ``size``; JSON type: number. Constraints: minimum 0"""
26    details: dict[str, str] | UnsetType = field(default=UNSET)
27    """Named string measurements or descriptors for a product dimension. Optional. Python type: ``dict[str, str]``; wire name: ``details``; JSON type: object (ProductDimensionDetails)"""

Parameters accepted by the dimensions input custom operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductDimensionsInputCustom.

DimensionsInputCustom( *, size_unit: str | inttegro._request_base.UnsetType = UNSET, size: float | inttegro._request_base.UnsetType = UNSET, details: dict[str, str] | inttegro._request_base.UnsetType = UNSET)
size_unit: str | inttegro._request_base.UnsetType

The size unit associated with this dimensions input custom. Optional. Python type: str; wire name: size_unit; JSON type: string

size: float | inttegro._request_base.UnsetType

Numeric size used by this operation. Optional. Python type: float; wire name: size; JSON type: number. Constraints: minimum 0

details: dict[str, str] | inttegro._request_base.UnsetType

Named string measurements or descriptors for a product dimension. Optional. Python type: dict[str, str]; wire name: details; JSON type: object (ProductDimensionDetails)

@dataclass(frozen=True, slots=True, kw_only=True)
class DimensionsInputDigital(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class DimensionsInputDigital(ApiRequest):
14    """Parameters accepted by the dimensions input digital operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``ProductDimensionsInputDigital``.
21    """
22    bytes: float | UnsetType = field(default=UNSET)
23    """The bytes associated with this dimensions input digital. Optional. Python type: ``float``; wire name: ``bytes``; JSON type: number. Constraints: minimum 0"""
24    size_unit: str | UnsetType = field(default=UNSET)
25    """The size unit associated with this dimensions input digital. Optional. Python type: ``str``; wire name: ``size_unit``; JSON type: string"""
26    size: float | UnsetType = field(default=UNSET)
27    """Numeric size used by this operation. Optional. Python type: ``float``; wire name: ``size``; JSON type: number. Constraints: minimum 0"""

Parameters accepted by the dimensions input digital operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductDimensionsInputDigital.

DimensionsInputDigital( *, bytes: float | inttegro._request_base.UnsetType = UNSET, size_unit: str | inttegro._request_base.UnsetType = UNSET, size: float | inttegro._request_base.UnsetType = UNSET)
bytes: float | inttegro._request_base.UnsetType

The bytes associated with this dimensions input digital. Optional. Python type: float; wire name: bytes; JSON type: number. Constraints: minimum 0

size_unit: str | inttegro._request_base.UnsetType

The size unit associated with this dimensions input digital. Optional. Python type: str; wire name: size_unit; JSON type: string

size: float | inttegro._request_base.UnsetType

Numeric size used by this operation. Optional. Python type: float; wire name: size; JSON type: number. Constraints: minimum 0

@dataclass(frozen=True, slots=True, kw_only=True)
class DimensionsInputPhysical(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class DimensionsInputPhysical(ApiRequest):
14    """Parameters accepted by the dimensions input physical operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``ProductDimensionsInputPhysical``.
21    """
22    weight_unit: str | UnsetType = field(default=UNSET)
23    """The weight unit associated with this dimensions input physical. Optional. Python type: ``str``; wire name: ``weight_unit``; JSON type: string"""
24    weight: float | UnsetType = field(default=UNSET)
25    """The weight associated with this dimensions input physical. Optional. Python type: ``float``; wire name: ``weight``; JSON type: number. Constraints: minimum 0"""
26    size: float | UnsetType = field(default=UNSET)
27    """Legacy alias for weight in requests. Optional. Python type: ``float``; wire name: ``size``; JSON type: number. Constraints: minimum 0"""
28    volume_unit: str | UnsetType = field(default=UNSET)
29    """The volume unit associated with this dimensions input physical. Optional. Python type: ``str``; wire name: ``volume_unit``; JSON type: string"""
30    volume: float | UnsetType = field(default=UNSET)
31    """The volume associated with this dimensions input physical. Optional. Python type: ``float``; wire name: ``volume``; JSON type: number. Constraints: minimum 0"""
32    length: float | UnsetType = field(default=UNSET)
33    """The length associated with this dimensions input physical. Optional. Python type: ``float``; wire name: ``length``; JSON type: number. Constraints: minimum 0"""
34    height: float | UnsetType = field(default=UNSET)
35    """The height associated with this dimensions input physical. Optional. Python type: ``float``; wire name: ``height``; JSON type: number. Constraints: minimum 0"""
36    width: float | UnsetType = field(default=UNSET)
37    """The width associated with this dimensions input physical. Optional. Python type: ``float``; wire name: ``width``; JSON type: number. Constraints: minimum 0"""

Parameters accepted by the dimensions input physical operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductDimensionsInputPhysical.

DimensionsInputPhysical( *, weight_unit: str | inttegro._request_base.UnsetType = UNSET, weight: float | inttegro._request_base.UnsetType = UNSET, size: float | inttegro._request_base.UnsetType = UNSET, volume_unit: str | inttegro._request_base.UnsetType = UNSET, volume: float | inttegro._request_base.UnsetType = UNSET, length: float | inttegro._request_base.UnsetType = UNSET, height: float | inttegro._request_base.UnsetType = UNSET, width: float | inttegro._request_base.UnsetType = UNSET)
weight_unit: str | inttegro._request_base.UnsetType

The weight unit associated with this dimensions input physical. Optional. Python type: str; wire name: weight_unit; JSON type: string

weight: float | inttegro._request_base.UnsetType

The weight associated with this dimensions input physical. Optional. Python type: float; wire name: weight; JSON type: number. Constraints: minimum 0

size: float | inttegro._request_base.UnsetType

Legacy alias for weight in requests. Optional. Python type: float; wire name: size; JSON type: number. Constraints: minimum 0

volume_unit: str | inttegro._request_base.UnsetType

The volume unit associated with this dimensions input physical. Optional. Python type: str; wire name: volume_unit; JSON type: string

volume: float | inttegro._request_base.UnsetType

The volume associated with this dimensions input physical. Optional. Python type: float; wire name: volume; JSON type: number. Constraints: minimum 0

length: float | inttegro._request_base.UnsetType

The length associated with this dimensions input physical. Optional. Python type: float; wire name: length; JSON type: number. Constraints: minimum 0

height: float | inttegro._request_base.UnsetType

The height associated with this dimensions input physical. Optional. Python type: float; wire name: height; JSON type: number. Constraints: minimum 0

width: float | inttegro._request_base.UnsetType

The width associated with this dimensions input physical. Optional. Python type: float; wire name: width; JSON type: number. Constraints: minimum 0

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class DimensionsPhysical(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class DimensionsPhysical(ApiModel):
14    """Typed dimensions physical data in the product resource namespace.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductDimensionsPhysical``.
23    """
24    weight_unit: str | None = field(init=False)
25    """The weight unit associated with this dimensions physical. Optional; nullable. Python type: ``str | None``; wire name: ``weight_unit``; JSON type: string"""
26    weight: float | None = field(init=False)
27    """The weight associated with this dimensions physical. Optional; nullable. Python type: ``float | None``; wire name: ``weight``; JSON type: number. Constraints: minimum 0"""
28    size: float | None = field(init=False)
29    """Legacy alias for weight in requests. Optional; nullable. Python type: ``float | None``; wire name: ``size``; JSON type: number. Constraints: minimum 0"""
30    volume_unit: str | None = field(init=False)
31    """The volume unit associated with this dimensions physical. Optional; nullable. Python type: ``str | None``; wire name: ``volume_unit``; JSON type: string"""
32    volume: float | None = field(init=False)
33    """The volume associated with this dimensions physical. Optional; nullable. Python type: ``float | None``; wire name: ``volume``; JSON type: number. Constraints: minimum 0"""
34    length: float | None = field(init=False)
35    """The length associated with this dimensions physical. Optional; nullable. Python type: ``float | None``; wire name: ``length``; JSON type: number. Constraints: minimum 0"""
36    height: float | None = field(init=False)
37    """The height associated with this dimensions physical. Optional; nullable. Python type: ``float | None``; wire name: ``height``; JSON type: number. Constraints: minimum 0"""
38    width: float | None = field(init=False)
39    """The width associated with this dimensions physical. Optional; nullable. Python type: ``float | None``; wire name: ``width``; JSON type: number. Constraints: minimum 0"""

Typed dimensions physical data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductDimensionsPhysical.

weight_unit: str | None

The weight unit associated with this dimensions physical. Optional; nullable. Python type: str | None; wire name: weight_unit; JSON type: string

weight: float | None

The weight associated with this dimensions physical. Optional; nullable. Python type: float | None; wire name: weight; JSON type: number. Constraints: minimum 0

size: float | None

Legacy alias for weight in requests. Optional; nullable. Python type: float | None; wire name: size; JSON type: number. Constraints: minimum 0

volume_unit: str | None

The volume unit associated with this dimensions physical. Optional; nullable. Python type: str | None; wire name: volume_unit; JSON type: string

volume: float | None

The volume associated with this dimensions physical. Optional; nullable. Python type: float | None; wire name: volume; JSON type: number. Constraints: minimum 0

length: float | None

The length associated with this dimensions physical. Optional; nullable. Python type: float | None; wire name: length; JSON type: number. Constraints: minimum 0

height: float | None

The height associated with this dimensions physical. Optional; nullable. Python type: float | None; wire name: height; JSON type: number. Constraints: minimum 0

width: float | None

The width associated with this dimensions physical. Optional; nullable. Python type: float | None; wire name: width; JSON type: number. Constraints: minimum 0

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Download(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Download(ApiModel):
14    """Download fulfillment marker.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductDownload``.
23    """
24    pass

Download fulfillment marker.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductDownload.

@dataclass(frozen=True, slots=True, kw_only=True)
class InlineDetailsInput(inttegro._request_base.ApiRequest):
14@dataclass(frozen=True, slots=True, kw_only=True)
15class InlineDetailsInput(ApiRequest):
16    """Parameters accepted by the inline details input operation.
17
18    This is an immutable, keyword-only request object. ``to_dict()`` uses
19    the documented wire names, omits fields left as ``UNSET``, serializes
20    string-backed enums by value, and requires timezone-aware datetimes.
21
22    API contract schema: ``InlineProductDetailsInput``.
23    """
24    about: str | UnsetType = field(default=UNSET)
25    """Long-form description or marketing copy. Optional. Python type: ``str``; wire name: ``about``; JSON type: string"""
26    custom_data: CustomData | UnsetType = field(default=UNSET)
27    """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: ``CustomData``; wire name: ``custom_data``; JSON type: object (CustomData)"""
28    reference: str | UnsetType = field(default=UNSET)
29    """Your SKU or internal product reference. Optional. Python type: ``str``; wire name: ``reference``; JSON type: string"""
30    tax_code: str | UnsetType = field(default=UNSET)
31    """Tax classification code. Optional. Python type: ``str``; wire name: ``tax_code``; JSON type: string"""
32    name: str
33    """Product name shown to the customer. Required. Python type: ``str``; wire name: ``name``; JSON type: string"""
34    price: PriceParams
35    """An inline price supplied in a request. Required. Python type: ``PriceParams``; wire name: ``price``; JSON type: object (PriceParams)"""
36    quantity: int
37    """How many units the customer is purchasing. Required. Python type: ``int``; wire name: ``quantity``; JSON type: integer. Constraints: minimum 1"""
38    type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]
39    """Product type—affects shipping requirements. Required. Python type: ``Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``physical``, ``digital``, ``service``, ``voucher``, ``custom``, ``cause``"""

Parameters accepted by the inline details input operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: InlineProductDetailsInput.

InlineDetailsInput( *, about: str | inttegro._request_base.UnsetType = UNSET, custom_data: inttegro.CustomData | inttegro._request_base.UnsetType = UNSET, reference: str | inttegro._request_base.UnsetType = UNSET, tax_code: str | inttegro._request_base.UnsetType = UNSET, name: str, price: inttegro.price.InlineParams, quantity: int, type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', <Type.PHYSICAL: 'physical'>, <Type.DIGITAL: 'digital'>, <Type.SERVICE: 'service'>, <Type.VOUCHER: 'voucher'>, <Type.CUSTOM: 'custom'>, <Type.CAUSE: 'cause'>])
about: str | inttegro._request_base.UnsetType

Long-form description or marketing copy. Optional. Python type: str; wire name: about; JSON type: string

custom_data: inttegro.CustomData | inttegro._request_base.UnsetType

Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: CustomData; wire name: custom_data; JSON type: object (CustomData)

reference: str | inttegro._request_base.UnsetType

Your SKU or internal product reference. Optional. Python type: str; wire name: reference; JSON type: string

tax_code: str | inttegro._request_base.UnsetType

Tax classification code. Optional. Python type: str; wire name: tax_code; JSON type: string

name: str

Product name shown to the customer. Required. Python type: str; wire name: name; JSON type: string

An inline price supplied in a request. Required. Python type: PriceParams; wire name: price; JSON type: object (PriceParams)

quantity: int

How many units the customer is purchasing. Required. Python type: int; wire name: quantity; JSON type: integer. Constraints: minimum 1

type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', <Type.PHYSICAL: 'physical'>, <Type.DIGITAL: 'digital'>, <Type.SERVICE: 'service'>, <Type.VOUCHER: 'voucher'>, <Type.CUSTOM: 'custom'>, <Type.CAUSE: 'cause'>]

Product type—affects shipping requirements. Required. Python type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]; wire name: type; JSON type: string. Constraints: allowed values physical, digital, service, voucher, custom, cause

@dataclass(frozen=True, slots=True, kw_only=True)
class LineItemInput(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class LineItemInput(ApiRequest):
15    """Parameters accepted by the line item input operation.
16
17    This is an immutable, keyword-only request object. ``to_dict()`` uses
18    the documented wire names, omits fields left as ``UNSET``, serializes
19    string-backed enums by value, and requires timezone-aware datetimes.
20
21    API contract schema: ``ProductLineItemInput``.
22    """
23    type: Literal['product', LineItemType.PRODUCT]
24    """Line item type discriminator. Required. Python type: ``Literal['product', LineItemType.PRODUCT]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``product``"""
25    product: ProductDetailsInput
26    """Provide either inline product data or a `product_id` reference to an existing catalog product. Catalog-backed product line items can use an explicit `price` or an existing `price_id`. Inttegro never falls back to a product's default unit price during order creation. Required. Python type: ``ProductDetailsInput``; wire name: ``product``; JSON type: object (ProductDetails)"""

Parameters accepted by the line item input operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductLineItemInput.

LineItemInput( *, type: Literal['product', <LineItemType.PRODUCT: 'product'>], product: InlineDetailsInput | CatalogWithPriceDataInput | CatalogWithPriceReferenceInput | CatalogWithCustomerSelectedPriceInput)
type: Literal['product', <LineItemType.PRODUCT: 'product'>]

Line item type discriminator. Required. Python type: Literal['product', LineItemType.PRODUCT]; wire name: type; JSON type: string. Constraints: allowed values product

Provide either inline product data or a product_id reference to an existing catalog product. Catalog-backed product line items can use an explicit price or an existing price_id. Inttegro never falls back to a product's default unit price during order creation. Required. Python type: ProductDetailsInput; wire name: product; JSON type: object (ProductDetails)

@dataclass(frozen=True, slots=True, kw_only=True)
class LookupRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class LookupRequest(ApiRequest):
14    """Parameters accepted by the lookup request operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``LookupProductRequest``.
21    """
22    product_id: str
23    """Product ID to lookup. Required. Python type: ``str``; wire name: ``product_id``; JSON type: string"""

Parameters accepted by the lookup request operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: LookupProductRequest.

LookupRequest(*, product_id: str)
product_id: str

Product ID to lookup. Required. Python type: str; wire name: product_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Media(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Media(ApiModel):
14    """Typed media data in the product resource namespace.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductMedia``.
23    """
24    hero_image: str | None = field(init=False)
25    """The hero image associated with this media. Optional; nullable. Python type: ``str | None``; wire name: ``hero_image``; JSON type: string"""
26    thumbnail: str | None = field(init=False)
27    """The thumbnail associated with this media. Optional; nullable. Python type: ``str | None``; wire name: ``thumbnail``; JSON type: string"""
28    web_page_url: str | None = field(init=False)
29    """URL used for web page. Optional; nullable. Python type: ``str | None``; wire name: ``web_page_url``; JSON type: string"""
30    brand_logo: str | None = field(init=False)
31    """The brand logo associated with this media. Optional; nullable. Python type: ``str | None``; wire name: ``brand_logo``; JSON type: string"""
32    infographic: str | None = field(init=False)
33    """The infographic associated with this media. Optional; nullable. Python type: ``str | None``; wire name: ``infographic``; JSON type: string"""
34    promo_video: str | None = field(init=False)
35    """The promo video associated with this media. Optional; nullable. Python type: ``str | None``; wire name: ``promo_video``; JSON type: string"""
36    demo_video: str | None = field(init=False)
37    """The demo video associated with this media. Optional; nullable. Python type: ``str | None``; wire name: ``demo_video``; JSON type: string"""
38    gallery: list[str] | None = field(init=False)
39    """The gallery associated with this media. Optional; nullable. Python type: ``list[str] | None``; wire name: ``gallery``; JSON type: array of string values"""
40    downloads: list[str] | None = field(init=False)
41    """The downloads associated with this media. Optional; nullable. Python type: ``list[str] | None``; wire name: ``downloads``; JSON type: array of string values"""

Typed media data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductMedia.

hero_image: str | None

The hero image associated with this media. Optional; nullable. Python type: str | None; wire name: hero_image; JSON type: string

thumbnail: str | None

The thumbnail associated with this media. Optional; nullable. Python type: str | None; wire name: thumbnail; JSON type: string

web_page_url: str | None

URL used for web page. Optional; nullable. Python type: str | None; wire name: web_page_url; JSON type: string

infographic: str | None

The infographic associated with this media. Optional; nullable. Python type: str | None; wire name: infographic; JSON type: string

promo_video: str | None

The promo video associated with this media. Optional; nullable. Python type: str | None; wire name: promo_video; JSON type: string

demo_video: str | None

The demo video associated with this media. Optional; nullable. Python type: str | None; wire name: demo_video; JSON type: string

gallery: list[str] | None

The gallery associated with this media. Optional; nullable. Python type: list[str] | None; wire name: gallery; JSON type: array of string values

downloads: list[str] | None

The downloads associated with this media. Optional; nullable. Python type: list[str] | None; wire name: downloads; JSON type: array of string values

@dataclass(frozen=True, slots=True, kw_only=True)
class MediaInput(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class MediaInput(ApiRequest):
14    """Parameters accepted by the media input operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``ProductMediaInput``.
21    """
22    hero_image: str | UnsetType = field(default=UNSET)
23    """The hero image associated with this media input. Optional. Python type: ``str``; wire name: ``hero_image``; JSON type: string"""
24    thumbnail: str | UnsetType = field(default=UNSET)
25    """The thumbnail associated with this media input. Optional. Python type: ``str``; wire name: ``thumbnail``; JSON type: string"""
26    web_page_url: str | UnsetType = field(default=UNSET)
27    """URL used for web page. Optional. Python type: ``str``; wire name: ``web_page_url``; JSON type: string"""
28    brand_logo: str | UnsetType = field(default=UNSET)
29    """The brand logo associated with this media input. Optional. Python type: ``str``; wire name: ``brand_logo``; JSON type: string"""
30    infographic: str | UnsetType = field(default=UNSET)
31    """The infographic associated with this media input. Optional. Python type: ``str``; wire name: ``infographic``; JSON type: string"""
32    promo_video: str | UnsetType = field(default=UNSET)
33    """The promo video associated with this media input. Optional. Python type: ``str``; wire name: ``promo_video``; JSON type: string"""
34    demo_video: str | UnsetType = field(default=UNSET)
35    """The demo video associated with this media input. Optional. Python type: ``str``; wire name: ``demo_video``; JSON type: string"""
36    gallery: list[str] | UnsetType = field(default=UNSET)
37    """The gallery associated with this media input. Optional. Python type: ``list[str]``; wire name: ``gallery``; JSON type: array of string values"""
38    downloads: list[str] | UnsetType = field(default=UNSET)
39    """The downloads associated with this media input. Optional. Python type: ``list[str]``; wire name: ``downloads``; JSON type: array of string values"""

Parameters accepted by the media input operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductMediaInput.

MediaInput( *, hero_image: str | inttegro._request_base.UnsetType = UNSET, thumbnail: str | inttegro._request_base.UnsetType = UNSET, web_page_url: str | inttegro._request_base.UnsetType = UNSET, brand_logo: str | inttegro._request_base.UnsetType = UNSET, infographic: str | inttegro._request_base.UnsetType = UNSET, promo_video: str | inttegro._request_base.UnsetType = UNSET, demo_video: str | inttegro._request_base.UnsetType = UNSET, gallery: list[str] | inttegro._request_base.UnsetType = UNSET, downloads: list[str] | inttegro._request_base.UnsetType = UNSET)
hero_image: str | inttegro._request_base.UnsetType

The hero image associated with this media input. Optional. Python type: str; wire name: hero_image; JSON type: string

thumbnail: str | inttegro._request_base.UnsetType

The thumbnail associated with this media input. Optional. Python type: str; wire name: thumbnail; JSON type: string

web_page_url: str | inttegro._request_base.UnsetType

URL used for web page. Optional. Python type: str; wire name: web_page_url; JSON type: string

infographic: str | inttegro._request_base.UnsetType

The infographic associated with this media input. Optional. Python type: str; wire name: infographic; JSON type: string

promo_video: str | inttegro._request_base.UnsetType

The promo video associated with this media input. Optional. Python type: str; wire name: promo_video; JSON type: string

demo_video: str | inttegro._request_base.UnsetType

The demo video associated with this media input. Optional. Python type: str; wire name: demo_video; JSON type: string

gallery: list[str] | inttegro._request_base.UnsetType

The gallery associated with this media input. Optional. Python type: list[str]; wire name: gallery; JSON type: array of string values

downloads: list[str] | inttegro._request_base.UnsetType

The downloads associated with this media input. Optional. Python type: list[str]; wire name: downloads; JSON type: array of string values

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Page(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Page(ApiModel):
14    """One page of page resources.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductPage``.
23    """
24    number: int = field(init=False)
25    """Human-readable number assigned to the page. Required. Python type: ``int``; wire name: ``number``; JSON type: integer"""
26    size: int = field(init=False)
27    """Numeric size used by this operation. Required. Python type: ``int``; wire name: ``size``; JSON type: integer"""
28    products: list[Product] = field(init=False)
29    """The products associated with this page. Optional. Python type: ``list[Product]``; wire name: ``products``; JSON type: array"""

One page of page resources.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductPage.

number: int

Human-readable number assigned to the page. Required. Python type: int; wire name: number; JSON type: integer

size: int

Numeric size used by this operation. Required. Python type: int; wire name: size; JSON type: integer

products: list[Product]

The products associated with this page. Optional. Python type: list[Product]; wire name: products; JSON type: array

@dataclass(frozen=True, slots=True, kw_only=True)
class PageRequest(inttegro._request_base.ApiRequest):
12@dataclass(frozen=True, slots=True, kw_only=True)
13class PageRequest(ApiRequest):
14    """Parameters accepted by the page request operation.
15
16    This is an immutable, keyword-only request object. ``to_dict()`` uses
17    the documented wire names, omits fields left as ``UNSET``, serializes
18    string-backed enums by value, and requires timezone-aware datetimes.
19
20    API contract schema: ``PageProductsRequest``.
21    """
22    page_size: int | UnsetType = field(default=UNSET)
23    """Maximum number of refunds to return. Optional. Python type: ``int``; wire name: ``page_size``; JSON type: integer. Constraints: minimum 1; maximum 256"""
24    page_number: int
25    """One-based page number. Required. Python type: ``int``; wire name: ``page_number``; JSON type: integer. Constraints: minimum 1; maximum 10"""

Parameters accepted by the page request operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: PageProductsRequest.

PageRequest( *, page_size: int | inttegro._request_base.UnsetType = UNSET, page_number: int)
page_size: int | inttegro._request_base.UnsetType

Maximum number of refunds to return. Optional. Python type: int; wire name: page_size; JSON type: integer. Constraints: minimum 1; maximum 256

page_number: int

One-based page number. Required. Python type: int; wire name: page_number; JSON type: integer. Constraints: minimum 1; maximum 10

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class PageResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class PageResponse(ApiModel):
14    """Response containing a page of chimes.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``PageProductsResponse``.
23    """
24    page: ProductPage | None = field(init=False)
25    """Numeric page used by this operation. Optional; nullable. Python type: ``ProductPage | None``; wire name: ``page``; JSON type: object"""

Response containing a page of chimes.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: PageProductsResponse.

page: Page | None

Numeric page used by this operation. Optional; nullable. Python type: ProductPage | None; wire name: page; JSON type: object

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class PriceSummary(inttegro._model_base.ApiModel):
15@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
16class PriceSummary(ApiModel):
17    """Typed price summary data in the product resource namespace.
18
19    Instances are immutable API responses. ``from_dict()`` decodes nested
20    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
21    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
22    Fields not returned by the API remain absent and can still be queried
23    through mapping-style access.
24
25    API contract schema: ``ProductPriceSummary``.
26    """
27    id: str = field(init=False)
28    """Unique price identifier with pr_ prefix. Required. Python type: ``str``; wire name: ``id``; JSON type: string"""
29    active: bool = field(init=False)
30    """Whether this price is active and usable in new flows. Required. Python type: ``bool``; wire name: ``active``; JSON type: boolean"""
31    label: str | None = field(init=False)
32    """Short label for this price. Optional; nullable. Python type: ``str | None``; wire name: ``label``; JSON type: string"""
33    type: PriceType = field(init=False)
34    """Price definition discriminator. Required. Python type: ``PriceType``; wire name: ``type``; JSON type: string (PriceType)"""
35    fixed_amount: Amount | None = field(init=False)
36    """Fixed amount present only for fixed prices. Python type: ``Amount | None``; wire name: ``fixed_amount``; JSON type: object (Amount)"""
37    customer_selected_amount: CustomerSelectedAmount | None = field(init=False)
38    """Selection policy present only for customer-selected prices. Python type: ``CustomerSelectedAmount | None``; wire name: ``customer_selected_amount``; JSON type: object (CustomerSelectedAmount)"""

Typed price summary data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductPriceSummary.

id: str

Unique price identifier with pr_ prefix. Required. Python type: str; wire name: id; JSON type: string

active: bool

Whether this price is active and usable in new flows. Required. Python type: bool; wire name: active; JSON type: boolean

label: str | None

Short label for this price. Optional; nullable. Python type: str | None; wire name: label; JSON type: string

type: Type

Price definition discriminator. Required. Python type: PriceType; wire name: type; JSON type: string (PriceType)

fixed_amount: inttegro.money.Amount | None

Fixed amount present only for fixed prices. Python type: Amount | None; wire name: fixed_amount; JSON type: object (Amount)

customer_selected_amount: inttegro.price.CustomerSelectedAmount | None

Selection policy present only for customer-selected prices. Python type: CustomerSelectedAmount | None; wire name: customer_selected_amount; JSON type: object (CustomerSelectedAmount)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Product(inttegro._model_base.ApiModel):
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
15class Product(ApiModel):
16    """Typed product data in the product resource namespace.
17
18    Instances are immutable API responses. ``from_dict()`` decodes nested
19    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
20    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
21    Fields not returned by the API remain absent and can still be queried
22    through mapping-style access.
23    """
24    id: str = field(init=False)
25    """Unique product identifier with prod_ prefix. Required. Python type: ``str``; wire name: ``id``; JSON type: string"""
26    type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause'] = field(init=False)
27    """Product type. Required. Python type: ``Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``physical``, ``digital``, ``service``, ``voucher``, ``custom``, ``cause``"""
28    reference: str | None = field(init=False)
29    """External reference or SKU. Optional; nullable. Python type: ``str | None``; wire name: ``reference``; JSON type: string"""
30    name: str = field(init=False)
31    """Product name. Required. Python type: ``str``; wire name: ``name``; JSON type: string"""
32    description: str | None = field(init=False)
33    """Short description. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string"""
34    about: str | None = field(init=False)
35    """Full product description. Optional; nullable. Python type: ``str | None``; wire name: ``about``; JSON type: string"""
36    tax_code: str | None = field(init=False)
37    """Tax classification code. Optional; nullable. Python type: ``str | None``; wire name: ``tax_code``; JSON type: string"""
38    category: str | None = field(init=False)
39    """Product category. Optional; nullable. Python type: ``str | None``; wire name: ``category``; JSON type: string"""
40    prices: list[ProductPriceSummary] | None = field(init=False)
41    """Non-archived prices that belong to this product. Optional; nullable. Python type: ``list[ProductPriceSummary] | None``; wire name: ``prices``; JSON type: array of object (ProductPriceSummary) values"""
42    shipment: ProductShipment | None = field(init=False)
43    """The shipment associated with this product. Optional; nullable. Python type: ``ProductShipment | None``; wire name: ``shipment``; JSON type: object (ProductShipment)"""
44    media: ProductMedia | None = field(init=False)
45    """The media associated with this product. Optional; nullable. Python type: ``ProductMedia | None``; wire name: ``media``; JSON type: object (ProductMedia)"""
46    attributes: list[ProductAttribute] | None = field(init=False)
47    """Product attributes. Optional; nullable. Python type: ``list[ProductAttribute] | None``; wire name: ``attributes``; JSON type: array of object (ProductAttribute) values"""
48    dimensions: ProductDimensions | None = field(init=False)
49    """At most one of `physical`, `digital`, or `custom`. Optional; nullable. Python type: ``ProductDimensions | None``; wire name: ``dimensions``; JSON type: object (ProductDimensions)"""
50    custom_data: CustomData | None = field(init=False)
51    """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: ``CustomData | None``; wire name: ``custom_data``; JSON type: object (CustomData)"""
52    active: bool = field(init=False)
53    """Whether product is published and available. Required. Python type: ``bool``; wire name: ``active``; JSON type: boolean"""
54    created_at: datetime = field(init=False)
55    """Product creation timestamp. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)"""
56    updated_at: datetime | None = field(init=False)
57    """Last update timestamp. Optional; nullable. Python type: ``datetime | None``; wire name: ``updated_at``; JSON type: string (date-time)"""
58    archived_at: datetime | None = field(init=False)
59    """Archive timestamp (if archived). Optional; nullable. Python type: ``datetime | None``; wire name: ``archived_at``; JSON type: string (date-time)"""
60    published_at: datetime | None = field(init=False)
61    """When the product was published. Optional; nullable. Python type: ``datetime | None``; wire name: ``published_at``; JSON type: string (date-time)"""
62    unit_dim: str | None = field(init=False)
63    """Unit dimension label. Optional; nullable. Python type: ``str | None``; wire name: ``unit_dim``; JSON type: string"""
64
65    def is_archived(self) -> bool:
66        """Whether the product is archived."""
67        return getattr(self, "archived_at", None) is not None
68
69    def is_published(self) -> bool:
70        """Whether the product is currently published and available."""
71        return self.active and not self.is_archived()
72
73    def was_ever_published(self) -> bool:
74        """Whether the product has a recorded first publication."""
75        return getattr(self, "published_at", None) is not None

Typed product data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

id: str

Unique product identifier with prod_ prefix. Required. Python type: str; wire name: id; JSON type: string

type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause']

Product type. Required. Python type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause']; wire name: type; JSON type: string. Constraints: allowed values physical, digital, service, voucher, custom, cause

reference: str | None

External reference or SKU. Optional; nullable. Python type: str | None; wire name: reference; JSON type: string

name: str

Product name. Required. Python type: str; wire name: name; JSON type: string

description: str | None

Short description. Optional; nullable. Python type: str | None; wire name: description; JSON type: string

about: str | None

Full product description. Optional; nullable. Python type: str | None; wire name: about; JSON type: string

tax_code: str | None

Tax classification code. Optional; nullable. Python type: str | None; wire name: tax_code; JSON type: string

category: str | None

Product category. Optional; nullable. Python type: str | None; wire name: category; JSON type: string

prices: list[PriceSummary] | None

Non-archived prices that belong to this product. Optional; nullable. Python type: list[ProductPriceSummary] | None; wire name: prices; JSON type: array of object (ProductPriceSummary) values

shipment: Shipment | None

The shipment associated with this product. Optional; nullable. Python type: ProductShipment | None; wire name: shipment; JSON type: object (ProductShipment)

media: Media | None

The media associated with this product. Optional; nullable. Python type: ProductMedia | None; wire name: media; JSON type: object (ProductMedia)

attributes: list[Attribute] | None

Product attributes. Optional; nullable. Python type: list[ProductAttribute] | None; wire name: attributes; JSON type: array of object (ProductAttribute) values

dimensions: Dimensions | None

At most one of physical, digital, or custom. Optional; nullable. Python type: ProductDimensions | None; wire name: dimensions; JSON type: object (ProductDimensions)

custom_data: inttegro.CustomData | None

Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: CustomData | None; wire name: custom_data; JSON type: object (CustomData)

active: bool

Whether product is published and available. Required. Python type: bool; wire name: active; JSON type: boolean

created_at: datetime.datetime

Product creation timestamp. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)

updated_at: datetime.datetime | None

Last update timestamp. Optional; nullable. Python type: datetime | None; wire name: updated_at; JSON type: string (date-time)

archived_at: datetime.datetime | None

Archive timestamp (if archived). Optional; nullable. Python type: datetime | None; wire name: archived_at; JSON type: string (date-time)

published_at: datetime.datetime | None

When the product was published. Optional; nullable. Python type: datetime | None; wire name: published_at; JSON type: string (date-time)

unit_dim: str | None

Unit dimension label. Optional; nullable. Python type: str | None; wire name: unit_dim; JSON type: string

def is_archived(self) -> bool:
65    def is_archived(self) -> bool:
66        """Whether the product is archived."""
67        return getattr(self, "archived_at", None) is not None

Whether the product is archived.

def is_published(self) -> bool:
69    def is_published(self) -> bool:
70        """Whether the product is currently published and available."""
71        return self.active and not self.is_archived()

Whether the product is currently published and available.

def was_ever_published(self) -> bool:
73    def was_ever_published(self) -> bool:
74        """Whether the product has a recorded first publication."""
75        return getattr(self, "published_at", None) is not None

Whether the product has a recorded first publication.

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Render(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Render(ApiModel):
14    """Rendered fulfillment marker.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductRender``.
23    """
24    pass

Rendered fulfillment marker.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductRender.

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Response(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Response(ApiModel):
14    """Typed response returned by the response operation.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductResponse``.
23    """
24    product: Product | None = field(init=False)
25    """The product associated with this response. Optional; nullable. Python type: ``Product | None``; wire name: ``product``; JSON type: object (Product)"""
26    error: Error | None = field(init=False)
27    """Standard error response structure returned by all API endpoints. Provides machine-readable codes, human-readable messages, and actionable guidance for resolution. Optional; nullable. Python type: ``Error | None``; wire name: ``error``; JSON type: object (Error)"""

Typed response returned by the response operation.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductResponse.

product: Product | None

The product associated with this response. Optional; nullable. Python type: Product | None; wire name: product; JSON type: object (Product)

error: inttegro.shared.Error | None

Standard error response structure returned by all API endpoints. Provides machine-readable codes, human-readable messages, and actionable guidance for resolution. Optional; nullable. Python type: Error | None; wire name: error; JSON type: object (Error)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Service(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Service(ApiModel):
14    """Service fulfillment marker.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductService``.
23    """
24    pass

Service fulfillment marker.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductService.

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Shipment(inttegro._model_base.ApiModel):
13@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
14class Shipment(ApiModel):
15    """Typed shipment data in the product resource namespace.
16
17    Instances are immutable API responses. ``from_dict()`` decodes nested
18    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
19    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
20    Fields not returned by the API remain absent and can still be queried
21    through mapping-style access.
22
23    API contract schema: ``ProductShipment``.
24    """
25    type: Literal['delivery', 'download', 'render', 'service', 'stream'] = field(init=False)
26    """Discriminator identifying the shipment type. Required. Python type: ``Literal['delivery', 'download', 'render', 'service', 'stream']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``delivery``, ``download``, ``render``, ``service``, ``stream``"""
27    delivery: ProductDelivery | None = field(init=False)
28    """Delivery fulfillment marker. Optional; nullable. Python type: ``ProductDelivery | None``; wire name: ``delivery``; JSON type: object (ProductDelivery)"""
29    download: ProductDownload | None = field(init=False)
30    """Download fulfillment marker. Optional; nullable. Python type: ``ProductDownload | None``; wire name: ``download``; JSON type: object (ProductDownload)"""
31    render: ProductRender | None = field(init=False)
32    """Rendered fulfillment marker. Optional; nullable. Python type: ``ProductRender | None``; wire name: ``render``; JSON type: object (ProductRender)"""
33    service: ProductService | None = field(init=False)
34    """Service fulfillment marker. Optional; nullable. Python type: ``ProductService | None``; wire name: ``service``; JSON type: object (ProductService)"""
35    stream: ProductStream | None = field(init=False)
36    """Streaming fulfillment marker. Optional; nullable. Python type: ``ProductStream | None``; wire name: ``stream``; JSON type: object (ProductStream)"""

Typed shipment data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductShipment.

type: Literal['delivery', 'download', 'render', 'service', 'stream']

Discriminator identifying the shipment type. Required. Python type: Literal['delivery', 'download', 'render', 'service', 'stream']; wire name: type; JSON type: string. Constraints: allowed values delivery, download, render, service, stream

delivery: Delivery | None

Delivery fulfillment marker. Optional; nullable. Python type: ProductDelivery | None; wire name: delivery; JSON type: object (ProductDelivery)

download: Download | None

Download fulfillment marker. Optional; nullable. Python type: ProductDownload | None; wire name: download; JSON type: object (ProductDownload)

render: Render | None

Rendered fulfillment marker. Optional; nullable. Python type: ProductRender | None; wire name: render; JSON type: object (ProductRender)

service: Service | None

Service fulfillment marker. Optional; nullable. Python type: ProductService | None; wire name: service; JSON type: object (ProductService)

stream: Stream | None

Streaming fulfillment marker. Optional; nullable. Python type: ProductStream | None; wire name: stream; JSON type: object (ProductStream)

@dataclass(frozen=True, slots=True, kw_only=True)
class ShipmentInput(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class ShipmentInput(ApiRequest):
15    """Parameters accepted by the shipment input operation.
16
17    This is an immutable, keyword-only request object. ``to_dict()`` uses
18    the documented wire names, omits fields left as ``UNSET``, serializes
19    string-backed enums by value, and requires timezone-aware datetimes.
20
21    API contract schema: ``ProductShipmentInput``.
22    """
23    type: Literal['delivery', 'download', 'render', 'stream', ProductShipmentInputType.DELIVERY, ProductShipmentInputType.DOWNLOAD, ProductShipmentInputType.RENDER, ProductShipmentInputType.STREAM]
24    """Discriminator identifying the shipment input type. Required. Python type: ``Literal['delivery', 'download', 'render', 'stream', ProductShipmentInputType.DELIVERY, ProductShipmentInputType.DOWNLOAD, ProductShipmentInputType.RENDER, ProductShipmentInputType.STREAM]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``delivery``, ``download``, ``render``, ``stream``"""

Parameters accepted by the shipment input operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: ProductShipmentInput.

ShipmentInput( *, type: Literal['delivery', 'download', 'render', 'stream', <ShipmentInputType.DELIVERY: 'delivery'>, <ShipmentInputType.DOWNLOAD: 'download'>, <ShipmentInputType.RENDER: 'render'>, <ShipmentInputType.STREAM: 'stream'>])
type: Literal['delivery', 'download', 'render', 'stream', <ShipmentInputType.DELIVERY: 'delivery'>, <ShipmentInputType.DOWNLOAD: 'download'>, <ShipmentInputType.RENDER: 'render'>, <ShipmentInputType.STREAM: 'stream'>]

Discriminator identifying the shipment input type. Required. Python type: Literal['delivery', 'download', 'render', 'stream', ProductShipmentInputType.DELIVERY, ProductShipmentInputType.DOWNLOAD, ProductShipmentInputType.RENDER, ProductShipmentInputType.STREAM]; wire name: type; JSON type: string. Constraints: allowed values delivery, download, render, stream

class ShipmentInputType(inttegro._enum_base.WireEnum):
11class ShipmentInputType(WireEnum):
12    """Typed shipment input type data in the product resource namespace.
13
14    Members are strings as well as enum values, so they compare naturally
15    with API payloads and serialize to the lowercase wire value shown below.
16
17    API contract schema: ``ProductShipmentInputType``.
18    """
19    DELIVERY = "delivery"
20    """Wire value ``delivery`` (delivery)"""
21    DOWNLOAD = "download"
22    """Wire value ``download`` (download)"""
23    RENDER = "render"
24    """Wire value ``render`` (render)"""
25    STREAM = "stream"
26    """Wire value ``stream`` (stream)"""

Typed shipment input type data in the product resource namespace.

Members are strings as well as enum values, so they compare naturally with API payloads and serialize to the lowercase wire value shown below.

API contract schema: ProductShipmentInputType.

DELIVERY = <ShipmentInputType.DELIVERY: 'delivery'>

Wire value delivery (delivery)

DOWNLOAD = <ShipmentInputType.DOWNLOAD: 'download'>

Wire value download (download)

RENDER = <ShipmentInputType.RENDER: 'render'>

Wire value render (render)

STREAM = <ShipmentInputType.STREAM: 'stream'>

Wire value stream (stream)

class ShipmentType(inttegro._enum_base.WireEnum):
11class ShipmentType(WireEnum):
12    """Typed shipment type data in the product resource namespace.
13
14    Members are strings as well as enum values, so they compare naturally
15    with API payloads and serialize to the lowercase wire value shown below.
16
17    API contract schema: ``ProductShipmentType``.
18    """
19    DELIVERY = "delivery"
20    """Wire value ``delivery`` (delivery)"""
21    DOWNLOAD = "download"
22    """Wire value ``download`` (download)"""
23    RENDER = "render"
24    """Wire value ``render`` (render)"""
25    SERVICE = "service"
26    """Wire value ``service`` (service)"""
27    STREAM = "stream"
28    """Wire value ``stream`` (stream)"""

Typed shipment type data in the product resource namespace.

Members are strings as well as enum values, so they compare naturally with API payloads and serialize to the lowercase wire value shown below.

API contract schema: ProductShipmentType.

DELIVERY = <ShipmentType.DELIVERY: 'delivery'>

Wire value delivery (delivery)

DOWNLOAD = <ShipmentType.DOWNLOAD: 'download'>

Wire value download (download)

RENDER = <ShipmentType.RENDER: 'render'>

Wire value render (render)

SERVICE = <ShipmentType.SERVICE: 'service'>

Wire value service (service)

STREAM = <ShipmentType.STREAM: 'stream'>

Wire value stream (stream)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Stream(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class Stream(ApiModel):
14    """Streaming fulfillment marker.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``ProductStream``.
23    """
24    pass

Streaming fulfillment marker.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: ProductStream.

class Type(inttegro._enum_base.WireEnum):
11class Type(WireEnum):
12    """Product type.
13
14    Members are strings as well as enum values, so they compare naturally
15    with API payloads and serialize to the lowercase wire value shown below.
16
17    API contract schema: ``ProductType``.
18    """
19    PHYSICAL = "physical"
20    """Wire value ``physical`` (physical) for product type"""
21    DIGITAL = "digital"
22    """Wire value ``digital`` (digital) for product type"""
23    SERVICE = "service"
24    """Wire value ``service`` (service) for product type"""
25    VOUCHER = "voucher"
26    """Wire value ``voucher`` (voucher) for product type"""
27    CUSTOM = "custom"
28    """Wire value ``custom`` (custom) for product type"""
29    CAUSE = "cause"
30    """Wire value ``cause`` (cause) for product type"""

Product type.

Members are strings as well as enum values, so they compare naturally with API payloads and serialize to the lowercase wire value shown below.

API contract schema: ProductType.

PHYSICAL = <Type.PHYSICAL: 'physical'>

Wire value physical (physical) for product type

DIGITAL = <Type.DIGITAL: 'digital'>

Wire value digital (digital) for product type

SERVICE = <Type.SERVICE: 'service'>

Wire value service (service) for product type

VOUCHER = <Type.VOUCHER: 'voucher'>

Wire value voucher (voucher) for product type

CUSTOM = <Type.CUSTOM: 'custom'>

Wire value custom (custom) for product type

CAUSE = <Type.CAUSE: 'cause'>

Wire value cause (cause) for product type

@dataclass(frozen=True, slots=True, kw_only=True)
class UpdateRequest(inttegro._request_base.ApiRequest):
13@dataclass(frozen=True, slots=True, kw_only=True)
14class UpdateRequest(ApiRequest):
15    """Parameters accepted by the update request operation.
16
17    This is an immutable, keyword-only request object. ``to_dict()`` uses
18    the documented wire names, omits fields left as ``UNSET``, serializes
19    string-backed enums by value, and requires timezone-aware datetimes.
20
21    API contract schema: ``UpdateProductRequest``.
22    """
23    type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE] | UnsetType = field(default=UNSET)
24    """Product type. If provided, it must equal the existing type. Optional. Python type: ``Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]``; wire name: ``type``; JSON type: string. Constraints: allowed values ``physical``, ``digital``, ``service``, ``voucher``, ``custom``, ``cause``"""
25    name: str | UnsetType = field(default=UNSET)
26    """Product name. Optional. Python type: ``str``; wire name: ``name``; JSON type: string. Constraints: minimum length 1; maximum length 100"""
27    description: str | UnsetType = field(default=UNSET)
28    """Short description. Optional. Python type: ``str``; wire name: ``description``; JSON type: string. Constraints: maximum length 200"""
29    about: str | UnsetType = field(default=UNSET)
30    """Full description. Optional. Python type: ``str``; wire name: ``about``; JSON type: string"""
31    tax_code: str | UnsetType = field(default=UNSET)
32    """Tax classification code. Optional. Python type: ``str``; wire name: ``tax_code``; JSON type: string"""
33    category: str | UnsetType = field(default=UNSET)
34    """Product category. Optional. Python type: ``str``; wire name: ``category``; JSON type: string"""
35    shipment: ProductShipmentInput | UnsetType = field(default=UNSET)
36    """The shipment associated with this update request. Optional. Python type: ``ProductShipmentInput``; wire name: ``shipment``; JSON type: object (ProductShipmentInput)"""
37    dimensions: ProductDimensionsInput | UnsetType = field(default=UNSET)
38    """At most one of `physical`, `digital`, or `custom`. Optional. Python type: ``ProductDimensionsInput``; wire name: ``dimensions``; JSON type: object (ProductDimensions)"""
39    unit_dimension: str | UnsetType = field(default=UNSET)
40    """The unit dimension associated with this update request. Optional. Python type: ``str``; wire name: ``unit_dimension``; JSON type: string. Constraints: maximum length 20"""
41    media: ProductMediaInput | UnsetType = field(default=UNSET)
42    """The media associated with this update request. Optional. Python type: ``ProductMediaInput``; wire name: ``media``; JSON type: object (ProductMedia)"""
43    images: list[str] | UnsetType = field(default=UNSET)
44    """Legacy image list. Mutually exclusive with `media`. Optional. Python type: ``list[str]``; wire name: ``images``; JSON type: array of string values"""
45    attributes: list[ProductAttributeInput] | UnsetType = field(default=UNSET)
46    """Product attributes. Optional. Python type: ``list[ProductAttributeInput]``; wire name: ``attributes``; JSON type: array of object (ProductAttribute) values"""
47    custom_data: CustomData | UnsetType = field(default=UNSET)
48    """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: ``CustomData``; wire name: ``custom_data``; JSON type: object (CustomData)"""
49    product_id: str
50    """Product ID to update. Required. Python type: ``str``; wire name: ``product_id``; JSON type: string"""

Parameters accepted by the update request operation.

This is an immutable, keyword-only request object. to_dict() uses the documented wire names, omits fields left as UNSET, serializes string-backed enums by value, and requires timezone-aware datetimes.

API contract schema: UpdateProductRequest.

UpdateRequest( *, type: Union[Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', <Type.PHYSICAL: 'physical'>, <Type.DIGITAL: 'digital'>, <Type.SERVICE: 'service'>, <Type.VOUCHER: 'voucher'>, <Type.CUSTOM: 'custom'>, <Type.CAUSE: 'cause'>], inttegro._request_base.UnsetType] = UNSET, name: str | inttegro._request_base.UnsetType = UNSET, description: str | inttegro._request_base.UnsetType = UNSET, about: str | inttegro._request_base.UnsetType = UNSET, tax_code: str | inttegro._request_base.UnsetType = UNSET, category: str | inttegro._request_base.UnsetType = UNSET, shipment: ShipmentInput | inttegro._request_base.UnsetType = UNSET, dimensions: DimensionsInput | inttegro._request_base.UnsetType = UNSET, unit_dimension: str | inttegro._request_base.UnsetType = UNSET, media: MediaInput | inttegro._request_base.UnsetType = UNSET, images: list[str] | inttegro._request_base.UnsetType = UNSET, attributes: list[AttributeInput] | inttegro._request_base.UnsetType = UNSET, custom_data: inttegro.CustomData | inttegro._request_base.UnsetType = UNSET, product_id: str)
type: Union[Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', <Type.PHYSICAL: 'physical'>, <Type.DIGITAL: 'digital'>, <Type.SERVICE: 'service'>, <Type.VOUCHER: 'voucher'>, <Type.CUSTOM: 'custom'>, <Type.CAUSE: 'cause'>], inttegro._request_base.UnsetType]

Product type. If provided, it must equal the existing type. Optional. Python type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause', ProductType.PHYSICAL, ProductType.DIGITAL, ProductType.SERVICE, ProductType.VOUCHER, ProductType.CUSTOM, ProductType.CAUSE]; wire name: type; JSON type: string. Constraints: allowed values physical, digital, service, voucher, custom, cause

name: str | inttegro._request_base.UnsetType

Product name. Optional. Python type: str; wire name: name; JSON type: string. Constraints: minimum length 1; maximum length 100

description: str | inttegro._request_base.UnsetType

Short description. Optional. Python type: str; wire name: description; JSON type: string. Constraints: maximum length 200

about: str | inttegro._request_base.UnsetType

Full description. Optional. Python type: str; wire name: about; JSON type: string

tax_code: str | inttegro._request_base.UnsetType

Tax classification code. Optional. Python type: str; wire name: tax_code; JSON type: string

category: str | inttegro._request_base.UnsetType

Product category. Optional. Python type: str; wire name: category; JSON type: string

shipment: ShipmentInput | inttegro._request_base.UnsetType

The shipment associated with this update request. Optional. Python type: ProductShipmentInput; wire name: shipment; JSON type: object (ProductShipmentInput)

dimensions: DimensionsInput | inttegro._request_base.UnsetType

At most one of physical, digital, or custom. Optional. Python type: ProductDimensionsInput; wire name: dimensions; JSON type: object (ProductDimensions)

unit_dimension: str | inttegro._request_base.UnsetType

The unit dimension associated with this update request. Optional. Python type: str; wire name: unit_dimension; JSON type: string. Constraints: maximum length 20

media: MediaInput | inttegro._request_base.UnsetType

The media associated with this update request. Optional. Python type: ProductMediaInput; wire name: media; JSON type: object (ProductMedia)

images: list[str] | inttegro._request_base.UnsetType

Legacy image list. Mutually exclusive with media. Optional. Python type: list[str]; wire name: images; JSON type: array of string values

attributes: list[AttributeInput] | inttegro._request_base.UnsetType

Product attributes. Optional. Python type: list[ProductAttributeInput]; wire name: attributes; JSON type: array of object (ProductAttribute) values

custom_data: inttegro.CustomData | inttegro._request_base.UnsetType

Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional. Python type: CustomData; wire name: custom_data; JSON type: object (CustomData)

product_id: str

Product ID to update. Required. Python type: str; wire name: product_id; JSON type: string

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class UpdateResponse(inttegro._model_base.ApiModel):
12@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
13class UpdateResponse(ApiModel):
14    """Typed response returned by the update operation.
15
16    Instances are immutable API responses. ``from_dict()`` decodes nested
17    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
18    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
19    Fields not returned by the API remain absent and can still be queried
20    through mapping-style access.
21
22    API contract schema: ``UpdateProductResponse``.
23    """
24    product: UpdatedProduct | None = field(init=False)
25    """The product associated with this update response. Optional; nullable. Python type: ``UpdatedProduct | None``; wire name: ``product``; JSON type: object (UpdatedProduct)"""

Typed response returned by the update operation.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: UpdateProductResponse.

product: Updated | None

The product associated with this update response. Optional; nullable. Python type: UpdatedProduct | None; wire name: product; JSON type: object (UpdatedProduct)

@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
class Updated(inttegro._model_base.ApiModel):
14@dataclass(frozen=True, slots=True, init=False, repr=False, eq=False)
15class Updated(ApiModel):
16    """Typed updated data in the product resource namespace.
17
18    Instances are immutable API responses. ``from_dict()`` decodes nested
19    objects, string-backed enums, and timezone-aware ISO-8601 timestamps;
20    ``to_dict()`` returns the corresponding JSON-compatible wire shape.
21    Fields not returned by the API remain absent and can still be queried
22    through mapping-style access.
23
24    API contract schema: ``UpdatedProduct``.
25    """
26    id: str = field(init=False)
27    """Product identifier returned by the update operation. Required. Python type: ``str``; wire name: ``id``; JSON type: string"""
28    name: str = field(init=False)
29    """Human-readable name of the updated. Required. Python type: ``str``; wire name: ``name``; JSON type: string"""
30    description: str | None = field(init=False)
31    """Human-readable description of the updated. Optional; nullable. Python type: ``str | None``; wire name: ``description``; JSON type: string"""
32    about: str | None = field(init=False)
33    """The about associated with this updated. Optional; nullable. Python type: ``str | None``; wire name: ``about``; JSON type: string"""
34    type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause'] = field(init=False)
35    """Discriminator identifying the updated type. Required. Python type: ``Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause']``; wire name: ``type``; JSON type: string. Constraints: allowed values ``physical``, ``digital``, ``service``, ``voucher``, ``custom``, ``cause``"""
36    reference: str | None = field(init=False)
37    """Merchant-defined external reference for the updated. Optional; nullable. Python type: ``str | None``; wire name: ``reference``; JSON type: string"""
38    tax_code: str | None = field(init=False)
39    """The tax code associated with this updated. Optional; nullable. Python type: ``str | None``; wire name: ``tax_code``; JSON type: string"""
40    category: str | None = field(init=False)
41    """The category associated with this updated. Optional; nullable. Python type: ``str | None``; wire name: ``category``; JSON type: string"""
42    custom_data: CustomData | None = field(init=False)
43    """Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: ``CustomData | None``; wire name: ``custom_data``; JSON type: object (CustomData)"""
44    dimensions: ProductDimensions | None = field(init=False)
45    """At most one of `physical`, `digital`, or `custom`. Optional; nullable. Python type: ``ProductDimensions | None``; wire name: ``dimensions``; JSON type: object (ProductDimensions)"""
46    prices: list[ProductPriceSummary] | None = field(init=False)
47    """The prices associated with this updated. Optional; nullable. Python type: ``list[ProductPriceSummary] | None``; wire name: ``prices``; JSON type: array of object (ProductPriceSummary) values"""
48    unit_dim: str | None = field(init=False)
49    """The unit dim associated with this updated. Optional; nullable. Python type: ``str | None``; wire name: ``unit_dim``; JSON type: string"""
50    created_at: datetime = field(init=False)
51    """When the updated was created. Required. Python type: ``datetime``; wire name: ``created_at``; JSON type: string (date-time)"""
52    updated_at: datetime | None = field(init=False)
53    """When the updated was last updated. Optional; nullable. Python type: ``datetime | None``; wire name: ``updated_at``; JSON type: string (date-time)"""

Typed updated data in the product resource namespace.

Instances are immutable API responses. from_dict() decodes nested objects, string-backed enums, and timezone-aware ISO-8601 timestamps; to_dict() returns the corresponding JSON-compatible wire shape. Fields not returned by the API remain absent and can still be queried through mapping-style access.

API contract schema: UpdatedProduct.

id: str

Product identifier returned by the update operation. Required. Python type: str; wire name: id; JSON type: string

name: str

Human-readable name of the updated. Required. Python type: str; wire name: name; JSON type: string

description: str | None

Human-readable description of the updated. Optional; nullable. Python type: str | None; wire name: description; JSON type: string

about: str | None

The about associated with this updated. Optional; nullable. Python type: str | None; wire name: about; JSON type: string

type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause']

Discriminator identifying the updated type. Required. Python type: Literal['physical', 'digital', 'service', 'voucher', 'custom', 'cause']; wire name: type; JSON type: string. Constraints: allowed values physical, digital, service, voucher, custom, cause

reference: str | None

Merchant-defined external reference for the updated. Optional; nullable. Python type: str | None; wire name: reference; JSON type: string

tax_code: str | None

The tax code associated with this updated. Optional; nullable. Python type: str | None; wire name: tax_code; JSON type: string

category: str | None

The category associated with this updated. Optional; nullable. Python type: str | None; wire name: category; JSON type: string

custom_data: inttegro.CustomData | None

Merchant-defined string values attached to a resource. SDKs expose this as a semantic collection rather than a raw map. Optional; nullable. Python type: CustomData | None; wire name: custom_data; JSON type: object (CustomData)

dimensions: Dimensions | None

At most one of physical, digital, or custom. Optional; nullable. Python type: ProductDimensions | None; wire name: dimensions; JSON type: object (ProductDimensions)

prices: list[PriceSummary] | None

The prices associated with this updated. Optional; nullable. Python type: list[ProductPriceSummary] | None; wire name: prices; JSON type: array of object (ProductPriceSummary) values

unit_dim: str | None

The unit dim associated with this updated. Optional; nullable. Python type: str | None; wire name: unit_dim; JSON type: string

created_at: datetime.datetime

When the updated was created. Required. Python type: datetime; wire name: created_at; JSON type: string (date-time)

updated_at: datetime.datetime | None

When the updated was last updated. Optional; nullable. Python type: datetime | None; wire name: updated_at; JSON type: string (date-time)