commercetools.pricingdiscount
Module commercetools.pricingdiscount
API
Definitions
ballerinax/commercetools.pricingdiscount Ballerina library
Overview
This is a generated connector for Commercetools API v1 OpenAPI specification.
The commercetools Platform HTTP API(Pricing & Discount) offers an interface for programmatic access to to information on tax categories, product discount and discount code.
Prerequisites
Before using this connector in your Ballerina application, complete the following:
- Create and configure an OAuth2 client credentials by following this guide.
Clients
commercetools.pricingdiscount: Client
This is a generated connector for Commercetools API v1 OpenAPI specification. The commercetools Platform HTTP API(Pricing & Discounts) offers an interface for programmatic access to information on tax catergories, product discount and discount code.
Constructor
Gets invoked to initialize the connector
.
The connector initialization requires setting the API credentials. Create and configure an OAuth2 client credentials by following this guide.
init (ConnectionConfig config, string serviceUrl)
- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string - URL of the target service
getTaxCategoriesByID
function getTaxCategoriesByID(string projectKey, string id, Expansion[]? expand) returns TaxCategory|error
Return Type
- TaxCategory|error - 200
updateTaxCategoriesByID
function updateTaxCategoriesByID(string projectKey, string id, TaxCategoryUpdate payload, Expansion[]? expand) returns TaxCategory|error
Parameters
- projectKey string -
- id string -
- payload TaxCategoryUpdate -
- expand Expansion[]? (default ()) -
Return Type
- TaxCategory|error - 200
deleteTaxCategoriesByID
function deleteTaxCategoriesByID(string projectKey, string id, decimal 'version, Expansion[]? expand) returns TaxCategory|error
Return Type
- TaxCategory|error - 200
getTaxCategoryByKey
function getTaxCategoryByKey(string projectKey, string 'key, Expansion[]? expand) returns TaxCategory|error
Return Type
- TaxCategory|error - 200
updateTaxCategoryByKey
function updateTaxCategoryByKey(string projectKey, string 'key, TaxCategoryUpdate payload, Expansion[]? expand) returns TaxCategory|error
Parameters
- projectKey string -
- 'key string -
- payload TaxCategoryUpdate -
- expand Expansion[]? (default ()) -
Return Type
- TaxCategory|error - 200
deleteTaxCategoryByKey
function deleteTaxCategoryByKey(string projectKey, string 'key, decimal 'version, Expansion[]? expand) returns TaxCategory|error
Return Type
- TaxCategory|error - 200
queryTaxCategory
function queryTaxCategory(string projectKey, Expansion[]? expand, Sort[]? sort, decimal? 'limit, decimal? offset, boolean? withTotal, QueryPredicate[]? 'where, string[]? varAZaZ09) returns TaxCategoryPagedQueryResponse|error
Parameters
- projectKey string -
- expand Expansion[]? (default ()) -
- sort Sort[]? (default ()) -
- 'limit decimal? (default ()) -
- offset decimal? (default ()) -
- withTotal boolean? (default ()) -
- 'where QueryPredicate[]? (default ()) -
- varAZaZ09 string[]? (default ()) -
Return Type
createTaxCategory
function createTaxCategory(string projectKey, TaxCategoryDraft payload, Expansion[]? expand) returns TaxCategory|error
Return Type
- TaxCategory|error - 201
queryProductDiscount
function queryProductDiscount(string projectKey, Expansion[]? expand, Sort[]? sort, decimal? 'limit, decimal? offset, boolean? withTotal, QueryPredicate[]? 'where, string[]? varAZaZ09) returns ProductDiscountPagedQueryResponse|error
Parameters
- projectKey string -
- expand Expansion[]? (default ()) -
- sort Sort[]? (default ()) -
- 'limit decimal? (default ()) -
- offset decimal? (default ()) -
- withTotal boolean? (default ()) -
- 'where QueryPredicate[]? (default ()) -
- varAZaZ09 string[]? (default ()) -
Return Type
createProductDiscounts
function createProductDiscounts(string projectKey, ProductDiscountDraft payload, Expansion[]? expand) returns ProductDiscount|error
Return Type
- ProductDiscount|error - 201
getProductDiscountbyKey
function getProductDiscountbyKey(string projectKey, string 'key, Expansion[]? expand) returns ProductDiscount|error
Return Type
- ProductDiscount|error - 200
updateProductDiscountByKey
function updateProductDiscountByKey(string projectKey, string 'key, ProductDiscountUpdate payload, Expansion[]? expand) returns ProductDiscount|error
Parameters
- projectKey string -
- 'key string -
- payload ProductDiscountUpdate -
- expand Expansion[]? (default ()) -
Return Type
- ProductDiscount|error - 200
deleteProductDiscountByKey
function deleteProductDiscountByKey(string projectKey, string 'key, decimal 'version, Expansion[]? expand) returns ProductDiscount|error
Return Type
- ProductDiscount|error - 200
getMatchingProductDiscount
function getMatchingProductDiscount(string projectKey, ProductDiscountMatchQuery payload) returns ProductDiscount|error
Return Type
- ProductDiscount|error - 200
getProductDiscountByID
function getProductDiscountByID(string projectKey, string id, Expansion[]? expand) returns ProductDiscount|error
Return Type
- ProductDiscount|error - 200
updateProductDiscountByID
function updateProductDiscountByID(string projectKey, string id, ProductDiscountUpdate payload, Expansion[]? expand) returns ProductDiscount|error
Parameters
- projectKey string -
- id string -
- payload ProductDiscountUpdate -
- expand Expansion[]? (default ()) -
Return Type
- ProductDiscount|error - 200
deleteProductDiscountByID
function deleteProductDiscountByID(string projectKey, string id, decimal 'version, Expansion[]? expand) returns ProductDiscount|error
Return Type
- ProductDiscount|error - 200
queryCartDiscounts
function queryCartDiscounts(string projectKey, Expansion[]? expand, Sort[]? sort, decimal? 'limit, decimal? offset, boolean? withTotal, QueryPredicate[]? 'where, string[]? varAZaZ09) returns CartDiscountPagedQueryResponse|error
Parameters
- projectKey string -
- expand Expansion[]? (default ()) -
- sort Sort[]? (default ()) -
- 'limit decimal? (default ()) -
- offset decimal? (default ()) -
- withTotal boolean? (default ()) -
- 'where QueryPredicate[]? (default ()) -
- varAZaZ09 string[]? (default ()) -
Return Type
createCartDiscount
function createCartDiscount(string projectKey, CartDiscountDraft payload, Expansion[]? expand) returns CartDiscount|error
Return Type
- CartDiscount|error - 201
getCartDiscountByKey
function getCartDiscountByKey(string projectKey, string 'key, Expansion[]? expand) returns CartDiscount|error
Return Type
- CartDiscount|error - 200
updateCartDiscountByKey
function updateCartDiscountByKey(string projectKey, string 'key, CartDiscountUpdate payload, Expansion[]? expand) returns CartDiscount|error
Parameters
- projectKey string -
- 'key string -
- payload CartDiscountUpdate -
- expand Expansion[]? (default ()) -
Return Type
- CartDiscount|error - 200
deleteCartDiscountByKey
function deleteCartDiscountByKey(string projectKey, string 'key, decimal 'version, Expansion[]? expand) returns CartDiscount|error
Return Type
- CartDiscount|error - 200
getCartDiscountByID
function getCartDiscountByID(string projectKey, string id, Expansion[]? expand) returns CartDiscount|error
Return Type
- CartDiscount|error - 200
updateCartDiscountByID
function updateCartDiscountByID(string projectKey, string id, CartDiscountUpdate payload, Expansion[]? expand) returns CartDiscount|error
Parameters
- projectKey string -
- id string -
- payload CartDiscountUpdate -
- expand Expansion[]? (default ()) -
Return Type
- CartDiscount|error - 200
deleteCartDiscountByID
function deleteCartDiscountByID(string projectKey, string id, decimal 'version, Expansion[]? expand) returns CartDiscount|error
Return Type
- CartDiscount|error - 200
getDiscountCodeByID
function getDiscountCodeByID(string projectKey, string id, Expansion[]? expand) returns DiscountCode|error
Return Type
- DiscountCode|error - 200
updateDiscountCodeByID
function updateDiscountCodeByID(string projectKey, string id, DiscountCodeUpdate payload, Expansion[]? expand) returns DiscountCode|error
Parameters
- projectKey string -
- id string -
- payload DiscountCodeUpdate -
- expand Expansion[]? (default ()) -
Return Type
- DiscountCode|error - 200
deleteDiscountCodeByID
function deleteDiscountCodeByID(string projectKey, string id, decimal 'version, boolean? dataErasure, Expansion[]? expand) returns DiscountCode|error
Parameters
- projectKey string -
- id string -
- 'version decimal -
- dataErasure boolean? (default ()) -
- expand Expansion[]? (default ()) -
Return Type
- DiscountCode|error - 200
queryDiscountCodes
function queryDiscountCodes(string projectKey, Expansion[]? expand, Sort[]? sort, decimal? 'limit, decimal? offset, boolean? withTotal, QueryPredicate[]? 'where, string[]? varAZaZ09) returns DiscountCodePagedQueryResponse|error
Parameters
- projectKey string -
- expand Expansion[]? (default ()) -
- sort Sort[]? (default ()) -
- 'limit decimal? (default ()) -
- offset decimal? (default ()) -
- withTotal boolean? (default ()) -
- 'where QueryPredicate[]? (default ()) -
- varAZaZ09 string[]? (default ()) -
Return Type
createDiscountCode
function createDiscountCode(string projectKey, DiscountCodeDraft payload, Expansion[]? expand) returns DiscountCode|error
Return Type
- DiscountCode|error - 201
Records
commercetools.pricingdiscount: AccessDeniedError
Fields
- Fields Included from *ErrorObject
- code string? -
- message string? -
commercetools.pricingdiscount: Address
Fields
- Fields Included from *BaseAddress
- id string
- key string
- title string
- salutation string
- firstName string
- lastName string
- streetName string
- streetNumber string
- additionalStreetInfo string
- postalCode string
- city string
- region string
- state string
- country CountryCode
- company string
- department string
- building string
- apartment string
- pOBox string
- phone string
- mobile string
- email string
- fax string
- additionalAddressInfo string
- externalId string
- anydata...
- id string? -
- 'key string? -
- title string? -
- salutation string? -
- firstName string? -
- lastName string? -
- streetName string? -
- streetNumber string? -
- additionalStreetInfo string? -
- postalCode string? -
- city string? -
- region string? -
- state string? -
- country CountryCode? -
- company string? -
- department string? -
- building string? -
- apartment string? -
- pOBox string? -
- phone string? -
- mobile string? -
- email string? -
- fax string? -
- additionalAddressInfo string? -
- externalId string? -
- custom CustomFields? -
commercetools.pricingdiscount: AddressDraft
Fields
- Fields Included from *BaseAddress
- id string
- key string
- title string
- salutation string
- firstName string
- lastName string
- streetName string
- streetNumber string
- additionalStreetInfo string
- postalCode string
- city string
- region string
- state string
- country CountryCode
- company string
- department string
- building string
- apartment string
- pOBox string
- phone string
- mobile string
- email string
- fax string
- additionalAddressInfo string
- externalId string
- anydata...
- id string? -
- 'key string? -
- title string? -
- salutation string? -
- firstName string? -
- lastName string? -
- streetName string? -
- streetNumber string? -
- additionalStreetInfo string? -
- postalCode string? -
- city string? -
- region string? -
- state string? -
- country CountryCode? -
- company string? -
- department string? -
- building string? -
- apartment string? -
- pOBox string? -
- phone string? -
- mobile string? -
- email string? -
- fax string? -
- additionalAddressInfo string? -
- externalId string? -
- custom CustomFieldsDraft? -
commercetools.pricingdiscount: AnonymousIdAlreadyInUseError
Fields
- Fields Included from *ErrorObject
- code string? -
- message string? -
commercetools.pricingdiscount: ApiClient
Fields
- id string? -
- name string? -
- scope string? -
- secret string? -
- lastUsedAt string? -
- deleteAt string? -
- createdAt string? -
commercetools.pricingdiscount: ApiClientDraft
Fields
- name string? -
- scope string? -
- deleteDaysAfterCreation int? -
commercetools.pricingdiscount: ApiClientPagedQueryResponse
Fields
- 'limit int? -
- offset int? -
- count int? -
- total int? -
- results ApiClient[]? -
commercetools.pricingdiscount: Asset
Fields
- id string? -
- sources AssetSource[]? -
- name LocalizedString? -
- description LocalizedString? -
- tags string[]? -
- custom CustomFields? -
- 'key string? -
commercetools.pricingdiscount: AssetDimensions
Fields
- w int? -
- h int? -
commercetools.pricingdiscount: AssetDraft
Fields
- sources AssetSource[]? -
- name LocalizedString? -
- description LocalizedString? -
- tags string[]? -
- custom CustomFieldsDraft? -
- 'key string? -
commercetools.pricingdiscount: AssetSource
Fields
- uri string? -
- 'key string? -
- dimensions AssetDimensions? -
- contentType string? -
commercetools.pricingdiscount: AssignedProductReference
Fields
- product ProductReference? -
commercetools.pricingdiscount: Attribute
Fields
- name string? -
commercetools.pricingdiscount: AttributeBooleanType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributeDateTimeType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributeDateType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributeDefinition
Fields
- 'type AttributeType? -
- name string? -
- label LocalizedString? -
- isRequired boolean? -
- attributeConstraint AttributeConstraintEnum? -
- inputTip LocalizedString? -
- inputHint TextInputHint? -
- isSearchable boolean? -
commercetools.pricingdiscount: AttributeDefinitionAlreadyExistsError
Fields
- Fields Included from *ErrorObject
- code string? -
- message string? -
- conflictingProductTypeId string? -
- conflictingProductTypeName string? -
- conflictingAttributeName string? -
commercetools.pricingdiscount: AttributeDefinitionDraft
Fields
- 'type AttributeType? -
- name string? -
- label LocalizedString? -
- isRequired boolean? -
- attributeConstraint AttributeConstraintEnum? -
- inputTip LocalizedString? -
- inputHint TextInputHint? -
- isSearchable boolean? -
commercetools.pricingdiscount: AttributeDefinitionTypeConflictError
Fields
- Fields Included from *ErrorObject
- code string? -
- message string? -
- conflictingProductTypeId string? -
- conflictingProductTypeName string? -
- conflictingAttributeName string? -
commercetools.pricingdiscount: AttributeEnumType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
- values AttributePlainEnumValue[]? -
commercetools.pricingdiscount: AttributeLocalizableTextType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributeLocalizedEnumType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
- values AttributeLocalizedEnumValue[]? -
commercetools.pricingdiscount: AttributeLocalizedEnumValue
Fields
- 'key string? -
- label LocalizedString? -
commercetools.pricingdiscount: AttributeMoneyType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributeNameDoesNotExistError
Fields
- Fields Included from *ErrorObject
- code string? -
- message string? -
- invalidAttributeName string? -
commercetools.pricingdiscount: AttributeNestedType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
- typeReference ProductTypeReference? -
commercetools.pricingdiscount: AttributeNumberType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributePlainEnumValue
Fields
- 'key string? -
- label string? -
commercetools.pricingdiscount: AttributeReferenceType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
- referenceTypeId ReferenceTypeId? -
commercetools.pricingdiscount: AttributeSetType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
- elementType AttributeType? -
commercetools.pricingdiscount: AttributeTextType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributeTimeType
Fields
- Fields Included from *AttributeType
- name string
- anydata...
- name string? -
commercetools.pricingdiscount: AttributeType
Fields
- name string? -
commercetools.pricingdiscount: AzureEventGridDestination
Fields
- Fields Included from *Destination
- type string
- anydata...
- 'type string? -
- uri string? -
- accessKey string? -
commercetools.pricingdiscount: AzureServiceBusDestination
Fields
- Fields Included from *Destination
- type string
- anydata...
- 'type string? -
- connectionString string? -
commercetools.pricingdiscount: BadGatewayError
Fields
- Fields Included from *ErrorObject
- code string? -
- message string? -
commercetools.pricingdiscount: BaseAddress
Fields
- id string? -
- 'key string? -
- title string? -
- salutation string? -
- firstName string? -
- lastName string? -
- streetName string? -
- streetNumber string? -
- additionalStreetInfo string? -
- postalCode string? -
- city string? -
- region string? -
- state string? -
- country CountryCode? -
- company string? -
- department string? -
- building string? -
- apartment string? -
- pOBox string? -
- phone string? -
- mobile string? -
- email string? -
- fax string? -
- additionalAddressInfo string? -
- externalId string? -
commercetools.pricingdiscount: BaseResource
Fields
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
commercetools.pricingdiscount: Cart
Fields
- Fields Included from *BaseResource
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- 'key string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- customerId string? -
- customerEmail string? -
- anonymousId string? -
- store StoreKeyReference? -
- lineItems LineItem[]? -
- customLineItems CustomLineItem[]? -
- totalPrice TypedMoney? -
- taxedPrice TaxedPrice? -
- cartState CartState? -
- shippingAddress Address? -
- billingAddress Address? -
- inventoryMode InventoryMode? -
- taxMode TaxMode? -
- taxRoundingMode RoundingMode? -
- taxCalculationMode TaxCalculationMode? -
- customerGroup CustomerGroupReference? -
- country CountryCode? -
- shippingInfo ShippingInfo? -
- discountCodes DiscountCodeInfo[]? -
- custom CustomFields? -
- paymentInfo PaymentInfo? -
- locale string? -
- deleteDaysAfterLastModification int? -
- refusedGifts CartDiscountReference[]? -
- origin CartOrigin? -
- shippingRateInput ShippingRateInput? -
- itemShippingAddresses Address[]? -
commercetools.pricingdiscount: CartAddCustomLineItemAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- money Money? -
- name LocalizedString? -
- quantity int? -
- slug string? -
- taxCategory TaxCategoryResourceIdentifier? -
- custom CustomFieldsDraft? -
- externalTaxRate ExternalTaxRateDraft? -
commercetools.pricingdiscount: CartAddDiscountCodeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- code string? -
commercetools.pricingdiscount: CartAddItemShippingAddressAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- address BaseAddress? -
commercetools.pricingdiscount: CartAddLineItemAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- custom CustomFieldsDraft? -
- distributionChannel ChannelResourceIdentifier? -
- externalTaxRate ExternalTaxRateDraft? -
- productId string? -
- variantId int? -
- sku string? -
- quantity int? -
- supplyChannel ChannelResourceIdentifier? -
- externalPrice Money? -
- externalTotalPrice ExternalLineItemTotalPrice? -
- shippingDetails ItemShippingDetailsDraft? -
commercetools.pricingdiscount: CartAddPaymentAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- payment PaymentResourceIdentifier? -
commercetools.pricingdiscount: CartAddShoppingListAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- shoppingList ShoppingListResourceIdentifier? -
- supplyChannel ChannelResourceIdentifier? -
- distributionChannel ChannelResourceIdentifier? -
commercetools.pricingdiscount: CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- targetsDelta ItemShippingTarget[]? -
commercetools.pricingdiscount: CartApplyDeltaToLineItemShippingDetailsTargetsAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- targetsDelta ItemShippingTarget[]? -
commercetools.pricingdiscount: CartChangeCustomLineItemMoneyAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- money Money? -
commercetools.pricingdiscount: CartChangeCustomLineItemQuantityAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- quantity int? -
commercetools.pricingdiscount: CartChangeLineItemQuantityAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- quantity int? -
- externalPrice Money? -
- externalTotalPrice ExternalLineItemTotalPrice? -
commercetools.pricingdiscount: CartChangeTaxCalculationModeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- taxCalculationMode TaxCalculationMode? -
commercetools.pricingdiscount: CartChangeTaxModeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- taxMode TaxMode? -
commercetools.pricingdiscount: CartChangeTaxRoundingModeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- taxRoundingMode RoundingMode? -
commercetools.pricingdiscount: CartClassificationTier
Fields
- Fields Included from *ShippingRatePriceTier
- type ShippingRateTierType
- anydata...
- 'type ShippingRateTierType? -
- value string? -
- price Money? -
- isMatching boolean? -
commercetools.pricingdiscount: CartClassificationType
Fields
- Fields Included from *ShippingRateInputType
- type ShippingRateTierType
- anydata...
- 'type ShippingRateTierType? -
- values CustomFieldLocalizedEnumValue[]? -
commercetools.pricingdiscount: CartDiscount
Fields
- Fields Included from *BaseResource
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- name LocalizedString? -
- 'key string? -
- description LocalizedString? -
- value CartDiscountValue? -
- cartPredicate string? -
- target CartDiscountTarget? -
- sortOrder string? -
- isActive boolean? -
- validFrom string? -
- validUntil string? -
- requiresDiscountCode boolean? -
- references Reference[]? -
- stackingMode StackingMode? -
- custom CustomFields? -
commercetools.pricingdiscount: CartDiscountChangeCartPredicateAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- cartPredicate string? -
commercetools.pricingdiscount: CartDiscountChangeIsActiveAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- isActive boolean? -
commercetools.pricingdiscount: CartDiscountChangeNameAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- name LocalizedString? -
commercetools.pricingdiscount: CartDiscountChangeRequiresDiscountCodeAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- requiresDiscountCode boolean? -
commercetools.pricingdiscount: CartDiscountChangeSortOrderAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- sortOrder string? -
commercetools.pricingdiscount: CartDiscountChangeStackingModeAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- stackingMode StackingMode? -
commercetools.pricingdiscount: CartDiscountChangeTargetAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- target CartDiscountTarget? -
commercetools.pricingdiscount: CartDiscountChangeValueAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- value CartDiscountValueDraft? -
commercetools.pricingdiscount: CartDiscountCustomLineItemsTarget
Fields
- Fields Included from *CartDiscountTarget
- type string
- anydata...
- 'type string? -
- predicate string? -
commercetools.pricingdiscount: CartDiscountDraft
Fields
- name LocalizedString? -
- 'key string? -
- description LocalizedString? -
- value CartDiscountValueDraft? -
- cartPredicate string? -
- target CartDiscountTarget? -
- sortOrder string? -
- isActive boolean? -
- validFrom string? -
- validUntil string? -
- requiresDiscountCode boolean? -
- stackingMode StackingMode? -
- custom CustomFieldsDraft? -
commercetools.pricingdiscount: CartDiscountLineItemsTarget
Fields
- Fields Included from *CartDiscountTarget
- type string
- anydata...
- 'type string? -
- predicate string? -
commercetools.pricingdiscount: CartDiscountPagedQueryResponse
Fields
- 'limit int? -
- count int? -
- total int? -
- offset int? -
- results CartDiscount[]? -
commercetools.pricingdiscount: CartDiscountReference
Fields
- Fields Included from *Reference
- typeId ReferenceTypeId
- id string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- obj CartDiscount? -
commercetools.pricingdiscount: CartDiscountResourceIdentifier
Fields
- Fields Included from *ResourceIdentifier
- typeId ReferenceTypeId
- id string
- key string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- 'key string? -
commercetools.pricingdiscount: CartDiscountSetCustomFieldAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: CartDiscountSetCustomTypeAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields record {}? -
commercetools.pricingdiscount: CartDiscountSetDescriptionAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- description LocalizedString? -
commercetools.pricingdiscount: CartDiscountSetKeyAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- 'key string? -
commercetools.pricingdiscount: CartDiscountSetValidFromAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- validFrom string? -
commercetools.pricingdiscount: CartDiscountSetValidFromAndUntilAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- validFrom string? -
- validUntil string? -
commercetools.pricingdiscount: CartDiscountSetValidUntilAction
Fields
- Fields Included from *CartDiscountUpdateAction
- action string
- anydata...
- action string? -
- validUntil string? -
commercetools.pricingdiscount: CartDiscountShippingCostTarget
Fields
- Fields Included from *CartDiscountTarget
- type string
- anydata...
- 'type string? -
commercetools.pricingdiscount: CartDiscountTarget
Fields
- 'type string? -
commercetools.pricingdiscount: CartDiscountUpdate
Fields
- 'version int? -
- actions CartDiscountUpdateAction[]? -
commercetools.pricingdiscount: CartDiscountUpdateAction
Fields
- action string? -
commercetools.pricingdiscount: CartDiscountValue
Fields
- 'type string? -
commercetools.pricingdiscount: CartDiscountValueAbsolute
Fields
- Fields Included from *CartDiscountValue
- type string
- anydata...
- 'type string? -
- money TypedMoney[]? -
commercetools.pricingdiscount: CartDiscountValueAbsoluteDraft
Fields
- Fields Included from *CartDiscountValueDraft
- type string
- anydata...
- 'type string? -
- money Money[]? -
commercetools.pricingdiscount: CartDiscountValueDraft
Fields
- 'type string? -
commercetools.pricingdiscount: CartDiscountValueFixed
Fields
- Fields Included from *CartDiscountValue
- type string
- anydata...
- 'type string? -
- money TypedMoney[]? -
commercetools.pricingdiscount: CartDiscountValueFixedDraft
Fields
- Fields Included from *CartDiscountValueDraft
- type string
- anydata...
- 'type string? -
- money Money[]? -
commercetools.pricingdiscount: CartDiscountValueGiftLineItem
Fields
- Fields Included from *CartDiscountValue
- type string
- anydata...
- 'type string? -
- product ProductReference? -
- variantId int? -
- supplyChannel ChannelReference? -
- distributionChannel ChannelReference? -
commercetools.pricingdiscount: CartDiscountValueGiftLineItemDraft
Fields
- Fields Included from *CartDiscountValueDraft
- type string
- anydata...
- 'type string? -
- product ProductResourceIdentifier? -
- variantId int? -
- supplyChannel ChannelResourceIdentifier? -
- distributionChannel ChannelResourceIdentifier? -
commercetools.pricingdiscount: CartDiscountValueRelative
Fields
- Fields Included from *CartDiscountValue
- type string
- anydata...
- 'type string? -
- permyriad int? -
commercetools.pricingdiscount: CartDiscountValueRelativeDraft
Fields
- Fields Included from *CartDiscountValueDraft
- type string
- anydata...
- 'type string? -
- permyriad int? -
commercetools.pricingdiscount: CartDraft
Fields
- currency CurrencyCode? -
- 'key string? -
- customerId string? -
- customerEmail string? -
- customerGroup CustomerGroupResourceIdentifier? -
- anonymousId string? -
- store StoreResourceIdentifier? -
- country string? -
- inventoryMode InventoryMode? -
- taxMode TaxMode? -
- taxRoundingMode RoundingMode? -
- taxCalculationMode TaxCalculationMode? -
- lineItems LineItemDraft[]? -
- customLineItems CustomLineItemDraft[]? -
- shippingAddress BaseAddress? -
- billingAddress BaseAddress? -
- shippingMethod ShippingMethodResourceIdentifier? -
- externalTaxRateForShippingMethod ExternalTaxRateDraft? -
- custom CustomFieldsDraft? -
- locale string? -
- deleteDaysAfterLastModification int? -
- origin CartOrigin? -
- shippingRateInput ShippingRateInputDraft? -
- itemShippingAddresses BaseAddress[]? -
- discountCodes string[]? -
commercetools.pricingdiscount: CartPagedQueryResponse
Fields
- 'limit int? -
- count int? -
- total int? -
- offset int? -
- results Cart[]? -
commercetools.pricingdiscount: CartRecalculateAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- updateProductData boolean? -
commercetools.pricingdiscount: CartReference
Fields
- Fields Included from *Reference
- typeId ReferenceTypeId
- id string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- obj Cart? -
commercetools.pricingdiscount: CartRemoveCustomLineItemAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
commercetools.pricingdiscount: CartRemoveDiscountCodeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- discountCode DiscountCodeReference? -
commercetools.pricingdiscount: CartRemoveItemShippingAddressAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- addressKey string? -
commercetools.pricingdiscount: CartRemoveLineItemAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- quantity int? -
- externalPrice Money? -
- externalTotalPrice ExternalLineItemTotalPrice? -
- shippingDetailsToRemove ItemShippingDetailsDraft? -
commercetools.pricingdiscount: CartRemovePaymentAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- payment PaymentResourceIdentifier? -
commercetools.pricingdiscount: CartResourceIdentifier
Fields
- Fields Included from *ResourceIdentifier
- typeId ReferenceTypeId
- id string
- key string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- 'key string? -
commercetools.pricingdiscount: CartsConfiguration
Fields
- countryTaxRateFallbackEnabled boolean? -
- deleteDaysAfterLastModification int? -
commercetools.pricingdiscount: CartScoreTier
Fields
- Fields Included from *ShippingRatePriceTier
- type ShippingRateTierType
- anydata...
- 'type ShippingRateTierType? -
- score decimal? -
- price Money? -
- priceFunction PriceFunction? -
- isMatching boolean? -
commercetools.pricingdiscount: CartScoreType
Fields
- Fields Included from *ShippingRateInputType
- type ShippingRateTierType
- anydata...
- 'type ShippingRateTierType? -
commercetools.pricingdiscount: CartSetAnonymousIdAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- anonymousId string? -
commercetools.pricingdiscount: CartSetBillingAddressAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- address BaseAddress? -
commercetools.pricingdiscount: CartSetBillingAddressCustomFieldAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: CartSetBillingAddressCustomTypeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CartSetCartTotalTaxAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- externalTotalGross Money? -
- externalTaxPortions TaxPortionDraft[]? -
commercetools.pricingdiscount: CartSetCountryAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- country CountryCode? -
commercetools.pricingdiscount: CartSetCustomerEmailAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- email string? -
commercetools.pricingdiscount: CartSetCustomerGroupAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customerGroup CustomerGroupResourceIdentifier? -
commercetools.pricingdiscount: CartSetCustomerIdAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customerId string? -
commercetools.pricingdiscount: CartSetCustomFieldAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: CartSetCustomLineItemCustomFieldAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- name string? -
commercetools.pricingdiscount: CartSetCustomLineItemCustomTypeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CartSetCustomLineItemShippingDetailsAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- shippingDetails ItemShippingDetailsDraft? -
commercetools.pricingdiscount: CartSetCustomLineItemTaxAmountAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- externalTaxAmount ExternalTaxAmountDraft? -
commercetools.pricingdiscount: CartSetCustomLineItemTaxRateAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- customLineItemId string? -
- externalTaxRate ExternalTaxRateDraft? -
commercetools.pricingdiscount: CartSetCustomShippingMethodAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- shippingMethodName string? -
- shippingRate ShippingRateDraft? -
- taxCategory TaxCategoryResourceIdentifier? -
- externalTaxRate ExternalTaxRateDraft? -
commercetools.pricingdiscount: CartSetCustomTypeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CartSetDeleteDaysAfterLastModificationAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- deleteDaysAfterLastModification int? -
commercetools.pricingdiscount: CartSetDeliveryAddressCustomFieldAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- deliveryId string? -
- name string? -
commercetools.pricingdiscount: CartSetDeliveryAddressCustomTypeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- deliveryId string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CartSetItemShippingAddressCustomFieldAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- addressKey string? -
- name string? -
commercetools.pricingdiscount: CartSetItemShippingAddressCustomTypeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- addressKey string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CartSetKeyAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- 'key string? -
commercetools.pricingdiscount: CartSetLineItemCustomFieldAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- name string? -
commercetools.pricingdiscount: CartSetLineItemCustomTypeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CartSetLineItemDistributionChannelAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- distributionChannel ChannelResourceIdentifier? -
commercetools.pricingdiscount: CartSetLineItemPriceAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- externalPrice Money? -
commercetools.pricingdiscount: CartSetLineItemShippingDetailsAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- shippingDetails ItemShippingDetailsDraft? -
commercetools.pricingdiscount: CartSetLineItemSupplyChannelAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- supplyChannel ChannelResourceIdentifier? -
commercetools.pricingdiscount: CartSetLineItemTaxAmountAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- externalTaxAmount ExternalTaxAmountDraft? -
commercetools.pricingdiscount: CartSetLineItemTaxRateAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- externalTaxRate ExternalTaxRateDraft? -
commercetools.pricingdiscount: CartSetLineItemTotalPriceAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- lineItemId string? -
- externalTotalPrice ExternalLineItemTotalPrice? -
commercetools.pricingdiscount: CartSetLocaleAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- locale string? -
commercetools.pricingdiscount: CartSetShippingAddressAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- address BaseAddress? -
commercetools.pricingdiscount: CartSetShippingAddressCustomFieldAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: CartSetShippingAddressCustomTypeAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CartSetShippingMethodAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- shippingMethod ShippingMethodResourceIdentifier? -
- externalTaxRate ExternalTaxRateDraft? -
commercetools.pricingdiscount: CartSetShippingMethodTaxAmountAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- externalTaxAmount ExternalTaxAmountDraft? -
commercetools.pricingdiscount: CartSetShippingMethodTaxRateAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- externalTaxRate ExternalTaxRateDraft? -
commercetools.pricingdiscount: CartSetShippingRateInputAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- shippingRateInput ShippingRateInputDraft? -
commercetools.pricingdiscount: CartUpdate
Fields
- 'version int? -
- actions CartUpdateAction[]? -
commercetools.pricingdiscount: CartUpdateAction
Fields
- action string? -
commercetools.pricingdiscount: CartUpdateItemShippingAddressAction
Fields
- Fields Included from *CartUpdateAction
- action string
- anydata...
- action string? -
- address BaseAddress? -
commercetools.pricingdiscount: CartValueTier
Fields
- Fields Included from *ShippingRatePriceTier
- type ShippingRateTierType
- anydata...
- 'type ShippingRateTierType? -
- minimumCentAmount int? -
- price Money? -
- isMatching boolean? -
commercetools.pricingdiscount: CartValueType
Fields
- Fields Included from *ShippingRateInputType
- type ShippingRateTierType
- anydata...
- 'type ShippingRateTierType? -
commercetools.pricingdiscount: Category
Fields
- Fields Included from *BaseResource
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- name LocalizedString? -
- slug LocalizedString? -
- description LocalizedString? -
- ancestors CategoryReference[]? -
- parent CategoryReference? -
- orderHint string? -
- externalId string? -
- metaTitle LocalizedString? -
- metaDescription LocalizedString? -
- metaKeywords LocalizedString? -
- custom CustomFields? -
- assets Asset[]? -
- 'key string? -
commercetools.pricingdiscount: CategoryAddAssetAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- asset AssetDraft? -
- position int? -
commercetools.pricingdiscount: CategoryChangeAssetNameAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
- name LocalizedString? -
commercetools.pricingdiscount: CategoryChangeAssetOrderAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetOrder string[]? -
commercetools.pricingdiscount: CategoryChangeNameAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- name LocalizedString? -
commercetools.pricingdiscount: CategoryChangeOrderHintAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- orderHint string? -
commercetools.pricingdiscount: CategoryChangeParentAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- parent CategoryResourceIdentifier? -
commercetools.pricingdiscount: CategoryChangeSlugAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- slug LocalizedString? -
commercetools.pricingdiscount: CategoryCreatedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- category Category? -
commercetools.pricingdiscount: CategoryCreatedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- category Category? -
commercetools.pricingdiscount: CategoryDraft
Fields
- name LocalizedString? -
- slug LocalizedString? -
- description LocalizedString? -
- parent CategoryResourceIdentifier? -
- orderHint string? -
- externalId string? -
- metaTitle LocalizedString? -
- metaDescription LocalizedString? -
- metaKeywords LocalizedString? -
- custom CustomFieldsDraft? -
- assets AssetDraft[]? -
- 'key string? -
commercetools.pricingdiscount: CategoryOrderHints
commercetools.pricingdiscount: CategoryPagedQueryResponse
Fields
- 'limit int? -
- count int? -
- total int? -
- offset int? -
- results Category[]? -
commercetools.pricingdiscount: CategoryReference
Fields
- Fields Included from *Reference
- typeId ReferenceTypeId
- id string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- obj Category? -
commercetools.pricingdiscount: CategoryRemoveAssetAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
commercetools.pricingdiscount: CategoryResourceIdentifier
Fields
- Fields Included from *ResourceIdentifier
- typeId ReferenceTypeId
- id string
- key string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- 'key string? -
commercetools.pricingdiscount: CategorySetAssetCustomFieldAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
- name string? -
commercetools.pricingdiscount: CategorySetAssetCustomTypeAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
- 'type TypeResourceIdentifier? -
- fields record {}? -
commercetools.pricingdiscount: CategorySetAssetDescriptionAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
- description LocalizedString? -
commercetools.pricingdiscount: CategorySetAssetKeyAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
commercetools.pricingdiscount: CategorySetAssetSourcesAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
- sources AssetSource[]? -
commercetools.pricingdiscount: CategorySetAssetTagsAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- assetId string? -
- assetKey string? -
- tags string[]? -
commercetools.pricingdiscount: CategorySetCustomFieldAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: CategorySetCustomTypeAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CategorySetDescriptionAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- description LocalizedString? -
commercetools.pricingdiscount: CategorySetExternalIdAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- externalId string? -
commercetools.pricingdiscount: CategorySetKeyAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- 'key string? -
commercetools.pricingdiscount: CategorySetMetaDescriptionAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- metaDescription LocalizedString? -
commercetools.pricingdiscount: CategorySetMetaKeywordsAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- metaKeywords LocalizedString? -
commercetools.pricingdiscount: CategorySetMetaTitleAction
Fields
- Fields Included from *CategoryUpdateAction
- action string
- anydata...
- action string? -
- metaTitle LocalizedString? -
commercetools.pricingdiscount: CategorySlugChangedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- slug LocalizedString? -
- oldSlug LocalizedString? -
commercetools.pricingdiscount: CategorySlugChangedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- slug LocalizedString? -
- oldSlug LocalizedString? -
commercetools.pricingdiscount: CategoryUpdate
Fields
- 'version int? -
- actions CategoryUpdateAction[]? -
commercetools.pricingdiscount: CategoryUpdateAction
Fields
- action string? -
commercetools.pricingdiscount: CentPrecisionMoney
Fields
- Fields Included from *TypedMoney
- type MoneyType
- fractionDigits int
- centAmount int
- currencyCode CurrencyCode
- anydata...
- 'type MoneyType? -
- fractionDigits int? -
- centAmount int? -
- currencyCode CurrencyCode? -
commercetools.pricingdiscount: CentPrecisionMoneyDraft
Fields
- Fields Included from *TypedMoneyDraft
- centAmount int
- currencyCode CurrencyCode
- type MoneyType
- fractionDigits int
- anydata...
- centAmount int? -
- currencyCode CurrencyCode? -
- 'type MoneyType? -
- fractionDigits int? -
commercetools.pricingdiscount: ChangeSubscription
Fields
- resourceTypeId string? -
commercetools.pricingdiscount: Channel
Fields
- Fields Included from *BaseResource
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- 'key string? -
- roles ChannelRoleEnum[]? -
- name LocalizedString? -
- description LocalizedString? -
- address Address? -
- reviewRatingStatistics ReviewRatingStatistics? -
- custom CustomFields? -
- geoLocation GeoJson? -
commercetools.pricingdiscount: ChannelAddRolesAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- roles ChannelRoleEnum[]? -
commercetools.pricingdiscount: ChannelChangeDescriptionAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- description LocalizedString? -
commercetools.pricingdiscount: ChannelChangeKeyAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- 'key string? -
commercetools.pricingdiscount: ChannelChangeNameAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- name LocalizedString? -
commercetools.pricingdiscount: ChannelDraft
Fields
- 'key string? -
- roles ChannelRoleEnum[]? -
- name LocalizedString? -
- description LocalizedString? -
- address BaseAddress? -
- custom CustomFieldsDraft? -
- geoLocation GeoJson? -
commercetools.pricingdiscount: ChannelPagedQueryResponse
Fields
- 'limit int? -
- offset int? -
- count int? -
- total int? -
- results Channel[]? -
commercetools.pricingdiscount: ChannelReference
Fields
- Fields Included from *Reference
- typeId ReferenceTypeId
- id string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- obj Channel? -
commercetools.pricingdiscount: ChannelRemoveRolesAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- roles ChannelRoleEnum[]? -
commercetools.pricingdiscount: ChannelResourceIdentifier
Fields
- Fields Included from *ResourceIdentifier
- typeId ReferenceTypeId
- id string
- key string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- 'key string? -
commercetools.pricingdiscount: ChannelSetAddressAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- address BaseAddress? -
commercetools.pricingdiscount: ChannelSetAddressCustomFieldAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: ChannelSetAddressCustomTypeAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: ChannelSetCustomFieldAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: ChannelSetCustomTypeAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: ChannelSetGeoLocationAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- geoLocation GeoJson? -
commercetools.pricingdiscount: ChannelSetRolesAction
Fields
- Fields Included from *ChannelUpdateAction
- action string
- anydata...
- action string? -
- roles ChannelRoleEnum[]? -
commercetools.pricingdiscount: ChannelUpdate
Fields
- 'version int? -
- actions ChannelUpdateAction[]? -
commercetools.pricingdiscount: ChannelUpdateAction
Fields
- action string? -
commercetools.pricingdiscount: ClassificationShippingRateInput
Fields
- Fields Included from *ShippingRateInput
- type string
- anydata...
- 'type string? -
- 'key string? -
- label LocalizedString? -
commercetools.pricingdiscount: ClassificationShippingRateInputDraft
Fields
- Fields Included from *ShippingRateInputDraft
- type string
- anydata...
- 'type string? -
- 'key string? -
commercetools.pricingdiscount: ClientHttp1Settings
Provides settings related to HTTP/1.x protocol.
Fields
- keepAlive KeepAlive(default http:KEEPALIVE_AUTO) - Specifies whether to reuse a connection for multiple requests
- chunking Chunking(default http:CHUNKING_AUTO) - The chunking behaviour of the request
- proxy ProxyConfig? - Proxy server related options
commercetools.pricingdiscount: ClientLogging
Fields
- clientId string? -
- externalUserId string? -
- customer CustomerReference? -
- anonymousId string? -
commercetools.pricingdiscount: ConcurrentModificationError
Fields
- Fields Included from *ErrorObject
- code string? -
- message string? -
- currentVersion int? -
commercetools.pricingdiscount: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth OAuth2ClientCredentialsGrantConfig|BearerTokenConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings? - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings? - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded
/x-forwarded
header
- poolConfig PoolConfiguration? - Configurations associated with request pooling
- cache CacheConfig? - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding
) header
- circuitBreaker CircuitBreakerConfig? - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig RetryConfig? - Configurations associated with retrying
- responseLimits ResponseLimitConfigs? - Configurations associated with inbound response size limits
- secureSocket ClientSecureSocket? - SSL/TLS-related options
- proxy ProxyConfig? - Proxy server related options
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
commercetools.pricingdiscount: ContainerAndKey
Fields
- 'key string? -
- container string? -
commercetools.pricingdiscount: CreatedBy
Fields
- Fields Included from *ClientLogging
- clientId string
- externalUserId string
- customer CustomerReference
- anonymousId string
- anydata...
- clientId string? -
- externalUserId string? -
- customer CustomerReference? -
- anonymousId string? -
commercetools.pricingdiscount: Customer
Fields
- Fields Included from *BaseResource
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- customerNumber string? -
- email string? -
- password string? -
- firstName string? -
- lastName string? -
- middleName string? -
- title string? -
- dateOfBirth string? -
- companyName string? -
- vatId string? -
- addresses Address[]? -
- defaultShippingAddressId string? -
- shippingAddressIds string[]? -
- defaultBillingAddressId string? -
- billingAddressIds string[]? -
- isEmailVerified boolean? -
- externalId string? -
- customerGroup CustomerGroupReference? -
- custom CustomFields? -
- locale string? -
- salutation string? -
- 'key string? -
- stores StoreKeyReference[]? -
commercetools.pricingdiscount: CustomerAddAddressAction
Fields
- Fields Included from *CustomerUpdateAction
- action string
- anydata...
- action string? -
- address BaseAddress? -
commercetools.pricingdiscount: CustomerAddBillingAddressIdAction
Fields
- Fields Included from *CustomerUpdateAction
- action string
- anydata...
- action string? -
- addressId string? -
- addressKey string? -
commercetools.pricingdiscount: CustomerAddressAddedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- address Address? -
commercetools.pricingdiscount: CustomerAddressAddedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- address Address? -
commercetools.pricingdiscount: CustomerAddressChangedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- address Address? -
commercetools.pricingdiscount: CustomerAddressChangedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- address Address? -
commercetools.pricingdiscount: CustomerAddressRemovedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- address Address? -
commercetools.pricingdiscount: CustomerAddressRemovedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- address Address? -
commercetools.pricingdiscount: CustomerAddShippingAddressIdAction
Fields
- Fields Included from *CustomerUpdateAction
- action string
- anydata...
- action string? -
- addressId string? -
- addressKey string? -
commercetools.pricingdiscount: CustomerAddStoreAction
Fields
- Fields Included from *CustomerUpdateAction
- action string
- anydata...
- action string? -
- store StoreResourceIdentifier? -
commercetools.pricingdiscount: CustomerChangeAddressAction
Fields
- Fields Included from *CustomerUpdateAction
- action string
- anydata...
- action string? -
- addressId string? -
- addressKey string? -
- address BaseAddress? -
commercetools.pricingdiscount: CustomerChangeEmailAction
Fields
- Fields Included from *CustomerUpdateAction
- action string
- anydata...
- action string? -
- email string? -
commercetools.pricingdiscount: CustomerChangePassword
Fields
- id string? -
- 'version int? -
- currentPassword string? -
- newPassword string? -
commercetools.pricingdiscount: CustomerCompanyNameSetMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- companyName string? -
commercetools.pricingdiscount: CustomerCompanyNameSetMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- companyName string? -
commercetools.pricingdiscount: CustomerCreatedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- customer Customer? -
commercetools.pricingdiscount: CustomerCreatedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- customer Customer? -
commercetools.pricingdiscount: CustomerCreateEmailToken
Fields
- id string? -
- 'version int? -
- ttlMinutes int? -
commercetools.pricingdiscount: CustomerCreatePasswordResetToken
Fields
- email string? -
- ttlMinutes int? -
commercetools.pricingdiscount: CustomerDateOfBirthSetMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- dateOfBirth string? -
commercetools.pricingdiscount: CustomerDateOfBirthSetMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- dateOfBirth string? -
commercetools.pricingdiscount: CustomerDeletedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
commercetools.pricingdiscount: CustomerDeletedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
commercetools.pricingdiscount: CustomerDraft
Fields
- customerNumber string? -
- email string? -
- password string? -
- firstName string? -
- lastName string? -
- middleName string? -
- title string? -
- anonymousCartId string? -
- anonymousCart CartResourceIdentifier? -
- anonymousId string? -
- dateOfBirth string? -
- companyName string? -
- vatId string? -
- addresses BaseAddress[]? -
- defaultShippingAddress int? -
- shippingAddresses int[]? -
- defaultBillingAddress int? -
- billingAddresses int[]? -
- isEmailVerified boolean? -
- externalId string? -
- customerGroup CustomerGroupResourceIdentifier? -
- custom CustomFieldsDraft? -
- locale string? -
- salutation string? -
- 'key string? -
- stores StoreResourceIdentifier[]? -
commercetools.pricingdiscount: CustomerEmailChangedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- email string? -
commercetools.pricingdiscount: CustomerEmailChangedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- email string? -
commercetools.pricingdiscount: CustomerEmailVerifiedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
commercetools.pricingdiscount: CustomerEmailVerifiedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
commercetools.pricingdiscount: CustomerEmailVerify
Fields
- 'version int? -
- tokenValue string? -
commercetools.pricingdiscount: CustomerFirstNameSetMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- firstName string? -
commercetools.pricingdiscount: CustomerFirstNameSetMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- firstName string? -
commercetools.pricingdiscount: CustomerGroup
Fields
- Fields Included from *BaseResource
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- 'key string? -
- name string? -
- custom CustomFields? -
commercetools.pricingdiscount: CustomerGroupChangeNameAction
Fields
- Fields Included from *CustomerGroupUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: CustomerGroupDraft
Fields
- 'key string? -
- groupName string? -
- custom CustomFieldsDraft? -
commercetools.pricingdiscount: CustomerGroupPagedQueryResponse
Fields
- 'limit int? -
- offset int? -
- count int? -
- total int? -
- results CustomerGroup[]? -
commercetools.pricingdiscount: CustomerGroupReference
Fields
- Fields Included from *Reference
- typeId ReferenceTypeId
- id string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- obj CustomerGroup? -
commercetools.pricingdiscount: CustomerGroupResourceIdentifier
Fields
- Fields Included from *ResourceIdentifier
- typeId ReferenceTypeId
- id string
- key string
- anydata...
- typeId ReferenceTypeId? -
- id string? -
- 'key string? -
commercetools.pricingdiscount: CustomerGroupSetCustomFieldAction
Fields
- Fields Included from *CustomerGroupUpdateAction
- action string
- anydata...
- action string? -
- name string? -
commercetools.pricingdiscount: CustomerGroupSetCustomTypeAction
Fields
- Fields Included from *CustomerGroupUpdateAction
- action string
- anydata...
- action string? -
- 'type TypeResourceIdentifier? -
- fields FieldContainer? -
commercetools.pricingdiscount: CustomerGroupSetKeyAction
Fields
- Fields Included from *CustomerGroupUpdateAction
- action string
- anydata...
- action string? -
- 'key string? -
commercetools.pricingdiscount: CustomerGroupSetMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- customerGroup CustomerGroupReference? -
commercetools.pricingdiscount: CustomerGroupSetMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- customerGroup CustomerGroupReference? -
commercetools.pricingdiscount: CustomerGroupUpdate
Fields
- 'version int? -
- actions CustomerGroupUpdateAction[]? -
commercetools.pricingdiscount: CustomerGroupUpdateAction
Fields
- action string? -
commercetools.pricingdiscount: CustomerLastNameSetMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- lastName string? -
commercetools.pricingdiscount: CustomerLastNameSetMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- lastName string? -
commercetools.pricingdiscount: CustomerPagedQueryResponse
Fields
- 'limit int? -
- count int? -
- total int? -
- offset int? -
- results Customer[]? -
commercetools.pricingdiscount: CustomerPasswordUpdatedMessage
Fields
- Fields Included from *Message
- id string? -
- 'version int? -
- createdAt string? -
- lastModifiedAt string? -
- lastModifiedBy LastModifiedBy? -
- createdBy CreatedBy? -
- sequenceNumber int? -
- 'resource Reference? -
- resourceVersion int? -
- 'type string? -
- resourceUserProvidedIdentifiers UserProvidedIdentifiers? -
- reset boolean? -
commercetools.pricingdiscount: CustomerPasswordUpdatedMessagePayload
Fields
- Fields Included from *MessagePayload
- type string
- anydata...
- 'type string? -
- reset