FinBaze for Platforms

Reference

Queries#

productStock#

Requires: scope products:read · feature products.

productStock(productId: ID!, warehouseId: ID): ProductStockBalance
ArgumentType
productIdID!
warehouseIdID

lowStockProducts#

Requires: scope products:read · feature inventory.

lowStockProducts(profileId: ID!): [Product!]!
ArgumentType
profileIdID!

product#

Requires: scope products:read · feature products.

product(id: ID!): Product!
ArgumentType
idID!The id of the record to find.

products#

Requires: scope products:read · feature products.

products(paging: CursorPaging!, filter: ProductFilter!, sorting: [ProductSort!]!): ProductConnection!
ArgumentType
pagingCursorPaging!Limit or page results.
filterProductFilter!Specify to filter the records returned.
sorting[ProductSort!]!Specify to sort results.

productCategory#

Requires: scope products:read · feature products.

productCategory(id: ID!): ProductCategory!
ArgumentType
idID!The id of the record to find.

productCategories#

Requires: scope products:read · feature products.

productCategories(paging: CursorPaging!, filter: ProductCategoryFilter!, sorting: [ProductCategorySort!]!): ProductCategoryConnection!
ArgumentType
pagingCursorPaging!Limit or page results.
filterProductCategoryFilter!Specify to filter the records returned.
sorting[ProductCategorySort!]!Specify to sort results.

Mutations#

createOneProduct#

Requires: scope products:write · feature products.

createOneProduct(profileId: ID!, input: CreateProductInput!): Product!
ArgumentType
profileIdID!
inputCreateProductInput!

createManyProducts#

Requires: scope products:write · feature products.

createManyProducts(profileId: ID!, input: [CreateProductInput!]!): [Product!]!
ArgumentType
profileIdID!
input[CreateProductInput!]!

createOneProductCategory#

Requires: scope products:write · feature products.

createOneProductCategory(profileId: ID!, input: CreateProductCategoryInput!): ProductCategory!
ArgumentType
profileIdID!
inputCreateProductCategoryInput!

createManyProductCategories#

Requires: scope products:write · feature products.

createManyProductCategories(profileId: ID!, input: [CreateProductCategoryInput!]!): [ProductCategory!]!
ArgumentType
profileIdID!
input[CreateProductCategoryInput!]!

updateOneProduct#

Requires: scope products:write · feature products.

updateOneProduct(input: UpdateOneProductInput!): Product!
ArgumentType
inputUpdateOneProductInput!

updateManyProducts#

Requires: scope products:write · feature products.

updateManyProducts(input: UpdateManyProductsInput!): UpdateManyResponse!
ArgumentType
inputUpdateManyProductsInput!

deleteOneProduct#

Requires: scope products:write · feature products.

deleteOneProduct(input: DeleteOneProductInput!): ProductDeleteResponse!
ArgumentType
inputDeleteOneProductInput!

deleteManyProducts#

Requires: scope products:write · feature products.

deleteManyProducts(input: DeleteManyProductsInput!): DeleteManyResponse!
ArgumentType
inputDeleteManyProductsInput!

updateOneProductCategory#

Requires: scope products:write · feature products.

updateOneProductCategory(input: UpdateOneProductCategoryInput!): ProductCategory!
ArgumentType
inputUpdateOneProductCategoryInput!

updateManyProductCategories#

Requires: scope products:write · feature products.

updateManyProductCategories(input: UpdateManyProductCategoriesInput!): UpdateManyResponse!
ArgumentType
inputUpdateManyProductCategoriesInput!

deleteOneProductCategory#

Requires: scope products:write · feature products.

deleteOneProductCategory(input: DeleteOneProductCategoryInput!): ProductCategoryDeleteResponse!
ArgumentType
inputDeleteOneProductCategoryInput!

deleteManyProductCategories#

Requires: scope products:write · feature products.

deleteManyProductCategories(input: DeleteManyProductCategoriesInput!): DeleteManyResponse!
ArgumentType
inputDeleteManyProductCategoriesInput!