@nautical-commerce/graphql-schema 1.57.0-2-g4b47fa800 → 1.57.0-20-g9e879113a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/nautical/schema.graphql +463 -1261
  2. package/package.json +1 -1
@@ -1051,16 +1051,10 @@ type Query {
1051
1051
  """End of the period to filter results"""
1052
1052
  endDate: Date
1053
1053
 
1054
- """Vendor type of the payout"""
1055
- vendorType: String @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
1056
-
1057
1054
  """Payout ID"""
1058
1055
  payoutId: ID
1059
1056
  ): VendorPayoutReport
1060
1057
  vendorPayoutList(
1061
- """Vendor type of the payout"""
1062
- vendorType: String
1063
-
1064
1058
  """Vendor ID"""
1065
1059
  vendorId: ID
1066
1060
  ): SingleVendorPayoutReport
@@ -1551,13 +1545,6 @@ type Query {
1551
1545
  """End of the period to filter results"""
1552
1546
  endDate: Date!
1553
1547
  ): InReportMarketplacePayoutsSummaryType
1554
- insightsMarketplaceAffiliatePayoutsSummary(
1555
- """Beginning of the period to filter results"""
1556
- startDate: Date!
1557
-
1558
- """End of the period to filter results"""
1559
- endDate: Date!
1560
- ): InReportMarketplaceAffiliatePayoutsSummaryType @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
1561
1548
  insightsMarketplaceTaxSummary(
1562
1549
  """Beginning of the period to filter results"""
1563
1550
  startDate: Date!
@@ -1870,27 +1857,6 @@ type Query {
1870
1857
  last: Int
1871
1858
  ): CheckoutLineCountableConnection
1872
1859
 
1873
- """List of webhook jobs"""
1874
- channels(
1875
- """Filtering options for webhook jobs"""
1876
- filter: ChannelFilterInput
1877
-
1878
- """Sort webhook jobs"""
1879
- sortBy: ChannelSortingInput
1880
-
1881
- """Return the elements in the list that come before the specified cursor."""
1882
- before: String
1883
-
1884
- """Return the elements in the list that come after the specified cursor."""
1885
- after: String
1886
-
1887
- """Return the first n elements from the list."""
1888
- first: Int
1889
-
1890
- """Return the last n elements from the list."""
1891
- last: Int
1892
- ): ChannelCountableConnection @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
1893
-
1894
1860
  """List of the shop's attributes."""
1895
1861
  attributes(
1896
1862
  """Filtering options for attributes."""
@@ -2002,55 +1968,6 @@ type Query {
2002
1968
  id: ID!
2003
1969
  ): [AgreementSellers!]!
2004
1970
 
2005
- """List of the shop's affiliates"""
2006
- affiliates(
2007
- """Filtering options for affiliates."""
2008
- filter: AffiliateFilterInput
2009
-
2010
- """Sort affiliates."""
2011
- sortBy: UserSortingInput
2012
-
2013
- """Return the elements in the list that come before the specified cursor."""
2014
- before: String
2015
-
2016
- """Return the elements in the list that come after the specified cursor."""
2017
- after: String
2018
-
2019
- """Return the first n elements from the list."""
2020
- first: Int
2021
-
2022
- """Return the last n elements from the list."""
2023
- last: Int
2024
- ): UserCountableConnection @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2025
- affiliate(
2026
- """ID of the affiliate you are querying"""
2027
- id: ID
2028
- ): OptimizedAffiliate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2029
-
2030
- """List of affiliates' codes"""
2031
- affiliateCodes(
2032
- """Affiliate ID to get codes for"""
2033
- id: ID!
2034
-
2035
- """Filtering options for affiliate codes"""
2036
- filter: AffiliateCodeFilterInput
2037
-
2038
- """Sort affiliate codes"""
2039
- sortBy: AffiliateCodeSortingInput
2040
-
2041
- """Return the elements in the list that come before the specified cursor."""
2042
- before: String
2043
-
2044
- """Return the elements in the list that come after the specified cursor."""
2045
- after: String
2046
-
2047
- """Return the first n elements from the list."""
2048
- first: Int
2049
-
2050
- """Return the last n elements from the list."""
2051
- last: Int
2052
- ): AffiliateCodesCountableConnection @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2053
-
2054
1971
  """Returns address validation rules."""
2055
1972
  addressValidationRules(
2056
1973
  """Two-letter ISO 3166-1 country code."""
@@ -2577,22 +2494,9 @@ type User implements Node & ObjectWithMetadata {
2577
2494
  """Return the last n elements from the list."""
2578
2495
  last: Int
2579
2496
  ): WishlistCountableConnection
2580
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2581
2497
  seller: Seller
2582
- hasMicrosite: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2583
- micrositeId: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2584
2498
  isAssignable: Boolean
2585
2499
 
2586
- """Date of last affiliate referral."""
2587
- lastReferral: DateTime @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2588
-
2589
- """Date of last affiliate confirmed order."""
2590
- lastOrder: DateTime @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2591
- affiliateReferrals: Int @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2592
- affiliateOrders: Int @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2593
- affiliateEarnings: Money @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2594
- agreement: Agreement
2595
-
2596
2500
  """List of documents associated with the user."""
2597
2501
  documents: [Document!]!
2598
2502
 
@@ -3633,7 +3537,6 @@ type VendorPayout implements Node & ObjectWithMetadata {
3633
3537
  gateway: String!
3634
3538
  payout: Payout!
3635
3539
  seller: Seller
3636
- affiliate: User
3637
3540
  currency: String!
3638
3541
  average: Decimal!
3639
3542
  discounts: Decimal!
@@ -3691,7 +3594,6 @@ type Payout implements Node & ObjectWithMetadata {
3691
3594
  endDate: String!
3692
3595
  status: PayoutStatus!
3693
3596
  name: String
3694
- vendorType: PayoutVendorType!
3695
3597
  currency: String!
3696
3598
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3697
3599
  vendors: Int!
@@ -3723,15 +3625,6 @@ enum PayoutStatus {
3723
3625
  ERROR
3724
3626
  }
3725
3627
 
3726
- """An enumeration."""
3727
- enum PayoutVendorType {
3728
- """Sellers"""
3729
- SELLERS
3730
-
3731
- """Affiliates"""
3732
- AFFILIATES
3733
- }
3734
-
3735
3628
  """An enumeration."""
3736
3629
  enum VendorPayoutStatus {
3737
3630
  """Paid"""
@@ -3849,8 +3742,6 @@ type Order implements Node & ObjectWithMetadata {
3849
3742
  displayGrossPrices: Boolean!
3850
3743
  customerNote: String!
3851
3744
  weight: Weight
3852
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3853
- affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3854
3745
 
3855
3746
  """Data time when the order was imported from another platform."""
3856
3747
  importedAt: DateTime
@@ -3939,18 +3830,9 @@ type Order implements Node & ObjectWithMetadata {
3939
3830
  """Seller commission for the order"""
3940
3831
  sellerCommission: Money
3941
3832
 
3942
- """Affiliate commission for the order"""
3943
- affiliateCommission: Money @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3944
-
3945
- """Volume discount for the order"""
3946
- volumeDiscount: TaxedMoney
3947
-
3948
3833
  """Validation status for the order"""
3949
3834
  validationStatus: [ValidationStatus!]
3950
3835
 
3951
- """Channel the order is associated with"""
3952
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
3953
-
3954
3836
  """Latest bid made against the order."""
3955
3837
  currentBid: Bid @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
3956
3838
 
@@ -4960,7 +4842,6 @@ enum PermissionEnum {
4960
4842
  MANAGE_PAYOUTS
4961
4843
  MANAGE_PAYMENTS
4962
4844
  MANAGE_REFUNDS
4963
- MANAGE_CHANNELS
4964
4845
  MANAGE_COLLECTIONS
4965
4846
  }
4966
4847
 
@@ -5556,83 +5437,61 @@ enum SaleTypeEnum {
5556
5437
  SPECIFIC_PRODUCT
5557
5438
  }
5558
5439
 
5559
- """Represents an affiliate code"""
5560
- type AffiliateCodes implements Node {
5440
+ """Represents order fulfillment."""
5441
+ type Fulfillment implements Node & ObjectWithMetadata {
5561
5442
  """The ID of the object"""
5562
5443
  id: ID!
5563
- externalId: String
5564
- externalSource: String
5565
- externalInventoryId: String
5444
+ fulfillmentOrder: Int!
5445
+ relatedTo: Fulfillment
5446
+ order: Order!
5566
5447
 
5567
- """The id of the affiliate that the code belongs to"""
5568
- affiliate: User
5448
+ """Nautical order via order mapping"""
5449
+ nauticalOrder: NauticalOrder
5450
+ status: FulfillmentStatus!
5569
5451
 
5570
- """
5571
- Number of times the code has been submitted (this includes when the customer did not complete an order)
5572
- """
5573
- uses: Int
5452
+ """Fulfillment tracking company"""
5453
+ trackingCompany: String
5574
5454
 
5575
- """The new affiliate code"""
5576
- code: String
5455
+ """Fulfillment tracking number"""
5456
+ trackingNumber: String
5577
5457
 
5578
- """Channel the code is associated with"""
5579
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5458
+ """Fulfillment tracking url"""
5459
+ trackingUrl: String
5460
+ shippingLabelUrl: String
5461
+ created: DateTime!
5462
+ updated: DateTime!
5580
5463
 
5581
- """Whether or not the code is active"""
5582
- isActive: Boolean
5583
- createdAt: DateTime!
5584
- updatedAt: DateTime!
5585
- affiliateNauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
5586
- affiliateOrders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
5587
- earnings: Money
5588
- orders: Int
5589
- }
5464
+ """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5465
+ user: User
5590
5466
 
5591
- """Represents unique channel in Nautical."""
5592
- type Channel implements Node {
5593
- """The ID of the object"""
5594
- id: ID!
5595
- tenant: Tenant!
5596
- createdAt: DateTime
5597
- updatedAt: DateTime
5598
- channel: String!
5599
- affiliateCodes(offset: Int, before: String, after: String, first: Int, last: Int): AffiliateCodesCountableConnection!
5600
- nauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
5601
- orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
5602
- }
5467
+ """
5468
+ List of private metadata items.Requires proper staff permissions to access.
5469
+ """
5470
+ privateMetadata: [MetadataItem!]!
5603
5471
 
5604
- type AffiliateCodesCountableConnection {
5605
- """Pagination data for this connection."""
5606
- pageInfo: PageInfo!
5607
- edges: [AffiliateCodesCountableEdge!]!
5472
+ """List of public metadata items. Can be accessed without permissions."""
5473
+ metadata: [MetadataItem!]!
5608
5474
 
5609
- """A total count of items in the collection."""
5610
- totalCount: Int
5611
- }
5475
+ """List of lines for the fulfillment."""
5476
+ lines: [FulfillmentLine!]
5612
5477
 
5613
- type AffiliateCodesCountableEdge {
5614
- """The item at the end of the edge."""
5615
- node: AffiliateCodes!
5478
+ """Seller who made the fulfillment."""
5479
+ seller: Seller
5616
5480
 
5617
- """A cursor for use in pagination."""
5618
- cursor: String!
5619
- }
5481
+ """User-friendly fulfillment status."""
5482
+ statusDisplay: String
5620
5483
 
5621
- type NauticalOrderCountableConnection {
5622
- """Pagination data for this connection."""
5623
- pageInfo: PageInfo!
5624
- edges: [NauticalOrderCountableEdge!]!
5484
+ """Warehouse from fulfillment was fulfilled."""
5485
+ warehouse: Warehouse
5625
5486
 
5626
- """A total count of items in the collection."""
5627
- totalCount: Int
5628
- }
5487
+ """Sum of quantities across all lines."""
5488
+ totalLinesQuantity: Int
5629
5489
 
5630
- type NauticalOrderCountableEdge {
5631
- """The item at the end of the edge."""
5632
- node: NauticalOrder!
5490
+ """Total price across all quantities across all lines."""
5491
+ totalLinesMoney: Money!
5633
5492
 
5634
- """A cursor for use in pagination."""
5635
- cursor: String!
5493
+ """List of custom fields assigned to this fulfillment."""
5494
+ customFields: [SelectedAttribute!]!
5636
5495
  }
5637
5496
 
5638
5497
  """Represents a nautical order in the shop."""
@@ -5674,8 +5533,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5674
5533
  displayGrossPrices: Boolean!
5675
5534
  customerNote: String!
5676
5535
  weight: Weight
5677
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
5678
- affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
5679
5536
 
5680
5537
  """Data time when the order was imported from another platform."""
5681
5538
  importedAt: DateTime
@@ -5774,12 +5631,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5774
5631
 
5775
5632
  """Returns True, if order requires shipping."""
5776
5633
  isShippingRequired: Boolean!
5777
-
5778
- """Channel the marketplace order is associated with"""
5779
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5780
-
5781
- """Volume discount for the nautical order"""
5782
- volumeDiscount: TaxedMoney
5783
5634
  shippingMethodName: String!
5784
5635
 
5785
5636
  """Latest bid made against the order."""
@@ -5875,32 +5726,42 @@ enum NauticalOrderSubStatus {
5875
5726
  OFFER_REJECTED
5876
5727
  }
5877
5728
 
5878
- """Represents order fulfillment."""
5879
- type Fulfillment implements Node & ObjectWithMetadata {
5880
- """The ID of the object"""
5881
- id: ID!
5882
- fulfillmentOrder: Int!
5883
- relatedTo: Fulfillment
5884
- order: Order!
5729
+ enum OrderSubStatusEnum {
5730
+ """In Review"""
5731
+ IN_REVIEW
5885
5732
 
5886
- """Nautical order via order mapping"""
5887
- nauticalOrder: NauticalOrder
5888
- status: FulfillmentStatus!
5733
+ """Quote Requested"""
5734
+ QUOTE_REQUESTED
5889
5735
 
5890
- """Fulfillment tracking company"""
5891
- trackingCompany: String
5736
+ """Awaiting Payment"""
5737
+ AWAITING_PAYMENT
5892
5738
 
5893
- """Fulfillment tracking number"""
5894
- trackingNumber: String
5739
+ """Complete"""
5740
+ COMPLETE
5895
5741
 
5896
- """Fulfillment tracking url"""
5897
- trackingUrl: String
5898
- shippingLabelUrl: String
5899
- created: DateTime!
5900
- updated: DateTime!
5742
+ """Offer Approved"""
5743
+ OFFER_APPROVED
5901
5744
 
5902
- """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5903
- user: User
5745
+ """Offer Cancelled"""
5746
+ OFFER_CANCELLED
5747
+
5748
+ """Offer Created"""
5749
+ OFFER_CREATED
5750
+
5751
+ """Offer Expired"""
5752
+ OFFER_EXPIRED
5753
+
5754
+ """Offer Negotiating"""
5755
+ OFFER_NEGOTIATING
5756
+
5757
+ """Offer Rejected"""
5758
+ OFFER_REJECTED
5759
+ }
5760
+
5761
+ """Represents order line of particular order."""
5762
+ type OrderLine implements Node & ObjectWithMetadata {
5763
+ """The ID of the object"""
5764
+ id: ID!
5904
5765
 
5905
5766
  """
5906
5767
  List of private metadata items.Requires proper staff permissions to access.
@@ -5909,133 +5770,51 @@ type Fulfillment implements Node & ObjectWithMetadata {
5909
5770
 
5910
5771
  """List of public metadata items. Can be accessed without permissions."""
5911
5772
  metadata: [MetadataItem!]!
5773
+ isLinePriceOverridden: Boolean!
5774
+ unitPriceOverriddenNote: String
5775
+ note: String
5776
+ productName: String!
5777
+ variantName: String!
5778
+ productSku: String
5779
+ isShippingRequired: Boolean!
5780
+ quantityFulfilled: Int!
5781
+ quantityDeclined: Int!
5782
+ digitalContentUrl: DigitalContentUrl
5912
5783
 
5913
- """List of lines for the fulfillment."""
5914
- lines: [FulfillmentLine!]
5784
+ """The seller order for this line"""
5785
+ order: Order!
5915
5786
 
5916
- """Seller who made the fulfillment."""
5917
- seller: Seller
5787
+ """The nautical order line for this seller order line"""
5788
+ nauticalOrderLine: NauticalOrderLine!
5918
5789
 
5919
- """User-friendly fulfillment status."""
5920
- statusDisplay: String
5790
+ """The main thumbnail for the ordered product."""
5791
+ thumbnail(
5792
+ """Size of thumbnail."""
5793
+ size: Int
5794
+ ): Image
5921
5795
 
5922
- """Warehouse from fulfillment was fulfilled."""
5923
- warehouse: Warehouse
5796
+ """Price of the single item in the order line."""
5797
+ unitPrice: TaxedMoney
5924
5798
 
5925
- """Sum of quantities across all lines."""
5926
- totalLinesQuantity: Int
5799
+ """Price of the order line."""
5800
+ totalPrice: TaxedMoney
5927
5801
 
5928
- """Total price across all quantities across all lines."""
5929
- totalLinesPrice: Float @deprecated(reason: "This will be removed on October 25, 2024 and replaced by totalLinesMoney")
5802
+ """
5803
+ A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
5804
+ """
5805
+ variant: ProductVariant
5930
5806
 
5931
- """Total price across all quantities across all lines."""
5932
- totalLinesMoney: Money!
5807
+ """Product name in the customer's language."""
5808
+ translatedProductName: String!
5933
5809
 
5934
- """List of custom fields assigned to this fulfillment."""
5935
- customFields: [SelectedAttribute!]!
5936
- }
5810
+ """Variant name in the customer's language."""
5811
+ translatedVariantName: String!
5937
5812
 
5938
- """An enumeration."""
5939
- enum FulfillmentStatus {
5940
- """Fulfilled"""
5941
- FULFILLED
5813
+ """List of allocations across warehouses."""
5814
+ allocations: [Allocation!]
5942
5815
 
5943
- """Canceled"""
5944
- CANCELED
5945
-
5946
- """Returned"""
5947
- RETURNED
5948
-
5949
- """Declined"""
5950
- DECLINED
5951
-
5952
- """Return requested"""
5953
- RETURN_REQUESTED
5954
-
5955
- """Return authorized"""
5956
- RETURN_AUTHORIZED
5957
-
5958
- """Return declined"""
5959
- RETURN_DECLINED
5960
-
5961
- """Return received"""
5962
- RETURN_RECEIVED
5963
-
5964
- """Return complete"""
5965
- RETURN_COMPLETE
5966
-
5967
- """Return cancelled"""
5968
- RETURN_CANCELLED
5969
- }
5970
-
5971
- """Represents line of the fulfillment."""
5972
- type FulfillmentLine implements Node {
5973
- """The ID of the object"""
5974
- id: ID!
5975
- quantity: Int!
5976
- orderLine: OrderLine
5977
-
5978
- """Reason customer requested item return."""
5979
- returnReason: String
5980
- }
5981
-
5982
- """Represents order line of particular order."""
5983
- type OrderLine implements Node & ObjectWithMetadata {
5984
- """The ID of the object"""
5985
- id: ID!
5986
-
5987
- """
5988
- List of private metadata items.Requires proper staff permissions to access.
5989
- """
5990
- privateMetadata: [MetadataItem!]!
5991
-
5992
- """List of public metadata items. Can be accessed without permissions."""
5993
- metadata: [MetadataItem!]!
5994
- isLinePriceOverridden: Boolean!
5995
- unitPriceOverriddenNote: String
5996
- note: String
5997
- productName: String!
5998
- variantName: String!
5999
- productSku: String
6000
- isShippingRequired: Boolean!
6001
- quantityFulfilled: Int!
6002
- quantityDeclined: Int!
6003
- digitalContentUrl: DigitalContentUrl
6004
-
6005
- """The seller order for this line"""
6006
- order: Order!
6007
-
6008
- """The nautical order line for this seller order line"""
6009
- nauticalOrderLine: NauticalOrderLine!
6010
-
6011
- """The main thumbnail for the ordered product."""
6012
- thumbnail(
6013
- """Size of thumbnail."""
6014
- size: Int
6015
- ): Image
6016
-
6017
- """Price of the single item in the order line."""
6018
- unitPrice: TaxedMoney
6019
-
6020
- """Price of the order line."""
6021
- totalPrice: TaxedMoney
6022
-
6023
- """
6024
- A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
6025
- """
6026
- variant: ProductVariant
6027
-
6028
- """Product name in the customer's language."""
6029
- translatedProductName: String!
6030
-
6031
- """Variant name in the customer's language."""
6032
- translatedVariantName: String!
6033
-
6034
- """List of allocations across warehouses."""
6035
- allocations: [Allocation!]
6036
-
6037
- """The pricebook, if any, that changed the price of this line."""
6038
- priceBook: PriceBook
5816
+ """The pricebook, if any, that changed the price of this line."""
5817
+ priceBook: PriceBook
6039
5818
 
6040
5819
  """DEPRECATED: The number of items ordered on this order line."""
6041
5820
  quantity: Int! @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024")
@@ -6406,38 +6185,6 @@ type ShippingZoneCountryArea implements Node {
6406
6185
  countryArea: CountryArea!
6407
6186
  }
6408
6187
 
6409
- enum OrderSubStatusEnum {
6410
- """In Review"""
6411
- IN_REVIEW
6412
-
6413
- """Quote Requested"""
6414
- QUOTE_REQUESTED
6415
-
6416
- """Awaiting Payment"""
6417
- AWAITING_PAYMENT
6418
-
6419
- """Complete"""
6420
- COMPLETE
6421
-
6422
- """Offer Approved"""
6423
- OFFER_APPROVED
6424
-
6425
- """Offer Cancelled"""
6426
- OFFER_CANCELLED
6427
-
6428
- """Offer Created"""
6429
- OFFER_CREATED
6430
-
6431
- """Offer Expired"""
6432
- OFFER_EXPIRED
6433
-
6434
- """Offer Negotiating"""
6435
- OFFER_NEGOTIATING
6436
-
6437
- """Offer Rejected"""
6438
- OFFER_REJECTED
6439
- }
6440
-
6441
6188
  enum OrderAction {
6442
6189
  """Represents the capture action."""
6443
6190
  CAPTURE
@@ -7187,6 +6934,50 @@ enum RefundTypeEnum {
7187
6934
  ORDERLINEREFUND
7188
6935
  }
7189
6936
 
6937
+ """An enumeration."""
6938
+ enum FulfillmentStatus {
6939
+ """Fulfilled"""
6940
+ FULFILLED
6941
+
6942
+ """Canceled"""
6943
+ CANCELED
6944
+
6945
+ """Returned"""
6946
+ RETURNED
6947
+
6948
+ """Declined"""
6949
+ DECLINED
6950
+
6951
+ """Return requested"""
6952
+ RETURN_REQUESTED
6953
+
6954
+ """Return authorized"""
6955
+ RETURN_AUTHORIZED
6956
+
6957
+ """Return declined"""
6958
+ RETURN_DECLINED
6959
+
6960
+ """Return received"""
6961
+ RETURN_RECEIVED
6962
+
6963
+ """Return complete"""
6964
+ RETURN_COMPLETE
6965
+
6966
+ """Return cancelled"""
6967
+ RETURN_CANCELLED
6968
+ }
6969
+
6970
+ """Represents line of the fulfillment."""
6971
+ type FulfillmentLine implements Node {
6972
+ """The ID of the object"""
6973
+ id: ID!
6974
+ quantity: Int!
6975
+ orderLine: OrderLine
6976
+
6977
+ """Reason customer requested item return."""
6978
+ returnReason: String
6979
+ }
6980
+
7190
6981
  """Extra fee associated with an order"""
7191
6982
  type OrderFee implements Node {
7192
6983
  """The ID of the object"""
@@ -7396,7 +7187,6 @@ type Agreement implements Node & ObjectWithMetadata {
7396
7187
  seoDescription: String
7397
7188
  slug: String!
7398
7189
  title: String!
7399
- vendorType: AgreementVendorType!
7400
7190
 
7401
7191
  """Commission type"""
7402
7192
  commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
@@ -7409,7 +7199,6 @@ type Agreement implements Node & ObjectWithMetadata {
7409
7199
  If a markup commission is selected, this is the amount of the commission.
7410
7200
  """
7411
7201
  markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7412
- agreementType: AgreementAgreementType!
7413
7202
  isActive: Boolean
7414
7203
 
7415
7204
  """List of granular commissions associated with the agreement."""
@@ -7428,15 +7217,6 @@ type Agreement implements Node & ObjectWithMetadata {
7428
7217
  metadata: [MetadataItem!]!
7429
7218
  }
7430
7219
 
7431
- """An enumeration."""
7432
- enum AgreementVendorType {
7433
- """Seller"""
7434
- SELLER
7435
-
7436
- """Affiliate"""
7437
- AFFILIATE
7438
- }
7439
-
7440
7220
  enum CommissionTypeEnum {
7441
7221
  """Gross Price Commission"""
7442
7222
  MARKETPLACE
@@ -7453,15 +7233,6 @@ enum MarkupCommissionTypeEnum {
7453
7233
  PERCENTAGE
7454
7234
  }
7455
7235
 
7456
- """An enumeration."""
7457
- enum AgreementAgreementType {
7458
- """Seller"""
7459
- A_1
7460
-
7461
- """Affiliate"""
7462
- A_2
7463
- }
7464
-
7465
7236
  """An agreement commission"""
7466
7237
  type AgreementCommission implements Node & ObjectWithMetadata {
7467
7238
  """The ID of the object"""
@@ -7539,7 +7310,6 @@ type Microsite implements Node & ObjectWithMetadata {
7539
7310
  name: String!
7540
7311
  slug: String!
7541
7312
  footerText: String
7542
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
7543
7313
  seller: Seller
7544
7314
 
7545
7315
  """
@@ -8252,7 +8022,6 @@ input CustomerOrderFilterInput {
8252
8022
  paymentStatus: [PaymentChargeStatusEnum!]
8253
8023
  status: [OrderStatusFilter!]
8254
8024
  customer: String
8255
- channel: String
8256
8025
  created: DateRangeInput
8257
8026
  metadata: MetadataFilterInput
8258
8027
  privateMetadata: MetadataFilterInput
@@ -8324,9 +8093,6 @@ enum OrderSortField {
8324
8093
  """Sort orders by fulfillment status."""
8325
8094
  FULFILLMENT_STATUS
8326
8095
 
8327
- """Sort orders by channel."""
8328
- CHANNEL
8329
-
8330
8096
  """Sort orders by total."""
8331
8097
  TOTAL
8332
8098
 
@@ -8340,11 +8106,27 @@ enum OrderSortField {
8340
8106
  EXTERNAL_SOURCE
8341
8107
  }
8342
8108
 
8109
+ type NauticalOrderCountableConnection {
8110
+ """Pagination data for this connection."""
8111
+ pageInfo: PageInfo!
8112
+ edges: [NauticalOrderCountableEdge!]!
8113
+
8114
+ """A total count of items in the collection."""
8115
+ totalCount: Int
8116
+ }
8117
+
8118
+ type NauticalOrderCountableEdge {
8119
+ """The item at the end of the edge."""
8120
+ node: NauticalOrder!
8121
+
8122
+ """A cursor for use in pagination."""
8123
+ cursor: String!
8124
+ }
8125
+
8343
8126
  input CustomerNauticalOrderFilterInput {
8344
8127
  paymentStatus: [PaymentChargeStatusEnum!]
8345
8128
  status: [OrderStatusFilter!]
8346
8129
  customer: String
8347
- channel: String
8348
8130
  created: DateRangeInput
8349
8131
  metadata: MetadataFilterInput
8350
8132
  privateMetadata: MetadataFilterInput
@@ -9092,24 +8874,15 @@ type Shop {
9092
8874
  """Whether the marketplace has enabled offer orders."""
9093
8875
  enableOfferOrders: Boolean
9094
8876
 
9095
- """List of the shops's supported languages."""
9096
- languages: [LanguageDisplay!]! @deprecated(reason: "This will be removed on October 29, 2024")
9097
-
9098
8877
  """Shop's name."""
9099
8878
  name: String!
9100
8879
 
9101
- """Shop's navigation."""
9102
- navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter. This will be removed on October 29, 2024.")
9103
-
9104
8880
  """List of available permissions."""
9105
8881
  permissions: [Permission!]!
9106
8882
 
9107
8883
  """List of possible phone prefixes."""
9108
8884
  phonePrefixes: [String!]!
9109
8885
 
9110
- """Header text."""
9111
- headerText: String @deprecated(reason: "This will be removed on October 29, 2024")
9112
-
9113
8886
  """Include taxes in prices."""
9114
8887
  includeTaxesInPrices: Boolean!
9115
8888
 
@@ -9152,11 +8925,6 @@ type Shop {
9152
8925
  """Gets active plugins."""
9153
8926
  activePlugins: [Plugin!]!
9154
8927
 
9155
- """
9156
- None if shop does not use Builder, otherwise this contains Builder public api key.
9157
- """
9158
- builderKey: String @deprecated(reason: "This will be removed on October 29, 2024")
9159
-
9160
8928
  """
9161
8929
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
9162
8930
  """
@@ -9250,116 +9018,41 @@ type Domain {
9250
9018
  url: String!
9251
9019
  }
9252
9020
 
9253
- type LanguageDisplay {
9254
- """ISO 639 representation of the language name."""
9255
- code: LanguageCodeEnum!
9256
-
9257
- """Full name of the language."""
9258
- language: String!
9021
+ """Plugin."""
9022
+ type Plugin implements Node {
9023
+ id: ID!
9024
+ privateMetadata: JSONString!
9025
+ metadata: JSONString!
9026
+ company: String
9027
+ category: PluginConfigurationCategory
9028
+ descriptionShort: String!
9029
+ logoUrl: String
9030
+ created: DateTime!
9031
+ externalUrl: String
9032
+ supportUrl: String
9033
+ allowSellers: Boolean
9034
+ allowManyActivePluginsInCategory: Boolean!
9035
+ tenant: Tenant!
9036
+ identifier: String!
9037
+ name: String!
9038
+ description: String!
9039
+ active: Boolean!
9040
+ configuration: [ConfigurationItem!]
9041
+ defaultConfiguration: [ConfigurationItem!]
9042
+ supportSellerConfiguration: Boolean
9043
+ version: String!
9259
9044
  }
9260
9045
 
9261
- """Represents shop's navigation menus."""
9262
- type Navigation {
9263
- """Main navigation bar."""
9264
- main: Menu
9046
+ """An enumeration."""
9047
+ enum PluginConfigurationCategory {
9048
+ """Auth"""
9049
+ AUTH
9265
9050
 
9266
- """Secondary navigation bar."""
9267
- secondary: Menu
9268
- }
9051
+ """Fulfillment"""
9052
+ FULFILLMENT
9269
9053
 
9270
- """
9271
- Represents a single menu - an object that is used to help navigate through the store.
9272
- """
9273
- type Menu implements Node {
9274
- """The ID of the object"""
9275
- id: ID!
9276
- name: String!
9277
- slug: String!
9278
- items: [MenuItem!]!
9279
- }
9280
-
9281
- """
9282
- Represents a single item of the related menu. Can store categories, collection or pages.
9283
- """
9284
- type MenuItem implements Node {
9285
- """The ID of the object"""
9286
- id: ID!
9287
- menu: Menu!
9288
- name: String!
9289
- parent: MenuItem
9290
- category: Category
9291
- collection: Collection
9292
- page: Page
9293
- level: Int!
9294
- children: [MenuItem!]!
9295
-
9296
- """URL to the menu item."""
9297
- url: String
9298
- }
9299
-
9300
- """
9301
- A static page that can be manually added by a shop operator through the dashboard.
9302
- """
9303
- type Page implements Node & ObjectWithMetadata {
9304
- """The ID of the object"""
9305
- id: ID!
9306
- publicationDate: Date
9307
- createdAt: DateTime!
9308
- updatedAt: DateTime!
9309
- content: String!
9310
- contentHtml: String!
9311
- seoTitle: String
9312
- seoDescription: String
9313
- slug: String!
9314
- title: String!
9315
-
9316
- """
9317
- List of private metadata items.Requires proper staff permissions to access.
9318
- """
9319
- privateMetadata: [MetadataItem!]!
9320
-
9321
- """List of public metadata items. Can be accessed without permissions."""
9322
- metadata: [MetadataItem!]!
9323
-
9324
- """Whether the page is published."""
9325
- isPublished: Boolean!
9326
- }
9327
-
9328
- """Plugin."""
9329
- type Plugin implements Node {
9330
- id: ID!
9331
- privateMetadata: JSONString!
9332
- metadata: JSONString!
9333
- company: String
9334
- category: PluginConfigurationCategory
9335
- descriptionShort: String!
9336
- logoUrl: String
9337
- created: DateTime!
9338
- externalUrl: String
9339
- supportUrl: String
9340
- allowSellers: Boolean
9341
- allowManyActivePluginsInCategory: Boolean!
9342
- tenant: Tenant!
9343
- identifier: String!
9344
- name: String!
9345
- description: String!
9346
- active: Boolean!
9347
- configuration: [ConfigurationItem!]
9348
- defaultConfiguration: [ConfigurationItem!]
9349
- supportSellerConfiguration: Boolean
9350
- version: String!
9351
- }
9352
-
9353
- """An enumeration."""
9354
- enum PluginConfigurationCategory {
9355
- """Auth"""
9356
- AUTH
9357
-
9358
- """Fulfillment"""
9359
- FULFILLMENT
9360
-
9361
- """Ecommerce"""
9362
- ECOMMERCE
9054
+ """Ecommerce"""
9055
+ ECOMMERCE
9363
9056
 
9364
9057
  """Data Connectivity"""
9365
9058
  DATA_CONNECTIVITY
@@ -10926,11 +10619,9 @@ type OrderVendorSummaryType {
10926
10619
  average: Float
10927
10620
  taxes: Float
10928
10621
  discounts: Float
10929
- volumeDiscounts: Float
10930
10622
  revenue: Float
10931
10623
  totals: Int
10932
10624
  commission: Float
10933
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10934
10625
  payout: Float
10935
10626
  vendors: Int
10936
10627
  adjustments: Decimal
@@ -10947,11 +10638,9 @@ type OrderVendorReportType {
10947
10638
  average: Float
10948
10639
  taxes: Float
10949
10640
  discounts: Float
10950
- volumeDiscounts: Float
10951
10641
  revenue: Float
10952
10642
  totals: Int
10953
10643
  commission: Float
10954
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10955
10644
  payout: Float
10956
10645
  vendorId: Int
10957
10646
  vendor: Vendor
@@ -10977,11 +10666,9 @@ type SingleVendorReportType {
10977
10666
  average: Float
10978
10667
  taxes: Float
10979
10668
  discounts: Float
10980
- volumeDiscounts: Float
10981
10669
  revenue: Float
10982
10670
  totals: Int
10983
10671
  commission: Float
10984
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10985
10672
  payout: Decimal
10986
10673
  adjustments: Decimal
10987
10674
  penalties: Decimal
@@ -11002,11 +10689,9 @@ type SingleVendorSummaryType {
11002
10689
  average: Float
11003
10690
  taxes: Float
11004
10691
  discounts: Float
11005
- volumeDiscounts: Float
11006
10692
  revenue: Float
11007
10693
  totals: Int
11008
10694
  commission: Float
11009
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
11010
10695
  payout: Float
11011
10696
  adjustments: Decimal
11012
10697
  penalties: Decimal
@@ -11031,6 +10716,34 @@ type PaymentCountableEdge {
11031
10716
  cursor: String!
11032
10717
  }
11033
10718
 
10719
+ """
10720
+ A static page that can be manually added by a shop operator through the dashboard.
10721
+ """
10722
+ type Page implements Node & ObjectWithMetadata {
10723
+ """The ID of the object"""
10724
+ id: ID!
10725
+ publicationDate: Date
10726
+ createdAt: DateTime!
10727
+ updatedAt: DateTime!
10728
+ content: String!
10729
+ contentHtml: String!
10730
+ seoTitle: String
10731
+ seoDescription: String
10732
+ slug: String!
10733
+ title: String!
10734
+
10735
+ """
10736
+ List of private metadata items.Requires proper staff permissions to access.
10737
+ """
10738
+ privateMetadata: [MetadataItem!]!
10739
+
10740
+ """List of public metadata items. Can be accessed without permissions."""
10741
+ metadata: [MetadataItem!]!
10742
+
10743
+ """Whether the page is published."""
10744
+ isPublished: Boolean!
10745
+ }
10746
+
11034
10747
  type PageCountableConnection {
11035
10748
  """Pagination data for this connection."""
11036
10749
  pageInfo: PageInfo!
@@ -11115,7 +10828,6 @@ input OrderFilterInput {
11115
10828
  paymentStatus: [PaymentChargeStatusEnum!]
11116
10829
  status: [OrderStatusFilter!]
11117
10830
  customer: String
11118
- channel: String
11119
10831
  created: DateRangeInput
11120
10832
  metadata: MetadataFilterInput
11121
10833
  privateMetadata: MetadataFilterInput
@@ -11133,7 +10845,6 @@ input NauticalOrderFilterInput {
11133
10845
  paymentStatus: [PaymentChargeStatusEnum!]
11134
10846
  status: [OrderStatusFilter!]
11135
10847
  customer: String
11136
- channel: String
11137
10848
  created: DateRangeInput
11138
10849
  metadata: MetadataFilterInput
11139
10850
  privateMetadata: MetadataFilterInput
@@ -11146,7 +10857,6 @@ input NauticalOrderFilterInput {
11146
10857
 
11147
10858
  input OrderDraftFilterInput {
11148
10859
  customer: String
11149
- channel: String
11150
10860
  created: DateRangeInput
11151
10861
  metadata: MetadataFilterInput
11152
10862
  privateMetadata: MetadataFilterInput
@@ -11159,7 +10869,6 @@ input OrderDraftFilterInput {
11159
10869
 
11160
10870
  input NauticalOrderDraftFilterInput {
11161
10871
  customer: String
11162
- channel: String
11163
10872
  created: DateRangeInput
11164
10873
  metadata: MetadataFilterInput
11165
10874
  privateMetadata: MetadataFilterInput
@@ -11172,7 +10881,6 @@ input NauticalOrderDraftFilterInput {
11172
10881
 
11173
10882
  input NauticalOrderQuoteFilterInput {
11174
10883
  customer: String
11175
- channel: String
11176
10884
  created: DateRangeInput
11177
10885
  metadata: MetadataFilterInput
11178
10886
  privateMetadata: MetadataFilterInput
@@ -11191,7 +10899,6 @@ enum QuoteOrderSubStatusFilter {
11191
10899
 
11192
10900
  input OrderQuoteFilterInput {
11193
10901
  customer: String
11194
- channel: String
11195
10902
  created: DateRangeInput
11196
10903
  metadata: MetadataFilterInput
11197
10904
  privateMetadata: MetadataFilterInput
@@ -11316,7 +11023,6 @@ type MicrositeCountableEdge {
11316
11023
  input MicrositeFilterInput {
11317
11024
  published: MicrositePublished
11318
11025
  search: String
11319
- vendorType: MicrositeVendorType
11320
11026
  ids: [ID]
11321
11027
  metadata: MetadataFilterInput
11322
11028
  privateMetadata: MetadataFilterInput
@@ -11327,11 +11033,6 @@ enum MicrositePublished {
11327
11033
  HIDDEN
11328
11034
  }
11329
11035
 
11330
- enum MicrositeVendorType {
11331
- SELLER
11332
- AFFILIATE
11333
- }
11334
-
11335
11036
  input MicrositeSortingInput {
11336
11037
  """Specifies the direction in which to sort products."""
11337
11038
  direction: OrderDirection!
@@ -11354,6 +11055,36 @@ enum MicrositeSortField {
11354
11055
  PUBLICATION_DATE
11355
11056
  }
11356
11057
 
11058
+ """
11059
+ Represents a single menu - an object that is used to help navigate through the store.
11060
+ """
11061
+ type Menu implements Node {
11062
+ """The ID of the object"""
11063
+ id: ID!
11064
+ name: String!
11065
+ slug: String!
11066
+ items: [MenuItem!]!
11067
+ }
11068
+
11069
+ """
11070
+ Represents a single item of the related menu. Can store categories, collection or pages.
11071
+ """
11072
+ type MenuItem implements Node {
11073
+ """The ID of the object"""
11074
+ id: ID!
11075
+ menu: Menu!
11076
+ name: String!
11077
+ parent: MenuItem
11078
+ category: Category
11079
+ collection: Collection
11080
+ page: Page
11081
+ level: Int!
11082
+ children: [MenuItem!]!
11083
+
11084
+ """URL to the menu item."""
11085
+ url: String
11086
+ }
11087
+
11357
11088
  type MenuCountableConnection {
11358
11089
  """Pagination data for this connection."""
11359
11090
  pageInfo: PageInfo!
@@ -12482,11 +12213,9 @@ type OrderSellerSummaryType {
12482
12213
  average: Float
12483
12214
  taxes: Float
12484
12215
  discounts: Float
12485
- volumeDiscounts: Float
12486
12216
  revenue: Float
12487
12217
  totals: Int
12488
12218
  commission: Float
12489
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12490
12219
  payout: Float
12491
12220
  sellers: Float
12492
12221
  }
@@ -12499,11 +12228,9 @@ type OrderCustomerReportType {
12499
12228
  average: Float
12500
12229
  taxes: Float
12501
12230
  discounts: Float
12502
- volumeDiscounts: Float
12503
12231
  revenue: Float
12504
12232
  totals: Int
12505
12233
  commission: Float
12506
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12507
12234
  payout: Float
12508
12235
  userId: Int
12509
12236
  user: User
@@ -12541,11 +12268,9 @@ type OrderSellerReportType {
12541
12268
  average: Float
12542
12269
  taxes: Float
12543
12270
  discounts: Float
12544
- volumeDiscounts: Float
12545
12271
  revenue: Float
12546
12272
  totals: Int
12547
12273
  commission: Float
12548
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12549
12274
  payout: Float
12550
12275
  sellerId: Int
12551
12276
  seller: Seller
@@ -12583,11 +12308,9 @@ type OrderMarketplaceReportType {
12583
12308
  average: Float
12584
12309
  taxes: Float
12585
12310
  discounts: Float
12586
- volumeDiscounts: Float
12587
12311
  revenue: Float
12588
12312
  totals: Int
12589
12313
  commission: Float
12590
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12591
12314
  payout: Float
12592
12315
  dimension: Date
12593
12316
  }
@@ -12624,65 +12347,6 @@ type InReportMarketplacePayoutsSummaryType {
12624
12347
  report: [OrderSellerReportType!]
12625
12348
  }
12626
12349
 
12627
- type InReportMarketplaceAffiliatePayoutsSummaryType {
12628
- """Category of the metric."""
12629
- category: String!
12630
-
12631
- """Title of the metric."""
12632
- title: String!
12633
-
12634
- """
12635
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12636
- """
12637
- columns: [ColumnObjectType!]
12638
-
12639
- """Info about applied filters."""
12640
- filters: [FilterObjectType!]
12641
-
12642
- """Total summary for selected period."""
12643
- summary: OrderAffiliateSummaryType!
12644
-
12645
- """
12646
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12647
- """
12648
- report: [OrderAffiliateReportType!]
12649
- }
12650
-
12651
- type OrderAffiliateSummaryType {
12652
- gross: Float
12653
- orders: Int
12654
- net: Float
12655
- shipping: Float
12656
- average: Float
12657
- taxes: Float
12658
- discounts: Float
12659
- volumeDiscounts: Float
12660
- revenue: Float
12661
- totals: Int
12662
- commission: Float
12663
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12664
- payout: Float
12665
- affiliates: Float
12666
- }
12667
-
12668
- type OrderAffiliateReportType {
12669
- gross: Float
12670
- orders: Int
12671
- net: Float
12672
- shipping: Float
12673
- average: Float
12674
- taxes: Float
12675
- discounts: Float
12676
- volumeDiscounts: Float
12677
- revenue: Float
12678
- totals: Int
12679
- commission: Float
12680
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12681
- payout: Float
12682
- affiliateId: Int
12683
- affiliate: User
12684
- }
12685
-
12686
12350
  type InReportMarketplaceTaxSummaryType {
12687
12351
  """Category of the metric."""
12688
12352
  category: String!
@@ -12715,11 +12379,9 @@ type AbstractOrderSellerReportType {
12715
12379
  average: Float
12716
12380
  taxes: Float
12717
12381
  discounts: Float
12718
- volumeDiscounts: Float
12719
12382
  revenue: Float
12720
12383
  totals: Int
12721
12384
  commission: Float
12722
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12723
12385
  payout: Float
12724
12386
  }
12725
12387
 
@@ -12731,11 +12393,9 @@ type MarketplaceTaxReportType {
12731
12393
  average: Float
12732
12394
  taxes: Float
12733
12395
  discounts: Float
12734
- volumeDiscounts: Float
12735
12396
  revenue: Float
12736
12397
  totals: Int
12737
12398
  commission: Float
12738
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12739
12399
  payout: Float
12740
12400
  dimension: Date
12741
12401
  }
@@ -12772,11 +12432,9 @@ type MarketplaceTaxReportByLocaleType {
12772
12432
  average: Float
12773
12433
  taxes: Float
12774
12434
  discounts: Float
12775
- volumeDiscounts: Float
12776
12435
  revenue: Float
12777
12436
  totals: Int
12778
12437
  commission: Float
12779
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12780
12438
  payout: Float
12781
12439
  billingAddress_Country: String
12782
12440
  billingAddress_CountryArea: String
@@ -12965,7 +12623,6 @@ type AbstractPercentReportType {
12965
12623
  average: Float
12966
12624
  taxes: Float
12967
12625
  discounts: Float
12968
- volumeDiscounts: Float
12969
12626
  revenue: Float
12970
12627
  totals: Float
12971
12628
  }
@@ -12984,11 +12641,9 @@ type DashboardSellerOrderPerformanceType {
12984
12641
  average: Float
12985
12642
  taxes: Float
12986
12643
  discounts: Float
12987
- volumeDiscounts: Float
12988
12644
  revenue: Float
12989
12645
  totals: Int
12990
12646
  commission: Float
12991
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12992
12647
  payout: Float
12993
12648
  sellerId: Int
12994
12649
  seller: Seller
@@ -13007,11 +12662,9 @@ type GraphDataType {
13007
12662
  average: Float
13008
12663
  taxes: Float
13009
12664
  discounts: Float
13010
- volumeDiscounts: Float
13011
12665
  revenue: Float
13012
12666
  totals: Int
13013
12667
  commission: Float
13014
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
13015
12668
  payout: Float
13016
12669
  dimension: DateTime
13017
12670
  }
@@ -13523,45 +13176,6 @@ type CheckoutLineCountableEdge {
13523
13176
  cursor: String!
13524
13177
  }
13525
13178
 
13526
- type ChannelCountableConnection {
13527
- """Pagination data for this connection."""
13528
- pageInfo: PageInfo!
13529
- edges: [ChannelCountableEdge!]!
13530
-
13531
- """A total count of items in the collection."""
13532
- totalCount: Int
13533
- }
13534
-
13535
- type ChannelCountableEdge {
13536
- """The item at the end of the edge."""
13537
- node: Channel!
13538
-
13539
- """A cursor for use in pagination."""
13540
- cursor: String!
13541
- }
13542
-
13543
- input ChannelFilterInput {
13544
- search: String
13545
- createdAt: DateTime
13546
- created: DateRangeInput
13547
- }
13548
-
13549
- input ChannelSortingInput {
13550
- """Specifies the direction in which to sort products."""
13551
- direction: OrderDirection!
13552
-
13553
- """Sort channels by the selected field."""
13554
- field: ChannelSortField!
13555
- }
13556
-
13557
- enum ChannelSortField {
13558
- """Sort channels by channel."""
13559
- CHANNEL
13560
-
13561
- """Sort channels by created at."""
13562
- CREATED_AT
13563
- }
13564
-
13565
13179
  input AttributeSortingInput {
13566
13180
  """Specifies the direction in which to sort products."""
13567
13181
  direction: OrderDirection!
@@ -13721,50 +13335,6 @@ input AgreementFilterInput {
13721
13335
  search: String
13722
13336
  }
13723
13337
 
13724
- input AffiliateFilterInput {
13725
- dateJoined: DateRangeInput
13726
- moneySpent: PriceRangeInput
13727
- numberOfOrders: IntRangeInput
13728
- placedOrders: DateRangeInput
13729
- search: String
13730
- }
13731
-
13732
- type OptimizedAffiliate {
13733
- affiliate: User
13734
- channels: [OptimizedAffiliateChannels!] @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13735
- topCodes: [AffiliateCodes!]
13736
- agreement: Agreement
13737
- }
13738
-
13739
- type OptimizedAffiliateChannels {
13740
- channelName: String
13741
- totalReferrals: Int
13742
- }
13743
-
13744
- input AffiliateCodeFilterInput {
13745
- search: String
13746
- isActive: Boolean
13747
- }
13748
-
13749
- input AffiliateCodeSortingInput {
13750
- """Specifies the direction in which to sort products."""
13751
- direction: OrderDirection!
13752
-
13753
- """Sort affiliate_codes by the selected field."""
13754
- field: AffiliateCodeSortField!
13755
- }
13756
-
13757
- enum AffiliateCodeSortField {
13758
- """Sort affiliate codes by code."""
13759
- CODE
13760
-
13761
- """Sort affiliate codes by status."""
13762
- STATUS
13763
-
13764
- """Sort affiliate codes by referrals."""
13765
- REFERRALS
13766
- }
13767
-
13768
13338
  type AddressValidationData {
13769
13339
  countryCode: String
13770
13340
  countryName: String
@@ -13880,7 +13450,7 @@ type Mutation {
13880
13450
  description: String
13881
13451
 
13882
13452
  """
13883
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: drawing/dwg, image/vnd.dwg, application/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/rtf, application/x-zip-compressed, image/x-eps, application/pdf, application/excel, application/postscript, text/rtf, image/jpg, application/jpg, text/svg-xml, application/vnd.oasis.opendocument.text, text/plain, application/x-rar, drawing/x-dwg, pplication/vnd.rar, text/x-pdf, text/x-csv, image/gif, image/x-bmp, image/heic-sequence, application/svg+xml, application/vnd.ms-excel, application/vnd.pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.spreadsheet, text/svg, application/zip, application/vnd.ms-powerpoint, application/dxf, image/tif, image/x-tif, application/x-rtf, text/comma-separated-values, application/x-dwg, image/eps, application/x-acad, image/x-ms-bmp, application/x-gzip, image/svg, application/x-tif, application/csv, application/x-csv, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpeg, image/png, application/tif, drawing/x-dwf, image/webp, application/x-eps, image/svg+xml, text/pdf, application/vnd.oasis.opendocument.presentation, image/heif-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-tiff, image/heic, application/gzip-compressed, image/x-tiff, text/x-comma-separated-values, application/gzip, image/x-dxf, application/msword, image/bmp, image/x-dwg, application/acad, application/x-rar-compressed, application/x-jpg, application/x-tar, application/tiff, image/heif, application/x-autocad, application/eps, text/csv, application/gzipped, application/vnd.ms-word, application/acrobat, image/tiff, application/x-pdf, application/x-dxf, image/dxf.
13453
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.pdf, application/gzipped, image/x-ms-bmp, image/tiff, application/vnd.ms-excel, image/x-dxf, image/tif, image/heic, image/x-tif, application/x-eps, application/vnd.oasis.opendocument.presentation, application/csv, application/postscript, application/x-csv, image/vnd.dwg, text/x-csv, drawing/dwg, image/eps, application/msword, application/acad, drawing/x-dwf, text/svg-xml, image/dxf, application/vnd.ms-word, application/x-tar, image/png, application/vnd.oasis.opendocument.text, application/gzip-compressed, image/svg, text/svg, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/rtf, application/x-tiff, application/eps, text/comma-separated-values, text/x-pdf, application/jpg, application/x-jpg, application/dwg, image/heif-sequence, application/x-rtf, application/zip, application/dxf, image/jpg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/gif, application/x-gzip, application/pdf, text/plain, application/excel, application/x-autocad, application/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/svg+xml, application/x-tif, application/x-rar, application/x-dxf, text/rtf, text/pdf, application/tiff, image/heif, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/svg+xml, image/bmp, drawing/x-dwg, text/x-comma-separated-values, image/webp, image/jpeg, application/x-acad, image/x-tiff, application/acrobat, application/vnd.oasis.opendocument.spreadsheet, application/x-zip-compressed, text/csv, pplication/vnd.rar, application/tif, application/gzip, image/x-eps, image/heic-sequence, image/x-bmp, application/x-rar-compressed, image/x-dwg, application/x-pdf.
13884
13454
  """
13885
13455
  file: Upload!
13886
13456
 
@@ -13956,48 +13526,6 @@ type Mutation {
13956
13526
  """
13957
13527
  updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
13958
13528
 
13959
- """Creates a new channel"""
13960
- channelCreate(
13961
- """Fields required to create a channel."""
13962
- input: ChannelInput
13963
- ): ChannelCreate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13964
-
13965
- """Updates a channel."""
13966
- channelUpdate(
13967
- """ID of a channel to update."""
13968
- id: ID!
13969
-
13970
- """Fields required to update a channel."""
13971
- input: ChannelInput!
13972
- ): ChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13973
-
13974
- """Updates an order channel"""
13975
- orderChannelUpdate(
13976
- """ID of the channel to associate with the order"""
13977
- channel: ID
13978
-
13979
- """ID of the order to update channel for"""
13980
- id: ID!
13981
- ): OrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13982
-
13983
- """Updates a marketplace order channel."""
13984
- nauticalOrderChannelUpdate(
13985
- """ID of the channel to associate with the marketplace order"""
13986
- channel: ID
13987
-
13988
- """ID of the marketplace order to update channel for"""
13989
- id: ID!
13990
- ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13991
-
13992
- """Updates an affiliate code channel"""
13993
- affiliateCodeChannelUpdate(
13994
- """ID of the channel to associate with the affiliate code"""
13995
- channel: ID
13996
-
13997
- """ID of the affiliate code to update channel for"""
13998
- id: ID!
13999
- ): AffiliateCodeChannelUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14000
-
14001
13529
  """Updates marketplace configuration."""
14002
13530
  marketplaceConfigurationUpdate(
14003
13531
  """Fields required to update marketplace configuration."""
@@ -14276,75 +13804,11 @@ type Mutation {
14276
13804
  input: MicrositeInput!
14277
13805
  ): MicrositeUpdate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
14278
13806
 
14279
- """Creates a new affiliate code"""
14280
- affiliateCodeCreate(
14281
- """Fields required to create an affiliate code."""
14282
- input: AffiliateCodeCreateInput
14283
- ): AffiliateCodeCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14284
-
14285
- """Increments affiliate code uses"""
14286
- affiliateCodeUse(
14287
- """Affiliate code to increment use for"""
14288
- code: String
14289
- ): AffiliateCodeUse @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14290
-
14291
- """Sets whether code is active"""
14292
- affiliateCodeSetActive(
14293
- """Whether the code is active or not"""
14294
- isActive: Boolean
14295
- ): AffiliateCodeSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14296
-
14297
- """Activate or deactivate affiliate codes."""
14298
- affiliateCodeBulkSetActive(
14299
- """List of code IDs to (de)activate)."""
14300
- ids: [ID!]!
14301
-
14302
- """Determine if codes will be set active or not."""
14303
- isActive: Boolean!
14304
- ): AffiliateCodeBulkSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14305
-
14306
- """
14307
- Create an affiliate avatar. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
14308
- """
14309
- affiliateAvatarUpdate(
14310
- affiliate: ID
14311
-
14312
- """Represents an image file in a multipart request."""
14313
- image: Upload!
14314
- ): AffiliateAvatarUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14315
-
14316
- """Creates a new affiliate."""
14317
- affiliateCreate(
14318
- """Fields required to create a affiliate."""
14319
- input: UserCreateInput!
14320
- ): AffiliateCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14321
-
14322
- """Updates an existing affiliate."""
14323
- affiliateUpdate(
14324
- """ID of a affiliate to update."""
14325
- id: ID!
14326
-
14327
- """Fields required to update a affiliate."""
14328
- input: AffiliateInput!
14329
- ): AffiliateUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14330
-
14331
- """Deletes a affiliate."""
14332
- affiliateDelete(
14333
- """ID of a affiliate to delete."""
14334
- id: ID!
14335
- ): AffiliateDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14336
-
14337
- """Deletes affiliates."""
14338
- affiliateBulkDelete(
14339
- """List of user IDs to delete."""
14340
- ids: [ID!]!
14341
- ): AffiliateBulkDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14342
-
14343
- """Creates a new agreement."""
14344
- agreementCreate(
14345
- """Fields required to create a agreement."""
14346
- input: AgreementInput!
14347
- ): AgreementCreate
13807
+ """Creates a new agreement."""
13808
+ agreementCreate(
13809
+ """Fields required to create a agreement."""
13810
+ input: AgreementInput!
13811
+ ): AgreementCreate
14348
13812
 
14349
13813
  """Deletes a agreement."""
14350
13814
  agreementDelete(
@@ -15545,9 +15009,6 @@ type Mutation {
15545
15009
 
15546
15010
  """Completes creating an order."""
15547
15011
  draftOrderComplete(
15548
- """ID of the channel to attach the order to"""
15549
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15550
-
15551
15012
  """ID of the order that will be completed."""
15552
15013
  id: ID!
15553
15014
 
@@ -15562,9 +15023,6 @@ type Mutation {
15562
15023
 
15563
15024
  """Completes creating an order."""
15564
15025
  nauticalDraftOrderComplete(
15565
- """ID of the channel to attach to nautical order"""
15566
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15567
-
15568
15026
  """
15569
15027
  Optional ID of the Nautical Order to be completed. Either 'id' or 'token' must be provided to identify the Nautical Order. If both are provided, only the 'id' field will be used.
15570
15028
  """
@@ -16135,15 +15593,6 @@ type Mutation {
16135
15593
  input: [MetadataInput!]!
16136
15594
  ): PrivateMetadataUpdate
16137
15595
 
16138
- """Assigns storefront's navigation menus."""
16139
- assignNavigation(
16140
- """ID of the menu."""
16141
- menu: ID
16142
-
16143
- """Type of the navigation bar to assign the menu to."""
16144
- navigationType: NavigationType!
16145
- ): AssignNavigation @deprecated(reason: "This will be removed on October 29, 2024")
16146
-
16147
15596
  """Creates a new Menu."""
16148
15597
  menuCreate(
16149
15598
  """Fields required to create a menu."""
@@ -16365,7 +15814,7 @@ type Mutation {
16365
15814
  """
16366
15815
  Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
16367
15816
  """
16368
- vendorType: String!
15817
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
16369
15818
  ): VendorPayoutOnboardingLinkRequest
16370
15819
 
16371
15820
  """
@@ -16518,14 +15967,11 @@ type Mutation {
16518
15967
  Completes the checkout. As a result a new order is created and a payment charge is made. This action requires a successful payment before it can be performed. In case additional confirmation step as 3D secure is required confirmationNeeded flag will be set to True and no order created until payment is confirmed with second call of this mutation.
16519
15968
  """
16520
15969
  checkoutComplete(
16521
- """ID of affiliate code used for checkout completion"""
16522
- affiliate: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
16523
-
16524
15970
  """Checkout ID."""
16525
15971
  checkoutId: ID!
16526
15972
 
16527
15973
  """ID of microsite that checkout was completed from"""
16528
- microsite: ID
15974
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
16529
15975
 
16530
15976
  """Client-side generated data required to finalize the payment."""
16531
15977
  paymentData: JSONString
@@ -16552,7 +15998,6 @@ type Mutation {
16552
15998
  Determines whether the email sent out is catered to carriers instead of customers
16553
15999
  """
16554
16000
  vehicles: Boolean = false
16555
- volumeDiscount: Float!
16556
16001
  ): CheckoutComplete
16557
16002
 
16558
16003
  """
@@ -17525,71 +16970,6 @@ type PeriodicTaskEnabledUpdate {
17525
16970
  task: WebhookPeriodicTask
17526
16971
  }
17527
16972
 
17528
- """Creates a new channel"""
17529
- type ChannelCreate {
17530
- channelErrors: [ChannelError!]!
17531
- channel: Channel
17532
- }
17533
-
17534
- type ChannelError {
17535
- """
17536
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17537
- """
17538
- field: String
17539
-
17540
- """The error message."""
17541
- message: String!
17542
-
17543
- """The error code."""
17544
- code: ChannelErrorCode!
17545
- }
17546
-
17547
- """An enumeration."""
17548
- enum ChannelErrorCode {
17549
- GRAPHQL_ERROR
17550
- INVALID
17551
- NOT_FOUND
17552
- REQUIRED
17553
- UNIQUE
17554
- JWT_SIGNATURE_EXPIRED
17555
- JWT_INVALID_TOKEN
17556
- JWT_DECODE_ERROR
17557
- JWT_MISSING_TOKEN
17558
- JWT_INVALID_CSRF_TOKEN
17559
- }
17560
-
17561
- input ChannelInput {
17562
- """Name of the channel."""
17563
- channel: String
17564
- }
17565
-
17566
- """Updates a channel."""
17567
- type ChannelUpdate {
17568
- channelErrors: [ChannelError!]!
17569
- channel: Channel
17570
- }
17571
-
17572
- """Updates an order channel"""
17573
- type OrderChannelUpdate {
17574
- """Updated order instance"""
17575
- order: Order
17576
- channelErrors: [ChannelError!]!
17577
- }
17578
-
17579
- """Updates a marketplace order channel."""
17580
- type NauticalOrderChannelUpdate {
17581
- """Updated marketplace order instance"""
17582
- order: NauticalOrder
17583
- channelErrors: [ChannelError!]!
17584
- }
17585
-
17586
- """Updates an affiliate code channel"""
17587
- type AffiliateCodeChannelUpdate {
17588
- """Updated affiliate code instance"""
17589
- affiliateCode: AffiliateCodes
17590
- channelErrors: [ChannelError!]!
17591
- }
17592
-
17593
16973
  """Updates marketplace configuration."""
17594
16974
  type MarketplaceConfigurationUpdate {
17595
16975
  """Updated marketplace configuration."""
@@ -17780,7 +17160,7 @@ enum PayoutErrorCode {
17780
17160
 
17781
17161
  input PayoutCreateInput {
17782
17162
  """Vendor type for the payout"""
17783
- vendorType: String!
17163
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
17784
17164
 
17785
17165
  """
17786
17166
  Payout end date. ISO 8601 standard. Can not be greater than current date.
@@ -18168,360 +17548,74 @@ input MoveProductInput {
18168
17548
  productId: ID!
18169
17549
 
18170
17550
  """
18171
- The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged.
18172
- """
18173
- sortOrder: Int
18174
- }
18175
-
18176
- """Deletes microsites."""
18177
- type MicrositeBulkDelete {
18178
- """Returns how many objects were affected."""
18179
- count: Int!
18180
- micrositeErrors: [ProductError!]!
18181
- }
18182
-
18183
- """Publish microsites."""
18184
- type MicrositeBulkPublish {
18185
- """Returns how many objects were affected."""
18186
- count: Int!
18187
- micrositeErrors: [ProductError!]!
18188
- }
18189
-
18190
- """Remove products from a microsite."""
18191
- type MicrositeRemoveProducts {
18192
- """Microsite from which products will be removed."""
18193
- microsite: Microsite
18194
- micrositeErrors: [ProductError!]!
18195
- }
18196
-
18197
- """Updates a microsite."""
18198
- type MicrositeUpdate {
18199
- micrositeErrors: [ProductError!]!
18200
- microsite: Microsite
18201
- }
18202
-
18203
- input MicrositeInput {
18204
- """Informs whether a microsite is published."""
18205
- isPublished: Boolean
18206
-
18207
- """Name of the microsite."""
18208
- name: String
18209
-
18210
- """Text to appear in footer of microsite."""
18211
- footerText: String
18212
-
18213
- """Slug of the microsite."""
18214
- slug: String
18215
-
18216
- """Description of the microsite (plaintext, deprecated for input)."""
18217
- description: String
18218
-
18219
- """Description of the microsite (HTML)."""
18220
- descriptionHtml: String
18221
-
18222
- """Banner image file."""
18223
- bannerImage: Upload
18224
-
18225
- """Alt text for an image."""
18226
- bannerImageAlt: String
18227
-
18228
- """Logo image file."""
18229
- logoImage: Upload
18230
-
18231
- """Alt text for an image."""
18232
- logoImageAlt: String
18233
-
18234
- """Search engine optimization fields."""
18235
- seo: SeoInput
18236
-
18237
- """Publication date. ISO 8601 standard."""
18238
- publicationDate: Date
18239
- }
18240
-
18241
- """Creates a new affiliate code"""
18242
- type AffiliateCodeCreate {
18243
- affiliateErrors: [AffiliateError!]!
18244
- affiliateCodes: AffiliateCodes
18245
- }
18246
-
18247
- type AffiliateError {
18248
- """
18249
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18250
- """
18251
- field: String
18252
-
18253
- """The error message."""
18254
- message: String!
18255
-
18256
- """The error code."""
18257
- code: AffiliateErrorCode!
18258
- }
18259
-
18260
- """An enumeration."""
18261
- enum AffiliateErrorCode {
18262
- UNIQUE
18263
- REQUIRED
18264
- NOT_FOUND
18265
- }
18266
-
18267
- input AffiliateCodeCreateInput {
18268
- """The id of the affiliate that the code belongs to"""
18269
- affiliate: ID!
18270
-
18271
- """The new affiliate code"""
18272
- code: String
18273
-
18274
- """ID of the channel code is used for"""
18275
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
18276
- }
18277
-
18278
- """Increments affiliate code uses"""
18279
- type AffiliateCodeUse {
18280
- affiliateErrors: [AffiliateError!]!
18281
- affiliateCodes: AffiliateCodes
18282
- }
18283
-
18284
- """Sets whether code is active"""
18285
- type AffiliateCodeSetActive {
18286
- affiliateErrors: [AffiliateError!]!
18287
- affiliateCodes: AffiliateCodes
18288
- }
18289
-
18290
- """Activate or deactivate affiliate codes."""
18291
- type AffiliateCodeBulkSetActive {
18292
- """Returns how many objects were affected."""
18293
- count: Int!
18294
- codeErrors: [AccountError!]!
18295
- }
18296
-
18297
- type AccountError {
18298
- """
18299
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18300
- """
18301
- field: String
18302
-
18303
- """The error message."""
18304
- message: String!
18305
-
18306
- """The error code."""
18307
- code: AccountErrorCode!
18308
- }
18309
-
18310
- """An enumeration."""
18311
- enum AccountErrorCode {
18312
- ACTIVATE_OWN_ACCOUNT
18313
- ACTIVATE_SUPERUSER_ACCOUNT
18314
- ACCOUNT_NOT_ACTIVE
18315
- ATTRIBUTE_CANNOT_BE_ASSIGNED
18316
- DUPLICATED_INPUT_ITEM
18317
- DEACTIVATE_OWN_ACCOUNT
18318
- DEACTIVATE_SUPERUSER_ACCOUNT
18319
- DELETE_NON_STAFF_USER
18320
- DELETE_OWN_ACCOUNT
18321
- DELETE_STAFF_ACCOUNT
18322
- DELETE_SUPERUSER_ACCOUNT
18323
- GRAPHQL_ERROR
18324
- INVALID
18325
- INVALID_PHONE
18326
- INVALID_PASSWORD
18327
- LEFT_NOT_MANAGEABLE_PERMISSION
18328
- MUST_CHOOSE_PERMISSION_GROUP
18329
- INVALID_CREDENTIALS
18330
- NO_SELLER
18331
- NOT_FOUND
18332
- OUT_OF_SCOPE_SERVICE_ACCOUNT
18333
- OUT_OF_SCOPE_USER
18334
- OUT_OF_SCOPE_GROUP
18335
- OUT_OF_SCOPE_PERMISSION
18336
- PASSWORD_ENTIRELY_NUMERIC
18337
- PASSWORD_IDENTICAL
18338
- PASSWORD_TOO_COMMON
18339
- PASSWORD_TOO_SHORT
18340
- PASSWORD_TOO_SIMILAR
18341
- REQUIRED
18342
- UNIQUE
18343
- JWT_SIGNATURE_EXPIRED
18344
- JWT_INVALID_TOKEN
18345
- JWT_DECODE_ERROR
18346
- JWT_MISSING_TOKEN
18347
- JWT_INVALID_CSRF_TOKEN
18348
- }
18349
-
18350
- """
18351
- Create an affiliate avatar. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
18352
- """
18353
- type AffiliateAvatarUpdate {
18354
- """An updated affiliate instance."""
18355
- affiliate: User
18356
- accountErrors: [AccountError!]!
18357
- }
18358
-
18359
- """Creates a new affiliate."""
18360
- type AffiliateCreate {
18361
- accountErrors: [AccountError!]!
18362
- user: User
18363
- }
18364
-
18365
- input UserCreateInput {
18366
- """Billing address of the customer."""
18367
- defaultBillingAddress: AddressInput
18368
-
18369
- """Shipping address of the customer."""
18370
- defaultShippingAddress: AddressInput
18371
-
18372
- """Given name."""
18373
- firstName: String
18374
-
18375
- """Family name."""
18376
- lastName: String
18377
-
18378
- """The unique email address of the user."""
18379
- email: String
18380
-
18381
- """User account is active."""
18382
- isActive: Boolean
18383
-
18384
- """User is staff member."""
18385
- isStaff: Boolean
18386
-
18387
- """User account is affiliate."""
18388
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18389
-
18390
- """A note about the user."""
18391
- note: String
18392
-
18393
- """Only filled out if the account is a business account."""
18394
- companyName: String
18395
-
18396
- """Personal phone number."""
18397
- personalPhone: String
18398
-
18399
- """Password url"""
18400
- passwordUrl: String
18401
-
18402
- """Tax exempt code"""
18403
- taxExemptCode: String
18404
-
18405
- """List of custom fields."""
18406
- customFields: [AttributeValueInput!]
18407
-
18408
- """Marketplace VAT identification number"""
18409
- vatIdentificationNumber: String
18410
-
18411
- """
18412
- URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
18413
- """
18414
- redirectUrl: String
18415
- }
18416
-
18417
- input AttributeValueInput {
18418
- """ID of the selected attribute."""
18419
- id: ID
18420
-
18421
- """
18422
- The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
18423
- """
18424
- values: [String!]
18425
-
18426
- """
18427
- Value representation of the attribute value (e.g. color value for swatch attributes).
18428
- """
18429
- value: String
18430
-
18431
- """Date and time representation of attribute value."""
18432
- dateTime: DateTime
18433
-
18434
- """Supports attribute values with long text (plain text)."""
18435
- plainText: String
18436
-
18437
- """Supports attribute values with long text (html)."""
18438
- richText: String
18439
-
18440
- """Numeric value to support money or numeric attribute values."""
18441
- amount: Decimal
18442
-
18443
- """Currency to support money attribute values."""
18444
- currency: String
18445
-
18446
- """
18447
- Supports attribute values to reference any other nautical object (should be base64 ID)
18448
- """
18449
- reference: String
18450
-
18451
- """Supports boolean attribute values."""
18452
- boolean: Boolean
18453
-
18454
- """Supports file type attribute values."""
18455
- file: Upload
18456
-
18457
- """URL type to support external links as attribute values."""
18458
- fileUrl: String
17551
+ The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged.
17552
+ """
17553
+ sortOrder: Int
18459
17554
  }
18460
17555
 
18461
- """Updates an existing affiliate."""
18462
- type AffiliateUpdate {
18463
- accountErrors: [AccountError!]!
18464
- user: User
17556
+ """Deletes microsites."""
17557
+ type MicrositeBulkDelete {
17558
+ """Returns how many objects were affected."""
17559
+ count: Int!
17560
+ micrositeErrors: [ProductError!]!
18465
17561
  }
18466
17562
 
18467
- input AffiliateInput {
18468
- """Billing address of the customer."""
18469
- defaultBillingAddress: AddressInput
18470
-
18471
- """Shipping address of the customer."""
18472
- defaultShippingAddress: AddressInput
18473
-
18474
- """Given name."""
18475
- firstName: String
17563
+ """Publish microsites."""
17564
+ type MicrositeBulkPublish {
17565
+ """Returns how many objects were affected."""
17566
+ count: Int!
17567
+ micrositeErrors: [ProductError!]!
17568
+ }
18476
17569
 
18477
- """Family name."""
18478
- lastName: String
17570
+ """Remove products from a microsite."""
17571
+ type MicrositeRemoveProducts {
17572
+ """Microsite from which products will be removed."""
17573
+ microsite: Microsite
17574
+ micrositeErrors: [ProductError!]!
17575
+ }
18479
17576
 
18480
- """The unique email address of the user."""
18481
- email: String
17577
+ """Updates a microsite."""
17578
+ type MicrositeUpdate {
17579
+ micrositeErrors: [ProductError!]!
17580
+ microsite: Microsite
17581
+ }
18482
17582
 
18483
- """User account is active."""
18484
- isActive: Boolean
17583
+ input MicrositeInput {
17584
+ """Informs whether a microsite is published."""
17585
+ isPublished: Boolean
18485
17586
 
18486
- """User is staff member."""
18487
- isStaff: Boolean
17587
+ """Name of the microsite."""
17588
+ name: String
18488
17589
 
18489
- """User account is affiliate."""
18490
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
17590
+ """Text to appear in footer of microsite."""
17591
+ footerText: String
18491
17592
 
18492
- """A note about the user."""
18493
- note: String
17593
+ """Slug of the microsite."""
17594
+ slug: String
18494
17595
 
18495
- """Only filled out if the account is a business account."""
18496
- companyName: String
17596
+ """Description of the microsite (plaintext, deprecated for input)."""
17597
+ description: String
18497
17598
 
18498
- """Personal phone number."""
18499
- personalPhone: String
17599
+ """Description of the microsite (HTML)."""
17600
+ descriptionHtml: String
18500
17601
 
18501
- """Password url"""
18502
- passwordUrl: String
17602
+ """Banner image file."""
17603
+ bannerImage: Upload
18503
17604
 
18504
- """Tax exempt code"""
18505
- taxExemptCode: String
17605
+ """Alt text for an image."""
17606
+ bannerImageAlt: String
18506
17607
 
18507
- """List of custom fields."""
18508
- customFields: [AttributeValueInput!]
17608
+ """Logo image file."""
17609
+ logoImage: Upload
18509
17610
 
18510
- """ID of the plan to assign affiliate to."""
18511
- plan: ID
18512
- }
17611
+ """Alt text for an image."""
17612
+ logoImageAlt: String
18513
17613
 
18514
- """Deletes a affiliate."""
18515
- type AffiliateDelete {
18516
- accountErrors: [AccountError!]!
18517
- user: User
18518
- }
17614
+ """Search engine optimization fields."""
17615
+ seo: SeoInput
18519
17616
 
18520
- """Deletes affiliates."""
18521
- type AffiliateBulkDelete {
18522
- """Returns how many objects were affected."""
18523
- count: Int!
18524
- affiliateErrors: [AccountError!]!
17617
+ """Publication date. ISO 8601 standard."""
17618
+ publicationDate: Date
18525
17619
  }
18526
17620
 
18527
17621
  """Creates a new agreement."""
@@ -18585,9 +17679,6 @@ input AgreementInput {
18585
17679
  """Last update date. ISO 8601 standard."""
18586
17680
  updatedAt: String
18587
17681
 
18588
- """Seller or Affiliate"""
18589
- vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18590
-
18591
17682
  """Gross Price, Markup, Absolute etc"""
18592
17683
  commissionType: CommissionTypeEnum
18593
17684
 
@@ -18598,14 +17689,6 @@ input AgreementInput {
18598
17689
  markupCommissionValue: Decimal
18599
17690
  }
18600
17691
 
18601
- enum VendorTypeEnum {
18602
- """Seller"""
18603
- SELLER
18604
-
18605
- """Affiliate"""
18606
- AFFILIATE
18607
- }
18608
-
18609
17692
  """Deletes a agreement."""
18610
17693
  type AgreementDelete {
18611
17694
  agreementErrors: [AgreementError!]!
@@ -20382,6 +19465,50 @@ input CategoryInput {
20382
19465
  customFields: [AttributeValueInput!]
20383
19466
  }
20384
19467
 
19468
+ input AttributeValueInput {
19469
+ """ID of the selected attribute."""
19470
+ id: ID
19471
+
19472
+ """
19473
+ The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
19474
+ """
19475
+ values: [String!]
19476
+
19477
+ """
19478
+ Value representation of the attribute value (e.g. color value for swatch attributes).
19479
+ """
19480
+ value: String
19481
+
19482
+ """Date and time representation of attribute value."""
19483
+ dateTime: DateTime
19484
+
19485
+ """Supports attribute values with long text (plain text)."""
19486
+ plainText: String
19487
+
19488
+ """Supports attribute values with long text (html)."""
19489
+ richText: String
19490
+
19491
+ """Numeric value to support money or numeric attribute values."""
19492
+ amount: Decimal
19493
+
19494
+ """Currency to support money attribute values."""
19495
+ currency: String
19496
+
19497
+ """
19498
+ Supports attribute values to reference any other nautical object (should be base64 ID)
19499
+ """
19500
+ reference: String
19501
+
19502
+ """Supports boolean attribute values."""
19503
+ boolean: Boolean
19504
+
19505
+ """Supports file type attribute values."""
19506
+ file: Upload
19507
+
19508
+ """URL type to support external links as attribute values."""
19509
+ fileUrl: String
19510
+ }
19511
+
20385
19512
  """Deletes a category."""
20386
19513
  type CategoryDelete {
20387
19514
  productErrors: [ProductError!]!
@@ -22117,9 +21244,6 @@ input NauticalHistoricalOrderInput {
22117
21244
  lines: [HistoricalOrderLineInput!]
22118
21245
  seller: ID
22119
21246
 
22120
- """ID of the channel to attach the order to"""
22121
- channel: ID
22122
-
22123
21247
  """Created date time of historical order in ISO 8601 format."""
22124
21248
  created: DateTime
22125
21249
 
@@ -23059,11 +22183,10 @@ type PrivateMetadataUpdate {
23059
22183
  item: ObjectWithMetadata
23060
22184
  }
23061
22185
 
23062
- """Assigns storefront's navigation menus."""
23063
- type AssignNavigation {
23064
- """Assigned navigation menu."""
23065
- menu: Menu
22186
+ """Creates a new Menu."""
22187
+ type MenuCreate {
23066
22188
  menuErrors: [MenuError!]!
22189
+ menu: Menu
23067
22190
  }
23068
22191
 
23069
22192
  type MenuError {
@@ -23092,20 +22215,6 @@ enum MenuErrorCode {
23092
22215
  UNIQUE
23093
22216
  }
23094
22217
 
23095
- enum NavigationType {
23096
- """Main storefront navigation."""
23097
- MAIN
23098
-
23099
- """Secondary storefront navigation."""
23100
- SECONDARY
23101
- }
23102
-
23103
- """Creates a new Menu."""
23104
- type MenuCreate {
23105
- menuErrors: [MenuError!]!
23106
- menu: Menu
23107
- }
23108
-
23109
22218
  input MenuCreateInput {
23110
22219
  """Name of the menu."""
23111
22220
  name: String!
@@ -24587,6 +23696,59 @@ type CreateToken {
24587
23696
  accountErrors: [AccountError!]!
24588
23697
  }
24589
23698
 
23699
+ type AccountError {
23700
+ """
23701
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
23702
+ """
23703
+ field: String
23704
+
23705
+ """The error message."""
23706
+ message: String!
23707
+
23708
+ """The error code."""
23709
+ code: AccountErrorCode!
23710
+ }
23711
+
23712
+ """An enumeration."""
23713
+ enum AccountErrorCode {
23714
+ ACTIVATE_OWN_ACCOUNT
23715
+ ACTIVATE_SUPERUSER_ACCOUNT
23716
+ ACCOUNT_NOT_ACTIVE
23717
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
23718
+ DUPLICATED_INPUT_ITEM
23719
+ DEACTIVATE_OWN_ACCOUNT
23720
+ DEACTIVATE_SUPERUSER_ACCOUNT
23721
+ DELETE_NON_STAFF_USER
23722
+ DELETE_OWN_ACCOUNT
23723
+ DELETE_STAFF_ACCOUNT
23724
+ DELETE_SUPERUSER_ACCOUNT
23725
+ GRAPHQL_ERROR
23726
+ INVALID
23727
+ INVALID_PHONE
23728
+ INVALID_PASSWORD
23729
+ LEFT_NOT_MANAGEABLE_PERMISSION
23730
+ MUST_CHOOSE_PERMISSION_GROUP
23731
+ INVALID_CREDENTIALS
23732
+ NO_SELLER
23733
+ NOT_FOUND
23734
+ OUT_OF_SCOPE_SERVICE_ACCOUNT
23735
+ OUT_OF_SCOPE_USER
23736
+ OUT_OF_SCOPE_GROUP
23737
+ OUT_OF_SCOPE_PERMISSION
23738
+ PASSWORD_ENTIRELY_NUMERIC
23739
+ PASSWORD_IDENTICAL
23740
+ PASSWORD_TOO_COMMON
23741
+ PASSWORD_TOO_SHORT
23742
+ PASSWORD_TOO_SIMILAR
23743
+ REQUIRED
23744
+ UNIQUE
23745
+ JWT_SIGNATURE_EXPIRED
23746
+ JWT_INVALID_TOKEN
23747
+ JWT_DECODE_ERROR
23748
+ JWT_MISSING_TOKEN
23749
+ JWT_INVALID_CSRF_TOKEN
23750
+ }
23751
+
24590
23752
  """Create authorization URL."""
24591
23753
  type AuthURLGenerate {
24592
23754
  """Generated auth URL for google login."""
@@ -24843,6 +24005,55 @@ type CustomerCreate {
24843
24005
  user: User
24844
24006
  }
24845
24007
 
24008
+ input UserCreateInput {
24009
+ """Billing address of the customer."""
24010
+ defaultBillingAddress: AddressInput
24011
+
24012
+ """Shipping address of the customer."""
24013
+ defaultShippingAddress: AddressInput
24014
+
24015
+ """Given name."""
24016
+ firstName: String
24017
+
24018
+ """Family name."""
24019
+ lastName: String
24020
+
24021
+ """The unique email address of the user."""
24022
+ email: String
24023
+
24024
+ """User account is active."""
24025
+ isActive: Boolean
24026
+
24027
+ """User is staff member."""
24028
+ isStaff: Boolean
24029
+
24030
+ """A note about the user."""
24031
+ note: String
24032
+
24033
+ """Only filled out if the account is a business account."""
24034
+ companyName: String
24035
+
24036
+ """Personal phone number."""
24037
+ personalPhone: String
24038
+
24039
+ """Password url"""
24040
+ passwordUrl: String
24041
+
24042
+ """Tax exempt code"""
24043
+ taxExemptCode: String
24044
+
24045
+ """List of custom fields."""
24046
+ customFields: [AttributeValueInput!]
24047
+
24048
+ """Marketplace VAT identification number"""
24049
+ vatIdentificationNumber: String
24050
+
24051
+ """
24052
+ URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
24053
+ """
24054
+ redirectUrl: String
24055
+ }
24056
+
24846
24057
  """Updates an existing customer."""
24847
24058
  type CustomerUpdate {
24848
24059
  accountErrors: [AccountError!]!
@@ -24871,9 +24082,6 @@ input CustomerInput {
24871
24082
  """User is staff member."""
24872
24083
  isStaff: Boolean
24873
24084
 
24874
- """User account is affiliate."""
24875
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24876
-
24877
24085
  """A note about the user."""
24878
24086
  note: String
24879
24087
 
@@ -24953,9 +24161,6 @@ input StaffCreateInput {
24953
24161
  """User is staff member."""
24954
24162
  isStaff: Boolean
24955
24163
 
24956
- """User account is affiliate."""
24957
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24958
-
24959
24164
  """A note about the user."""
24960
24165
  note: String
24961
24166
 
@@ -25008,9 +24213,6 @@ input StaffUpdateInput {
25008
24213
  """User is staff member."""
25009
24214
  isStaff: Boolean
25010
24215
 
25011
- """User account is affiliate."""
25012
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
25013
-
25014
24216
  """A note about the user."""
25015
24217
  note: String
25016
24218