| Argument | Type | Description |
|---|---|---|
input | DiagnosticInput | Input data for diagnostic operation |
mutation($input: DiagnosticInput) { createDiagnostic(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
input | FulfillmentSourceInput | Input data for fulfillment source operation |
mutation($input: FulfillmentSourceInput) { createFulfillmentSource(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
input | InventoryAdjustmentInput | Input data for inventory adjustment operation |
mutation($input: InventoryAdjustmentInput) { createInventoryAdjustment(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
input | ProductCategoryInput | Input data for product category operation |
mutation($input: ProductCategoryInput) { createProductCategory(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
inputrequired | ProductTypeInput! | Input |
mutation($input: ProductTypeInput!) { createProductType(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
input | StockLocationInput | Input data for stock location operation |
mutation($input: StockLocationInput) { createStockLocation(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deleteDiagnostic(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deleteFulfillmentSource(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deleteProductCategory(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deleteProductType(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
categoryIds | [ID] | List of category IDs to filter by |
code | String | Unique code identifier |
email | String | Email address |
excludeChildren | Boolean | Exclude child records from results |
locationId | ID | ID of the location |
minimumThreshold | Int | Minimum threshold |
name | String | Name of the resource |
onlyBelowThreshold | ID | Only below threshold |
onlyTrackInventory | Boolean | Only track inventory |
partialProductId | String | ID of the partialproduct |
realUnitCost | Decimal | Real unit cost |
scheduledDrugTypes | [ScheduledDrugType] | Scheduled drug types |
sortBy | SortProductOptions | Sort by |
sortDirection | String | Sort direction |
sortField | String | Sort field |
typeIds | [ID] | List of type IDs |
unitCost | Decimal | Unit cost |
mutation( $categoryIds: [ID], $code: String, $email: String, $excludeChildren: Boolean, $locationId: ID, $minimumThreshold: Int, $name: String, $onlyBelowThreshold: ID, $onlyTrackInventory: Boolean, $partialProductId: String, $realUnitCost: Decimal, $scheduledDrugTypes: [ScheduledDrugType], $sortBy: SortProductOptions, $sortDirection: String, $sortField: String, $typeIds: [ID], $unitCost: Decimal) { generateInventoryReport( categoryIds: $categoryIds, code: $code, email: $email, excludeChildren: $excludeChildren, locationId: $locationId, minimumThreshold: $minimumThreshold, name: $name, onlyBelowThreshold: $onlyBelowThreshold, onlyTrackInventory: $onlyTrackInventory, partialProductId: $partialProductId, realUnitCost: $realUnitCost, scheduledDrugTypes: $scheduledDrugTypes, sortBy: $sortBy, sortDirection: $sortDirection, sortField: $sortField, typeIds: $typeIds, unitCost: $unitCost ) { id # Add other fields you need }}{ "categoryIds": "1", "code": "example", "email": "example", "excludeChildren": true, "locationId": "1", "minimumThreshold": 1, "name": "example", "onlyBelowThreshold": "1", "onlyTrackInventory": true, "partialProductId": "example", "realUnitCost": {}, "scheduledDrugTypes": {}, "sortBy": {}, "sortDirection": "example", "sortField": "example", "typeIds": "1", "unitCost": {}}| Argument | Type | Description |
|---|---|---|
email | String | Email address |
insertedAtEnd | NaiveDateTime | Inserted at end |
insertedAtStart | NaiveDateTime | Inserted at start |
locationId | ID | ID of the location |
mutation( $email: String, $insertedAtEnd: NaiveDateTime, $insertedAtStart: NaiveDateTime, $locationId: ID) { generateUsageSummaryReport( email: $email, insertedAtEnd: $insertedAtEnd, insertedAtStart: $insertedAtStart, locationId: $locationId ) { id # Add other fields you need }}{ "email": "example", "insertedAtEnd": {}, "insertedAtStart": {}, "locationId": "1"}mutation( $newProductTypeId: ID, $productTypeId: ID) { reassignProductType( newProductTypeId: $newProductTypeId, productTypeId: $productTypeId ) { id # Add other fields you need }}{ "newProductTypeId": "1", "productTypeId": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { undoManualAdjustment(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { undoWastageAdjustment(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | DiagnosticInput! | Input |
mutation( $id: ID!, $input: DiagnosticInput!) { updateDiagnostic( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | FulfillmentSourceInput! | Input |
mutation( $id: ID!, $input: FulfillmentSourceInput!) { updateFulfillmentSource( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | ProductCategoryInput! | Input |
mutation( $id: ID!, $input: ProductCategoryInput!) { updateProductCategory( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}Controls whether a product is synced to Cubex at the specified location. Requires the Cubex Sync feature to be enabled.
mutation( $enable: Boolean!, $locationId: ID!, $productId: ID!) { updateProductCubexEnabled( enable: $enable, locationId: $locationId, productId: $productId ) { id # Add other fields you need }}{ "enable": true, "locationId": "1", "productId": "1"}mutation( $enable: Boolean!, $locationId: ID!, $productId: ID!) { updateProductEnabled( enable: $enable, locationId: $locationId, productId: $productId ) { id # Add other fields you need }}{ "enable": true, "locationId": "1", "productId": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | ProductTypeInput! | Input |
mutation( $id: ID!, $input: ProductTypeInput!) { updateProductType( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
input | StockLocationUpdate | Input |
mutation($input: StockLocationUpdate) { updateStockLocation(input: $input) { id # Add other fields you need }}{ "input": {}}mutation( $file: Upload!, $locationId: ID!) { uploadMassInventory( file: $file, locationId: $locationId ) { id # Add other fields you need }}{ "file": {}, "locationId": "1"}