@nautical-commerce/graphql-schema 1.86.0-9-g210d52f55 → 1.86.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -693,6 +693,216 @@ type Query {
693
693
  last: Int
694
694
  ): ProductVariantCountableConnection
695
695
 
696
+ """Look up a price book by ID."""
697
+ priceBook(
698
+ """ID of a price book."""
699
+ id: ID!
700
+ ): PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
701
+
702
+ """List of price books."""
703
+ priceBooks(
704
+ """Filtering options for price books."""
705
+ filter: PriceBookFilterInput
706
+
707
+ """Sort price books."""
708
+ sortBy: PriceBookSortingInput
709
+
710
+ """Return the elements in the list that come before the specified cursor."""
711
+ before: String
712
+
713
+ """Return the elements in the list that come after the specified cursor."""
714
+ after: String
715
+
716
+ """Return the first n elements from the list."""
717
+ first: Int
718
+
719
+ """Return the last n elements from the list."""
720
+ last: Int
721
+ ): PriceBookCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
722
+
723
+ """List of price book variants in."""
724
+ priceBookVariants(
725
+ """Price book ID to filter variants."""
726
+ priceBookId: ID!
727
+
728
+ """Variant ID to filter variants."""
729
+ variantId: ID
730
+
731
+ """Filtering options for price book variants ."""
732
+ filter: PriceBookVariantFilterInput
733
+
734
+ """Sort price book variants in."""
735
+ sortBy: PriceBookVariantSortingInput
736
+
737
+ """Return the elements in the list that come before the specified cursor."""
738
+ before: String
739
+
740
+ """Return the elements in the list that come after the specified cursor."""
741
+ after: String
742
+
743
+ """Return the first n elements from the list."""
744
+ first: Int
745
+
746
+ """Return the last n elements from the list."""
747
+ last: Int
748
+ ): PriceBookVariantCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
749
+
750
+ """List of price book products."""
751
+ priceBookProducts(
752
+ """Price book ID to filter products."""
753
+ priceBookId: ID!
754
+
755
+ """Product ID to filter products from."""
756
+ productId: ID
757
+
758
+ """Filtering options for price book products."""
759
+ filter: PriceBookProductFilterInput
760
+
761
+ """Sort price book products."""
762
+ sortBy: PriceBookProductSortingInput
763
+
764
+ """Return the elements in the list that come before the specified cursor."""
765
+ before: String
766
+
767
+ """Return the elements in the list that come after the specified cursor."""
768
+ after: String
769
+
770
+ """Return the first n elements from the list."""
771
+ first: Int
772
+
773
+ """Return the last n elements from the list."""
774
+ last: Int
775
+ ): PriceBookProductCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
776
+
777
+ """List of price book product types."""
778
+ priceBookProductTypes(
779
+ """Price book ID to filter products."""
780
+ priceBookId: ID!
781
+
782
+ """Product type ID to filter product types."""
783
+ productTypeId: ID
784
+
785
+ """Filtering options for price book product types."""
786
+ filter: PriceBookProductTypeFilterInput
787
+
788
+ """Sort price book product types."""
789
+ sortBy: PriceBookProductTypeSortingInput
790
+
791
+ """Return the elements in the list that come before the specified cursor."""
792
+ before: String
793
+
794
+ """Return the elements in the list that come after the specified cursor."""
795
+ after: String
796
+
797
+ """Return the first n elements from the list."""
798
+ first: Int
799
+
800
+ """Return the last n elements from the list."""
801
+ last: Int
802
+ ): PriceBookProductTypeCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
803
+
804
+ """List of price book variants in history table."""
805
+ priceBookVariantsHistory(
806
+ """Price book ID to filter variants from history table."""
807
+ priceBookId: ID!
808
+
809
+ """Variant ID to filter variants from history table."""
810
+ variantId: ID!
811
+
812
+ """Filtering options for price book variants from history table."""
813
+ filter: PriceBookVariantHistoryFilterInput
814
+
815
+ """Sort price book variants in history table."""
816
+ sortBy: PriceBookVariantHistorySortingInput
817
+
818
+ """Return the elements in the list that come before the specified cursor."""
819
+ before: String
820
+
821
+ """Return the elements in the list that come after the specified cursor."""
822
+ after: String
823
+
824
+ """Return the first n elements from the list."""
825
+ first: Int
826
+
827
+ """Return the last n elements from the list."""
828
+ last: Int
829
+ ): PriceBookVariantHistoryCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
830
+
831
+ """List of price book products in history table."""
832
+ priceBookProductsHistory(
833
+ """Price book ID to filter products in history table."""
834
+ priceBookId: ID!
835
+
836
+ """Product ID to filter products from history table."""
837
+ productId: ID!
838
+
839
+ """Filtering options for price book products in history table."""
840
+ filter: PriceBookProductHistoryFilterInput
841
+
842
+ """Sort price book products in history table."""
843
+ sortBy: PriceBookProductHistorySortingInput
844
+
845
+ """Return the elements in the list that come before the specified cursor."""
846
+ before: String
847
+
848
+ """Return the elements in the list that come after the specified cursor."""
849
+ after: String
850
+
851
+ """Return the first n elements from the list."""
852
+ first: Int
853
+
854
+ """Return the last n elements from the list."""
855
+ last: Int
856
+ ): PriceBookProductHistoryCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
857
+
858
+ """List of price book product types in history tables."""
859
+ priceBookProductTypesHistory(
860
+ """Price book ID to filter products in history tables."""
861
+ priceBookId: ID!
862
+
863
+ """Product type ID to filter product types from history table."""
864
+ productTypeId: ID!
865
+
866
+ """Filtering options for price book product types in history tables."""
867
+ filter: PriceBookProductTypeHistoryFilterInput
868
+
869
+ """Sort price book product types in history tables."""
870
+ sortBy: PriceBookProductTypeHistorySortingInput
871
+
872
+ """Return the elements in the list that come before the specified cursor."""
873
+ before: String
874
+
875
+ """Return the elements in the list that come after the specified cursor."""
876
+ after: String
877
+
878
+ """Return the first n elements from the list."""
879
+ first: Int
880
+
881
+ """Return the last n elements from the list."""
882
+ last: Int
883
+ ): PriceBookProductTypeHistoryCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
884
+
885
+ """Look up users attached to a price book by ID."""
886
+ priceBookUsers(
887
+ """Sort price book users."""
888
+ sortBy: UserSortingInput
889
+
890
+ """ID of a price book."""
891
+ priceBookId: ID!
892
+
893
+ """Return the elements in the list that come before the specified cursor."""
894
+ before: String
895
+
896
+ """Return the elements in the list that come after the specified cursor."""
897
+ after: String
898
+
899
+ """Return the first n elements from the list."""
900
+ first: Int
901
+
902
+ """Return the last n elements from the list."""
903
+ last: Int
904
+ ): UserCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
905
+
696
906
  """Look up a plugin by ID."""
