This method is used to sync inventory levels to the order source.
OK
A response to indicate that there was either a module level client error or an external client error.
A response to indicate that the request failed to authenticate with the shipping provider.
A response indicates that the shipping service provider has denied a request due to too many requests.
A response indicating a server level error with the module.
A response indicating a server level error with the external world.
{- "transaction_id": "string",
- "auth": {
- "order_source_api_code": "string",
- "username": "string",
- "password": "string",
- "access_token": "string",
- "api_key": "string",
- "url": "string",
- "connection_context": {
- "property1": "string",
- "property2": "string"
}, - "connection_name": "string"
}, - "cursor": "string",
- "items": [
- {
- "integration_entity_id": "string",
- "sku": "string",
- "available_quantity": 0,
- "allocated_quantity": 0,
- "onhand_quantity": 0,
- "committed_quantity": 0,
- "updated_at": "string",
- "warehouse_id": "string"
}
]
}
{- "message": "string",
- "errors": [
- {
- "integration_inventory_item_id": "string",
- "sku": "string",
- "message": "string",
- "category": "not_found"
}
], - "items": [
- {
- "integration_entity_id": "string",
- "sku": "string",
- "available_quantity": 0,
- "allocated_quantity": 0,
- "onhand_quantity": 0,
- "committed_quantity": 0,
- "updated_at": "string",
- "warehouse_id": "string"
}
]
}