@nautical-commerce/graphql-schema 1.86.0-3-g12a478486 → 1.86.0-5-g9cf24a4bf

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,216 +693,6 @@ 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
-
906
696
  """Look up a plugin by ID."""
907
697
  plugin(
908
698
  """ID of the plugin."""
@@ -2367,9 +2157,6 @@ type User implements Node & ObjectWithMetadata {
2367
2157
  """List of documents associated with the user."""
2368
2158
  documents: [Document!]!
2369
2159
 
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
-
2373
2160
  """
2374
2161
  If null, then the environment isn't set and they don't have dashboard reporting enabled
2375
2162
  """
@@ -5266,7 +5053,6 @@ enum PermissionEnum {
5266
5053
  MANAGE_DOCUMENTS
5267
5054
  MANAGE_EMAILS
5268
5055
  MANAGE_PLUGINS
5269
- MANAGE_PRICEBOOKS
5270
5056
  MANAGE_STOREFRONTS
5271
5057
  MANAGE_MENUS
5272
5058
  MANAGE_ORDERS
@@ -5415,8 +5201,6 @@ enum WebhookEventTypeEnum {
5415
5201
  PAYOUT_CREATED
5416
5202
  PAYOUT_UPDATED
5417
5203
  PAYOUT_DELETED
5418
- PRICE_BOOK_CREATED
5419
- PRICE_BOOK_UPDATED
5420
5204
  PRODUCT_CREATED
5421
5205
  PRODUCT_DELETED
5422
5206
  PRODUCT_UPDATED
@@ -6253,9 +6037,6 @@ type OrderLine implements Node & ObjectWithMetadata {
6253
6037
  """List of allocations across warehouses."""
6254
6038
  allocations: [Allocation!]
6255
6039
 
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
-
6259
6040
  """The number of items ordered on this order line."""
6260
6041
  quantityOrdered: Int!
6261
6042
 
@@ -6352,9 +6133,6 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
6352
6133
  """Variant name in the customer's language"""
6353
6134
  translatedVariantName: String!
6354
6135
 
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
-
6358
6136
  """The related orderline attached to the connected seller order"""
6359
6137
  sellerOrderline: OrderLine
6360
6138
 
@@ -6379,139 +6157,6 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
6379
6157
  discountedUnitPrice: TaxedMoney
6380
6158
  }
6381
6159
 
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
-
6515
6160
  """Represents allocation."""
6516
6161
  type Allocation implements Node {
6517
6162
  """The ID of the object"""
@@ -9685,531 +9330,65 @@ enum ProductTypeSortField {
9685
9330
  EXTERNAL_SOURCE
9686
9331
  }
9687
9332
 
9688
- type PriceBookCountableConnection {
9333
+ type PluginCountableConnection {
9689
9334
  """Pagination data for this connection."""
9690
9335
  pageInfo: PageInfo!
9691
- edges: [PriceBookCountableEdge!]!
9336
+ edges: [PluginCountableEdge!]!
9692
9337
 
9693
9338
  """A total count of items in the collection."""
9694
9339
  totalCount: Int
9695
9340
  }
9696
9341
 
9697
- type PriceBookCountableEdge {
9342
+ type PluginCountableEdge {
9698
9343
  """The item at the end of the edge."""
9699
- node: PriceBook!
9344
+ node: Plugin!
9700
9345
 
9701
9346
  """A cursor for use in pagination."""
9702
9347
  cursor: String!
9703
9348
  }
9704
9349
 
9705
- input PriceBookFilterInput {
9350
+ input PluginFilterInput {
9351
+ active: Boolean
9706
9352
  search: String
9707
- deleted: Boolean
9708
- metadata: MetadataFilterInput
9709
- privateMetadata: MetadataFilterInput
9353
+ isPaymentGateway: Boolean
9354
+ seller: ID
9710
9355
  }
9711
9356
 
9712
- input PriceBookSortingInput {
9357
+ input PluginSortingInput {
9713
9358
  """Specifies the direction in which to sort products."""
9714
9359
  direction: OrderDirection!
9715
9360
 
9716
- """Sort pricebooks by the selected field."""
9717
- field: PriceBookSortField!
9361
+ """Sort plugins by the selected field."""
9362
+ field: PluginSortField!
9718
9363
  }
9719
9364
 
9720
- enum PriceBookSortField {
9721
- """Sort pricebook by name."""
9365
+ enum PluginSortField {
9722
9366
  NAME
9367
+ IS_ACTIVE
9723
9368
  }
9724
9369
 
9725
- type PriceBookVariantCountableConnection {
9726
- """Pagination data for this connection."""
9727
- pageInfo: PageInfo!
9728
- edges: [PriceBookVariantCountableEdge!]!
9729
-
9730
- """A total count of items in the collection."""
9731
- totalCount: Int
9732
- }
9733
-
9734
- type PriceBookVariantCountableEdge {
9735
- """The item at the end of the edge."""
9736
- node: PriceBookVariant!
9737
-
9738
- """A cursor for use in pagination."""
9739
- cursor: String!
9740
- }
9741
-
9742
- input PriceBookVariantFilterInput {
9743
- search: String
9744
- }
9745
-
9746
- input PriceBookVariantSortingInput {
9747
- """Specifies the direction in which to sort products."""
9748
- direction: OrderDirection!
9749
-
9750
- """Sort pricebook variants by the selected field."""
9751
- field: PriceBookVariantSortField!
9752
- }
9753
-
9754
- enum PriceBookVariantSortField {
9755
- """Sort pricebook variant history by number."""
9756
- NUMBER
9757
-
9758
- """Sort pricebook variant history by type."""
9759
- TYPE
9760
-
9761
- """Sort pricebook variant history by price."""
9762
- PRICE
9763
-
9764
- """Sort pricebook variant history by percentage."""
9765
- PERCENTAGE
9766
- }
9767
-
9768
- type PriceBookProductCountableConnection {
9769
- """Pagination data for this connection."""
9770
- pageInfo: PageInfo!
9771
- edges: [PriceBookProductCountableEdge!]!
9772
-
9773
- """A total count of items in the collection."""
9774
- totalCount: Int
9775
- }
9776
-
9777
- type PriceBookProductCountableEdge {
9778
- """The item at the end of the edge."""
9779
- node: PriceBookProduct!
9780
-
9781
- """A cursor for use in pagination."""
9782
- cursor: String!
9783
- }
9784
-
9785
- input PriceBookProductFilterInput {
9786
- search: String
9787
- }
9788
-
9789
- input PriceBookProductSortingInput {
9790
- """Specifies the direction in which to sort products."""
9791
- direction: OrderDirection!
9792
-
9793
- """Sort pricebooks products by the selected field."""
9794
- field: PriceBookProductSortField!
9795
- }
9796
-
9797
- enum PriceBookProductSortField {
9798
- """Sort pricebook product history by number."""
9799
- NUMBER
9800
-
9801
- """Sort pricebook product history by type."""
9802
- TYPE
9803
-
9804
- """Sort pricebook product history by price."""
9805
- PRICE
9806
-
9807
- """Sort pricebook product history by percentage."""
9808
- PERCENTAGE
9809
- }
9810
-
9811
- type PriceBookProductTypeCountableConnection {
9812
- """Pagination data for this connection."""
9813
- pageInfo: PageInfo!
9814
- edges: [PriceBookProductTypeCountableEdge!]!
9815
-
9816
- """A total count of items in the collection."""
9817
- totalCount: Int
9818
- }
9819
-
9820
- type PriceBookProductTypeCountableEdge {
9821
- """The item at the end of the edge."""
9822
- node: PriceBookProductType!
9823
-
9824
- """A cursor for use in pagination."""
9825
- cursor: String!
9826
- }
9827
-
9828
- input PriceBookProductTypeFilterInput {
9829
- search: String
9830
- }
9831
-
9832
- input PriceBookProductTypeSortingInput {
9833
- """Specifies the direction in which to sort products."""
9834
- direction: OrderDirection!
9835
-
9836
- """Sort pricebooks products types by the selected field."""
9837
- field: PriceBookProductTypeSortField!
9838
- }
9839
-
9840
- enum PriceBookProductTypeSortField {
9841
- """Sort pricebook product type history by number."""
9842
- NUMBER
9843
-
9844
- """Sort pricebook product type history by type."""
9845
- TYPE
9846
-
9847
- """Sort pricebook product type history by price."""
9848
- PRICE
9849
-
9850
- """Sort pricebook product type history by percentage."""
9851
- PERCENTAGE
9852
- }
9853
-
9854
- type PriceBookVariantHistoryCountableConnection {
9855
- """Pagination data for this connection."""
9856
- pageInfo: PageInfo!
9857
- edges: [PriceBookVariantHistoryCountableEdge!]!
9858
-
9859
- """A total count of items in the collection."""
9860
- totalCount: Int
9861
- }
9862
-
9863
- type PriceBookVariantHistoryCountableEdge {
9864
- """The item at the end of the edge."""
9865
- node: PriceBookVariantHistory!
9866
-
9867
- """A cursor for use in pagination."""
9868
- cursor: String!
9869
- }
9870
-
9871
- """Variants added to the PriceBook"""
9872
- type PriceBookVariantHistory implements Node {
9873
- """The ID of the object"""
9874
- id: ID!
9875
- priceBook: PriceBook
9876
- variantId: Int!
9877
- valueType: PriceBookVariantHistoryValueType!
9878
- currency: String!
9879
- createdAt: Date!
9880
-
9881
- """
9882
- Amount to decrease or increase for the variant if type selected is override orpercentage.
9883
- """
9884
- price: Money!
9885
-
9886
- """
9887
- Percentage to decrease or increase for the variant's price if type selected is fixed.
9888
- """
9889
- percentage: Float!
9890
-
9891
- """
9892
- Determines if the variant attached to the pricebook is removed or deleted.
9893
- """
9894
- deleted: Boolean!
9895
- }
9896
-
9897
- """An enumeration."""
9898
- enum PriceBookVariantHistoryValueType {
9899
- """Override"""
9900
- OVERRIDE
9901
-
9902
- """Adjust Percentage"""
9903
- ADJUST_PERCENTAGE
9904
-
9905
- """Adjust Fixed"""
9906
- ADJUST_FIXED
9907
- }
9908
-
9909
- input PriceBookVariantHistoryFilterInput {
9910
- search: String
9911
- }
9912
-
9913
- input PriceBookVariantHistorySortingInput {
9914
- """Specifies the direction in which to sort products."""
9915
- direction: OrderDirection!
9916
-
9917
- """Sort pricebook variants history by the selected field."""
9918
- field: PriceBookVariantHistorySortField!
9919
- }
9920
-
9921
- enum PriceBookVariantHistorySortField {
9922
- """Sort pricebook variant history by number."""
9923
- NUMBER
9924
-
9925
- """Sort pricebook variant history by type."""
9926
- TYPE
9927
-
9928
- """Sort pricebook variant history by price."""
9929
- PRICE
9930
-
9931
- """Sort pricebook variant history by percentage."""
9932
- PERCENTAGE
9933
-
9934
- """Sort pricebook variant history by creation date."""
9935
- CREATION_DATE
9936
- }
9937
-
9938
- type PriceBookProductHistoryCountableConnection {
9939
- """Pagination data for this connection."""
9940
- pageInfo: PageInfo!
9941
- edges: [PriceBookProductHistoryCountableEdge!]!
9942
-
9943
- """A total count of items in the collection."""
9944
- totalCount: Int
9945
- }
9946
-
9947
- type PriceBookProductHistoryCountableEdge {
9948
- """The item at the end of the edge."""
9949
- node: PriceBookProductHistory!
9950
-
9951
- """A cursor for use in pagination."""
9952
- cursor: String!
9953
- }
9954
-
9955
- """Products added to the PriceBook"""
9956
- type PriceBookProductHistory implements Node {
9957
- """The ID of the object"""
9958
- id: ID!
9959
- priceBook: PriceBook
9960
- productId: Int!
9961
- valueType: PriceBookProductHistoryValueType!
9962
- currency: String!
9963
- createdAt: Date!
9964
-
9965
- """
9966
- Amount to decrease or increase for the variants of the product if type selected isoverride or percentage.
9967
- """
9968
- price: Money!
9969
-
9970
- """
9971
- Percentage to decrease or increase for the product's variants price if type selectedis fixed.
9972
- """
9973
- percentage: Float!
9974
-
9975
- """
9976
- Determines if the product's variant attached to the pricebook is removed or deleted.
9977
- """
9978
- deleted: Boolean!
9979
- }
9980
-
9981
- """An enumeration."""
9982
- enum PriceBookProductHistoryValueType {
9983
- """adjust_percentage"""
9984
- ADJUST_PERCENTAGE
9985
-
9986
- """adjust_fixed"""
9987
- ADJUST_FIXED
9988
- }
9989
-
9990
- input PriceBookProductHistoryFilterInput {
9991
- search: String
9992
- }
9993
-
9994
- input PriceBookProductHistorySortingInput {
9995
- """Specifies the direction in which to sort products."""
9996
- direction: OrderDirection!
9997
-
9998
- """Sort pricebooks products history by the selected field."""
9999
- field: PriceBookProductHistorySortField!
10000
- }
10001
-
10002
- enum PriceBookProductHistorySortField {
10003
- """Sort pricebook product history by number."""
10004
- NUMBER
10005
-
10006
- """Sort pricebook product history by type."""
10007
- TYPE
10008
-
10009
- """Sort pricebook product history by price."""
10010
- PRICE
10011
-
10012
- """Sort pricebook product history by percentage."""
10013
- PERCENTAGE
10014
-
10015
- """Sort pricebook product history by creation date."""
10016
- CREATION_DATE
10017
- }
10018
-
10019
- type PriceBookProductTypeHistoryCountableConnection {
10020
- """Pagination data for this connection."""
10021
- pageInfo: PageInfo!
10022
- edges: [PriceBookProductTypeHistoryCountableEdge!]!
10023
-
10024
- """A total count of items in the collection."""
10025
- totalCount: Int
10026
- }
10027
-
10028
- type PriceBookProductTypeHistoryCountableEdge {
10029
- """The item at the end of the edge."""
10030
- node: PriceBookProductTypeHistory!
10031
-
10032
- """A cursor for use in pagination."""
10033
- cursor: String!
10034
- }
10035
-
10036
- """Product types added to the PriceBook"""
10037
- type PriceBookProductTypeHistory implements Node {
10038
- """The ID of the object"""
10039
- id: ID!
10040
- priceBook: PriceBook
10041
- productTypeId: Int!
10042
- valueType: PriceBookProductTypeHistoryValueType!
10043
- currency: String!
10044
- createdAt: Date!
10045
-
10046
- """
10047
- Amount to decrease or increase for the variants of the product type if type selectedis override or percentage.
10048
- """
10049
- price: Money!
10050
-
10051
- """
10052
- Percentage to decrease or increase for the product type's variants price if typeselected is fixed.
10053
- """
10054
- percentage: Float!
10055
-
10056
- """
10057
- Determines if the product type's variant attached to the pricebook is removed ordeleted.
10058
- """
10059
- deleted: Boolean!
10060
- }
10061
-
10062
- """An enumeration."""
10063
- enum PriceBookProductTypeHistoryValueType {
10064
- """adjust_percentage"""
10065
- ADJUST_PERCENTAGE
10066
-
10067
- """adjust_fixed"""
10068
- ADJUST_FIXED
10069
- }
10070
-
10071
- input PriceBookProductTypeHistoryFilterInput {
10072
- search: String
10073
- }
10074
-
10075
- input PriceBookProductTypeHistorySortingInput {
10076
- """Specifies the direction in which to sort products."""
10077
- direction: OrderDirection!
10078
-
10079
- """Sort pricebooks products history by the selected field."""
10080
- field: PriceBookProductTypeHistorySortField!
10081
- }
10082
-
10083
- enum PriceBookProductTypeHistorySortField {
10084
- """Sort pricebook product type history by number."""
10085
- NUMBER
10086
-
10087
- """Sort pricebook product type history by type."""
10088
- TYPE
10089
-
10090
- """Sort pricebook product type history by price."""
10091
- PRICE
10092
-
10093
- """Sort pricebook product type history by percentage."""
10094
- PERCENTAGE
10095
-
10096
- """Sort pricebook product type history by creation date."""
10097
- CREATION_DATE
10098
- }
10099
-
10100
- type UserCountableConnection {
10101
- """Pagination data for this connection."""
10102
- pageInfo: PageInfo!
10103
- edges: [UserCountableEdge!]!
10104
-
10105
- """A total count of items in the collection."""
10106
- totalCount: Int
10107
- }
10108
-
10109
- type UserCountableEdge {
10110
- """The item at the end of the edge."""
10111
- node: User!
10112
-
10113
- """A cursor for use in pagination."""
10114
- cursor: String!
10115
- }
10116
-
10117
- input UserSortingInput {
10118
- """Specifies the direction in which to sort products."""
10119
- direction: OrderDirection!
10120
-
10121
- """Sort users by the selected field."""
10122
- field: UserSortField!
10123
- }
10124
-
10125
- enum UserSortField {
10126
- """Sort users by first name."""
10127
- FIRST_NAME
10128
-
10129
- """Sort users by last name."""
10130
- LAST_NAME
10131
-
10132
- """Sort users by email."""
10133
- EMAIL
10134
-
10135
- """Sort users by order count."""
10136
- ORDER_COUNT
10137
-
10138
- """Sort users by vendor."""
10139
- VENDOR
10140
-
10141
- """Sort users by company name."""
10142
- COMPANY_NAME
10143
-
10144
- """Sort users by is active."""
10145
- IS_ACTIVE
10146
-
10147
- """Sort users by external id."""
10148
- EXTERNAL_ID
10149
-
10150
- """Sort users by external source."""
10151
- EXTERNAL_SOURCE
10152
- }
10153
-
10154
- type PluginCountableConnection {
10155
- """Pagination data for this connection."""
10156
- pageInfo: PageInfo!
10157
- edges: [PluginCountableEdge!]!
10158
-
10159
- """A total count of items in the collection."""
10160
- totalCount: Int
10161
- }
10162
-
10163
- type PluginCountableEdge {
10164
- """The item at the end of the edge."""
10165
- node: Plugin!
10166
-
10167
- """A cursor for use in pagination."""
10168
- cursor: String!
10169
- }
10170
-
10171
- input PluginFilterInput {
10172
- active: Boolean
10173
- search: String
10174
- isPaymentGateway: Boolean
10175
- seller: ID
10176
- }
10177
-
10178
- input PluginSortingInput {
10179
- """Specifies the direction in which to sort products."""
10180
- direction: OrderDirection!
10181
-
10182
- """Sort plugins by the selected field."""
10183
- field: PluginSortField!
10184
- }
10185
-
10186
- enum PluginSortField {
10187
- NAME
10188
- IS_ACTIVE
10189
- }
10190
-
10191
- """Customer Tax Certificate information."""
10192
- type TaxCertificate {
10193
- id: Int
10194
- companyId: String
10195
- signedDate: String
10196
- expirationDate: String
10197
- filename: String
10198
- documentExists: Boolean
10199
- downloadUrl: String
10200
- valid: Boolean
10201
- verified: Boolean
10202
- exemptPercentage: String
10203
- isSingleCertificate: Boolean
10204
- exemptionNumber: String
10205
- exemptionReasonName: String
10206
- exemptionReasonId: Int
10207
- status: String
10208
- createdDate: String
10209
- modifiedDate: String
10210
- taxNumberType: String
10211
- businessNumberType: String
10212
- exposureZoneName: String
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
10213
9392
  }
10214
9393
 
10215
9394
  """Avalara support tax exemption."""
@@ -12132,6 +11311,23 @@ input AgreementFilterInput {
12132
11311
  search: String
12133
11312
  }
12134
11313
 
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
+
12135
11331
  input CustomerFilterInput {
12136
11332
  dateJoined: DateRangeInput
12137
11333
  isActive: Boolean
@@ -12142,6 +11338,43 @@ input CustomerFilterInput {
12142
11338
  customFields: [AttributeInput!]
12143
11339
  }
12144
11340
 
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
+
12145
11378
  type GroupCountableConnection {
12146
11379
  """Pagination data for this connection."""
12147
11380
  pageInfo: PageInfo!
@@ -12251,7 +11484,7 @@ type Mutation {
12251
11484
  description: String
12252
11485
 
12253
11486
  """
12254
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/tiff, application/x-jpg, application/pdf, text/csv, application/dxf, image/x-tif, text/rtf, text/x-csv, application/x-rar-compressed, image/x-dwg, application/acad, application/vnd.oasis.opendocument.text, image/svg, application/x-acad, image/x-tiff, application/svg+xml, text/pdf, text/plain, application/x-zip-compressed, application/rtf, application/tiff, image/heic, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/acrobat, text/svg-xml, image/x-bmp, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-tar, text/x-pdf, application/x-dwg, image/heic-sequence, application/vnd.oasis.opendocument.presentation, application/x-tiff, image/x-dxf, application/vnd.oasis.opendocument.spreadsheet, pplication/vnd.rar, application/gzipped, application/excel, application/x-rtf, image/x-ms-bmp, application/vnd.ms-powerpoint, application/eps, image/dxf, application/zip, image/heif, drawing/dwg, application/dwg, application/x-csv, image/webp, application/tif, application/x-gzip, drawing/x-dwg, text/x-comma-separated-values, application/msword, image/jpg, application/x-dxf, application/csv, application/vnd.pdf, image/bmp, image/svg+xml, image/heif-sequence, application/gzip-compressed, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/svg, image/vnd.dwg, image/jpeg, image/png, application/x-pdf, application/jpg, image/x-eps, image/tif, application/postscript, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-rar, application/x-eps, application/x-autocad, application/gzip, text/comma-separated-values, image/gif, application/vnd.ms-word, drawing/x-dwf, application/x-tif, image/eps.
11487
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/zip, application/vnd.oasis.opendocument.text, application/vnd.ms-excel, image/jpeg, drawing/x-dwg, application/x-gzip, application/rtf, application/vnd.pdf, application/tif, image/heic, image/x-eps, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/pdf, image/svg, image/heic-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-autocad, application/pdf, image/eps, application/vnd.oasis.opendocument.spreadsheet, drawing/dwg, application/x-tiff, image/heif, image/x-tiff, image/png, application/dxf, drawing/x-dwf, application/dwg, application/excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-jpg, text/x-csv, text/plain, pplication/vnd.rar, application/gzip-compressed, application/x-csv, text/svg, image/gif, application/x-tar, image/x-bmp, application/svg+xml, application/eps, application/tiff, application/x-zip-compressed, application/x-dwg, text/rtf, application/x-rar, application/x-dxf, application/msword, application/x-acad, application/vnd.ms-word, image/webp, application/x-rar-compressed, application/vnd.oasis.opendocument.presentation, image/jpg, application/x-tif, image/heif-sequence, application/postscript, text/svg-xml, image/bmp, application/gzip, image/x-ms-bmp, application/x-rtf, application/x-pdf, text/comma-separated-values, application/csv, application/gzipped, image/svg+xml, image/x-dwg, image/vnd.dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/tiff, text/x-pdf, application/vnd.ms-powerpoint, application/acad, image/x-tif, application/jpg, image/tif, image/x-dxf, text/csv, image/dxf, application/x-eps, application/acrobat, text/x-comma-separated-values.
12255
11488
  """
12256
11489
  file: Upload!
12257
11490
 
@@ -13097,126 +12330,6 @@ type Mutation {
13097
12330
  input: PolicyInput!
13098
12331
  ): PolicyUpdate
13099
12332
 
13100
- """Creates a new price book."""
13101
- priceBookCreate(
13102
- """Fields required to create a price book."""
13103
- input: PriceBookCreateInput!
13104
- ): PriceBookCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13105
-
13106
- """Updates an existing price book."""
13107
- priceBookUpdate(
13108
- """ID of a price book to update."""
13109
- id: ID!
13110
-
13111
- """Fields required to update a price book."""
13112
- input: PriceBookUpdateInput!
13113
- ): PriceBookUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13114
-
13115
- """Deletes a price book."""
13116
- priceBookDelete(
13117
- """ID of a price book to delete."""
13118
- id: ID!
13119
- ): PriceBookDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13120
-
13121
- """Deletes price books."""
13122
- priceBookBulkDelete(
13123
- """List of price book IDs to delete."""
13124
- ids: [ID!]!
13125
- ): PriceBookBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13126
-
13127
- """Add a variant to price book."""
13128
- priceBookVariantCreate(
13129
- """Fields required to add a price book variant."""
13130
- input: PriceBookVariantCreateInput!
13131
- ): PriceBookVariantCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13132
-
13133
- """Updates an existing price book variant."""
13134
- priceBookVariantUpdate(
13135
- """ID of a price book variant to update."""
13136
- id: ID!
13137
-
13138
- """Fields required to update a price book variant."""
13139
- input: PriceBookVariantUpdateInput!
13140
- ): PriceBookVariantUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13141
-
13142
- """Deletes a price book variant."""
13143
- priceBookVariantDelete(
13144
- """ID of a price book variant to delete."""
13145
- id: ID!
13146
- ): PriceBookVariantDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13147
-
13148
- """Deletes price book's variants."""
13149
- priceBookVariantBulkDelete(
13150
- """List of price book variant IDs to delete."""
13151
- ids: [ID!]!
13152
- ): PriceBookVariantBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13153
-
13154
- """Add a product to price book."""
13155
- priceBookProductCreate(
13156
- """Fields required to add a price book product."""
13157
- input: PriceBookProductCreateInput!
13158
- ): PriceBookProductCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13159
-
13160
- """Updates an existing price book product."""
13161
- priceBookProductUpdate(
13162
- """ID of a price book product to update."""
13163
- id: ID!
13164
-
13165
- """Fields required to update a price book product."""
13166
- input: PriceBookProductUpdateInput!
13167
- ): PriceBookProductUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13168
-
13169
- """Deletes a price book product."""
13170
- priceBookProductDelete(
13171
- """ID of a price book product to delete."""
13172
- id: ID!
13173
- ): PriceBookProductDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13174
-
13175
- """Deletes price book's products."""
13176
- priceBookProductBulkDelete(
13177
- """List of price book product IDs to delete."""
13178
- ids: [ID!]!
13179
- ): PriceBookProductBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13180
-
13181
- """Add a product type to price book."""
13182
- priceBookProductTypeCreate(
13183
- """Fields required to add a price book product type."""
13184
- input: PriceBookProductTypeCreateInput!
13185
- ): PriceBookProductTypeCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
13186
-
13187
- """Updates an existing price book product type."""
13188
- priceBookProductTypeUpdate(
13189
- """ID of a price book product type to update."""
13190
- id: ID!
13191
-
13192
- """Fields required to update a price book product type."""
13193
- input: PriceBookProductTypeUpdateInput!
13194
- ): PriceBookProductTypeUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
13195
-
13196
- """Deletes a price book product type."""
13197
- priceBookProductTypeDelete(
13198
- """ID of a price book product type to delete."""
13199
- id: ID!
13200
- ): PriceBookProductTypeDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13201
-
13202
- """Deletes price book's product types."""
13203
- priceBookProductTypeBulkDelete(
13204
- """List of price book product type IDs to delete."""
13205
- ids: [ID!]!
13206
- ): PriceBookProductTypeBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
13207
-
13208
- """Add a user to price book."""
13209
- userAddToPriceBook(
13210
- """Fields required to add a user to price book."""
13211
- input: UserAddToPriceBookInput!
13212
- ): UserAddToPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
13213
-
13214
- """Removes a user from price book."""
13215
- userRemoveFromPriceBook(
13216
- """ID of user to be removed from price book."""
13217
- id: ID!
13218
- ): UserRemoveFromPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
13219
-
13220
12333
  """Creates a new category."""
13221
12334
  categoryCreate(
13222
12335
  """Fields required to create a category."""
@@ -17496,313 +16609,6 @@ type PolicyUpdate {
17496
16609
  policy: Policy
17497
16610
  }
17498
16611
 
17499
- """Creates a new price book."""
17500
- type PriceBookCreate {
17501
- priceBookErrors: [PriceBookError!]!
17502
- priceBook: PriceBook
17503
- }
17504
-
17505
- type PriceBookError {
17506
- """
17507
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17508
- """
17509
- field: String
17510
-
17511
- """The error message."""
17512
- message: String!
17513
-
17514
- """The error code."""
17515
- code: PriceBookErrorCode!
17516
- }
17517
-
17518
- """An enumeration."""
17519
- enum PriceBookErrorCode {
17520
- NOT_FOUND
17521
- REQUIRED
17522
- GRAPHQL_ERROR
17523
- INVALID
17524
- ALREADY_EXISTS
17525
- NOT_ALLOWED
17526
- }
17527
-
17528
- input PriceBookCreateInput {
17529
- """Name of the price book"""
17530
- name: String
17531
-
17532
- """Price book description (plaintext, read-only)."""
17533
- description: String
17534
-
17535
- """Price book description (html)."""
17536
- descriptionHtml: String
17537
- }
17538
-
17539
- """Updates an existing price book."""
17540
- type PriceBookUpdate {
17541
- priceBookErrors: [PriceBookError!]!
17542
- priceBook: PriceBook
17543
- }
17544
-
17545
- input PriceBookUpdateInput {
17546
- """Name of the price book"""
17547
- name: String
17548
-
17549
- """Price book description (plaintext, read-only)."""
17550
- description: String
17551
-
17552
- """Price book description (html)."""
17553
- descriptionHtml: String
17554
-
17555
- """Used to re-activate the price book."""
17556
- activate: Boolean
17557
- }
17558
-
17559
- """Deletes a price book."""
17560
- type PriceBookDelete {
17561
- priceBookErrors: [PriceBookError!]!
17562
- priceBook: PriceBook
17563
- }
17564
-
17565
- """Deletes price books."""
17566
- type PriceBookBulkDelete {
17567
- """Returns how many objects were affected."""
17568
- count: Int!
17569
- priceBookErrors: [PriceBookError!]!
17570
- }
17571
-
17572
- """Add a variant to price book."""
17573
- type PriceBookVariantCreate {
17574
- priceBookErrors: [PriceBookError!]!
17575
- priceBookVariant: PriceBookVariant
17576
- }
17577
-
17578
- input PriceBookVariantCreateInput {
17579
- """
17580
- Price of the particular variant to be adjusted if the type selected is OVERRIDEor FIXED.
17581
- """
17582
- priceAmount: Decimal
17583
-
17584
- """Currency of the price that is adjusted for the variant"""
17585
- currency: String
17586
-
17587
- """
17588
- Percentage of the particular variant to be adjusted if the type selected is PERCENTAGE
17589
- """
17590
- percentage: Decimal
17591
-
17592
- """ID of variant that is added to the price book."""
17593
- variant: ID!
17594
-
17595
- """ID of price book that variant needs to be added to."""
17596
- priceBook: ID!
17597
-
17598
- """Type of the price book variant"""
17599
- valueType: PriceBookValueTypeEnum!
17600
- }
17601
-
17602
- enum PriceBookValueTypeEnum {
17603
- """Override"""
17604
- OVERRIDE
17605
-
17606
- """Adjust Percentage"""
17607
- ADJUST_PERCENTAGE
17608
-
17609
- """Adjust Fixed"""
17610
- ADJUST_FIXED
17611
- }
17612
-
17613
- """Updates an existing price book variant."""
17614
- type PriceBookVariantUpdate {
17615
- priceBookErrors: [PriceBookError!]!
17616
- priceBookVariant: PriceBookVariant
17617
- }
17618
-
17619
- input PriceBookVariantUpdateInput {
17620
- """
17621
- Price of the particular variant to be adjusted if the type selected is OVERRIDEor FIXED.
17622
- """
17623
- priceAmount: Decimal
17624
-
17625
- """Currency of the price that is adjusted for the variant"""
17626
- currency: String
17627
-
17628
- """
17629
- Percentage of the particular variant to be adjusted if the type selected is PERCENTAGE
17630
- """
17631
- percentage: Decimal
17632
-
17633
- """Type of the price book variant"""
17634
- valueType: PriceBookValueTypeEnum
17635
- }
17636
-
17637
- """Deletes a price book variant."""
17638
- type PriceBookVariantDelete {
17639
- priceBookErrors: [PriceBookError!]!
17640
- priceBookVariant: PriceBookVariant
17641
- }
17642
-
17643
- """Deletes price book's variants."""
17644
- type PriceBookVariantBulkDelete {
17645
- """Returns how many objects were affected."""
17646
- count: Int!
17647
- priceBookErrors: [PriceBookError!]!
17648
- }
17649
-
17650
- """Add a product to price book."""
17651
- type PriceBookProductCreate {
17652
- priceBookErrors: [PriceBookError!]!
17653
- priceBookProduct: PriceBookProduct
17654
- }
17655
-
17656
- input PriceBookProductCreateInput {
17657
- """
17658
- Price of the particular product to be adjusted if the type selected is OVERRIDEor FIXED.
17659
- """
17660
- priceAmount: Decimal
17661
-
17662
- """Currency of the price that is adjusted for the product"""
17663
- currency: String
17664
-
17665
- """
17666
- Percentage of the particular product to be adjusted if the type selected is PERCENTAGE
17667
- """
17668
- percentage: Decimal
17669
-
17670
- """ID of product that is added to the price book."""
17671
- product: ID!
17672
-
17673
- """ID of price book that product needs to be added to."""
17674
- priceBook: ID!
17675
-
17676
- """Type of the price book product"""
17677
- valueType: PriceBookValueTypeEnum!
17678
- }
17679
-
17680
- """Updates an existing price book product."""
17681
- type PriceBookProductUpdate {
17682
- priceBookErrors: [PriceBookError!]!
17683
- priceBookProduct: PriceBookProduct
17684
- }
17685
-
17686
- input PriceBookProductUpdateInput {
17687
- """
17688
- Price of the particular product to be adjusted if the type selected is OVERRIDEor FIXED.
17689
- """
17690
- priceAmount: Decimal
17691
-
17692
- """Currency of the price that is adjusted for the product"""
17693
- currency: String
17694
-
17695
- """
17696
- Percentage of the particular product to be adjusted if the type selected is PERCENTAGE
17697
- """
17698
- percentage: Decimal
17699
-
17700
- """Type of the price book product"""
17701
- valueType: PriceBookValueTypeEnum
17702
- }
17703
-
17704
- """Deletes a price book product."""
17705
- type PriceBookProductDelete {
17706
- priceBookErrors: [PriceBookError!]!
17707
- priceBookProduct: PriceBookProduct
17708
- }
17709
-
17710
- """Deletes price book's products."""
17711
- type PriceBookProductBulkDelete {
17712
- """Returns how many objects were affected."""
17713
- count: Int!
17714
- priceBookErrors: [PriceBookError!]!
17715
- }
17716
-
17717
- """Add a product type to price book."""
17718
- type PriceBookProductTypeCreate {
17719
- priceBookErrors: [PriceBookError!]!
17720
- priceBookProductType: PriceBookProductType
17721
- }
17722
-
17723
- input PriceBookProductTypeCreateInput {
17724
- """
17725
- Price of the particular product type to be adjusted if the value type selected isOVERRIDE or FIXED.
17726
- """
17727
- priceAmount: Decimal
17728
-
17729
- """Currency of the price that is adjusted for the product type"""
17730
- currency: String
17731
-
17732
- """
17733
- Percentage of the particular product type to be adjusted if the type selected is PERCENTAGE
17734
- """
17735
- percentage: Decimal
17736
-
17737
- """ID of product type that is added to the price book."""
17738
- productType: ID!
17739
-
17740
- """ID of price book that product type needs to be added to."""
17741
- priceBook: ID!
17742
-
17743
- """Value type of the price book product type"""
17744
- valueType: PriceBookValueTypeEnum!
17745
- }
17746
-
17747
- """Updates an existing price book product type."""
17748
- type PriceBookProductTypeUpdate {
17749
- priceBookErrors: [PriceBookError!]!
17750
- priceBookProductType: PriceBookProductType
17751
- }
17752
-
17753
- input PriceBookProductTypeUpdateInput {
17754
- """
17755
- Price of the particular product type to be adjusted if the value type selected isOVERRIDE or FIXED.
17756
- """
17757
- priceAmount: Decimal
17758
-
17759
- """Currency of the price that is adjusted for the product type"""
17760
- currency: String
17761
-
17762
- """
17763
- Percentage of the particular product type to be adjusted if the type selected is PERCENTAGE
17764
- """
17765
- percentage: Decimal
17766
-
17767
- """Value type of the price book product type"""
17768
- valueType: PriceBookValueTypeEnum
17769
- }
17770
-
17771
- """Deletes a price book product type."""
17772
- type PriceBookProductTypeDelete {
17773
- priceBookErrors: [PriceBookError!]!
17774
- priceBookProductType: PriceBookProductType
17775
- }
17776
-
17777
- """Deletes price book's product types."""
17778
- type PriceBookProductTypeBulkDelete {
17779
- """Returns how many objects were affected."""
17780
- count: Int!
17781
- priceBookErrors: [PriceBookError!]!
17782
- }
17783
-
17784
- """Add a user to price book."""
17785
- type UserAddToPriceBook {
17786
- """An updated user instance."""
17787
- user: User
17788
- priceBookErrors: [PriceBookError!]!
17789
- }
17790
-
17791
- input UserAddToPriceBookInput {
17792
- """ID of user that is to be mapped to the price book."""
17793
- user: ID!
17794
-
17795
- """ID of price book that user needs to be added to."""
17796
- priceBook: ID!
17797
- }
17798
-
17799
- """Removes a user from price book."""
17800
- type UserRemoveFromPriceBook {
17801
- """An updated user instance."""
17802
- user: User
17803
- priceBookErrors: [PriceBookError!]!
17804
- }
17805
-
17806
16612
  """Creates a new category."""
17807
16613
  type CategoryCreate {
17808
16614
  productErrors: [ProductError!]!