697
907
  plugin(
698
908
  """ID of the plugin."""
@@ -2157,6 +2367,9 @@ type User implements Node & ObjectWithMetadata {
2157
2367
  """List of documents associated with the user."""
2158
2368
  documents: [Document!]!
2159
2369
 
2370
+ """Returns values of price book the user is added to"""
2371
+ priceBook: PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
2372
+
2160
2373
  """
2161
2374
  If null, then the environment isn't set and they don't have dashboard reporting enabled
2162
2375
  """
@@ -5053,6 +5266,7 @@ enum PermissionEnum {
5053
5266
  MANAGE_DOCUMENTS
5054
5267
  MANAGE_EMAILS
5055
5268
  MANAGE_PLUGINS
5269
+ MANAGE_PRICEBOOKS
5056
5270
  MANAGE_STOREFRONTS
5057
5271
  MANAGE_MENUS
5058
5272
  MANAGE_ORDERS
@@ -5201,6 +5415,8 @@ enum WebhookEventTypeEnum {
5201
5415
  PAYOUT_CREATED
5202
5416
  PAYOUT_UPDATED
5203
5417
  PAYOUT_DELETED
5418
+ PRICE_BOOK_CREATED
5419
+ PRICE_BOOK_UPDATED
5204
5420
  PRODUCT_CREATED
5205
5421
  PRODUCT_DELETED
5206
5422
  PRODUCT_UPDATED
@@ -6037,6 +6253,9 @@ type OrderLine implements Node & ObjectWithMetadata {
6037
6253
  """List of allocations across warehouses."""
6038
6254
  allocations: [Allocation!]
6039
6255
 
6256
+ """The pricebook, if any, that changed the price of this line."""
6257
+ priceBook: PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
6258
+
6040
6259
  """The number of items ordered on this order line."""
6041
6260
  quantityOrdered: Int!
6042
6261
 
@@ -6133,6 +6352,9 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
6133
6352
  """Variant name in the customer's language"""
6134
6353
  translatedVariantName: String!
6135
6354
 
6355
+ """The pricebook, if any, that changed the price of this line"""
6356
+ priceBook: PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
6357
+
6136
6358
  """The related orderline attached to the connected seller order"""
6137
6359
  sellerOrderline: OrderLine
6138
6360
 
@@ -6157,6 +6379,139 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
6157
6379
  discountedUnitPrice: TaxedMoney
6158
6380
  }
6159
6381
 
6382
+ """
6383
+ Variants, Product and types can be attached to the PriceBook and based on thecorresponding value, cost can be increased or decreased.
6384
+ """
6385
+ type PriceBook implements Node & ObjectWithMetadata {
6386
+ description: String!
6387
+ descriptionHtml: String!
6388
+
6389
+ """The ID of the object"""
6390
+ id: ID!
6391
+
6392
+ """
6393
+ List of private metadata items.Requires proper staff permissions to access.
6394
+ """
6395
+ privateMetadata: [MetadataItem!]!
6396
+
6397
+ """List of public metadata items. Can be accessed without permissions."""
6398
+ metadata: [MetadataItem!]!
6399
+
6400
+ """Name of PriceBook"""
6401
+ name: String!
6402
+
6403
+ """Determines if the PriceBook is active"""
6404
+ deleted: Boolean!
6405
+
6406
+ """List of variants for the price book."""
6407
+ priceBookVariants: [PriceBookVariant!]
6408
+
6409
+ """List of products for the price book."""
6410
+ priceBookProducts: [PriceBookProduct!]
6411
+
6412
+ """List of product types for the price book."""
6413
+ priceBookProductTypes: [PriceBookProductType!]
6414
+
6415
+ """Number of variants mapped to this price book"""
6416
+ numberOfProducts: Int!
6417
+
6418
+ """Number of variants mapped to this price book"""
6419
+ numberOfProductTypes: Int!
6420
+
6421
+ """Number of variants mapped to this price book"""
6422
+ numberOfVariants: Int!
6423
+ }
6424
+
6425
+ """Variants added to the PriceBook"""
6426
+ type PriceBookVariant implements Node {
6427
+ """The ID of the object"""
6428
+ id: ID!
6429
+ priceBook: PriceBook!
6430
+ variant: ProductVariant!
6431
+ valueType: PriceBookVariantValueType!
6432
+ currency: String!
6433
+
6434
+ """
6435
+ Amount to decrease or increase for the variant if type selected is override orpercentage.
6436
+ """
6437
+ price: Money!
6438
+
6439
+ """
6440
+ Percentage to decrease or increase for the variant's price if type selected is fixed
6441
+ """
6442
+ percentage: Float!
6443
+ }
6444
+
6445
+ """An enumeration."""
6446
+ enum PriceBookVariantValueType {
6447
+ """Override"""
6448
+ OVERRIDE
6449
+
6450
+ """Adjust Percentage"""
6451
+ ADJUST_PERCENTAGE
6452
+
6453
+ """Adjust Fixed"""
6454
+ ADJUST_FIXED
6455
+ }
6456
+
6457
+ """Products added to the PriceBook"""
6458
+ type PriceBookProduct implements Node {
6459
+ """The ID of the object"""
6460
+ id: ID!
6461
+ priceBook: PriceBook!
6462
+ product: Product!
6463
+ valueType: PriceBookProductValueType!
6464
+ currency: String!
6465
+
6466
+ """
6467
+ Amount to decrease or increase for the variants of the product if type selected isoverride or percentage.
6468
+ """
6469
+ price: Money!
6470
+
6471
+ """
6472
+ Percentage to decrease or increase for the product's variants price if type selectedis fixed.
6473
+ """
6474
+ percentage: Float!
6475
+ }
6476
+
6477
+ """An enumeration."""
6478
+ enum PriceBookProductValueType {
6479
+ """adjust_percentage"""
6480
+ ADJUST_PERCENTAGE
6481
+
6482
+ """adjust_fixed"""
6483
+ ADJUST_FIXED
6484
+ }
6485
+
6486
+ """Product types added to the PriceBook"""
6487
+ type PriceBookProductType implements Node {
6488
+ """The ID of the object"""
6489
+ id: ID!
6490
+ priceBook: PriceBook!
6491
+ productType: ProductType!
6492
+ valueType: PriceBookProductTypeValueType!
6493
+ currency: String!
6494
+
6495
+ """
6496
+ Amount to decrease or increase for the variants of the product type if type selectedis override or percentage.
6497
+ """
6498
+ price: Money!
6499
+
6500
+ """
6501
+ Percentage to decrease or increase for the product type's variants price if typeselected is fixed.
6502
+ """
6503
+ percentage: Float!
6504
+ }
6505
+
6506
+ """An enumeration."""
6507
+ enum PriceBookProductTypeValueType {
6508
+ """adjust_percentage"""
6509
+ ADJUST_PERCENTAGE
6510
+
6511
+ """adjust_fixed"""
6512
+ ADJUST_FIXED
6513
+ }
6514
+
6160
6515
  """Represents allocation."""
6161
6516
  type Allocation implements Node {
6162
6517
  """The ID of the object"""
@@ -8920,6 +9275,12 @@ type SellerOnboardingSettings implements Node {
8920
9275
  """Welcome message set by MP for sellers."""
8921
9276
  welcomeMessage: String
8922
9277
 
9278
+ """The fulfillment model used by the MP."""
9279
+ fulfillmentModel: String @deprecated(reason: "This will be removed on June 7, 2025")
9280
+
9281
+ """A summary of required documents from sellers."""
9282
+ requiredDocuments: String @deprecated(reason: "This will be removed on June 7, 2025")
9283
+
8923
9284
  """Text displayed when the MP is not accepting new sellers."""
8924
9285
  notAcceptingSellersMessage: String
8925
9286
 
@@ -9330,66 +9691,532 @@ enum ProductTypeSortField {
9330
9691
  EXTERNAL_SOURCE
9331
9692
  }
9332
9693
 
9333
- type PluginCountableConnection {
9694
+ type PriceBookCountableConnection {
9334
9695
  """Pagination data for this connection."""
9335
9696
  pageInfo: PageInfo!
9336
- edges: [PluginCountableEdge!]!
9697
+ edges: [PriceBookCountableEdge!]!
9337
9698
 
9338
9699
  """A total count of items in the collection."""
9339
9700
  totalCount: Int
9340
9701
  }
9341
9702
 
9342
- type PluginCountableEdge {
9703
+ type PriceBookCountableEdge {
9343
9704
  """The item at the end of the edge."""
9344
- node: Plugin!
9705
+ node: PriceBook!
9345
9706
 
9346
9707
  """A cursor for use in pagination."""
9347
9708
  cursor: String!
9348
9709
  }
9349
9710
 
9350
- input PluginFilterInput {
9351
- active: Boolean
9711
+ input PriceBookFilterInput {
9352
9712
  search: String
9353
- isPaymentGateway: Boolean
9354
- seller: ID
9713
+ deleted: Boolean
9714
+ metadata: MetadataFilterInput
9715
+ privateMetadata: MetadataFilterInput
9355
9716
  }
9356
9717
 
9357
- input PluginSortingInput {
9718
+ input PriceBookSortingInput {
9358
9719
  """Specifies the direction in which to sort products."""
9359
9720
  direction: OrderDirection!
9360
9721
 
9361
- """Sort plugins by the selected field."""
9362
- field: PluginSortField!
9722
+ """Sort pricebooks by the selected field."""
9723
+ field: PriceBookSortField!
9363
9724
  }
9364
9725
 
9365
- enum PluginSortField {
9726
+ enum PriceBookSortField {
9727
+ """Sort pricebook by name."""
9366
9728
  NAME
9367
- IS_ACTIVE
9368
9729
  }
9369
9730
 
9370
- """Customer Tax Certificate information."""
9371
- type TaxCertificate {
9372
- id: Int
9373
- companyId: String
9374
- signedDate: String
9375
- expirationDate: String
9376
- filename: String
9377
- documentExists: Boolean
9378
- downloadUrl: String
9379
- valid: Boolean
9380
- verified: Boolean
9381
- exemptPercentage: String
9382
- isSingleCertificate: Boolean
9383
- exemptionNumber: String
9384
- exemptionReasonName: String
9385
- exemptionReasonId: Int
9386
- status: String
9387
- createdDate: String
9388
- modifiedDate: String
9389
- taxNumberType: String
9390
- businessNumberType: String
9391
- exposureZoneName: String
9392
- }
9731
+ type PriceBookVariantCountableConnection {
9732
+ """Pagination data for this connection."""
9733
+ pageInfo: PageInfo!
9734
+ edges: [PriceBookVariantCountableEdge!]!
9735
+
9736
+ """A total count of items in the collection."""
9737
+ totalCount: Int
9738
+ }
9739
+
9740
+ type PriceBookVariantCountableEdge {
9741
+ """The item at the end of the edge."""
9742
+ node: PriceBookVariant!
9743
+
9744
+ """A cursor for use in pagination."""
9745
+ cursor: String!
9746
+ }
9747
+
9748
+ input PriceBookVariantFilterInput {
9749
+ search: String
9750
+ }
9751
+
9752
+ input PriceBookVariantSortingInput {
9753
+ """Specifies the direction in which to sort products."""
9754
+ direction: OrderDirection!
9755
+
9756
+ """Sort pricebook variants by the selected field."""
9757
+ field: PriceBookVariantSortField!
9758
+ }
9759
+
9760
+ enum PriceBookVariantSortField {
9761
+ """Sort pricebook variant history by number."""
9762
+ NUMBER
9763
+
9764
+ """Sort pricebook variant history by type."""
9765
+ TYPE
9766
+
9767
+ """Sort pricebook variant history by price."""
9768
+ PRICE
9769
+
9770
+ """Sort pricebook variant history by percentage."""
9771
+ PERCENTAGE
9772
+ }
9773
+
9774
+ type PriceBookProductCountableConnection {
9775
+ """Pagination data for this connection."""
9776
+ pageInfo: PageInfo!
9777
+ edges: [PriceBookProductCountableEdge!]!
9778
+
9779
+ """A total count of items in the collection."""
9780
+ totalCount: Int
9781
+ }
9782
+
9783
+ type PriceBookProductCountableEdge {
9784
+ """The item at the end of the edge."""
9785
+ node: PriceBookProduct!
9786
+
9787
+ """A cursor for use in pagination."""
9788
+ cursor: String!
9789
+ }
9790
+
9791
+ input PriceBookProductFilterInput {
9792
+ search: String
9793
+ }
9794
+
9795
+ input PriceBookProductSortingInput {
9796
+ """Specifies the direction in which to sort products."""
9797
+ direction: OrderDirection!
9798
+
9799
+ """Sort pricebooks products by the selected field."""
9800
+ field: PriceBookProductSortField!
9801
+ }
9802
+
9803
+ enum PriceBookProductSortField {
9804
+ """Sort pricebook product history by number."""
9805
+ NUMBER
9806
+
9807
+ """Sort pricebook product history by type."""
9808
+ TYPE
9809
+
9810
+ """Sort pricebook product history by price."""
9811
+ PRICE
9812
+
9813
+ """Sort pricebook product history by percentage."""
9814
+ PERCENTAGE
9815
+ }
9816
+
9817
+ type PriceBookProductTypeCountableConnection {
9818
+ """Pagination data for this connection."""
9819
+ pageInfo: PageInfo!
9820
+ edges: [PriceBookProductTypeCountableEdge!]!
9821
+
9822
+ """A total count of items in the collection."""
9823
+ totalCount: Int
9824
+ }
9825
+
9826
+ type PriceBookProductTypeCountableEdge {
9827
+ """The item at the end of the edge."""
9828
+ node: PriceBookProductType!
9829
+
9830
+ """A cursor for use in pagination."""
9831
+ cursor: String!
9832
+ }
9833
+
9834
+ input PriceBookProductTypeFilterInput {
9835
+ search: String
9836
+ }
9837
+
9838
+ input PriceBookProductTypeSortingInput {
9839
+ """Specifies the direction in which to sort products."""
9840
+ direction: OrderDirection!
9841
+
9842
+ """Sort pricebooks products types by the selected field."""
9843
+ field: PriceBookProductTypeSortField!
9844
+ }
9845
+
9846
+ enum PriceBookProductTypeSortField {
9847
+ """Sort pricebook product type history by number."""
9848
+ NUMBER
9849
+
9850
+ """Sort pricebook product type history by type."""
9851
+ TYPE
9852
+
9853
+ """Sort pricebook product type history by price."""
9854
+ PRICE
9855
+
9856
+ """Sort pricebook product type history by percentage."""
9857
+ PERCENTAGE
9858
+ }
9859
+
9860
+ type PriceBookVariantHistoryCountableConnection {
9861
+ """Pagination data for this connection."""
9862
+ pageInfo: PageInfo!
9863
+ edges: [PriceBookVariantHistoryCountableEdge!]!
9864
+
9865
+ """A total count of items in the collection."""
9866
+ totalCount: Int
9867
+ }
9868
+
9869
+ type PriceBookVariantHistoryCountableEdge {
9870
+ """The item at the end of the edge."""
9871
+ node: PriceBookVariantHistory!
9872
+
9873
+ """A cursor for use in pagination."""
9874
+ cursor: String!
9875
+ }
9876
+
9877
+ """Variants added to the PriceBook"""
9878
+ type PriceBookVariantHistory implements Node {
9879
+ """The ID of the object"""
9880
+ id: ID!
9881
+ priceBook: PriceBook
9882
+ variantId: Int!
9883
+ valueType: PriceBookVariantHistoryValueType!
9884
+ currency: String!
9885
+ createdAt: Date!
9886
+
9887
+ """
9888
+ Amount to decrease or increase for the variant if type selected is override orpercentage.
9889
+ """
9890
+ price: Money!
9891
+
9892
+ """
9893
+ Percentage to decrease or increase for the variant's price if type selected is fixed.
9894
+ """
9895
+ percentage: Float!
9896
+
9897
+ """
9898
+ Determines if the variant attached to the pricebook is removed or deleted.
9899
+ """
9900
+ deleted: Boolean!
9901
+ }
9902
+
9903
+ """An enumeration."""
9904
+ enum PriceBookVariantHistoryValueType {
9905
+ """Override"""
9906
+ OVERRIDE
9907
+
9908
+ """Adjust Percentage"""
9909
+ ADJUST_PERCENTAGE
9910
+
9911
+ """Adjust Fixed"""
9912
+ ADJUST_FIXED
9913
+ }
9914
+
9915
+ input PriceBookVariantHistoryFilterInput {
9916
+ search: String
9917
+ }
9918
+
9919
+ input PriceBookVariantHistorySortingInput {
9920
+ """Specifies the direction in which to sort products."""
9921
+ direction: OrderDirection!
9922
+
9923
+ """Sort pricebook variants history by the selected field."""
9924
+ field: PriceBookVariantHistorySortField!
9925
+ }
9926
+
9927
+ enum PriceBookVariantHistorySortField {
9928
+ """Sort pricebook variant history by number."""
9929
+ NUMBER
9930
+
9931
+ """Sort pricebook variant history by type."""
9932
+ TYPE
9933
+
9934
+ """Sort pricebook variant history by price."""
9935
+ PRICE
9936
+
9937
+ """Sort pricebook variant history by percentage."""
9938
+ PERCENTAGE
9939
+
9940
+ """Sort pricebook variant history by creation date."""
9941
+ CREATION_DATE
9942
+ }
9943
+
9944
+ type PriceBookProductHistoryCountableConnection {
9945
+ """Pagination data for this connection."""
9946
+ pageInfo: PageInfo!
9947
+ edges: [PriceBookProductHistoryCountableEdge!]!
9948
+
9949
+ """A total count of items in the collection."""
9950
+ totalCount: Int
9951
+ }
9952
+
9953
+ type PriceBookProductHistoryCountableEdge {
9954
+ """The item at the end of the edge."""
9955
+ node: PriceBookProductHistory!
9956
+
9957
+ """A cursor for use in pagination."""
9958
+ cursor: String!
9959
+ }
9960
+
9961
+ """Products added to the PriceBook"""
9962
+ type PriceBookProductHistory implements Node {
9963
+ """The ID of the object"""
9964
+ id: ID!
9965
+ priceBook: PriceBook
9966
+ productId: Int!
9967
+ valueType: PriceBookProductHistoryValueType!
9968
+ currency: String!
9969
+ createdAt: Date!
9970
+
9971
+ """
9972
+ Amount to decrease or increase for the variants of the product if type selected isoverride or percentage.
9973
+ """
9974
+ price: Money!
9975
+
9976
+ """
9977
+ Percentage to decrease or increase for the product's variants price if type selectedis fixed.
9978
+ """
9979
+ percentage: Float!
9980
+
9981
+ """
9982
+ Determines if the product's variant attached to the pricebook is removed or deleted.
9983
+ """
9984
+ deleted: Boolean!
9985
+ }
9986
+
9987
+ """An enumeration."""
9988
+ enum PriceBookProductHistoryValueType {
9989
+ """adjust_percentage"""
9990
+ ADJUST_PERCENTAGE
9991
+
9992
+ """adjust_fixed"""
9993
+ ADJUST_FIXED
9994
+ }
9995
+
9996
+ input PriceBookProductHistoryFilterInput {
9997
+ search: String
9998
+ }
9999
+
10000
+ input PriceBookProductHistorySortingInput {
10001
+ """Specifies the direction in which to sort products."""
10002
+ direction: OrderDirection!
10003
+
10004
+ """Sort pricebooks products history by the selected field."""
10005
+ field: PriceBookProductHistorySortField!
10006
+ }
10007
+
10008
+ enum PriceBookProductHistorySortField {
10009
+ """Sort pricebook product history by number."""
10010
+ NUMBER
10011
+
10012
+ """Sort pricebook product history by type."""
10013
+ TYPE
10014
+
10015
+ """Sort pricebook product history by price."""
10016
+ PRICE
10017
+
10018
+ """Sort pricebook product history by percentage."""
10019
+ PERCENTAGE
10020
+
10021
+ """Sort pricebook product history by creation date."""
10022
+ CREATION_DATE
10023
+ }
10024
+
10025
+ type PriceBookProductTypeHistoryCountableConnection {
10026
+ """Pagination data for this connection."""
10027
+ pageInfo: PageInfo!
10028
+ edges: [PriceBookProductTypeHistoryCountableEdge!]!
10029
+
10030
+ """A total count of items in the collection."""
10031
+ totalCount: Int
10032
+ }
10033
+
10034
+ type PriceBookProductTypeHistoryCountableEdge {
10035
+ """The item at the end of the edge."""
10036
+ node: PriceBookProductTypeHistory!
10037
+
10038
+ """A cursor for use in pagination."""
10039
+ cursor: String!
10040
+ }
10041
+
10042
+ """Product types added to the PriceBook"""
10043
+ type PriceBookProductTypeHistory implements Node {
10044
+ """The ID of the object"""
10045
+ id: ID!
10046
+ priceBook: PriceBook
10047
+ productTypeId: Int!
10048
+ valueType: PriceBookProductTypeHistoryValueType!
10049
+ currency: String!
10050
+ createdAt: Date!
10051
+
10052
+ """
10053
+ Amount to decrease or increase for the variants of the product type if type selectedis override or percentage.
10054
+ """
10055
+ price: Money!
10056
+
10057
+ """
10058
+ Percentage to decrease or increase for the product type's variants price if typeselected is fixed.
10059
+ """
10060
+ percentage: Float!
10061
+
10062
+ """
10063
+ Determines if the product type's variant attached to the pricebook is removed ordeleted.
10064
+ """
10065
+ deleted: Boolean!
10066
+ }
10067
+
10068
+ """An enumeration."""
10069
+ enum PriceBookProductTypeHistoryValueType {
10070
+ """adjust_percentage"""
10071
+ ADJUST_PERCENTAGE
10072
+
10073
+ """adjust_fixed"""
10074
+ ADJUST_FIXED
10075
+ }
10076
+
10077
+ input PriceBookProductTypeHistoryFilterInput {
10078
+ search: String
10079
+ }
10080
+
10081
+ input PriceBookProductTypeHistorySortingInput {
10082
+ """Specifies the direction in which to sort products."""
10083
+ direction: OrderDirection!
10084
+
10085
+ """Sort pricebooks products history by the selected field."""
10086
+ field: PriceBookProductTypeHistorySortField!
10087
+ }
10088
+
10089
+ enum PriceBookProductTypeHistorySortField {
10090
+ """Sort pricebook product type history by number."""
10091
+ NUMBER
10092
+
10093
+ """Sort pricebook product type history by type."""
10094
+ TYPE
10095
+
10096
+ """Sort pricebook product type history by price."""
10097
+ PRICE
10098
+
10099
+ """Sort pricebook product type history by percentage."""
10100
+ PERCENTAGE
10101
+
10102
+ """Sort pricebook product type history by creation date."""
10103
+ CREATION_DATE
10104
+ }
10105
+
10106
+ type UserCountableConnection {
10107
+ """Pagination data for this connection."""
10108
+ pageInfo: PageInfo!
10109
+ edges: [UserCountableEdge!]!
10110
+
10111
+ """A total count of items in the collection."""
10112
+ totalCount: Int
10113
+ }
10114
+
10115
+ type UserCountableEdge {
10116
+ """The item at the end of the edge."""
10117
+ node: User!
10118
+
10119
+ """A cursor for use in pagination."""
10120
+ cursor: String!
10121
+ }
10122
+
10123
+ input UserSortingInput {
10124
+ """Specifies the direction in which to sort products."""
10125
+ direction: OrderDirection!
10126
+
10127
+ """Sort users by the selected field."""
10128
+ field: UserSortField!
10129
+ }
10130
+
10131
+ enum UserSortField {
10132
+ """Sort users by first name."""
10133
+ FIRST_NAME
10134
+
10135
+ """Sort users by last name."""
10136
+ LAST_NAME
10137
+
10138
+ """Sort users by email."""
10139
+ EMAIL
10140
+
10141
+ """Sort users by order count."""
10142
+ ORDER_COUNT
10143
+
10144
+ """Sort users by vendor."""
10145
+ VENDOR
10146
+
10147
+ """Sort users by company name."""
10148
+ COMPANY_NAME
10149
+
10150
+ """Sort users by is active."""
10151
+ IS_ACTIVE
10152
+
10153
+ """Sort users by external id."""
10154
+ EXTERNAL_ID
10155
+
10156
+ """Sort users by external source."""
10157
+ EXTERNAL_SOURCE
10158
+ }
10159
+
10160
+ type PluginCountableConnection {
10161
+ """Pagination data for this connection."""
10162
+ pageInfo: PageInfo!
10163
+ edges: [PluginCountableEdge!]!
10164
+
10165
+ """A total count of items in the collection."""
10166
+ totalCount: Int
10167
+ }
10168
+
10169
+ type PluginCountableEdge {
10170
+ """The item at the end of the edge."""
10171
+ node: Plugin!
10172
+
10173
+ """A cursor for use in pagination."""
10174
+ cursor: String!
10175
+ }
10176
+
10177
+ input PluginFilterInput {
10178
+ active: Boolean
10179
+ search: String
10180
+ isPaymentGateway: Boolean
10181
+ seller: ID
10182
+ }
10183
+
10184
+ input PluginSortingInput {
10185
+ """Specifies the direction in which to sort products."""
10186
+ direction: OrderDirection!
10187
+
10188
+ """Sort plugins by the selected field."""
10189
+ field: PluginSortField!
10190
+ }
10191
+
10192
+ enum PluginSortField {
10193
+ NAME
10194
+ IS_ACTIVE
10195
+ }
10196
+
10197
+ """Customer Tax Certificate information."""
10198
+ type TaxCertificate {
10199
+ id: Int
10200
+ companyId: String
10201
+ signedDate: String
10202
+ expirationDate: String
10203
+ filename: String
10204
+ documentExists: Boolean
10205
+ downloadUrl: String
10206
+ valid: Boolean
10207
+ verified: Boolean
10208
+ exemptPercentage: String
10209
+ isSingleCertificate: Boolean
10210
+ exemptionNumber: String
10211
+ exemptionReasonName: String
10212
+ exemptionReasonId: Int
10213
+ status: String
10214
+ createdDate: String
10215
+ modifiedDate: String
10216
+ taxNumberType: String
10217
+ businessNumberType: String
10218
+ exposureZoneName: String
10219
+ }
9393
10220
 
9394
10221
  """Avalara support tax exemption."""
9395
10222
  type TaxExemptCode {
@@ -11311,23 +12138,6 @@ input AgreementFilterInput {
11311
12138
  search: String
11312
12139
  }
11313
12140
 
11314
- type UserCountableConnection {
11315
- """Pagination data for this connection."""
11316
- pageInfo: PageInfo!
11317
- edges: [UserCountableEdge!]!
11318
-
11319
- """A total count of items in the collection."""
11320
- totalCount: Int
11321
- }
11322
-
11323
- type UserCountableEdge {
11324
- """The item at the end of the edge."""
11325
- node: User!
11326
-
11327
- """A cursor for use in pagination."""
11328
- cursor: String!
11329
- }
11330
-
11331
12141
  input CustomerFilterInput {
11332
12142
  dateJoined: DateRangeInput
11333
12143
  isActive: Boolean
@@ -11338,43 +12148,6 @@ input CustomerFilterInput {
11338
12148
  customFields: [AttributeInput!]
11339
12149
  }
11340
12150
 
11341
- input UserSortingInput {
11342
- """Specifies the direction in which to sort products."""
11343
- direction: OrderDirection!
11344
-
11345
- """Sort users by the selected field."""
11346
- field: UserSortField!
11347
- }
11348
-
11349
- enum UserSortField {
11350
- """Sort users by first name."""
11351
- FIRST_NAME
11352
-
11353
- """Sort users by last name."""
11354
- LAST_NAME
11355
-
11356
- """Sort users by email."""
11357
- EMAIL
11358
-
11359
- """Sort users by order count."""
11360
- ORDER_COUNT
11361
-
11362
- """Sort users by vendor."""
11363
- VENDOR
11364
-
11365
- """Sort users by company name."""
11366
- COMPANY_NAME
11367
-
11368
- """Sort users by is active."""
11369
- IS_ACTIVE
11370
-
11371
- """Sort users by external id."""
11372
- EXTERNAL_ID
11373
-
11374
- """Sort users by external source."""
11375
- EXTERNAL_SOURCE
11376
- }
11377
-
11378
12151
  type GroupCountableConnection {
11379
12152
  """Pagination data for this connection."""
11380
12153
  pageInfo: PageInfo!
@@ -11484,7 +12257,7 @@ type Mutation {
11484
12257
  description: String
11485
12258
 
11486
12259
  """
11487
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/heif-sequence, application/csv, application/x-zip-compressed, application/vnd.oasis.opendocument.spreadsheet, application/x-jpg, application/vnd.oasis.opendocument.text, image/svg+xml, image/eps, image/gif, image/heic, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/acrobat, application/postscript, image/heif, image/dxf, text/svg-xml, text/csv, text/x-pdf, image/x-dxf, application/dwg, application/svg+xml, application/tif, text/x-comma-separated-values, application/gzip-compressed, text/x-csv, application/x-dwg, text/plain, drawing/x-dwg, application/zip, application/x-pdf, image/x-dwg, application/x-rar, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, pplication/vnd.rar, image/jpeg, text/rtf, application/rtf, application/gzip, text/svg, application/pdf, image/tiff, image/x-bmp, application/msword, image/x-eps, application/x-tiff, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/jpg, application/tiff, image/x-ms-bmp, application/x-tif, image/webp, drawing/dwg, application/dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-rtf, image/x-tiff, application/x-csv, image/svg, image/vnd.dwg, image/bmp, application/acad, application/x-rar-compressed, image/tif, application/x-acad, application/vnd.ms-excel, text/comma-separated-values, image/png, application/excel, application/x-autocad, image/heic-sequence, application/x-eps, text/pdf, application/x-dxf, drawing/x-dwf, image/x-tif, application/gzipped, application/x-tar, application/vnd.pdf, application/vnd.ms-powerpoint, image/jpg, application/x-gzip, application/vnd.oasis.opendocument.presentation, application/eps.
12260
+ 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.openxmlformats-officedocument.spreadsheetml.sheet, application/zip, application/dxf, text/rtf, application/gzipped, application/x-tiff, image/heif-sequence, application/vnd.ms-word, application/eps, application/x-jpg, application/gzip-compressed, application/x-dxf, application/x-eps, text/x-pdf, text/csv, application/tiff, application/x-autocad, text/x-csv, application/acad, drawing/dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/postscript, application/rtf, image/heic, image/eps, text/comma-separated-values, image/webp, application/x-zip-compressed, image/x-dxf, image/heif, image/png, application/x-rar-compressed, image/tiff, application/msword, image/x-eps, application/jpg, image/heic-sequence, application/tif, image/dxf, image/svg, application/vnd.oasis.opendocument.text, text/svg, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.spreadsheet, drawing/x-dwg, application/dwg, application/vnd.pdf, image/x-tif, image/x-bmp, image/x-tiff, application/x-acad, image/x-dwg, application/vnd.ms-excel, application/excel, image/svg+xml, application/x-pdf, application/x-gzip, application/vnd.oasis.opendocument.presentation, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-tar, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpeg, application/gzip, image/tif, application/svg+xml, text/svg-xml, text/x-comma-separated-values, image/gif, image/x-ms-bmp, application/pdf, text/pdf, application/csv, application/x-tif, drawing/x-dwf, image/jpg, application/x-rar, text/plain, application/x-dwg, image/vnd.dwg, image/bmp, application/acrobat, pplication/vnd.rar, application/x-csv, application/x-rtf.
11488
12261
  """
11489
12262
  file: Upload!
11490
12263
 
@@ -12330,6 +13103,126 @@ type Mutation {
12330
13103
  input: PolicyInput!
12331
13104
  ): PolicyUpdate
12332
13105
 
13106
+ """Creates a new price book."""
13107
+ priceBookCreate(
13108
+ """Fields required to create a price book."""
13109
+ input: PriceBookCreateInput!
13110
+ ): PriceBookCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13111
+
13112
+ """Updates an existing price book."""
13113
+ priceBookUpdate(
13114
+ """ID of a price book to update."""
13115
+ id: ID!
13116
+
13117
+ """Fields required to update a price book."""
13118
+ input: PriceBookUpdateInput!
13119
+ ): PriceBookUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13120
+
13121
+ """Deletes a price book."""
13122
+ priceBookDelete(
13123
+ """ID of a price book to delete."""
13124
+ id: ID!
13125
+ ): PriceBookDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13126
+
13127
+ """Deletes price books."""
13128
+ priceBookBulkDelete(
13129
+ """List of price book IDs to delete."""
13130
+ ids: [ID!]!
13131
+ ): PriceBookBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13132
+
13133
+ """Add a variant to price book."""
13134
+ priceBookVariantCreate(
13135
+ """Fields required to add a price book variant."""
13136
+ input: PriceBookVariantCreateInput!
13137
+ ): PriceBookVariantCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13138
+
13139
+ """Updates an existing price book variant."""
13140
+ priceBookVariantUpdate(
13141
+ """ID of a price book variant to update."""
13142
+ id: ID!
13143
+
13144
+ """Fields required to update a price book variant."""
13145
+ input: PriceBookVariantUpdateInput!
13146
+ ): PriceBookVariantUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13147
+
13148
+ """Deletes a price book variant."""
13149
+ priceBookVariantDelete(
13150
+ """ID of a price book variant to delete."""
13151
+ id: ID!
13152
+ ): PriceBookVariantDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13153
+
13154
+ """Deletes price book's variants."""
13155
+ priceBookVariantBulkDelete(
13156
+ """List of price book variant IDs to delete."""
13157
+ ids: [ID!]!
13158
+ ): PriceBookVariantBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13159
+
13160
+ """Add a product to price book."""
13161
+ priceBookProductCreate(
13162
+ """Fields required to add a price book product."""
13163
+ input: PriceBookProductCreateInput!
13164
+ ): PriceBookProductCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13165
+
13166
+ """Updates an existing price book product."""
13167
+ priceBookProductUpdate(
13168
+ """ID of a price book product to update."""
13169
+ id: ID!
13170
+
13171
+ """Fields required to update a price book product."""
13172
+ input: PriceBookProductUpdateInput!
13173
+ ): PriceBookProductUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13174
+
13175
+ """Deletes a price book product."""
13176
+ priceBookProductDelete(
13177
+ """ID of a price book product to delete."""
13178
+ id: ID!
13179
+ ): PriceBookProductDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13180
+
13181
+ """Deletes price book's products."""
13182
+ priceBookProductBulkDelete(
13183
+ """List of price book product IDs to delete."""
13184
+ ids: [ID!]!
13185
+ ): PriceBookProductBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13186
+
13187
+ """Add a product type to price book."""
13188
+ priceBookProductTypeCreate(
13189
+ """Fields required to add a price book product type."""
13190
+ input: PriceBookProductTypeCreateInput!
13191
+ ): PriceBookProductTypeCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13192
+
13193
+ """Updates an existing price book product type."""
13194
+ priceBookProductTypeUpdate(
13195
+ """ID of a price book product type to update."""
13196
+ id: ID!
13197
+
13198
+ """Fields required to update a price book product type."""
13199
+ input: PriceBookProductTypeUpdateInput!
13200
+ ): PriceBookProductTypeUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13201
+
13202
+ """Deletes a price book product type."""
13203
+ priceBookProductTypeDelete(
13204
+ """ID of a price book product type to delete."""
13205
+ id: ID!
13206
+ ): PriceBookProductTypeDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13207
+
13208
+ """Deletes price book's product types."""
13209
+ priceBookProductTypeBulkDelete(
13210
+ """List of price book product type IDs to delete."""
13211
+ ids: [ID!]!
13212
+ ): PriceBookProductTypeBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13213
+
13214
+ """Add a user to price book."""
13215
+ userAddToPriceBook(
13216
+ """Fields required to add a user to price book."""
13217
+ input: UserAddToPriceBookInput!
13218
+ ): UserAddToPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
13219
+
13220
+ """Removes a user from price book."""
13221
+ userRemoveFromPriceBook(
13222
+ """ID of user to be removed from price book."""
13223
+ id: ID!
13224
+ ): UserRemoveFromPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
13225
+
12333
13226
  """Creates a new category."""
12334
13227
  categoryCreate(
12335
13228
  """Fields required to create a category."""
@@ -16155,6 +17048,12 @@ input SellerOnboardingSettingsCreateInput {
16155
17048
  """Welcome message set by MP for sellers."""
16156
17049
  welcomeMessage: String
16157
17050
 
17051
+ """The fulfillment model used by the MP."""
17052
+ fulfillmentModel: String @deprecated(reason: "This will be removed on June 7, 2025.")
17053
+
17054
+ """A summary of required documents from sellers."""
17055
+ requiredDocuments: String @deprecated(reason: "This will be removed on June 7, 2025.")
17056
+
16158
17057
  """Text displayed when the MP is not accepting new sellers."""
16159
17058
  notAcceptingSellersMessage: String
16160
17059
  }
@@ -16176,6 +17075,12 @@ input SellerOnboardingSettingsUpdateInput {
16176
17075
  """Welcome message set by MP for sellers."""
16177
17076
  welcomeMessage: String
16178
17077
 
17078
+ """The fulfillment model used by the MP."""
17079
+ fulfillmentModel: String @deprecated(reason: "This will be removed on June 7, 2025.")
17080
+
17081
+ """A summary of required documents from sellers."""
17082
+ requiredDocuments: String @deprecated(reason: "This will be removed on June 7, 2025.")
17083
+
16179
17084
  """Text displayed when the MP is not accepting new sellers."""
16180
17085
  notAcceptingSellersMessage: String
16181
17086
  }
@@ -16609,6 +17514,313 @@ type PolicyUpdate {
16609
17514
  policy: Policy
16610
17515
  }
16611
17516
 
17517
+ """Creates a new price book."""
17518
+ type PriceBookCreate {
17519
+ priceBookErrors: [PriceBookError!]!
17520
+ priceBook: PriceBook
17521
+ }
17522
+
17523
+ type PriceBookError {
17524
+ """
17525
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17526
+ """
17527
+ field: String
17528
+
17529
+ """The error message."""
17530
+ message: String!
17531
+
17532
+ """The error code."""
17533
+ code: PriceBookErrorCode!
17534
+ }
17535
+
17536
+ """An enumeration."""
17537
+ enum PriceBookErrorCode {
17538
+ NOT_FOUND
17539
+ REQUIRED
17540
+ GRAPHQL_ERROR
17541
+ INVALID
17542
+ ALREADY_EXISTS
17543
+ NOT_ALLOWED
17544
+ }
17545
+
17546
+ input PriceBookCreateInput {
17547
+ """Name of the price book"""
17548
+ name: String
17549
+
17550
+ """Price book description (plaintext, read-only)."""
17551
+ description: String
17552
+
17553
+ """Price book description (html)."""
17554
+ descriptionHtml: String
17555
+ }
17556
+
17557
+ """Updates an existing price book."""
17558
+ type PriceBookUpdate {
17559
+ priceBookErrors: [PriceBookError!]!
17560
+ priceBook: PriceBook
17561
+ }
17562
+
17563
+ input PriceBookUpdateInput {
17564
+ """Name of the price book"""
17565
+ name: String
17566
+
17567
+ """Price book description (plaintext, read-only)."""
17568
+ description: String
17569
+
17570
+ """Price book description (html)."""
17571
+ descriptionHtml: String
17572
+
17573
+ """Used to re-activate the price book."""
17574
+ activate: Boolean
17575
+ }
17576
+
17577
+ """Deletes a price book."""
17578
+ type PriceBookDelete {
17579
+ priceBookErrors: [PriceBookError!]!
17580
+ priceBook: PriceBook
17581
+ }
17582
+
17583
+ """Deletes price books."""
17584
+ type PriceBookBulkDelete {
17585
+ """Returns how many objects were affected."""
17586
+ count: Int!
17587
+ priceBookErrors: [PriceBookError!]!
17588
+ }
17589
+
17590
+ """Add a variant to price book."""
17591
+ type PriceBookVariantCreate {
17592
+ priceBookErrors: [PriceBookError!]!
17593
+ priceBookVariant: PriceBookVariant
17594
+ }
17595
+
17596
+ input PriceBookVariantCreateInput {
17597
+ """
17598
+ Price of the particular variant to be adjusted if the type selected is OVERRIDEor FIXED.
17599
+ """
17600
+ priceAmount: Decimal
17601
+
17602
+ """Currency of the price that is adjusted for the variant"""
17603
+ currency: String
17604
+
17605
+ """
17606
+ Percentage of the particular variant to be adjusted if the type selected is PERCENTAGE
17607
+ """
17608
+ percentage: Decimal
17609
+
17610
+ """ID of variant that is added to the price book."""
17611
+ variant: ID!
17612
+
17613
+ """ID of price book that variant needs to be added to."""
17614
+ priceBook: ID!
17615
+
17616
+ """Type of the price book variant"""
17617
+ valueType: PriceBookValueTypeEnum!
17618
+ }
17619
+
17620
+ enum PriceBookValueTypeEnum {
17621
+ """Override"""
17622
+ OVERRIDE
17623
+
17624
+ """Adjust Percentage"""
17625
+ ADJUST_PERCENTAGE
17626
+
17627
+ """Adjust Fixed"""
17628
+ ADJUST_FIXED
17629
+ }
17630
+
17631
+ """Updates an existing price book variant."""
17632
+ type PriceBookVariantUpdate {
17633
+ priceBookErrors: [PriceBookError!]!
17634
+ priceBookVariant: PriceBookVariant
17635
+ }
17636
+
17637
+ input PriceBookVariantUpdateInput {
17638
+ """
17639
+ Price of the particular variant to be adjusted if the type selected is OVERRIDEor FIXED.
17640
+ """
17641
+ priceAmount: Decimal
17642
+
17643
+ """Currency of the price that is adjusted for the variant"""
17644
+ currency: String
17645
+
17646
+ """
17647
+ Percentage of the particular variant to be adjusted if the type selected is PERCENTAGE
17648
+ """
17649
+ percentage: Decimal
17650
+
17651
+ """Type of the price book variant"""
17652
+ valueType: PriceBookValueTypeEnum
17653
+ }
17654
+
17655
+ """Deletes a price book variant."""
17656
+ type PriceBookVariantDelete {
17657
+ priceBookErrors: [PriceBookError!]!
17658
+ priceBookVariant: PriceBookVariant
17659
+ }
17660
+
17661
+ """Deletes price book's variants."""
17662
+ type PriceBookVariantBulkDelete {
17663
+ """Returns how many objects were affected."""
17664
+ count: Int!
17665
+ priceBookErrors: [PriceBookError!]!
17666
+ }
17667
+
17668
+ """Add a product to price book."""
17669
+ type PriceBookProductCreate {
17670
+ priceBookErrors: [PriceBookError!]!
17671
+ priceBookProduct: PriceBookProduct
17672
+ }
17673
+
17674
+ input PriceBookProductCreateInput {
17675
+ """
17676
+ Price of the particular product to be adjusted if the type selected is OVERRIDEor FIXED.
17677
+ """
17678
+ priceAmount: Decimal
17679
+
17680
+ """Currency of the price that is adjusted for the product"""
17681
+ currency: String
17682
+
17683
+ """
17684
+ Percentage of the particular product to be adjusted if the type selected is PERCENTAGE
17685
+ """
17686
+ percentage: Decimal
17687
+
17688
+ """ID of product that is added to the price book."""
17689
+ product: ID!
17690
+
17691
+ """ID of price book that product needs to be added to."""
17692
+ priceBook: ID!
17693
+
17694
+ """Type of the price book product"""
17695
+ valueType: PriceBookValueTypeEnum!
17696
+ }
17697
+
17698
+ """Updates an existing price book product."""
17699
+ type PriceBookProductUpdate {
17700
+ priceBookErrors: [PriceBookError!]!
17701
+ priceBookProduct: PriceBookProduct
17702
+ }
17703
+
17704
+ input PriceBookProductUpdateInput {
17705
+ """
17706
+ Price of the particular product to be adjusted if the type selected is OVERRIDEor FIXED.
17707
+ """
17708
+ priceAmount: Decimal
17709
+
17710
+ """Currency of the price that is adjusted for the product"""
17711
+ currency: String
17712
+
17713
+ """
17714
+ Percentage of the particular product to be adjusted if the type selected is PERCENTAGE
17715
+ """
17716
+ percentage: Decimal
17717
+
17718
+ """Type of the price book product"""
17719
+ valueType: PriceBookValueTypeEnum
17720
+ }
17721
+
17722
+ """Deletes a price book product."""
17723
+ type PriceBookProductDelete {
17724
+ priceBookErrors: [PriceBookError!]!
17725
+ priceBookProduct: PriceBookProduct
17726
+ }
17727
+
17728
+ """Deletes price book's products."""
17729
+ type PriceBookProductBulkDelete {
17730
+ """Returns how many objects were affected."""
17731
+ count: Int!
17732
+ priceBookErrors: [PriceBookError!]!
17733
+ }
17734
+
17735
+ """Add a product type to price book."""
17736
+ type PriceBookProductTypeCreate {
17737
+ priceBookErrors: [PriceBookError!]!
17738
+ priceBookProductType: PriceBookProductType
17739
+ }
17740
+
17741
+ input PriceBookProductTypeCreateInput {
17742
+ """
17743
+ Price of the particular product type to be adjusted if the value type selected isOVERRIDE or FIXED.
17744
+ """
17745
+ priceAmount: Decimal
17746
+
17747
+ """Currency of the price that is adjusted for the product type"""
17748
+ currency: String
17749
+
17750
+ """
17751
+ Percentage of the particular product type to be adjusted if the type selected is PERCENTAGE
17752
+ """
17753
+ percentage: Decimal
17754
+
17755
+ """ID of product type that is added to the price book."""
17756
+ productType: ID!
17757
+
17758
+ """ID of price book that product type needs to be added to."""
17759
+ priceBook: ID!
17760
+
17761
+ """Value type of the price book product type"""
17762
+ valueType: PriceBookValueTypeEnum!
17763
+ }
17764
+
17765
+ """Updates an existing price book product type."""
17766
+ type PriceBookProductTypeUpdate {
17767
+ priceBookErrors: [PriceBookError!]!
17768
+ priceBookProductType: PriceBookProductType
17769
+ }
17770
+
17771
+ input PriceBookProductTypeUpdateInput {
17772
+ """
17773
+ Price of the particular product type to be adjusted if the value type selected isOVERRIDE or FIXED.
17774
+ """
17775
+ priceAmount: Decimal
17776
+
17777
+ """Currency of the price that is adjusted for the product type"""
17778
+ currency: String
17779
+
17780
+ """
17781
+ Percentage of the particular product type to be adjusted if the type selected is PERCENTAGE
17782
+ """
17783
+ percentage: Decimal
17784
+
17785
+ """Value type of the price book product type"""
17786
+ valueType: PriceBookValueTypeEnum
17787
+ }
17788
+
17789
+ """Deletes a price book product type."""
17790
+ type PriceBookProductTypeDelete {
17791
+ priceBookErrors: [PriceBookError!]!
17792
+ priceBookProductType: PriceBookProductType
17793
+ }
17794
+
17795
+ """Deletes price book's product types."""
17796
+ type PriceBookProductTypeBulkDelete {
17797
+ """Returns how many objects were affected."""
17798
+ count: Int!
17799
+ priceBookErrors: [PriceBookError!]!
17800
+ }
17801
+
17802
+ """Add a user to price book."""
17803
+ type UserAddToPriceBook {
17804
+ """An updated user instance."""
17805
+ user: User
17806
+ priceBookErrors: [PriceBookError!]!
17807
+ }
17808
+
17809
+ input UserAddToPriceBookInput {
17810
+ """ID of user that is to be mapped to the price book."""
17811
+ user: ID!
17812
+
17813
+ """ID of price book that user needs to be added to."""
17814
+ priceBook: ID!
17815
+ }
17816
+
17817
+ """Removes a user from price book."""
17818
+ type UserRemoveFromPriceBook {
17819
+ """An updated user instance."""
17820
+ user: User
17821
+ priceBookErrors: [PriceBookError!]!
17822
+ }
17823
+
16612
17824
  """Creates a new category."""
16613
17825
  type CategoryCreate {
16614
17826
  productErrors: [ProductError!]!