supplyUpdateSupplierProducts
Assign products to a supplier with specific supplier data.
This mutation allows you to create, update, or delete product-supplier associations with supplier-specific information. The operation is processed asynchronously.
Examples
**Adding a new product:**
{
productId: "uuid-123",
supplierProductId: "SUPP-SKU-001",
moq: 100,
originCountry: "China",
originPort: "Shanghai"
}
**Updating existing product data:**
{
productId: "uuid-123",
moq: 150,
originCountry: "Vietnam"
}
**Removing a product:**
{
productId: "uuid-123",
delete: true
}
Behavior
- Creates an asynchronous job to handle updates
- Uses job locking to prevent concurrent modifications
- Returns process ID for tracking operation status
supplyUpdateSupplierProducts(
input: UpdateSupplierProductsInput!
): AsynchronousActionResponse!
Arguments
supplyUpdateSupplierProducts.input ● UpdateSupplierProductsInput! non-null input
Parameters for UpdateSupplierProducts
Type
AsynchronousActionResponse object
Asynchronous action response type