@nautical-commerce/graphql-schema 1.57.0-4-g822d26d61 → 1.57.0-41-ge26ac9ead

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 +378 -1115
  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
 
@@ -4782,6 +4664,8 @@ input AttributeFilterInput {
4782
4664
  have NO variant or product associated to it
4783
4665
  """
4784
4666
  hasAssignedProductOrVariant: Boolean
4667
+ metadata: MetadataFilterInput
4668
+ privateMetadata: MetadataFilterInput
4785
4669
  showExternal: Boolean
4786
4670
  }
4787
4671
 
@@ -4960,7 +4844,6 @@ enum PermissionEnum {
4960
4844
  MANAGE_PAYOUTS
4961
4845
  MANAGE_PAYMENTS
4962
4846
  MANAGE_REFUNDS
4963
- MANAGE_CHANNELS
4964
4847
  MANAGE_COLLECTIONS
4965
4848
  }
4966
4849
 
@@ -5556,83 +5439,61 @@ enum SaleTypeEnum {
5556
5439
  SPECIFIC_PRODUCT
5557
5440
  }
5558
5441
 
5559
- """Represents an affiliate code"""
5560
- type AffiliateCodes implements Node {
5442
+ """Represents order fulfillment."""
5443
+ type Fulfillment implements Node & ObjectWithMetadata {
5561
5444
  """The ID of the object"""
5562
5445
  id: ID!
5563
- externalId: String
5564
- externalSource: String
5565
- externalInventoryId: String
5446
+ fulfillmentOrder: Int!
5447
+ relatedTo: Fulfillment
5448
+ order: Order!
5566
5449
 
5567
- """The id of the affiliate that the code belongs to"""
5568
- affiliate: User
5450
+ """Nautical order via order mapping"""
5451
+ nauticalOrder: NauticalOrder
5452
+ status: FulfillmentStatus!
5569
5453
 
5570
- """
5571
- Number of times the code has been submitted (this includes when the customer did not complete an order)
5572
- """
5573
- uses: Int
5454
+ """Fulfillment tracking company"""
5455
+ trackingCompany: String
5574
5456
 
5575
- """The new affiliate code"""
5576
- code: String
5457
+ """Fulfillment tracking number"""
5458
+ trackingNumber: String
5577
5459
 
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.")
5460
+ """Fulfillment tracking url"""
5461
+ trackingUrl: String
5462
+ shippingLabelUrl: String
5463
+ created: DateTime!
5464
+ updated: DateTime!
5580
5465
 
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
- }
5466
+ """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5467
+ user: User
5590
5468
 
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
- }
5469
+ """
5470
+ List of private metadata items.Requires proper staff permissions to access.
5471
+ """
5472
+ privateMetadata: [MetadataItem!]!
5603
5473
 
5604
- type AffiliateCodesCountableConnection {
5605
- """Pagination data for this connection."""
5606
- pageInfo: PageInfo!
5607
- edges: [AffiliateCodesCountableEdge!]!
5474
+ """List of public metadata items. Can be accessed without permissions."""
5475
+ metadata: [MetadataItem!]!
5608
5476
 
5609
- """A total count of items in the collection."""
5610
- totalCount: Int
5611
- }
5477
+ """List of lines for the fulfillment."""
5478
+ lines: [FulfillmentLine!]
5612
5479
 
5613
- type AffiliateCodesCountableEdge {
5614
- """The item at the end of the edge."""
5615
- node: AffiliateCodes!
5480
+ """Seller who made the fulfillment."""
5481
+ seller: Seller
5616
5482
 
5617
- """A cursor for use in pagination."""
5618
- cursor: String!
5619
- }
5483
+ """User-friendly fulfillment status."""
5484
+ statusDisplay: String
5620
5485
 
5621
- type NauticalOrderCountableConnection {
5622
- """Pagination data for this connection."""
5623
- pageInfo: PageInfo!
5624
- edges: [NauticalOrderCountableEdge!]!
5486
+ """Warehouse from fulfillment was fulfilled."""
5487
+ warehouse: Warehouse
5625
5488
 
5626
- """A total count of items in the collection."""
5627
- totalCount: Int
5628
- }
5489
+ """Sum of quantities across all lines."""
5490
+ totalLinesQuantity: Int
5629
5491
 
5630
- type NauticalOrderCountableEdge {
5631
- """The item at the end of the edge."""
5632
- node: NauticalOrder!
5492
+ """Total price across all quantities across all lines."""
5493
+ totalLinesMoney: Money!
5633
5494
 
5634
- """A cursor for use in pagination."""
5635
- cursor: String!
5495
+ """List of custom fields assigned to this fulfillment."""
5496
+ customFields: [SelectedAttribute!]!
5636
5497
  }
5637
5498
 
5638
5499
  """Represents a nautical order in the shop."""
@@ -5674,8 +5535,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5674
5535
  displayGrossPrices: Boolean!
5675
5536
  customerNote: String!
5676
5537
  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
5538
 
5680
5539
  """Data time when the order was imported from another platform."""
5681
5540
  importedAt: DateTime
@@ -5774,12 +5633,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5774
5633
 
5775
5634
  """Returns True, if order requires shipping."""
5776
5635
  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
5636
  shippingMethodName: String!
5784
5637
 
5785
5638
  """Latest bid made against the order."""
@@ -5875,32 +5728,42 @@ enum NauticalOrderSubStatus {
5875
5728
  OFFER_REJECTED
5876
5729
  }
