Common Types
This page documents data types that are used across different endpoints of the Import API.
KeyReference
The Import API uses KeyReferences of the HTTP API to reference resources in a Project. The following KeyReferences are in use.
CartDiscountKeyReference
References a cart discount by key.
keyString | |
typeIdString | "cart-discount"References a cart discount. |
CategoryKeyReference
References a category by key.
keyString | |
typeIdString | "category"References a category. |
ChannelKeyReference
References a channel by key.
keyString | |
typeIdString | "channel"References a channel. |
CustomerKeyReference
References a customer by key.
keyString | |
typeIdString | "customer"References a customer. |
CustomerGroupKeyReference
References a customer group by key.
keyString | |
typeIdString | "customer-group"References a customer group. |
CustomObjectKeyReference
References a key value document by key.
keyString | |
typeIdString | "key-value-document"References a custom object |
containerString |
ProductKeyReference
References a product by key.
keyString | |
typeIdString | "product"References a product. |
ProductVariantKeyReference
References a product variant by key.
keyString | |
typeIdString | "product-variant"References a product variant. |
ProductTypeKeyReference
References a product type by key.
keyString | |
typeIdString | "product-type"References a product type. |
ShippingMethodKeyReference
References a shipping method by key.
keyString | |
typeIdString | "shipping-method"References a shipping method. |
StateKeyReference
References a state by key.
keyString | |
typeIdString | "state"References a state. |
StoreKeyReference
References a store by key.
keyString | |
typeIdString | "store"References a store. |
TaxCategoryKeyReference
References a tax category by key.
keyString | |
typeIdString | "tax-category"References a tax-category. |
TypeKeyReference
References a type by key.
keyString | |
typeIdString | "type"References a type. |
Custom
The representation to be sent to the server when creating a resource with custom fields.
type | The type that provides the field definitions for this object. |
fields | The custom fields of this object. |