@ikas/storefront-api 4.0.0-alpha.29 → 4.0.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/src/__api/models/Cart.ts +2 -0
- package/src/__api/models/CartStorefrontRoutingDynamicCurrencySettings.ts +2 -0
- package/src/__api/models/CartV2.ts +2 -0
- package/src/__api/models/CheckoutSettingsPrice.ts +2 -0
- package/src/__api/models/Country.ts +4 -0
- package/src/__api/models/CurrencyRate.ts +4 -0
- package/src/__api/models/OrderLineItem.ts +2 -0
- package/src/__api/models/OrderLineVariantPrice.ts +2 -0
- package/src/__api/models/ProductBackInStockRemind.ts +2 -0
- package/src/__api/models/ProductOptionSelectValueOtherPrice.ts +2 -0
- package/src/__api/models/ProductPrice.ts +4 -0
- package/src/__api/models/RafflePaginationResponse.ts +5 -3
- package/src/__api/models/RaffleParticipants.ts +8 -10
- package/src/__api/models/RaffleParticipantsInput.ts +1 -4
- package/src/__api/models/SearchProductPrice.ts +4 -0
- package/src/__api/models/StorefrontDynamicCurrencySettings.ts +2 -0
- package/src/__api/models/StorefrontOrder.ts +2 -0
- package/src/__api/models/{Raffle.ts → StorefrontRaffle.ts} +5 -16
- package/src/__api/models/StorefrontTransaction.ts +2 -0
- package/src/__api/mutations/addCouponCodeToCheckout.ts +5 -1
- package/src/__api/mutations/addItemToCart.ts +4 -1
- package/src/__api/mutations/createOrderRefundRequest.ts +4 -1
- package/src/__api/mutations/saveCart.ts +4 -1
- package/src/__api/mutations/saveCartCouponCode.ts +4 -1
- package/src/__api/mutations/saveCheckout.ts +5 -1
- package/src/__api/mutations/saveItemToCart.ts +5 -1
- package/src/__api/mutations/saveProductBackInStockRemind.ts +2 -1
- package/src/__api/mutations/saveRaffleParticipant.ts +25 -3
- package/src/__api/mutations/updateCartCampaignOffer.ts +4 -1
- package/src/__api/queries/getCart.ts +5 -1
- package/src/__api/queries/getCartById.ts +4 -1
- package/src/__api/queries/getCheckoutByCartId.ts +5 -1
- package/src/__api/queries/getCheckoutById.ts +5 -1
- package/src/__api/queries/getCurrencyRate.ts +3 -1
- package/src/__api/queries/getCustomerOrders.ts +4 -1
- package/src/__api/queries/getOrder.ts +4 -1
- package/src/__api/queries/getOrderByEmail.ts +4 -1
- package/src/__api/queries/getStorefront.ts +2 -1
- package/src/__api/queries/listCheckoutSettings.ts +2 -1
- package/src/__api/queries/listCountry.ts +3 -1
- package/src/__api/queries/listOrderTransactions.ts +2 -1
- package/src/__api/queries/listProduct.ts +3 -1
- package/src/__api/queries/listProductBackInStockRemind.ts +2 -1
- package/src/__api/queries/listProductOptionSet.ts +3 -1
- package/src/__api/queries/listRaffleParticipants.ts +81 -0
- package/src/__api/queries/{listRaffle.ts → listStorefrontRaffle.ts} +10 -10
- package/src/__api/queries/searchProducts.ts +3 -1
- package/src/__api/types/index.ts +43 -35
- package/src/api/raffle/index.ts +12 -14
- package/src/__api/models/RaffleParticipantsUpdateInput.ts +0 -24
- package/src/__api/mutations/updateRaffleParticipant.ts +0 -72
- package/src/__api/queries/getRaffleParticipants.ts +0 -59
- package/src/__api/queries/getRafflesByCustomerId.ts +0 -74
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode customerId deleted dueDate id itemCount items {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }";
|
|
45
|
+
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
ABANDONED_CHECKOUT_FLOWS__CAMPAIGN_ID = "abandonedCheckoutFlows.campaignId",
|
|
@@ -109,6 +109,7 @@ export enum ResponseField {
|
|
|
109
109
|
CART__CREATED_AT = "cart.createdAt",
|
|
110
110
|
CART__CREATED_BY = "cart.createdBy",
|
|
111
111
|
CART__CURRENCY_CODE = "cart.currencyCode",
|
|
112
|
+
CART__CURRENCY_SYMBOL = "cart.currencySymbol",
|
|
112
113
|
CART__CUSTOMER_ID = "cart.customerId",
|
|
113
114
|
CART__DELETED = "cart.deleted",
|
|
114
115
|
CART__DUE_DATE = "cart.dueDate",
|
|
@@ -116,6 +117,7 @@ export enum ResponseField {
|
|
|
116
117
|
CART__ITEM_COUNT = "cart.itemCount",
|
|
117
118
|
CART__ITEMS__CREATED_AT = "cart.items.createdAt",
|
|
118
119
|
CART__ITEMS__CURRENCY_CODE = "cart.items.currencyCode",
|
|
120
|
+
CART__ITEMS__CURRENCY_SYMBOL = "cart.items.currencySymbol",
|
|
119
121
|
CART__ITEMS__DELETED = "cart.items.deleted",
|
|
120
122
|
CART__ITEMS__DISCOUNT__AMOUNT = "cart.items.discount.amount",
|
|
121
123
|
CART__ITEMS__DISCOUNT__AMOUNT_TYPE = "cart.items.discount.amountType",
|
|
@@ -153,6 +155,7 @@ export enum ResponseField {
|
|
|
153
155
|
CART__ITEMS__VARIANT__NAME = "cart.items.variant.name",
|
|
154
156
|
CART__ITEMS__VARIANT__PRICES__BUY_PRICE = "cart.items.variant.prices.buyPrice",
|
|
155
157
|
CART__ITEMS__VARIANT__PRICES__CURRENCY = "cart.items.variant.prices.currency",
|
|
158
|
+
CART__ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "cart.items.variant.prices.currencySymbol",
|
|
156
159
|
CART__ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "cart.items.variant.prices.discountPrice",
|
|
157
160
|
CART__ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "cart.items.variant.prices.priceListId",
|
|
158
161
|
CART__ITEMS__VARIANT__PRICES__SELL_PRICE = "cart.items.variant.prices.sellPrice",
|
|
@@ -176,6 +179,7 @@ export enum ResponseField {
|
|
|
176
179
|
CART__STOREFRONT_ROUTING__DOMAIN = "cart.storefrontRouting.domain",
|
|
177
180
|
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT = "cart.storefrontRouting.dynamicCurrencySettings.roundingFormat",
|
|
178
181
|
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE = "cart.storefrontRouting.dynamicCurrencySettings.targetCurrencyCode",
|
|
182
|
+
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_SYMBOL = "cart.storefrontRouting.dynamicCurrencySettings.targetCurrencySymbol",
|
|
179
183
|
CART__STOREFRONT_ROUTING__ID = "cart.storefrontRouting.id",
|
|
180
184
|
CART__STOREFRONT_ROUTING__LOCALE = "cart.storefrontRouting.locale",
|
|
181
185
|
CART__STOREFRONT_ROUTING__PATH = "cart.storefrontRouting.path",
|
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode customerId deleted dueDate id itemCount items {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }";
|
|
45
|
+
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
CAMPAIGN_OFFERS__APPLIED_ORDER_LINE_ID = "campaignOffers.appliedOrderLineId",
|
|
@@ -56,6 +56,7 @@ export enum ResponseField {
|
|
|
56
56
|
CREATED_AT = "createdAt",
|
|
57
57
|
CREATED_BY = "createdBy",
|
|
58
58
|
CURRENCY_CODE = "currencyCode",
|
|
59
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
59
60
|
CUSTOMER_ID = "customerId",
|
|
60
61
|
DELETED = "deleted",
|
|
61
62
|
DUE_DATE = "dueDate",
|
|
@@ -63,6 +64,7 @@ export enum ResponseField {
|
|
|
63
64
|
ITEM_COUNT = "itemCount",
|
|
64
65
|
ITEMS__CREATED_AT = "items.createdAt",
|
|
65
66
|
ITEMS__CURRENCY_CODE = "items.currencyCode",
|
|
67
|
+
ITEMS__CURRENCY_SYMBOL = "items.currencySymbol",
|
|
66
68
|
ITEMS__DELETED = "items.deleted",
|
|
67
69
|
ITEMS__DISCOUNT__AMOUNT = "items.discount.amount",
|
|
68
70
|
ITEMS__DISCOUNT__AMOUNT_TYPE = "items.discount.amountType",
|
|
@@ -100,6 +102,7 @@ export enum ResponseField {
|
|
|
100
102
|
ITEMS__VARIANT__NAME = "items.variant.name",
|
|
101
103
|
ITEMS__VARIANT__PRICES__BUY_PRICE = "items.variant.prices.buyPrice",
|
|
102
104
|
ITEMS__VARIANT__PRICES__CURRENCY = "items.variant.prices.currency",
|
|
105
|
+
ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "items.variant.prices.currencySymbol",
|
|
103
106
|
ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "items.variant.prices.discountPrice",
|
|
104
107
|
ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "items.variant.prices.priceListId",
|
|
105
108
|
ITEMS__VARIANT__PRICES__SELL_PRICE = "items.variant.prices.sellPrice",
|
|
@@ -123,6 +126,7 @@ export enum ResponseField {
|
|
|
123
126
|
STOREFRONT_ROUTING__DOMAIN = "storefrontRouting.domain",
|
|
124
127
|
STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT = "storefrontRouting.dynamicCurrencySettings.roundingFormat",
|
|
125
128
|
STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE = "storefrontRouting.dynamicCurrencySettings.targetCurrencyCode",
|
|
129
|
+
STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_SYMBOL = "storefrontRouting.dynamicCurrencySettings.targetCurrencySymbol",
|
|
126
130
|
STOREFRONT_ROUTING__ID = "storefrontRouting.id",
|
|
127
131
|
STOREFRONT_ROUTING__LOCALE = "storefrontRouting.locale",
|
|
128
132
|
STOREFRONT_ROUTING__PATH = "storefrontRouting.path",
|
|
@@ -48,7 +48,7 @@ export type QueryParams = {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
const allReturnFields =
|
|
51
|
-
"{createdAt customerId deleted email id productId storefrontId updatedAt variantId }";
|
|
51
|
+
"{createdAt customerId deleted email id productId storefrontId storefrontRoutingId updatedAt variantId }";
|
|
52
52
|
|
|
53
53
|
export enum ResponseField {
|
|
54
54
|
CREATED_AT = "createdAt",
|
|
@@ -58,6 +58,7 @@ export enum ResponseField {
|
|
|
58
58
|
ID = "id",
|
|
59
59
|
PRODUCT_ID = "productId",
|
|
60
60
|
STOREFRONT_ID = "storefrontId",
|
|
61
|
+
STOREFRONT_ROUTING_ID = "storefrontRoutingId",
|
|
61
62
|
UPDATED_AT = "updatedAt",
|
|
62
63
|
VARIANT_ID = "variantId",
|
|
63
64
|
}
|
|
@@ -45,7 +45,7 @@ export type QueryParams = {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
const allReturnFields =
|
|
48
|
-
"{applicationDate appliedProduct {productId variantId } createdAt customerId deleted email extraData firstName fullName id isDeliveredCargo
|
|
48
|
+
"{applicationDate appliedProduct {productId variantId } createdAt customerId deleted email extraData firstName fullName id isDeliveredCargo lastName phone raffle {createdAt dateRange {end start } deleted id metadata {canonicals createdAt deleted description disableIndex id pageTitle slug targetId targetType updatedAt } name requiredCustomerAccount status updatedAt variants {productId variantId } verificationType } raffleId status updatedAt }";
|
|
49
49
|
|
|
50
50
|
export enum ResponseField {
|
|
51
51
|
APPLICATION_DATE = "applicationDate",
|
|
@@ -60,10 +60,32 @@ export enum ResponseField {
|
|
|
60
60
|
FULL_NAME = "fullName",
|
|
61
61
|
ID = "id",
|
|
62
62
|
IS_DELIVERED_CARGO = "isDeliveredCargo",
|
|
63
|
-
IS_SEND_EMAIL = "isSendEmail",
|
|
64
|
-
IS_WINNER = "isWinner",
|
|
65
63
|
LAST_NAME = "lastName",
|
|
66
64
|
PHONE = "phone",
|
|
65
|
+
RAFFLE__CREATED_AT = "raffle.createdAt",
|
|
66
|
+
RAFFLE__DATE_RANGE__END = "raffle.dateRange.end",
|
|
67
|
+
RAFFLE__DATE_RANGE__START = "raffle.dateRange.start",
|
|
68
|
+
RAFFLE__DELETED = "raffle.deleted",
|
|
69
|
+
RAFFLE__ID = "raffle.id",
|
|
70
|
+
RAFFLE__METADATA__CANONICALS = "raffle.metadata.canonicals",
|
|
71
|
+
RAFFLE__METADATA__CREATED_AT = "raffle.metadata.createdAt",
|
|
72
|
+
RAFFLE__METADATA__DELETED = "raffle.metadata.deleted",
|
|
73
|
+
RAFFLE__METADATA__DESCRIPTION = "raffle.metadata.description",
|
|
74
|
+
RAFFLE__METADATA__DISABLE_INDEX = "raffle.metadata.disableIndex",
|
|
75
|
+
RAFFLE__METADATA__ID = "raffle.metadata.id",
|
|
76
|
+
RAFFLE__METADATA__PAGE_TITLE = "raffle.metadata.pageTitle",
|
|
77
|
+
RAFFLE__METADATA__SLUG = "raffle.metadata.slug",
|
|
78
|
+
RAFFLE__METADATA__TARGET_ID = "raffle.metadata.targetId",
|
|
79
|
+
RAFFLE__METADATA__TARGET_TYPE = "raffle.metadata.targetType",
|
|
80
|
+
RAFFLE__METADATA__UPDATED_AT = "raffle.metadata.updatedAt",
|
|
81
|
+
RAFFLE__NAME = "raffle.name",
|
|
82
|
+
RAFFLE__REQUIRED_CUSTOMER_ACCOUNT = "raffle.requiredCustomerAccount",
|
|
83
|
+
RAFFLE__STATUS = "raffle.status",
|
|
84
|
+
RAFFLE__UPDATED_AT = "raffle.updatedAt",
|
|
85
|
+
RAFFLE__VARIANTS__PRODUCT_ID = "raffle.variants.productId",
|
|
86
|
+
RAFFLE__VARIANTS__VARIANT_ID = "raffle.variants.variantId",
|
|
87
|
+
RAFFLE__VERIFICATION_TYPE = "raffle.verificationType",
|
|
67
88
|
RAFFLE_ID = "raffleId",
|
|
89
|
+
STATUS = "status",
|
|
68
90
|
UPDATED_AT = "updatedAt",
|
|
69
91
|
}
|
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }";
|
|
45
|
+
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
ABANDONED_CART_FLOWS__CAMPAIGN_ID = "abandonedCartFlows.campaignId",
|
|
@@ -133,6 +133,7 @@ export enum ResponseField {
|
|
|
133
133
|
CURRENCY_RATES__CODE = "currencyRates.code",
|
|
134
134
|
CURRENCY_RATES__ORIGINAL_RATE = "currencyRates.originalRate",
|
|
135
135
|
CURRENCY_RATES__RATE = "currencyRates.rate",
|
|
136
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
136
137
|
CUSTOMER__EMAIL = "customer.email",
|
|
137
138
|
CUSTOMER__FIRST_NAME = "customer.firstName",
|
|
138
139
|
CUSTOMER__FULL_NAME = "customer.fullName",
|
|
@@ -167,6 +168,7 @@ export enum ResponseField {
|
|
|
167
168
|
ORDER_ADJUSTMENTS__TYPE = "orderAdjustments.type",
|
|
168
169
|
ORDER_LINE_ITEMS__CREATED_AT = "orderLineItems.createdAt",
|
|
169
170
|
ORDER_LINE_ITEMS__CURRENCY_CODE = "orderLineItems.currencyCode",
|
|
171
|
+
ORDER_LINE_ITEMS__CURRENCY_SYMBOL = "orderLineItems.currencySymbol",
|
|
170
172
|
ORDER_LINE_ITEMS__DELETED = "orderLineItems.deleted",
|
|
171
173
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT = "orderLineItems.discount.amount",
|
|
172
174
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT_TYPE = "orderLineItems.discount.amountType",
|
|
@@ -204,6 +206,7 @@ export enum ResponseField {
|
|
|
204
206
|
ORDER_LINE_ITEMS__VARIANT__NAME = "orderLineItems.variant.name",
|
|
205
207
|
ORDER_LINE_ITEMS__VARIANT__PRICES__BUY_PRICE = "orderLineItems.variant.prices.buyPrice",
|
|
206
208
|
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY = "orderLineItems.variant.prices.currency",
|
|
209
|
+
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "orderLineItems.variant.prices.currencySymbol",
|
|
207
210
|
ORDER_LINE_ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "orderLineItems.variant.prices.discountPrice",
|
|
208
211
|
ORDER_LINE_ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "orderLineItems.variant.prices.priceListId",
|
|
209
212
|
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice",
|
|
@@ -48,7 +48,7 @@ export type QueryParams = {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
const allReturnFields =
|
|
51
|
-
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode customerId deleted dueDate id itemCount items {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }";
|
|
51
|
+
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }";
|
|
52
52
|
|
|
53
53
|
export enum ResponseField {
|
|
54
54
|
CAMPAIGN_OFFERS__APPLIED_ORDER_LINE_ID = "campaignOffers.appliedOrderLineId",
|
|
@@ -62,6 +62,7 @@ export enum ResponseField {
|
|
|
62
62
|
CREATED_AT = "createdAt",
|
|
63
63
|
CREATED_BY = "createdBy",
|
|
64
64
|
CURRENCY_CODE = "currencyCode",
|
|
65
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
65
66
|
CUSTOMER_ID = "customerId",
|
|
66
67
|
DELETED = "deleted",
|
|
67
68
|
DUE_DATE = "dueDate",
|
|
@@ -69,6 +70,7 @@ export enum ResponseField {
|
|
|
69
70
|
ITEM_COUNT = "itemCount",
|
|
70
71
|
ITEMS__CREATED_AT = "items.createdAt",
|
|
71
72
|
ITEMS__CURRENCY_CODE = "items.currencyCode",
|
|
73
|
+
ITEMS__CURRENCY_SYMBOL = "items.currencySymbol",
|
|
72
74
|
ITEMS__DELETED = "items.deleted",
|
|
73
75
|
ITEMS__DISCOUNT__AMOUNT = "items.discount.amount",
|
|
74
76
|
ITEMS__DISCOUNT__AMOUNT_TYPE = "items.discount.amountType",
|
|
@@ -106,6 +108,7 @@ export enum ResponseField {
|
|
|
106
108
|
ITEMS__VARIANT__NAME = "items.variant.name",
|
|
107
109
|
ITEMS__VARIANT__PRICES__BUY_PRICE = "items.variant.prices.buyPrice",
|
|
108
110
|
ITEMS__VARIANT__PRICES__CURRENCY = "items.variant.prices.currency",
|
|
111
|
+
ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "items.variant.prices.currencySymbol",
|
|
109
112
|
ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "items.variant.prices.discountPrice",
|
|
110
113
|
ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "items.variant.prices.priceListId",
|
|
111
114
|
ITEMS__VARIANT__PRICES__SELL_PRICE = "items.variant.prices.sellPrice",
|
|
@@ -129,6 +132,7 @@ export enum ResponseField {
|
|
|
129
132
|
STOREFRONT_ROUTING__DOMAIN = "storefrontRouting.domain",
|
|
130
133
|
STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT = "storefrontRouting.dynamicCurrencySettings.roundingFormat",
|
|
131
134
|
STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE = "storefrontRouting.dynamicCurrencySettings.targetCurrencyCode",
|
|
135
|
+
STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_SYMBOL = "storefrontRouting.dynamicCurrencySettings.targetCurrencySymbol",
|
|
132
136
|
STOREFRONT_ROUTING__ID = "storefrontRouting.id",
|
|
133
137
|
STOREFRONT_ROUTING__LOCALE = "storefrontRouting.locale",
|
|
134
138
|
STOREFRONT_ROUTING__PATH = "storefrontRouting.path",
|
|
@@ -45,7 +45,7 @@ export type QueryParams = {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
const allReturnFields =
|
|
48
|
-
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }";
|
|
48
|
+
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }";
|
|
49
49
|
|
|
50
50
|
export enum ResponseField {
|
|
51
51
|
ABANDONED_CART_FLOWS__CAMPAIGN_ID = "abandonedCartFlows.campaignId",
|
|
@@ -136,6 +136,7 @@ export enum ResponseField {
|
|
|
136
136
|
CURRENCY_RATES__CODE = "currencyRates.code",
|
|
137
137
|
CURRENCY_RATES__ORIGINAL_RATE = "currencyRates.originalRate",
|
|
138
138
|
CURRENCY_RATES__RATE = "currencyRates.rate",
|
|
139
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
139
140
|
CUSTOMER__EMAIL = "customer.email",
|
|
140
141
|
CUSTOMER__FIRST_NAME = "customer.firstName",
|
|
141
142
|
CUSTOMER__FULL_NAME = "customer.fullName",
|
|
@@ -170,6 +171,7 @@ export enum ResponseField {
|
|
|
170
171
|
ORDER_ADJUSTMENTS__TYPE = "orderAdjustments.type",
|
|
171
172
|
ORDER_LINE_ITEMS__CREATED_AT = "orderLineItems.createdAt",
|
|
172
173
|
ORDER_LINE_ITEMS__CURRENCY_CODE = "orderLineItems.currencyCode",
|
|
174
|
+
ORDER_LINE_ITEMS__CURRENCY_SYMBOL = "orderLineItems.currencySymbol",
|
|
173
175
|
ORDER_LINE_ITEMS__DELETED = "orderLineItems.deleted",
|
|
174
176
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT = "orderLineItems.discount.amount",
|
|
175
177
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT_TYPE = "orderLineItems.discount.amountType",
|
|
@@ -207,6 +209,7 @@ export enum ResponseField {
|
|
|
207
209
|
ORDER_LINE_ITEMS__VARIANT__NAME = "orderLineItems.variant.name",
|
|
208
210
|
ORDER_LINE_ITEMS__VARIANT__PRICES__BUY_PRICE = "orderLineItems.variant.prices.buyPrice",
|
|
209
211
|
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY = "orderLineItems.variant.prices.currency",
|
|
212
|
+
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "orderLineItems.variant.prices.currencySymbol",
|
|
210
213
|
ORDER_LINE_ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "orderLineItems.variant.prices.discountPrice",
|
|
211
214
|
ORDER_LINE_ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "orderLineItems.variant.prices.priceListId",
|
|
212
215
|
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice",
|
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode customerId deleted dueDate id itemCount items {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }";
|
|
45
|
+
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
ABANDONED_CHECKOUT_FLOWS__CAMPAIGN_ID = "abandonedCheckoutFlows.campaignId",
|
|
@@ -109,6 +109,7 @@ export enum ResponseField {
|
|
|
109
109
|
CART__CREATED_AT = "cart.createdAt",
|
|
110
110
|
CART__CREATED_BY = "cart.createdBy",
|
|
111
111
|
CART__CURRENCY_CODE = "cart.currencyCode",
|
|
112
|
+
CART__CURRENCY_SYMBOL = "cart.currencySymbol",
|
|
112
113
|
CART__CUSTOMER_ID = "cart.customerId",
|
|
113
114
|
CART__DELETED = "cart.deleted",
|
|
114
115
|
CART__DUE_DATE = "cart.dueDate",
|
|
@@ -116,6 +117,7 @@ export enum ResponseField {
|
|
|
116
117
|
CART__ITEM_COUNT = "cart.itemCount",
|
|
117
118
|
CART__ITEMS__CREATED_AT = "cart.items.createdAt",
|
|
118
119
|
CART__ITEMS__CURRENCY_CODE = "cart.items.currencyCode",
|
|
120
|
+
CART__ITEMS__CURRENCY_SYMBOL = "cart.items.currencySymbol",
|
|
119
121
|
CART__ITEMS__DELETED = "cart.items.deleted",
|
|
120
122
|
CART__ITEMS__DISCOUNT__AMOUNT = "cart.items.discount.amount",
|
|
121
123
|
CART__ITEMS__DISCOUNT__AMOUNT_TYPE = "cart.items.discount.amountType",
|
|
@@ -153,6 +155,7 @@ export enum ResponseField {
|
|
|
153
155
|
CART__ITEMS__VARIANT__NAME = "cart.items.variant.name",
|
|
154
156
|
CART__ITEMS__VARIANT__PRICES__BUY_PRICE = "cart.items.variant.prices.buyPrice",
|
|
155
157
|
CART__ITEMS__VARIANT__PRICES__CURRENCY = "cart.items.variant.prices.currency",
|
|
158
|
+
CART__ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "cart.items.variant.prices.currencySymbol",
|
|
156
159
|
CART__ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "cart.items.variant.prices.discountPrice",
|
|
157
160
|
CART__ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "cart.items.variant.prices.priceListId",
|
|
158
161
|
CART__ITEMS__VARIANT__PRICES__SELL_PRICE = "cart.items.variant.prices.sellPrice",
|
|
@@ -176,6 +179,7 @@ export enum ResponseField {
|
|
|
176
179
|
CART__STOREFRONT_ROUTING__DOMAIN = "cart.storefrontRouting.domain",
|
|
177
180
|
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT = "cart.storefrontRouting.dynamicCurrencySettings.roundingFormat",
|
|
178
181
|
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE = "cart.storefrontRouting.dynamicCurrencySettings.targetCurrencyCode",
|
|
182
|
+
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_SYMBOL = "cart.storefrontRouting.dynamicCurrencySettings.targetCurrencySymbol",
|
|
179
183
|
CART__STOREFRONT_ROUTING__ID = "cart.storefrontRouting.id",
|
|
180
184
|
CART__STOREFRONT_ROUTING__LOCALE = "cart.storefrontRouting.locale",
|
|
181
185
|
CART__STOREFRONT_ROUTING__PATH = "cart.storefrontRouting.path",
|
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode customerId deleted dueDate id itemCount items {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }";
|
|
45
|
+
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
ABANDONED_CHECKOUT_FLOWS__CAMPAIGN_ID = "abandonedCheckoutFlows.campaignId",
|
|
@@ -109,6 +109,7 @@ export enum ResponseField {
|
|
|
109
109
|
CART__CREATED_AT = "cart.createdAt",
|
|
110
110
|
CART__CREATED_BY = "cart.createdBy",
|
|
111
111
|
CART__CURRENCY_CODE = "cart.currencyCode",
|
|
112
|
+
CART__CURRENCY_SYMBOL = "cart.currencySymbol",
|
|
112
113
|
CART__CUSTOMER_ID = "cart.customerId",
|
|
113
114
|
CART__DELETED = "cart.deleted",
|
|
114
115
|
CART__DUE_DATE = "cart.dueDate",
|
|
@@ -116,6 +117,7 @@ export enum ResponseField {
|
|
|
116
117
|
CART__ITEM_COUNT = "cart.itemCount",
|
|
117
118
|
CART__ITEMS__CREATED_AT = "cart.items.createdAt",
|
|
118
119
|
CART__ITEMS__CURRENCY_CODE = "cart.items.currencyCode",
|
|
120
|
+
CART__ITEMS__CURRENCY_SYMBOL = "cart.items.currencySymbol",
|
|
119
121
|
CART__ITEMS__DELETED = "cart.items.deleted",
|
|
120
122
|
CART__ITEMS__DISCOUNT__AMOUNT = "cart.items.discount.amount",
|
|
121
123
|
CART__ITEMS__DISCOUNT__AMOUNT_TYPE = "cart.items.discount.amountType",
|
|
@@ -153,6 +155,7 @@ export enum ResponseField {
|
|
|
153
155
|
CART__ITEMS__VARIANT__NAME = "cart.items.variant.name",
|
|
154
156
|
CART__ITEMS__VARIANT__PRICES__BUY_PRICE = "cart.items.variant.prices.buyPrice",
|
|
155
157
|
CART__ITEMS__VARIANT__PRICES__CURRENCY = "cart.items.variant.prices.currency",
|
|
158
|
+
CART__ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "cart.items.variant.prices.currencySymbol",
|
|
156
159
|
CART__ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "cart.items.variant.prices.discountPrice",
|
|
157
160
|
CART__ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "cart.items.variant.prices.priceListId",
|
|
158
161
|
CART__ITEMS__VARIANT__PRICES__SELL_PRICE = "cart.items.variant.prices.sellPrice",
|
|
@@ -176,6 +179,7 @@ export enum ResponseField {
|
|
|
176
179
|
CART__STOREFRONT_ROUTING__DOMAIN = "cart.storefrontRouting.domain",
|
|
177
180
|
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT = "cart.storefrontRouting.dynamicCurrencySettings.roundingFormat",
|
|
178
181
|
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE = "cart.storefrontRouting.dynamicCurrencySettings.targetCurrencyCode",
|
|
182
|
+
CART__STOREFRONT_ROUTING__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_SYMBOL = "cart.storefrontRouting.dynamicCurrencySettings.targetCurrencySymbol",
|
|
179
183
|
CART__STOREFRONT_ROUTING__ID = "cart.storefrontRouting.id",
|
|
180
184
|
CART__STOREFRONT_ROUTING__LOCALE = "cart.storefrontRouting.locale",
|
|
181
185
|
CART__STOREFRONT_ROUTING__PATH = "cart.storefrontRouting.path",
|
|
@@ -42,10 +42,12 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{baseCurrency createdAt date deleted id rates {code rate } updatedAt }";
|
|
45
|
+
"{baseCurrency baseCurrencyCode baseCurrencySymbol createdAt date deleted id rates {code rate } updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
BASE_CURRENCY = "baseCurrency",
|
|
49
|
+
BASE_CURRENCY_CODE = "baseCurrencyCode",
|
|
50
|
+
BASE_CURRENCY_SYMBOL = "baseCurrencySymbol",
|
|
49
51
|
CREATED_AT = "createdAt",
|
|
50
52
|
DATE = "date",
|
|
51
53
|
DELETED = "deleted",
|
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }";
|
|
45
|
+
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
BILLING_ADDRESS__ADDRESS_LINE1 = "billingAddress.addressLine1",
|
|
@@ -78,6 +78,7 @@ export enum ResponseField {
|
|
|
78
78
|
CURRENCY_RATES__CODE = "currencyRates.code",
|
|
79
79
|
CURRENCY_RATES__ORIGINAL_RATE = "currencyRates.originalRate",
|
|
80
80
|
CURRENCY_RATES__RATE = "currencyRates.rate",
|
|
81
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
81
82
|
CUSTOMER__EMAIL = "customer.email",
|
|
82
83
|
CUSTOMER__FIRST_NAME = "customer.firstName",
|
|
83
84
|
CUSTOMER__FULL_NAME = "customer.fullName",
|
|
@@ -116,6 +117,7 @@ export enum ResponseField {
|
|
|
116
117
|
ORDER_ADJUSTMENTS__TYPE = "orderAdjustments.type",
|
|
117
118
|
ORDER_LINE_ITEMS__CREATED_AT = "orderLineItems.createdAt",
|
|
118
119
|
ORDER_LINE_ITEMS__CURRENCY_CODE = "orderLineItems.currencyCode",
|
|
120
|
+
ORDER_LINE_ITEMS__CURRENCY_SYMBOL = "orderLineItems.currencySymbol",
|
|
119
121
|
ORDER_LINE_ITEMS__DELETED = "orderLineItems.deleted",
|
|
120
122
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT = "orderLineItems.discount.amount",
|
|
121
123
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT_TYPE = "orderLineItems.discount.amountType",
|
|
@@ -153,6 +155,7 @@ export enum ResponseField {
|
|
|
153
155
|
ORDER_LINE_ITEMS__VARIANT__NAME = "orderLineItems.variant.name",
|
|
154
156
|
ORDER_LINE_ITEMS__VARIANT__PRICES__BUY_PRICE = "orderLineItems.variant.prices.buyPrice",
|
|
155
157
|
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY = "orderLineItems.variant.prices.currency",
|
|
158
|
+
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "orderLineItems.variant.prices.currencySymbol",
|
|
156
159
|
ORDER_LINE_ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "orderLineItems.variant.prices.discountPrice",
|
|
157
160
|
ORDER_LINE_ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "orderLineItems.variant.prices.priceListId",
|
|
158
161
|
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice",
|
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }";
|
|
45
|
+
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
BILLING_ADDRESS__ADDRESS_LINE1 = "billingAddress.addressLine1",
|
|
@@ -78,6 +78,7 @@ export enum ResponseField {
|
|
|
78
78
|
CURRENCY_RATES__CODE = "currencyRates.code",
|
|
79
79
|
CURRENCY_RATES__ORIGINAL_RATE = "currencyRates.originalRate",
|
|
80
80
|
CURRENCY_RATES__RATE = "currencyRates.rate",
|
|
81
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
81
82
|
CUSTOMER__EMAIL = "customer.email",
|
|
82
83
|
CUSTOMER__FIRST_NAME = "customer.firstName",
|
|
83
84
|
CUSTOMER__FULL_NAME = "customer.fullName",
|
|
@@ -116,6 +117,7 @@ export enum ResponseField {
|
|
|
116
117
|
ORDER_ADJUSTMENTS__TYPE = "orderAdjustments.type",
|
|
117
118
|
ORDER_LINE_ITEMS__CREATED_AT = "orderLineItems.createdAt",
|
|
118
119
|
ORDER_LINE_ITEMS__CURRENCY_CODE = "orderLineItems.currencyCode",
|
|
120
|
+
ORDER_LINE_ITEMS__CURRENCY_SYMBOL = "orderLineItems.currencySymbol",
|
|
119
121
|
ORDER_LINE_ITEMS__DELETED = "orderLineItems.deleted",
|
|
120
122
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT = "orderLineItems.discount.amount",
|
|
121
123
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT_TYPE = "orderLineItems.discount.amountType",
|
|
@@ -153,6 +155,7 @@ export enum ResponseField {
|
|
|
153
155
|
ORDER_LINE_ITEMS__VARIANT__NAME = "orderLineItems.variant.name",
|
|
154
156
|
ORDER_LINE_ITEMS__VARIANT__PRICES__BUY_PRICE = "orderLineItems.variant.prices.buyPrice",
|
|
155
157
|
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY = "orderLineItems.variant.prices.currency",
|
|
158
|
+
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "orderLineItems.variant.prices.currencySymbol",
|
|
156
159
|
ORDER_LINE_ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "orderLineItems.variant.prices.discountPrice",
|
|
157
160
|
ORDER_LINE_ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "orderLineItems.variant.prices.priceListId",
|
|
158
161
|
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice",
|
|
@@ -45,7 +45,7 @@ export type QueryParams = {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
const allReturnFields =
|
|
48
|
-
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }";
|
|
48
|
+
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }";
|
|
49
49
|
|
|
50
50
|
export enum ResponseField {
|
|
51
51
|
BILLING_ADDRESS__ADDRESS_LINE1 = "billingAddress.addressLine1",
|
|
@@ -81,6 +81,7 @@ export enum ResponseField {
|
|
|
81
81
|
CURRENCY_RATES__CODE = "currencyRates.code",
|
|
82
82
|
CURRENCY_RATES__ORIGINAL_RATE = "currencyRates.originalRate",
|
|
83
83
|
CURRENCY_RATES__RATE = "currencyRates.rate",
|
|
84
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
84
85
|
CUSTOMER__EMAIL = "customer.email",
|
|
85
86
|
CUSTOMER__FIRST_NAME = "customer.firstName",
|
|
86
87
|
CUSTOMER__FULL_NAME = "customer.fullName",
|
|
@@ -119,6 +120,7 @@ export enum ResponseField {
|
|
|
119
120
|
ORDER_ADJUSTMENTS__TYPE = "orderAdjustments.type",
|
|
120
121
|
ORDER_LINE_ITEMS__CREATED_AT = "orderLineItems.createdAt",
|
|
121
122
|
ORDER_LINE_ITEMS__CURRENCY_CODE = "orderLineItems.currencyCode",
|
|
123
|
+
ORDER_LINE_ITEMS__CURRENCY_SYMBOL = "orderLineItems.currencySymbol",
|
|
122
124
|
ORDER_LINE_ITEMS__DELETED = "orderLineItems.deleted",
|
|
123
125
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT = "orderLineItems.discount.amount",
|
|
124
126
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT_TYPE = "orderLineItems.discount.amountType",
|
|
@@ -156,6 +158,7 @@ export enum ResponseField {
|
|
|
156
158
|
ORDER_LINE_ITEMS__VARIANT__NAME = "orderLineItems.variant.name",
|
|
157
159
|
ORDER_LINE_ITEMS__VARIANT__PRICES__BUY_PRICE = "orderLineItems.variant.prices.buyPrice",
|
|
158
160
|
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY = "orderLineItems.variant.prices.currency",
|
|
161
|
+
ORDER_LINE_ITEMS__VARIANT__PRICES__CURRENCY_SYMBOL = "orderLineItems.variant.prices.currencySymbol",
|
|
159
162
|
ORDER_LINE_ITEMS__VARIANT__PRICES__DISCOUNT_PRICE = "orderLineItems.variant.prices.discountPrice",
|
|
160
163
|
ORDER_LINE_ITEMS__VARIANT__PRICES__PRICE_LIST_ID = "orderLineItems.variant.prices.priceListId",
|
|
161
164
|
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice",
|
|
@@ -42,7 +42,7 @@ export type QueryParams = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const allReturnFields =
|
|
45
|
-
"{analytics4Id createdAt deleted domains {createdAt deleted id isDefault merchantDomainId name redirectDomainName updatedAt } emailSettingsId fbAccessToken fbpId gtmId id localizations {createdAt deleted id isDefault locale name updatedAt } mainStorefrontThemeId name pickUpStockLocationIds routings {countryCodes createdAt deleted domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId updatedAt } salesChannelId socialLoginSettings {apiKey apiSecret provider } status themes {createdAt deleted id isMainTheme name status themeId themeVersionId updatedAt } tiktokPixelId token universalAnalyticsId updatedAt }";
|
|
45
|
+
"{analytics4Id createdAt deleted domains {createdAt deleted id isDefault merchantDomainId name redirectDomainName updatedAt } emailSettingsId fbAccessToken fbpId gtmId id localizations {createdAt deleted id isDefault locale name updatedAt } mainStorefrontThemeId name pickUpStockLocationIds routings {countryCodes createdAt deleted domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId updatedAt } salesChannelId socialLoginSettings {apiKey apiSecret provider } status themes {createdAt deleted id isMainTheme name status themeId themeVersionId updatedAt } tiktokPixelId token universalAnalyticsId updatedAt }";
|
|
46
46
|
|
|
47
47
|
export enum ResponseField {
|
|
48
48
|
ANALYTICS4_ID = "analytics4Id",
|
|
@@ -77,6 +77,7 @@ export enum ResponseField {
|
|
|
77
77
|
ROUTINGS__DOMAIN = "routings.domain",
|
|
78
78
|
ROUTINGS__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT = "routings.dynamicCurrencySettings.roundingFormat",
|
|
79
79
|
ROUTINGS__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE = "routings.dynamicCurrencySettings.targetCurrencyCode",
|
|
80
|
+
ROUTINGS__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_SYMBOL = "routings.dynamicCurrencySettings.targetCurrencySymbol",
|
|
80
81
|
ROUTINGS__ID = "routings.id",
|
|
81
82
|
ROUTINGS__LOCALE = "routings.locale",
|
|
82
83
|
ROUTINGS__PATH = "routings.path",
|
|
@@ -51,12 +51,13 @@ export type QueryParams = {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
const allReturnFields =
|
|
54
|
-
"{createdAt deleted giftPackagePriceList {currencyCode price } id identityNumberRequirement isAccountRequired isGiftPackageEnabled isShowPostalCode isTermsAndConditionsDefaultChecked options {name required } phoneRequirement postalCodeRequirement showCheckoutNote showTermsAndConditionsCheckbox storefrontId updatedAt }";
|
|
54
|
+
"{createdAt deleted giftPackagePriceList {currencyCode currencySymbol price } id identityNumberRequirement isAccountRequired isGiftPackageEnabled isShowPostalCode isTermsAndConditionsDefaultChecked options {name required } phoneRequirement postalCodeRequirement showCheckoutNote showTermsAndConditionsCheckbox storefrontId updatedAt }";
|
|
55
55
|
|
|
56
56
|
export enum ResponseField {
|
|
57
57
|
CREATED_AT = "createdAt",
|
|
58
58
|
DELETED = "deleted",
|
|
59
59
|
GIFT_PACKAGE_PRICE_LIST__CURRENCY_CODE = "giftPackagePriceList.currencyCode",
|
|
60
|
+
GIFT_PACKAGE_PRICE_LIST__CURRENCY_SYMBOL = "giftPackagePriceList.currencySymbol",
|
|
60
61
|
GIFT_PACKAGE_PRICE_LIST__PRICE = "giftPackagePriceList.price",
|
|
61
62
|
ID = "id",
|
|
62
63
|
IDENTITY_NUMBER_REQUIREMENT = "identityNumberRequirement",
|
|
@@ -57,12 +57,14 @@ export type QueryParams = {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
const allReturnFields =
|
|
60
|
-
"{capital createdAt currency deleted emoji emojiString id iso2 iso3 locationTranslations {en tr } name native phoneCode region subregion updatedAt }";
|
|
60
|
+
"{capital createdAt currency currencyCode currencySymbol deleted emoji emojiString id iso2 iso3 locationTranslations {en tr } name native phoneCode region subregion updatedAt }";
|
|
61
61
|
|
|
62
62
|
export enum ResponseField {
|
|
63
63
|
CAPITAL = "capital",
|
|
64
64
|
CREATED_AT = "createdAt",
|
|
65
65
|
CURRENCY = "currency",
|
|
66
|
+
CURRENCY_CODE = "currencyCode",
|
|
67
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
66
68
|
DELETED = "deleted",
|
|
67
69
|
EMOJI = "emoji",
|
|
68
70
|
EMOJI_STRING = "emojiString",
|
|
@@ -51,13 +51,14 @@ export type QueryParams = {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
const allReturnFields =
|
|
54
|
-
"{amount checkoutId createdAt currencyCode customerId deleted error {code declineCode message } id orderId paymentGatewayCode paymentGatewayId paymentGatewayName paymentMethod paymentMethodDetail {bankName binNumber cardAssociation cardFamily cardType installment {installmentCount installmentPrice originalRate rate totalPrice } lastFourDigits threeDSecure } processedAt refundReason status type updatedAt }";
|
|
54
|
+
"{amount checkoutId createdAt currencyCode currencySymbol customerId deleted error {code declineCode message } id orderId paymentGatewayCode paymentGatewayId paymentGatewayName paymentMethod paymentMethodDetail {bankName binNumber cardAssociation cardFamily cardType installment {installmentCount installmentPrice originalRate rate totalPrice } lastFourDigits threeDSecure } processedAt refundReason status type updatedAt }";
|
|
55
55
|
|
|
56
56
|
export enum ResponseField {
|
|
57
57
|
AMOUNT = "amount",
|
|
58
58
|
CHECKOUT_ID = "checkoutId",
|
|
59
59
|
CREATED_AT = "createdAt",
|
|
60
60
|
CURRENCY_CODE = "currencyCode",
|
|
61
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
61
62
|
CUSTOMER_ID = "customerId",
|
|
62
63
|
DELETED = "deleted",
|
|
63
64
|
ERROR__CODE = "error.code",
|