5877
5730
 
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!
5731
+ enum OrderSubStatusEnum {
5732
+ """In Review"""
5733
+ IN_REVIEW
5885
5734
 
5886
- """Nautical order via order mapping"""
5887
- nauticalOrder: NauticalOrder
5888
- status: FulfillmentStatus!
5735
+ """Quote Requested"""
5736
+ QUOTE_REQUESTED
5889
5737
 
5890
- """Fulfillment tracking company"""
5891
- trackingCompany: String
5738
+ """Awaiting Payment"""
5739
+ AWAITING_PAYMENT
5892
5740
 
5893
- """Fulfillment tracking number"""
5894
- trackingNumber: String
5741
+ """Complete"""
5742
+ COMPLETE
5895
5743
 
5896
- """Fulfillment tracking url"""
5897
- trackingUrl: String
5898
- shippingLabelUrl: String
5899
- created: DateTime!
5900
- updated: DateTime!
5744
+ """Offer Approved"""
5745
+ OFFER_APPROVED
5901
5746
 
5902
- """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5903
- user: User
5747
+ """Offer Cancelled"""
5748
+ OFFER_CANCELLED
5749
+
5750
+ """Offer Created"""
5751
+ OFFER_CREATED
5752
+
5753
+ """Offer Expired"""
5754
+ OFFER_EXPIRED
5755
+
5756
+ """Offer Negotiating"""
5757
+ OFFER_NEGOTIATING
5758
+
5759
+ """Offer Rejected"""
5760
+ OFFER_REJECTED
5761
+ }
5762
+
5763
+ """Represents order line of particular order."""
5764
+ type OrderLine implements Node & ObjectWithMetadata {
5765
+ """The ID of the object"""
5766
+ id: ID!
5904
5767
 
5905
5768
  """
5906
5769
  List of private metadata items.Requires proper staff permissions to access.
@@ -5909,130 +5772,48 @@ type Fulfillment implements Node & ObjectWithMetadata {
5909
5772
 
5910
5773
  """List of public metadata items. Can be accessed without permissions."""
5911
5774
  metadata: [MetadataItem!]!
5775
+ isLinePriceOverridden: Boolean!
5776
+ unitPriceOverriddenNote: String
5777
+ note: String
5778
+ productName: String!
5779
+ variantName: String!
5780
+ productSku: String
5781
+ isShippingRequired: Boolean!
5782
+ quantityFulfilled: Int!
5783
+ quantityDeclined: Int!
5784
+ digitalContentUrl: DigitalContentUrl
5912
5785
 
5913
- """List of lines for the fulfillment."""
5914
- lines: [FulfillmentLine!]
5915
-
5916
- """Seller who made the fulfillment."""
5917
- seller: Seller
5786
+ """The seller order for this line"""
5787
+ order: Order!
5918
5788
 
5919
- """User-friendly fulfillment status."""
5920
- statusDisplay: String
5789
+ """The nautical order line for this seller order line"""
5790
+ nauticalOrderLine: NauticalOrderLine!
5921
5791
 
5922
- """Warehouse from fulfillment was fulfilled."""
5923
- warehouse: Warehouse
5792
+ """The main thumbnail for the ordered product."""
5793
+ thumbnail(
5794
+ """Size of thumbnail."""
5795
+ size: Int
5796
+ ): Image
5924
5797
 
5925
- """Sum of quantities across all lines."""
5926
- totalLinesQuantity: Int
5798
+ """Price of the single item in the order line."""
5799
+ unitPrice: TaxedMoney
5927
5800
 
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")
5801
+ """Price of the order line."""
5802
+ totalPrice: TaxedMoney
5930
5803
 
5931
- """Total price across all quantities across all lines."""
5932
- totalLinesMoney: Money!
5804
+ """
5805
+ A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
5806
+ """
5807
+ variant: ProductVariant
5933
5808
 
5934
- """List of custom fields assigned to this fulfillment."""
5935
- customFields: [SelectedAttribute!]!
5936
- }
5809
+ """Product name in the customer's language."""
5810
+ translatedProductName: String!
5937
5811
 
5938
- """An enumeration."""
5939
- enum FulfillmentStatus {
5940
- """Fulfilled"""
5941
- FULFILLED
5812
+ """Variant name in the customer's language."""
5813
+ translatedVariantName: String!
5942
5814
 
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!]
5815
+ """List of allocations across warehouses."""
5816
+ allocations: [Allocation!]
6036
5817
 
6037
5818
  """The pricebook, if any, that changed the price of this line."""
6038
5819
  priceBook: PriceBook
@@ -6406,38 +6187,6 @@ type ShippingZoneCountryArea implements Node {
6406
6187
  countryArea: CountryArea!
6407
6188
  }
6408
6189
 
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
6190
  enum OrderAction {
6442
6191
  """Represents the capture action."""
6443
6192
  CAPTURE
@@ -7187,6 +6936,50 @@ enum RefundTypeEnum {
7187
6936
  ORDERLINEREFUND
7188
6937
  }
7189
6938
 
6939
+ """An enumeration."""
6940
+ enum FulfillmentStatus {
6941
+ """Fulfilled"""
6942
+ FULFILLED
6943
+
6944
+ """Canceled"""
6945
+ CANCELED
6946
+
6947
+ """Returned"""
6948
+ RETURNED
6949
+
6950
+ """Declined"""
6951
+ DECLINED
6952
+
6953
+ """Return requested"""
6954
+ RETURN_REQUESTED
6955
+
6956
+ """Return authorized"""
6957
+ RETURN_AUTHORIZED
6958
+
6959
+ """Return declined"""
6960
+ RETURN_DECLINED
6961
+
6962
+ """Return received"""
6963
+ RETURN_RECEIVED
6964
+
6965
+ """Return complete"""
6966
+ RETURN_COMPLETE
6967
+
6968
+ """Return cancelled"""
6969
+ RETURN_CANCELLED
6970
+ }
6971
+
6972
+ """Represents line of the fulfillment."""
6973
+ type FulfillmentLine implements Node {
6974
+ """The ID of the object"""
6975
+ id: ID!
6976
+ quantity: Int!
6977
+ orderLine: OrderLine
6978
+
6979
+ """Reason customer requested item return."""
6980
+ returnReason: String
6981
+ }
6982
+
7190
6983
  """Extra fee associated with an order"""
7191
6984
  type OrderFee implements Node {
7192
6985
  """The ID of the object"""
@@ -7396,7 +7189,6 @@ type Agreement implements Node & ObjectWithMetadata {
7396
7189
  seoDescription: String
7397
7190
  slug: String!
7398
7191
  title: String!
7399
- vendorType: AgreementVendorType!
7400
7192
 
7401
7193
  """Commission type"""
7402
7194
  commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
@@ -7409,7 +7201,6 @@ type Agreement implements Node & ObjectWithMetadata {
7409
7201
  If a markup commission is selected, this is the amount of the commission.
7410
7202
  """
7411
7203
  markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7412
- agreementType: AgreementAgreementType!
7413
7204
  isActive: Boolean
7414
7205
 
7415
7206
  """List of granular commissions associated with the agreement."""
@@ -7428,15 +7219,6 @@ type Agreement implements Node & ObjectWithMetadata {
7428
7219
  metadata: [MetadataItem!]!
7429
7220
  }
7430
7221
 
7431
- """An enumeration."""
7432
- enum AgreementVendorType {
7433
- """Seller"""
7434
- SELLER
7435
-
7436
- """Affiliate"""
7437
- AFFILIATE
7438
- }
7439
-
7440
7222
  enum CommissionTypeEnum {
7441
7223
  """Gross Price Commission"""
7442
7224
  MARKETPLACE
@@ -7453,15 +7235,6 @@ enum MarkupCommissionTypeEnum {
7453
7235
  PERCENTAGE
7454
7236
  }
7455
7237
 
7456
- """An enumeration."""
7457
- enum AgreementAgreementType {
7458
- """Seller"""
7459
- A_1
7460
-
7461
- """Affiliate"""
7462
- A_2
7463
- }
7464
-
7465
7238
  """An agreement commission"""
7466
7239
  type AgreementCommission implements Node & ObjectWithMetadata {
7467
7240
  """The ID of the object"""
@@ -7539,7 +7312,6 @@ type Microsite implements Node & ObjectWithMetadata {
7539
7312
  name: String!
7540
7313
  slug: String!
7541
7314
  footerText: String
7542
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
7543
7315
  seller: Seller
7544
7316
 
7545
7317
  """
@@ -8252,7 +8024,6 @@ input CustomerOrderFilterInput {
8252
8024
  paymentStatus: [PaymentChargeStatusEnum!]
8253
8025
  status: [OrderStatusFilter!]
8254
8026
  customer: String
8255
- channel: String
8256
8027
  created: DateRangeInput
8257
8028
  metadata: MetadataFilterInput
8258
8029
  privateMetadata: MetadataFilterInput
@@ -8324,9 +8095,6 @@ enum OrderSortField {
8324
8095
  """Sort orders by fulfillment status."""
8325
8096
  FULFILLMENT_STATUS
8326
8097
 
8327
- """Sort orders by channel."""
8328
- CHANNEL
8329
-
8330
8098
  """Sort orders by total."""
8331
8099
  TOTAL
8332
8100
 
@@ -8340,11 +8108,27 @@ enum OrderSortField {
8340
8108
  EXTERNAL_SOURCE
8341
8109
  }
8342
8110
 
8111
+ type NauticalOrderCountableConnection {
8112
+ """Pagination data for this connection."""
8113
+ pageInfo: PageInfo!
8114
+ edges: [NauticalOrderCountableEdge!]!
8115
+
8116
+ """A total count of items in the collection."""
8117
+ totalCount: Int
8118
+ }
8119
+
8120
+ type NauticalOrderCountableEdge {
8121
+ """The item at the end of the edge."""
8122
+ node: NauticalOrder!
8123
+
8124
+ """A cursor for use in pagination."""
8125
+ cursor: String!
8126
+ }
8127
+
8343
8128
  input CustomerNauticalOrderFilterInput {
8344
8129
  paymentStatus: [PaymentChargeStatusEnum!]
8345
8130
  status: [OrderStatusFilter!]
8346
8131
  customer: String
8347
- channel: String
8348
8132
  created: DateRangeInput
8349
8133
  metadata: MetadataFilterInput
8350
8134
  privateMetadata: MetadataFilterInput
@@ -9608,6 +9392,8 @@ input CategoryFilterInput {
9608
9392
  search: String
9609
9393
  ids: [ID]
9610
9394
  customFields: [AttributeInput!]
9395
+ metadata: MetadataFilterInput
9396
+ privateMetadata: MetadataFilterInput
9611
9397
  }
9612
9398
 
9613
9399
  input CategorySortingInput {
@@ -9683,6 +9469,8 @@ input ProductTypeFilterInput {
9683
9469
  configurable: ProductTypeConfigurable
9684
9470
  ids: [ID]
9685
9471
  showExternal: Boolean
9472
+ metadata: MetadataFilterInput
9473
+ privateMetadata: MetadataFilterInput
9686
9474
  }
9687
9475
 
9688
9476
  enum ProductTypeEnum {
@@ -10837,11 +10625,9 @@ type OrderVendorSummaryType {
10837
10625
  average: Float
10838
10626
  taxes: Float
10839
10627
  discounts: Float
10840
- volumeDiscounts: Float
10841
10628
  revenue: Float
10842
10629
  totals: Int
10843
10630
  commission: Float
10844
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10845
10631
  payout: Float
10846
10632
  vendors: Int
10847
10633
  adjustments: Decimal
@@ -10858,11 +10644,9 @@ type OrderVendorReportType {
10858
10644
  average: Float
10859
10645
  taxes: Float
10860
10646
  discounts: Float
10861
- volumeDiscounts: Float
10862
10647
  revenue: Float
10863
10648
  totals: Int
10864
10649
  commission: Float
10865
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10866
10650
  payout: Float
10867
10651
  vendorId: Int
10868
10652
  vendor: Vendor
@@ -10888,11 +10672,9 @@ type SingleVendorReportType {
10888
10672
  average: Float
10889
10673
  taxes: Float
10890
10674
  discounts: Float
10891
- volumeDiscounts: Float
10892
10675
  revenue: Float
10893
10676
  totals: Int
10894
10677
  commission: Float
10895
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10896
10678
  payout: Decimal
10897
10679
  adjustments: Decimal
10898
10680
  penalties: Decimal
@@ -10913,11 +10695,9 @@ type SingleVendorSummaryType {
10913
10695
  average: Float
10914
10696
  taxes: Float
10915
10697
  discounts: Float
10916
- volumeDiscounts: Float
10917
10698
  revenue: Float
10918
10699
  totals: Int
10919
10700
  commission: Float
10920
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10921
10701
  payout: Float
10922
10702
  adjustments: Decimal
10923
10703
  penalties: Decimal
@@ -11054,7 +10834,6 @@ input OrderFilterInput {
11054
10834
  paymentStatus: [PaymentChargeStatusEnum!]
11055
10835
  status: [OrderStatusFilter!]
11056
10836
  customer: String
11057
- channel: String
11058
10837
  created: DateRangeInput
11059
10838
  metadata: MetadataFilterInput
11060
10839
  privateMetadata: MetadataFilterInput
@@ -11072,7 +10851,6 @@ input NauticalOrderFilterInput {
11072
10851
  paymentStatus: [PaymentChargeStatusEnum!]
11073
10852
  status: [OrderStatusFilter!]
11074
10853
  customer: String
11075
- channel: String
11076
10854
  created: DateRangeInput
11077
10855
  metadata: MetadataFilterInput
11078
10856
  privateMetadata: MetadataFilterInput
@@ -11085,7 +10863,6 @@ input NauticalOrderFilterInput {
11085
10863
 
11086
10864
  input OrderDraftFilterInput {
11087
10865
  customer: String
11088
- channel: String
11089
10866
  created: DateRangeInput
11090
10867
  metadata: MetadataFilterInput
11091
10868
  privateMetadata: MetadataFilterInput
@@ -11098,7 +10875,6 @@ input OrderDraftFilterInput {
11098
10875
 
11099
10876
  input NauticalOrderDraftFilterInput {
11100
10877
  customer: String
11101
- channel: String
11102
10878
  created: DateRangeInput
11103
10879
  metadata: MetadataFilterInput
11104
10880
  privateMetadata: MetadataFilterInput
@@ -11111,7 +10887,6 @@ input NauticalOrderDraftFilterInput {
11111
10887
 
11112
10888
  input NauticalOrderQuoteFilterInput {
11113
10889
  customer: String
11114
- channel: String
11115
10890
  created: DateRangeInput
11116
10891
  metadata: MetadataFilterInput
11117
10892
  privateMetadata: MetadataFilterInput
@@ -11130,7 +10905,6 @@ enum QuoteOrderSubStatusFilter {
11130
10905
 
11131
10906
  input OrderQuoteFilterInput {
11132
10907
  customer: String
11133
- channel: String
11134
10908
  created: DateRangeInput
11135
10909
  metadata: MetadataFilterInput
11136
10910
  privateMetadata: MetadataFilterInput
@@ -11255,7 +11029,6 @@ type MicrositeCountableEdge {
11255
11029
  input MicrositeFilterInput {
11256
11030
  published: MicrositePublished
11257
11031
  search: String
11258
- vendorType: MicrositeVendorType
11259
11032
  ids: [ID]
11260
11033
  metadata: MetadataFilterInput
11261
11034
  privateMetadata: MetadataFilterInput
@@ -11266,11 +11039,6 @@ enum MicrositePublished {
11266
11039
  HIDDEN
11267
11040
  }
11268
11041
 
11269
- enum MicrositeVendorType {
11270
- SELLER
11271
- AFFILIATE
11272
- }
11273
-
11274
11042
  input MicrositeSortingInput {
11275
11043
  """Specifies the direction in which to sort products."""
11276
11044
  direction: OrderDirection!
@@ -12109,9 +11877,9 @@ type EmailEvent implements Node {
12109
11877
  """
12110
11878
  date: DateTime!
12111
11879
  fromEmail: String!
12112
- toEmails: [String!]!
12113
- bccEmails: [String!]!
12114
- ccEmails: [String!]!
11880
+ toEmails: [String!]
11881
+ bccEmails: [String!]
11882
+ ccEmails: [String!]
12115
11883
  messageType: EmailEventMessageType!
12116
11884
 
12117
11885
  """Plugin id (Plugin.PLUGIN_ID attribute) of email plugin"""
@@ -12451,11 +12219,9 @@ type OrderSellerSummaryType {
12451
12219
  average: Float
12452
12220
  taxes: Float
12453
12221
  discounts: Float
12454
- volumeDiscounts: Float
12455
12222
  revenue: Float
12456
12223
  totals: Int
12457
12224
  commission: Float
12458
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12459
12225
  payout: Float
12460
12226
  sellers: Float
12461
12227
  }
@@ -12468,11 +12234,9 @@ type OrderCustomerReportType {
12468
12234
  average: Float
12469
12235
  taxes: Float
12470
12236
  discounts: Float
12471
- volumeDiscounts: Float
12472
12237
  revenue: Float
12473
12238
  totals: Int
12474
12239
  commission: Float
12475
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12476
12240
  payout: Float
12477
12241
  userId: Int
12478
12242
  user: User
@@ -12510,11 +12274,9 @@ type OrderSellerReportType {
12510
12274
  average: Float
12511
12275
  taxes: Float
12512
12276
  discounts: Float
12513
- volumeDiscounts: Float
12514
12277
  revenue: Float
12515
12278
  totals: Int
12516
12279
  commission: Float
12517
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12518
12280
  payout: Float
12519
12281
  sellerId: Int
12520
12282
  seller: Seller
@@ -12552,11 +12314,9 @@ type OrderMarketplaceReportType {
12552
12314
  average: Float
12553
12315
  taxes: Float
12554
12316
  discounts: Float
12555
- volumeDiscounts: Float
12556
12317
  revenue: Float
12557
12318
  totals: Int
12558
12319
  commission: Float
12559
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12560
12320
  payout: Float
12561
12321
  dimension: Date
12562
12322
  }
@@ -12593,65 +12353,6 @@ type InReportMarketplacePayoutsSummaryType {
12593
12353
  report: [OrderSellerReportType!]
12594
12354
  }
12595
12355
 
12596
- type InReportMarketplaceAffiliatePayoutsSummaryType {
12597
- """Category of the metric."""
12598
- category: String!
12599
-
12600
- """Title of the metric."""
12601
- title: String!
12602
-
12603
- """
12604
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12605
- """
12606
- columns: [ColumnObjectType!]
12607
-
12608
- """Info about applied filters."""
12609
- filters: [FilterObjectType!]
12610
-
12611
- """Total summary for selected period."""
12612
- summary: OrderAffiliateSummaryType!
12613
-
12614
- """
12615
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12616
- """
12617
- report: [OrderAffiliateReportType!]
12618
- }
12619
-
12620
- type OrderAffiliateSummaryType {
12621
- gross: Float
12622
- orders: Int
12623
- net: Float
12624
- shipping: Float
12625
- average: Float
12626
- taxes: Float
12627
- discounts: Float
12628
- volumeDiscounts: Float
12629
- revenue: Float
12630
- totals: Int
12631
- commission: Float
12632
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12633
- payout: Float
12634
- affiliates: Float
12635
- }
12636
-
12637
- type OrderAffiliateReportType {
12638
- gross: Float
12639
- orders: Int
12640
- net: Float
12641
- shipping: Float
12642
- average: Float
12643
- taxes: Float
12644
- discounts: Float
12645
- volumeDiscounts: Float
12646
- revenue: Float
12647
- totals: Int
12648
- commission: Float
12649
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12650
- payout: Float
12651
- affiliateId: Int
12652
- affiliate: User
12653
- }
12654
-
12655
12356
  type InReportMarketplaceTaxSummaryType {
12656
12357
  """Category of the metric."""
12657
12358
  category: String!
@@ -12684,11 +12385,9 @@ type AbstractOrderSellerReportType {
12684
12385
  average: Float
12685
12386
  taxes: Float
12686
12387
  discounts: Float
12687
- volumeDiscounts: Float
12688
12388
  revenue: Float
12689
12389
  totals: Int
12690
12390
  commission: Float
12691
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12692
12391
  payout: Float
12693
12392
  }
12694
12393
 
@@ -12700,11 +12399,9 @@ type MarketplaceTaxReportType {
12700
12399
  average: Float
12701
12400
  taxes: Float
12702
12401
  discounts: Float
12703
- volumeDiscounts: Float
12704
12402
  revenue: Float
12705
12403
  totals: Int
12706
12404
  commission: Float
12707
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12708
12405
  payout: Float
12709
12406
  dimension: Date
12710
12407
  }
@@ -12741,11 +12438,9 @@ type MarketplaceTaxReportByLocaleType {
12741
12438
  average: Float
12742
12439
  taxes: Float
12743
12440
  discounts: Float
12744
- volumeDiscounts: Float
12745
12441
  revenue: Float
12746
12442
  totals: Int
12747
12443
  commission: Float
12748
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12749
12444
  payout: Float
12750
12445
  billingAddress_Country: String
12751
12446
  billingAddress_CountryArea: String
@@ -12934,7 +12629,6 @@ type AbstractPercentReportType {
12934
12629
  average: Float
12935
12630
  taxes: Float
12936
12631
  discounts: Float
12937
- volumeDiscounts: Float
12938
12632
  revenue: Float
12939
12633
  totals: Float
12940
12634
  }
@@ -12953,11 +12647,9 @@ type DashboardSellerOrderPerformanceType {
12953
12647
  average: Float
12954
12648
  taxes: Float
12955
12649
  discounts: Float
12956
- volumeDiscounts: Float
12957
12650
  revenue: Float
12958
12651
  totals: Int
12959
12652
  commission: Float
12960
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12961
12653
  payout: Float
12962
12654
  sellerId: Int
12963
12655
  seller: Seller
@@ -12976,11 +12668,9 @@ type GraphDataType {
12976
12668
  average: Float
12977
12669
  taxes: Float
12978
12670
  discounts: Float
12979
- volumeDiscounts: Float
12980
12671
  revenue: Float
12981
12672
  totals: Int
12982
12673
  commission: Float
12983
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12984
12674
  payout: Float
12985
12675
  dimension: DateTime
12986
12676
  }
@@ -13492,48 +13182,9 @@ type CheckoutLineCountableEdge {
13492
13182
  cursor: String!
13493
13183
  }
13494
13184
 
13495
- type ChannelCountableConnection {
13496
- """Pagination data for this connection."""
13497
- pageInfo: PageInfo!
13498
- edges: [ChannelCountableEdge!]!
13499
-
13500
- """A total count of items in the collection."""
13501
- totalCount: Int
13502
- }
13503
-
13504
- type ChannelCountableEdge {
13505
- """The item at the end of the edge."""
13506
- node: Channel!
13507
-
13508
- """A cursor for use in pagination."""
13509
- cursor: String!
13510
- }
13511
-
13512
- input ChannelFilterInput {
13513
- search: String
13514
- createdAt: DateTime
13515
- created: DateRangeInput
13516
- }
13517
-
13518
- input ChannelSortingInput {
13519
- """Specifies the direction in which to sort products."""
13520
- direction: OrderDirection!
13521
-
13522
- """Sort channels by the selected field."""
13523
- field: ChannelSortField!
13524
- }
13525
-
13526
- enum ChannelSortField {
13527
- """Sort channels by channel."""
13528
- CHANNEL
13529
-
13530
- """Sort channels by created at."""
13531
- CREATED_AT
13532
- }
13533
-
13534
- input AttributeSortingInput {
13535
- """Specifies the direction in which to sort products."""
13536
- direction: OrderDirection!
13185
+ input AttributeSortingInput {
13186
+ """Specifies the direction in which to sort products."""
13187
+ direction: OrderDirection!
13537
13188
 
13538
13189
  """Sort attributes by the selected field."""
13539
13190
  field: AttributeSortField!
@@ -13690,50 +13341,6 @@ input AgreementFilterInput {
13690
13341
  search: String
13691
13342
  }
13692
13343
 
13693
- input AffiliateFilterInput {
13694
- dateJoined: DateRangeInput
13695
- moneySpent: PriceRangeInput
13696
- numberOfOrders: IntRangeInput
13697
- placedOrders: DateRangeInput
13698
- search: String
13699
- }
13700
-
13701
- type OptimizedAffiliate {
13702
- affiliate: User
13703
- channels: [OptimizedAffiliateChannels!] @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13704
- topCodes: [AffiliateCodes!]
13705
- agreement: Agreement
13706
- }
13707
-
13708
- type OptimizedAffiliateChannels {
13709
- channelName: String
13710
- totalReferrals: Int
13711
- }
13712
-
13713
- input AffiliateCodeFilterInput {
13714
- search: String
13715
- isActive: Boolean
13716
- }
13717
-
13718
- input AffiliateCodeSortingInput {
13719
- """Specifies the direction in which to sort products."""
13720
- direction: OrderDirection!
13721
-
13722
- """Sort affiliate_codes by the selected field."""
13723
- field: AffiliateCodeSortField!
13724
- }
13725
-
13726
- enum AffiliateCodeSortField {
13727
- """Sort affiliate codes by code."""
13728
- CODE
13729
-
13730
- """Sort affiliate codes by status."""
13731
- STATUS
13732
-
13733
- """Sort affiliate codes by referrals."""
13734
- REFERRALS
13735
- }
13736
-
13737
13344
  type AddressValidationData {
13738
13345
  countryCode: String
13739
13346
  countryName: String
@@ -13849,7 +13456,7 @@ type Mutation {
13849
13456
  description: String
13850
13457
 
13851
13458
  """
13852
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/pdf, image/x-eps, application/dxf, image/bmp, image/dxf, image/eps, image/heic, image/tiff, application/svg+xml, application/postscript, application/x-autocad, text/pdf, application/x-rtf, text/x-comma-separated-values, text/svg-xml, image/x-tif, application/vnd.oasis.opendocument.text, image/gif, application/rtf, text/plain, application/x-dxf, application/vnd.ms-excel, application/gzipped, application/x-gzip, pplication/vnd.rar, image/x-bmp, application/jpg, application/x-rar, image/heic-sequence, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/csv, application/x-tif, image/x-dxf, image/vnd.dwg, application/vnd.pdf, application/vnd.oasis.opendocument.spreadsheet, application/x-eps, image/jpeg, application/x-tar, application/msword, application/x-jpg, image/png, image/heif, text/svg, image/svg, application/vnd.ms-powerpoint, application/x-dwg, drawing/x-dwg, text/x-csv, text/x-pdf, application/eps, text/rtf, application/tiff, application/tif, application/gzip, application/acad, drawing/dwg, text/comma-separated-values, application/acrobat, image/tif, text/csv, application/vnd.oasis.opendocument.presentation, image/webp, application/x-pdf, image/x-tiff, application/x-acad, application/x-csv, application/x-zip-compressed, application/dwg, application/zip, application/gzip-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document, drawing/x-dwf, image/x-ms-bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/excel, image/svg+xml, application/x-tiff, image/x-dwg, application/x-rar-compressed, image/jpg, application/vnd.ms-word, image/heif-sequence.
13459
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/x-dwg, application/x-tar, image/x-bmp, image/webp, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-tif, application/gzip-compressed, image/tiff, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/msword, application/x-tif, application/dxf, image/svg, application/csv, image/heif, application/acrobat, image/x-eps, pplication/vnd.rar, application/vnd.ms-excel, text/x-csv, image/jpeg, text/csv, image/tif, application/postscript, application/jpg, application/x-tiff, application/x-autocad, text/svg-xml, application/x-zip-compressed, application/dwg, text/comma-separated-values, image/gif, image/x-dxf, application/tif, text/pdf, application/gzip, text/svg, application/eps, application/x-dwg, image/bmp, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.text, application/rtf, application/x-dxf, image/x-tiff, application/vnd.oasis.opendocument.presentation, text/x-pdf, application/x-eps, application/excel, application/vnd.pdf, application/tiff, application/x-gzip, image/dxf, application/x-acad, image/jpg, application/x-pdf, image/eps, application/svg+xml, application/zip, image/x-ms-bmp, image/heic-sequence, application/acad, application/vnd.oasis.opendocument.spreadsheet, application/x-csv, application/vnd.ms-powerpoint, drawing/x-dwf, application/x-rtf, application/gzipped, image/heic, application/x-jpg, application/vnd.ms-word, text/x-comma-separated-values, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/plain, image/heif-sequence, text/rtf, application/x-rar, drawing/dwg, image/vnd.dwg, drawing/x-dwg, application/pdf, image/png, image/svg+xml.
13853
13460
  """
13854
13461
  file: Upload!
13855
13462
 
@@ -13925,48 +13532,6 @@ type Mutation {
13925
13532
  """
13926
13533
  updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
13927
13534
 
13928
- """Creates a new channel"""
13929
- channelCreate(
13930
- """Fields required to create a channel."""
13931
- input: ChannelInput
13932
- ): ChannelCreate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13933
-
13934
- """Updates a channel."""
13935
- channelUpdate(
13936
- """ID of a channel to update."""
13937
- id: ID!
13938
-
13939
- """Fields required to update a channel."""
13940
- input: ChannelInput!
13941
- ): ChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13942
-
13943
- """Updates an order channel"""
13944
- orderChannelUpdate(
13945
- """ID of the channel to associate with the order"""
13946
- channel: ID
13947
-
13948
- """ID of the order to update channel for"""
13949
- id: ID!
13950
- ): OrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13951
-
13952
- """Updates a marketplace order channel."""
13953
- nauticalOrderChannelUpdate(
13954
- """ID of the channel to associate with the marketplace order"""
13955
- channel: ID
13956
-
13957
- """ID of the marketplace order to update channel for"""
13958
- id: ID!
13959
- ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13960
-
13961
- """Updates an affiliate code channel"""
13962
- affiliateCodeChannelUpdate(
13963
- """ID of the channel to associate with the affiliate code"""
13964
- channel: ID
13965
-
13966
- """ID of the affiliate code to update channel for"""
13967
- id: ID!
13968
- ): AffiliateCodeChannelUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
13969
-
13970
13535
  """Updates marketplace configuration."""
13971
13536
  marketplaceConfigurationUpdate(
13972
13537
  """Fields required to update marketplace configuration."""
@@ -14245,70 +13810,6 @@ type Mutation {
14245
13810
  input: MicrositeInput!
14246
13811
  ): MicrositeUpdate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
14247
13812
 
14248
- """Creates a new affiliate code"""
14249
- affiliateCodeCreate(
14250
- """Fields required to create an affiliate code."""
14251
- input: AffiliateCodeCreateInput
14252
- ): AffiliateCodeCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14253
-
14254
- """Increments affiliate code uses"""
14255
- affiliateCodeUse(
14256
- """Affiliate code to increment use for"""
14257
- code: String
14258
- ): AffiliateCodeUse @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14259
-
14260
- """Sets whether code is active"""
14261
- affiliateCodeSetActive(
14262
- """Whether the code is active or not"""
14263
- isActive: Boolean
14264
- ): AffiliateCodeSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14265
-
14266
- """Activate or deactivate affiliate codes."""
14267
- affiliateCodeBulkSetActive(
14268
- """List of code IDs to (de)activate)."""
14269
- ids: [ID!]!
14270
-
14271
- """Determine if codes will be set active or not."""
14272
- isActive: Boolean!
14273
- ): AffiliateCodeBulkSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14274
-
14275
- """
14276
- 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
14277
- """
14278
- affiliateAvatarUpdate(
14279
- affiliate: ID
14280
-
14281
- """Represents an image file in a multipart request."""
14282
- image: Upload!
14283
- ): AffiliateAvatarUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14284
-
14285
- """Creates a new affiliate."""
14286
- affiliateCreate(
14287
- """Fields required to create a affiliate."""
14288
- input: UserCreateInput!
14289
- ): AffiliateCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14290
-
14291
- """Updates an existing affiliate."""
14292
- affiliateUpdate(
14293
- """ID of a affiliate to update."""
14294
- id: ID!
14295
-
14296
- """Fields required to update a affiliate."""
14297
- input: AffiliateInput!
14298
- ): AffiliateUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14299
-
14300
- """Deletes a affiliate."""
14301
- affiliateDelete(
14302
- """ID of a affiliate to delete."""
14303
- id: ID!
14304
- ): AffiliateDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14305
-
14306
- """Deletes affiliates."""
14307
- affiliateBulkDelete(
14308
- """List of user IDs to delete."""
14309
- ids: [ID!]!
14310
- ): AffiliateBulkDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14311
-
14312
13813
  """Creates a new agreement."""
14313
13814
  agreementCreate(
14314
13815
  """Fields required to create a agreement."""
@@ -15514,9 +15015,6 @@ type Mutation {
15514
15015
 
15515
15016
  """Completes creating an order."""
15516
15017
  draftOrderComplete(
15517
- """ID of the channel to attach the order to"""
15518
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15519
-
15520
15018
  """ID of the order that will be completed."""
15521
15019
  id: ID!
15522
15020
 
@@ -15531,9 +15029,6 @@ type Mutation {
15531
15029
 
15532
15030
  """Completes creating an order."""
15533
15031
  nauticalDraftOrderComplete(
15534
- """ID of the channel to attach to nautical order"""
15535
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15536
-
15537
15032
  """
15538
15033
  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.
15539
15034
  """
@@ -16325,7 +15820,7 @@ type Mutation {
16325
15820
  """
16326
15821
  Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
16327
15822
  """
16328
- vendorType: String!
15823
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
16329
15824
  ): VendorPayoutOnboardingLinkRequest
16330
15825
 
16331
15826
  """
@@ -16478,14 +15973,11 @@ type Mutation {
16478
15973
  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.
16479
15974
  """
16480
15975
  checkoutComplete(
16481
- """ID of affiliate code used for checkout completion"""
16482
- affiliate: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
16483
-
16484
15976
  """Checkout ID."""
16485
15977
  checkoutId: ID!
16486
15978
 
16487
15979
  """ID of microsite that checkout was completed from"""
16488
- microsite: ID
15980
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
16489
15981
 
16490
15982
  """Client-side generated data required to finalize the payment."""
16491
15983
  paymentData: JSONString
@@ -16512,7 +16004,6 @@ type Mutation {
16512
16004
  Determines whether the email sent out is catered to carriers instead of customers
16513
16005
  """
16514
16006
  vehicles: Boolean = false
16515
- volumeDiscount: Float!
16516
16007
  ): CheckoutComplete
16517
16008
 
16518
16009
  """
@@ -17485,71 +16976,6 @@ type PeriodicTaskEnabledUpdate {
17485
16976
  task: WebhookPeriodicTask
17486
16977
  }
17487
16978
 
17488
- """Creates a new channel"""
17489
- type ChannelCreate {
17490
- channelErrors: [ChannelError!]!
17491
- channel: Channel
17492
- }
17493
-
17494
- type ChannelError {
17495
- """
17496
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17497
- """
17498
- field: String
17499
-
17500
- """The error message."""
17501
- message: String!
17502
-
17503
- """The error code."""
17504
- code: ChannelErrorCode!
17505
- }
17506
-
17507
- """An enumeration."""
17508
- enum ChannelErrorCode {
17509
- GRAPHQL_ERROR
17510
- INVALID
17511
- NOT_FOUND
17512
- REQUIRED
17513
- UNIQUE
17514
- JWT_SIGNATURE_EXPIRED
17515
- JWT_INVALID_TOKEN
17516
- JWT_DECODE_ERROR
17517
- JWT_MISSING_TOKEN
17518
- JWT_INVALID_CSRF_TOKEN
17519
- }
17520
-
17521
- input ChannelInput {
17522
- """Name of the channel."""
17523
- channel: String
17524
- }
17525
-
17526
- """Updates a channel."""
17527
- type ChannelUpdate {
17528
- channelErrors: [ChannelError!]!
17529
- channel: Channel
17530
- }
17531
-
17532
- """Updates an order channel"""
17533
- type OrderChannelUpdate {
17534
- """Updated order instance"""
17535
- order: Order
17536
- channelErrors: [ChannelError!]!
17537
- }
17538
-
17539
- """Updates a marketplace order channel."""
17540
- type NauticalOrderChannelUpdate {
17541
- """Updated marketplace order instance"""
17542
- order: NauticalOrder
17543
- channelErrors: [ChannelError!]!
17544
- }
17545
-
17546
- """Updates an affiliate code channel"""
17547
- type AffiliateCodeChannelUpdate {
17548
- """Updated affiliate code instance"""
17549
- affiliateCode: AffiliateCodes
17550
- channelErrors: [ChannelError!]!
17551
- }
17552
-
17553
16979
  """Updates marketplace configuration."""
17554
16980
  type MarketplaceConfigurationUpdate {
17555
16981
  """Updated marketplace configuration."""
@@ -17740,7 +17166,7 @@ enum PayoutErrorCode {
17740
17166
 
17741
17167
  input PayoutCreateInput {
17742
17168
  """Vendor type for the payout"""
17743
- vendorType: String!
17169
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
17744
17170
 
17745
17171
  """
17746
17172
  Payout end date. ISO 8601 standard. Can not be greater than current date.
@@ -18123,365 +17549,79 @@ type MicrositeReorderProducts {
18123
17549
  micrositeErrors: [ProductError!]!
18124
17550
  }
18125
17551
 
18126
- input MoveProductInput {
18127
- """The ID of the product to move."""
18128
- productId: ID!
18129
-
18130
- """
18131
- 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.
18132
- """
18133
- sortOrder: Int
18134
- }
18135
-
18136
- """Deletes microsites."""
18137
- type MicrositeBulkDelete {
18138
- """Returns how many objects were affected."""
18139
- count: Int!
18140
- micrositeErrors: [ProductError!]!
18141
- }
18142
-
18143
- """Publish microsites."""
18144
- type MicrositeBulkPublish {
18145
- """Returns how many objects were affected."""
18146
- count: Int!
18147
- micrositeErrors: [ProductError!]!
18148
- }
18149
-
18150
- """Remove products from a microsite."""
18151
- type MicrositeRemoveProducts {
18152
- """Microsite from which products will be removed."""
18153
- microsite: Microsite
18154
- micrositeErrors: [ProductError!]!
18155
- }
18156
-
18157
- """Updates a microsite."""
18158
- type MicrositeUpdate {
18159
- micrositeErrors: [ProductError!]!
18160
- microsite: Microsite
18161
- }
18162
-
18163
- input MicrositeInput {
18164
- """Informs whether a microsite is published."""
18165
- isPublished: Boolean
18166
-
18167
- """Name of the microsite."""
18168
- name: String
18169
-
18170
- """Text to appear in footer of microsite."""
18171
- footerText: String
18172
-
18173
- """Slug of the microsite."""
18174
- slug: String
18175
-
18176
- """Description of the microsite (plaintext, deprecated for input)."""
18177
- description: String
18178
-
18179
- """Description of the microsite (HTML)."""
18180
- descriptionHtml: String
18181
-
18182
- """Banner image file."""
18183
- bannerImage: Upload
18184
-
18185
- """Alt text for an image."""
18186
- bannerImageAlt: String
18187
-
18188
- """Logo image file."""
18189
- logoImage: Upload
18190
-
18191
- """Alt text for an image."""
18192
- logoImageAlt: String
18193
-
18194
- """Search engine optimization fields."""
18195
- seo: SeoInput
18196
-
18197
- """Publication date. ISO 8601 standard."""
18198
- publicationDate: Date
18199
- }
18200
-
18201
- """Creates a new affiliate code"""
18202
- type AffiliateCodeCreate {
18203
- affiliateErrors: [AffiliateError!]!
18204
- affiliateCodes: AffiliateCodes
18205
- }
18206
-
18207
- type AffiliateError {
18208
- """
18209
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18210
- """
18211
- field: String
18212
-
18213
- """The error message."""
18214
- message: String!
18215
-
18216
- """The error code."""
18217
- code: AffiliateErrorCode!
18218
- }
18219
-
18220
- """An enumeration."""
18221
- enum AffiliateErrorCode {
18222
- UNIQUE
18223
- REQUIRED
18224
- NOT_FOUND
18225
- }
18226
-
18227
- input AffiliateCodeCreateInput {
18228
- """The id of the affiliate that the code belongs to"""
18229
- affiliate: ID!
18230
-
18231
- """The new affiliate code"""
18232
- code: String
18233
-
18234
- """ID of the channel code is used for"""
18235
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
18236
- }
18237
-
18238
- """Increments affiliate code uses"""
18239
- type AffiliateCodeUse {
18240
- affiliateErrors: [AffiliateError!]!
18241
- affiliateCodes: AffiliateCodes
18242
- }
18243
-
18244
- """Sets whether code is active"""
18245
- type AffiliateCodeSetActive {
18246
- affiliateErrors: [AffiliateError!]!
18247
- affiliateCodes: AffiliateCodes
18248
- }
18249
-
18250
- """Activate or deactivate affiliate codes."""
18251
- type AffiliateCodeBulkSetActive {
18252
- """Returns how many objects were affected."""
18253
- count: Int!
18254
- codeErrors: [AccountError!]!
18255
- }
18256
-
18257
- type AccountError {
18258
- """
18259
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18260
- """
18261
- field: String
18262
-
18263
- """The error message."""
18264
- message: String!
18265
-
18266
- """The error code."""
18267
- code: AccountErrorCode!
18268
- }
18269
-
18270
- """An enumeration."""
18271
- enum AccountErrorCode {
18272
- ACTIVATE_OWN_ACCOUNT
18273
- ACTIVATE_SUPERUSER_ACCOUNT
18274
- ACCOUNT_NOT_ACTIVE
18275
- ATTRIBUTE_CANNOT_BE_ASSIGNED
18276
- DUPLICATED_INPUT_ITEM
18277
- DEACTIVATE_OWN_ACCOUNT
18278
- DEACTIVATE_SUPERUSER_ACCOUNT
18279
- DELETE_NON_STAFF_USER
18280
- DELETE_OWN_ACCOUNT
18281
- DELETE_STAFF_ACCOUNT
18282
- DELETE_SUPERUSER_ACCOUNT
18283
- GRAPHQL_ERROR
18284
- INVALID
18285
- INVALID_PHONE
18286
- INVALID_PASSWORD
18287
- LEFT_NOT_MANAGEABLE_PERMISSION
18288
- MUST_CHOOSE_PERMISSION_GROUP
18289
- INVALID_CREDENTIALS
18290
- NO_SELLER
18291
- NOT_FOUND
18292
- OUT_OF_SCOPE_SERVICE_ACCOUNT
18293
- OUT_OF_SCOPE_USER
18294
- OUT_OF_SCOPE_GROUP
18295
- OUT_OF_SCOPE_PERMISSION
18296
- PASSWORD_ENTIRELY_NUMERIC
18297
- PASSWORD_IDENTICAL
18298
- PASSWORD_TOO_COMMON
18299
- PASSWORD_TOO_SHORT
18300
- PASSWORD_TOO_SIMILAR
18301
- REQUIRED
18302
- UNIQUE
18303
- JWT_SIGNATURE_EXPIRED
18304
- JWT_INVALID_TOKEN
18305
- JWT_DECODE_ERROR
18306
- JWT_MISSING_TOKEN
18307
- JWT_INVALID_CSRF_TOKEN
18308
- }
18309
-
18310
- """
18311
- 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
18312
- """
18313
- type AffiliateAvatarUpdate {
18314
- """An updated affiliate instance."""
18315
- affiliate: User
18316
- accountErrors: [AccountError!]!
18317
- }
18318
-
18319
- """Creates a new affiliate."""
18320
- type AffiliateCreate {
18321
- accountErrors: [AccountError!]!
18322
- user: User
18323
- }
18324
-
18325
- input UserCreateInput {
18326
- """Billing address of the customer."""
18327
- defaultBillingAddress: AddressInput
18328
-
18329
- """Shipping address of the customer."""
18330
- defaultShippingAddress: AddressInput
18331
-
18332
- """Given name."""
18333
- firstName: String
18334
-
18335
- """Family name."""
18336
- lastName: String
18337
-
18338
- """The unique email address of the user."""
18339
- email: String
18340
-
18341
- """User account is active."""
18342
- isActive: Boolean
18343
-
18344
- """User is staff member."""
18345
- isStaff: Boolean
18346
-
18347
- """User account is affiliate."""
18348
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18349
-
18350
- """A note about the user."""
18351
- note: String
18352
-
18353
- """Only filled out if the account is a business account."""
18354
- companyName: String
18355
-
18356
- """Personal phone number."""
18357
- personalPhone: String
18358
-
18359
- """Password url"""
18360
- passwordUrl: String
18361
-
18362
- """Tax exempt code"""
18363
- taxExemptCode: String
18364
-
18365
- """List of custom fields."""
18366
- customFields: [AttributeValueInput!]
18367
-
18368
- """Marketplace VAT identification number"""
18369
- vatIdentificationNumber: String
18370
-
18371
- """
18372
- URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
18373
- """
18374
- redirectUrl: String
18375
- }
18376
-
18377
- input AttributeValueInput {
18378
- """ID of the selected attribute."""
18379
- id: ID
18380
-
18381
- """
18382
- The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
18383
- """
18384
- values: [String!]
18385
-
18386
- """
18387
- Value representation of the attribute value (e.g. color value for swatch attributes).
18388
- """
18389
- value: String
18390
-
18391
- """Date and time representation of attribute value."""
18392
- dateTime: DateTime
18393
-
18394
- """Supports attribute values with long text (plain text)."""
18395
- plainText: String
18396
-
18397
- """Supports attribute values with long text (html)."""
18398
- richText: String
18399
-
18400
- """Numeric value to support money or numeric attribute values."""
18401
- amount: Decimal
18402
-
18403
- """Currency to support money attribute values."""
18404
- currency: String
17552
+ input MoveProductInput {
17553
+ """The ID of the product to move."""
17554
+ productId: ID!
18405
17555
 
18406
17556
  """
18407
- Supports attribute values to reference any other nautical object (should be base64 ID)
17557
+ 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.
18408
17558
  """
18409
- reference: String
18410
-
18411
- """Supports boolean attribute values."""
18412
- boolean: Boolean
18413
-
18414
- """Supports file type attribute values."""
18415
- file: Upload
18416
-
18417
- """URL type to support external links as attribute values."""
18418
- fileUrl: String
17559
+ sortOrder: Int
18419
17560
  }
18420
17561
 
18421
- """Updates an existing affiliate."""
18422
- type AffiliateUpdate {
18423
- accountErrors: [AccountError!]!
18424
- user: User
17562
+ """Deletes microsites."""
17563
+ type MicrositeBulkDelete {
17564
+ """Returns how many objects were affected."""
17565
+ count: Int!
17566
+ micrositeErrors: [ProductError!]!
18425
17567
  }
18426
17568
 
18427
- input AffiliateInput {
18428
- """Billing address of the customer."""
18429
- defaultBillingAddress: AddressInput
18430
-
18431
- """Shipping address of the customer."""
18432
- defaultShippingAddress: AddressInput
18433
-
18434
- """Given name."""
18435
- firstName: String
17569
+ """Publish microsites."""
17570
+ type MicrositeBulkPublish {
17571
+ """Returns how many objects were affected."""
17572
+ count: Int!
17573
+ micrositeErrors: [ProductError!]!
17574
+ }
18436
17575
 
18437
- """Family name."""
18438
- lastName: String
17576
+ """Remove products from a microsite."""
17577
+ type MicrositeRemoveProducts {
17578
+ """Microsite from which products will be removed."""
17579
+ microsite: Microsite
17580
+ micrositeErrors: [ProductError!]!
17581
+ }
18439
17582
 
18440
- """The unique email address of the user."""
18441
- email: String
17583
+ """Updates a microsite."""
17584
+ type MicrositeUpdate {
17585
+ micrositeErrors: [ProductError!]!
17586
+ microsite: Microsite
17587
+ }
18442
17588
 
18443
- """User account is active."""
18444
- isActive: Boolean
17589
+ input MicrositeInput {
17590
+ """Informs whether a microsite is published."""
17591
+ isPublished: Boolean
18445
17592
 
18446
- """User is staff member."""
18447
- isStaff: Boolean
17593
+ """Name of the microsite."""
17594
+ name: String
18448
17595
 
18449
- """User account is affiliate."""
18450
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
17596
+ """Text to appear in footer of microsite."""
17597
+ footerText: String
18451
17598
 
18452
- """A note about the user."""
18453
- note: String
17599
+ """Slug of the microsite."""
17600
+ slug: String
18454
17601
 
18455
- """Only filled out if the account is a business account."""
18456
- companyName: String
17602
+ """Description of the microsite (plaintext, deprecated for input)."""
17603
+ description: String
18457
17604
 
18458
- """Personal phone number."""
18459
- personalPhone: String
17605
+ """Description of the microsite (HTML)."""
17606
+ descriptionHtml: String
18460
17607
 
18461
- """Password url"""
18462
- passwordUrl: String
17608
+ """Banner image file."""
17609
+ bannerImage: Upload
18463
17610
 
18464
- """Tax exempt code"""
18465
- taxExemptCode: String
17611
+ """Alt text for an image."""
17612
+ bannerImageAlt: String
18466
17613
 
18467
- """List of custom fields."""
18468
- customFields: [AttributeValueInput!]
17614
+ """Logo image file."""
17615
+ logoImage: Upload
18469
17616
 
18470
- """ID of the plan to assign affiliate to."""
18471
- plan: ID
18472
- }
17617
+ """Alt text for an image."""
17618
+ logoImageAlt: String
18473
17619
 
18474
- """Deletes a affiliate."""
18475
- type AffiliateDelete {
18476
- accountErrors: [AccountError!]!
18477
- user: User
18478
- }
17620
+ """Search engine optimization fields."""
17621
+ seo: SeoInput
18479
17622
 
18480
- """Deletes affiliates."""
18481
- type AffiliateBulkDelete {
18482
- """Returns how many objects were affected."""
18483
- count: Int!
18484
- affiliateErrors: [AccountError!]!
17623
+ """Publication date. ISO 8601 standard."""
17624
+ publicationDate: Date
18485
17625
  }
18486
17626
 
18487
17627
  """Creates a new agreement."""
@@ -18545,9 +17685,6 @@ input AgreementInput {
18545
17685
  """Last update date. ISO 8601 standard."""
18546
17686
  updatedAt: String
18547
17687
 
18548
- """Seller or Affiliate"""
18549
- vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18550
-
18551
17688
  """Gross Price, Markup, Absolute etc"""
18552
17689
  commissionType: CommissionTypeEnum
18553
17690
 
@@ -18558,14 +17695,6 @@ input AgreementInput {
18558
17695
  markupCommissionValue: Decimal
18559
17696
  }
18560
17697
 
18561
- enum VendorTypeEnum {
18562
- """Seller"""
18563
- SELLER
18564
-
18565
- """Affiliate"""
18566
- AFFILIATE
18567
- }
18568
-
18569
17698
  """Deletes a agreement."""
18570
17699
  type AgreementDelete {
18571
17700
  agreementErrors: [AgreementError!]!
@@ -20342,6 +19471,50 @@ input CategoryInput {
20342
19471
  customFields: [AttributeValueInput!]
20343
19472
  }
20344
19473
 
19474
+ input AttributeValueInput {
19475
+ """ID of the selected attribute."""
19476
+ id: ID
19477
+
19478
+ """
19479
+ The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
19480
+ """
19481
+ values: [String!]
19482
+
19483
+ """
19484
+ Value representation of the attribute value (e.g. color value for swatch attributes).
19485
+ """
19486
+ value: String
19487
+
19488
+ """Date and time representation of attribute value."""
19489
+ dateTime: DateTime
19490
+
19491
+ """Supports attribute values with long text (plain text)."""
19492
+ plainText: String
19493
+
19494
+ """Supports attribute values with long text (html)."""
19495
+ richText: String
19496
+
19497
+ """Numeric value to support money or numeric attribute values."""
19498
+ amount: Decimal
19499
+
19500
+ """Currency to support money attribute values."""
19501
+ currency: String
19502
+
19503
+ """
19504
+ Supports attribute values to reference any other nautical object (should be base64 ID)
19505
+ """
19506
+ reference: String
19507
+
19508
+ """Supports boolean attribute values."""
19509
+ boolean: Boolean
19510
+
19511
+ """Supports file type attribute values."""
19512
+ file: Upload
19513
+
19514
+ """URL type to support external links as attribute values."""
19515
+ fileUrl: String
19516
+ }
19517
+
20345
19518
  """Deletes a category."""
20346
19519
  type CategoryDelete {
20347
19520
  productErrors: [ProductError!]!
@@ -22077,9 +21250,6 @@ input NauticalHistoricalOrderInput {
22077
21250
  lines: [HistoricalOrderLineInput!]
22078
21251
  seller: ID
22079
21252
 
22080
- """ID of the channel to attach the order to"""
22081
- channel: ID
22082
-
22083
21253
  """Created date time of historical order in ISO 8601 format."""
22084
21254
  created: DateTime
22085
21255
 
@@ -24532,6 +23702,59 @@ type CreateToken {
24532
23702
  accountErrors: [AccountError!]!
24533
23703
  }
24534
23704
 
23705
+ type AccountError {
23706
+ """
23707
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
23708
+ """
23709
+ field: String
23710
+
23711
+ """The error message."""
23712
+ message: String!
23713
+
23714
+ """The error code."""
23715
+ code: AccountErrorCode!
23716
+ }
23717
+
23718
+ """An enumeration."""
23719
+ enum AccountErrorCode {
23720
+ ACTIVATE_OWN_ACCOUNT
23721
+ ACTIVATE_SUPERUSER_ACCOUNT
23722
+ ACCOUNT_NOT_ACTIVE
23723
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
23724
+ DUPLICATED_INPUT_ITEM
23725
+ DEACTIVATE_OWN_ACCOUNT
23726
+ DEACTIVATE_SUPERUSER_ACCOUNT
23727
+ DELETE_NON_STAFF_USER
23728
+ DELETE_OWN_ACCOUNT
23729
+ DELETE_STAFF_ACCOUNT
23730
+ DELETE_SUPERUSER_ACCOUNT
23731
+ GRAPHQL_ERROR
23732
+ INVALID
23733
+ INVALID_PHONE
23734
+ INVALID_PASSWORD
23735
+ LEFT_NOT_MANAGEABLE_PERMISSION
23736
+ MUST_CHOOSE_PERMISSION_GROUP
23737
+ INVALID_CREDENTIALS
23738
+ NO_SELLER
23739
+ NOT_FOUND
23740
+ OUT_OF_SCOPE_SERVICE_ACCOUNT
23741
+ OUT_OF_SCOPE_USER
23742
+ OUT_OF_SCOPE_GROUP
23743
+ OUT_OF_SCOPE_PERMISSION
23744
+ PASSWORD_ENTIRELY_NUMERIC
23745
+ PASSWORD_IDENTICAL
23746
+ PASSWORD_TOO_COMMON
23747
+ PASSWORD_TOO_SHORT
23748
+ PASSWORD_TOO_SIMILAR
23749
+ REQUIRED
23750
+ UNIQUE
23751
+ JWT_SIGNATURE_EXPIRED
23752
+ JWT_INVALID_TOKEN
23753
+ JWT_DECODE_ERROR
23754
+ JWT_MISSING_TOKEN
23755
+ JWT_INVALID_CSRF_TOKEN
23756
+ }
23757
+
24535
23758
  """Create authorization URL."""
24536
23759
  type AuthURLGenerate {
24537
23760
  """Generated auth URL for google login."""
@@ -24788,6 +24011,55 @@ type CustomerCreate {
24788
24011
  user: User
24789
24012
  }
24790
24013
 
24014
+ input UserCreateInput {
24015
+ """Billing address of the customer."""
24016
+ defaultBillingAddress: AddressInput
24017
+
24018
+ """Shipping address of the customer."""
24019
+ defaultShippingAddress: AddressInput
24020
+
24021
+ """Given name."""
24022
+ firstName: String
24023
+
24024
+ """Family name."""
24025
+ lastName: String
24026
+
24027
+ """The unique email address of the user."""
24028
+ email: String
24029
+
24030
+ """User account is active."""
24031
+ isActive: Boolean
24032
+
24033
+ """User is staff member."""
24034
+ isStaff: Boolean
24035
+
24036
+ """A note about the user."""
24037
+ note: String
24038
+
24039
+ """Only filled out if the account is a business account."""
24040
+ companyName: String
24041
+
24042
+ """Personal phone number."""
24043
+ personalPhone: String
24044
+
24045
+ """Password url"""
24046
+ passwordUrl: String
24047
+
24048
+ """Tax exempt code"""
24049
+ taxExemptCode: String
24050
+
24051
+ """List of custom fields."""
24052
+ customFields: [AttributeValueInput!]
24053
+
24054
+ """Marketplace VAT identification number"""
24055
+ vatIdentificationNumber: String
24056
+
24057
+ """
24058
+ URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
24059
+ """
24060
+ redirectUrl: String
24061
+ }
24062
+
24791
24063
  """Updates an existing customer."""
24792
24064
  type CustomerUpdate {
24793
24065
  accountErrors: [AccountError!]!
@@ -24816,9 +24088,6 @@ input CustomerInput {
24816
24088
  """User is staff member."""
24817
24089
  isStaff: Boolean
24818
24090
 
24819
- """User account is affiliate."""
24820
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24821
-
24822
24091
  """A note about the user."""
24823
24092
  note: String
24824
24093
 
@@ -24898,9 +24167,6 @@ input StaffCreateInput {
24898
24167
  """User is staff member."""
24899
24168
  isStaff: Boolean
24900
24169
 
24901
- """User account is affiliate."""
24902
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24903
-
24904
24170
  """A note about the user."""
24905
24171
  note: String
24906
24172
 
@@ -24953,9 +24219,6 @@ input StaffUpdateInput {
24953
24219
  """User is staff member."""
24954
24220
  isStaff: Boolean
24955
24221
 
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
24222
  """A note about the user."""
24960
24223
  note: String
24961
24224